]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[AArch64] Add optimized strchr.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f940b965
RE
12014-06-19 Richard Earnshaw <rearnsha@arm.com>
2
3 * sysdeps/aarch64/strchr.S: New file.
4
4ba7a00f
JM
52014-06-18 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #17022]
8 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9 from arguments -2 or below.
10 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12
b3a9f56b
AS
132014-06-18 Andreas Schwab <schwab@suse.de>
14
15 [BZ #17062]
16 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17 of a bracket expr not to run off the end of the string.
18 * posix/Makefile (tests): Add tst-fnmatch3.
19 * posix/tst-fnmatch3.c: New file.
20
85d89278
JM
212014-06-18 Joseph Myers <joseph@codesourcery.com>
22
23 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25 [$(cross-compiling) = no]: Likewise.
26 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27 [$(cross-compiling) = no]: Likewise.
28
754c5a08
RS
292014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30
31 [BZ #17031]
32 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33 double, adjusted for any remainder from the high double.
34 * math/libm-test.inc (nearbyint): Add tests.
35 (rint): Likewise.
36
556f529d
AZ
372014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * nptl/sysdeps/powerpc/Makefile: Moved ...
40 * sysdeps/powerpc/nptl/Makefile: ... here.
41 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
45 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49 * nptl/sysdeps/powerpc/tls.h: Moved ...
50 * sysdeps/powerpc/nptl/tls.h: ... here.
51
91c03c53
JM
522014-06-16 Joseph Myers <joseph@codesourcery.com>
53
54 [BZ #16681]
55 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
56 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
57 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
58 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
59 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
60 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
61 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
62 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
63 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
64
a76e63c5
AS
652014-06-17 Andreas Schwab <schwab@linux-m68k.org>
66
67 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
68
f2f6d82f
AS
692014-06-16 Andreas Schwab <schwab@linux-m68k.org>
70
ea8a15f6
AS
71 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
72 defined operator.
73
f2f6d82f
AS
74 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
75 $TIMEOUTFACTOR.
76
a7291117
FW
772014-06-16 Florian Weimer <fweimer@redhat.com>
78
79 [BZ #17058]
80 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
81 non-executed part of the test.
82
3d7c00e3
AS
832014-06-16 Andreas Schwab <schwab@suse.de>
84
85 * string/bits/string2.h (strdup, strndup): Update feature guard.
86
6957fb31
DM
872014-06-14 David S. Miller <davem@davemloft.net>
88
89 * sysdeps/sparc/fpu/libm-test-ulps: Update.
90
11b9e55b
AS
912014-06-14 Andreas Schwab <schwab@linux-m68k.org>
92
1d2a0492
AS
93 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
94 that was previously under [RESET_PID].
95 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
96
11b9e55b
AS
97 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
98 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
99 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
100 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
101 (__libc_vfork): New strong alias.
102 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
103
0f6901d0
AK
1042014-06-14 Andi Kleen <ak@linux.intel.com>
105
106 * sysdeps/generic/elide.h: New file.
107
38bbbb9f
SL
1082014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
109
110 * Makefile (installed-headers): Adjust path of pthread.h header.
111
45193bb8
RM
1122014-06-13 Roland McGrath <roland@hack.frob.com>
113
9a25fd1e
RM
114 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
115 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
116 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
117 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
118
4004f7e4
RM
119 * nptl/sysdeps/s390/Makefile: Moved ...
120 * sysdeps/s390/nptl/Makefile: ... here.
121 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
122 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
123 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
124 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
125 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
126 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
127 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
128 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
129 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
130 * sysdeps/s390/nptl/pthreaddef.h: ... here.
131 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
132 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
133 * nptl/sysdeps/s390/tls.h: Moved ...
134 * sysdeps/s390/nptl/tls.h: ... here.
135
45193bb8
RM
136 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
137 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
138
f6fdf533
DM
1392014-06-13 David S. Miller <davem@davemloft.net>
140
141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
144 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
148 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
149 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
150 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
151 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
152 Remove RESET_PID cpp guards.
153 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
154 Remove RESET_PID cpp guards.
155 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
156
f5d71e14
AS
1572014-06-13 Andreas Schwab <schwab@linux-m68k.org>
158
159 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
160 __sp to uintptr_t.
161
b7aa8caa
AK
1622014-06-13 Andi Kleen <ak@linux.intel.com>
163
4b266200
AZ
164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
165 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
166 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
167 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
168 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
169 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
171 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
172 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
173 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
175 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
176 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
177 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
178 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
179 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
181 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
183 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
184
185 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
186 (pthread_rwlock_rdlock): Add elision.
187 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
188 (pthread_rwlock_wrlock): Add elision.
189 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
190 (pthread_rwlock_trywrlock): Add elision.
191 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
192 (pthread_rwlock_tryrdlock): Add elision.
193 * nptl/pthread_rwlock_unlock.c: Include elide.h.
194 (pthread_rwlock_tryrdlock): Add elision unlock.
195 * nptl/sysdeps/pthread/pthread.h:
196 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
197 (PTHREAD_RWLOCK_INITIALIZER,
198 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
199 Handle new elision field.
200 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
201 * sysdeps/arm/nptl/bits/pthreadtypes.h
202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
203 * sysdeps/sh/nptl/bits/pthreadtypes.h
204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
205 * sysdeps/tile/nptl/bits/pthreadtypes.h
206 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
207 * sysdeps/a/nptl/bits/pthreadtypes.h
208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
209 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
211 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
212 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
213 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
215 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
217 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
219 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
221 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
223 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
225 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
226 (elision_init): Set try_xbegin to zero when no RTM.
227 * sysdeps/x86/nptl/bits/pthreadtypes.h
228 (pthread_rwlock_t): Change __pad1 to __rwelision.
229 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 230
a832bdd3
AK
2312014-06-13 Andi Kleen <ak@linux.intel.com>
232
233 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
234 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
235 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
236 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
237
995a46bb
MI
2382014-06-13 Meador Inge <meadori@codesourcery.com>
239
240 [BZ #16996]
03ed7738 241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
242 that the cached result has been set before returning it.
243
45262aee
RM
2442014-06-12 Roland McGrath <roland@hack.frob.com>
245
febf6cc5
RM
246 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
247 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
248 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
249 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
250 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
251 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
252
e2682246
RM
253 * nptl/sysdeps/sparc/Makefile: Moved ...
254 * sysdeps/sparc/nptl/Makefile: ... here.
255 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
256 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
257 * nptl/sysdeps/sparc/tls.h: Moved ...
258 * sysdeps/sparc/nptl/tls.h: ... here.
259 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
260 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
261 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
262 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
263 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
264 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
265 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
266 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
267 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
268 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
269 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
270 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
271 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
272 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
273 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
274 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
275 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
276 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
277 Update #include.
278 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
279 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
280 Update #include.
281 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
282 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
283 Update #include.
284 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
286 Update #include.
287
b0725f43
RM
288 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
289
b14368b8
RM
290 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
291 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
292
c5620eb3
RM
293 * sysdeps/pthread/posix-timer.h: Include <list.h>.
294 (struct list_links): Type removed.
295 (struct thread_node, struct timer_node): Replace struct list_links
296 with struct list_head.
297 (list_unlink_ip): Likewise.
298 * sysdeps/pthread/timer_routines.c
299 (timer_free_list, thread_free_list, thread_active_list): Likewise.
300 (list_append, list_insbefore): Likewise.
301 (list_init): Function removed.
302 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
303 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
304 * sysdeps/pthread/Makefile: ... here, new file.
305
306 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
307 * sysdeps/nptl/Implies: ... here.
308 * sysdeps/unix/sysv/linux/Implies: Add nptl.
309 * nptl/sysdeps/pthread/list.h: Moved ...
310 * include/list.h: ... here.
311 * nptl/sysdeps/pthread/createthread.c: Moved ...
312 * nptl/createthread.c: ... here.
313 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
314 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
315 * nptl/pt-longjmp.c: ... here.
316 * nptl/sysdeps/pthread/Makefile: Moved ...
317 * sysdeps/nptl/Makefile: ... here.
318 * nptl/sysdeps/pthread/Subdirs: Moved ...
319 * sysdeps/nptl/Subdirs: ... here.
320 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
321 * sysdeps/nptl/aio_misc.h: ... here.
322 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
323 * sysdeps/nptl/bits/libc-lock.h: ... here.
324 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
325 * sysdeps/nptl/bits/libc-lockP.h: ... here.
326 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
327 * sysdeps/nptl/bits/stdio-lock.h: ... here.
328 * nptl/sysdeps/pthread/configure: Moved ...
329 * sysdeps/nptl/configure: ... here.
330 * nptl/sysdeps/pthread/configure.ac: Moved ...
331 * sysdeps/nptl/configure.ac: ... here.
332 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
333 * sysdeps/nptl/gai_misc.h: ... here.
334 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
335 * sysdeps/nptl/librt-cancellation.c: ... here.
336 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
337 * sysdeps/nptl/malloc-machine.h: ... here.
338 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
339 * sysdeps/nptl/pthread-functions.h: ... here.
340 * nptl/sysdeps/pthread/pthread.h: Moved ...
341 * sysdeps/nptl/pthread.h: ... here.
342 * nptl/sysdeps/pthread/setxid.h: Moved ...
343 * sysdeps/nptl/setxid.h: ... here.
344 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
345 * sysdeps/nptl/sigfillset.c: ... here.
346 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
347 * sysdeps/nptl/tcb-offsets.h: ... here.
348 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
349 * sysdeps/nptl/tst-mqueue8x.c: ... here.
350 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
351 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
352 * nptl/sysdeps/pthread/allocalim.h: Moved ...
353 * sysdeps/pthread/allocalim.h: ... here.
354 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
355 * sysdeps/pthread/bits/sigthread.h: ... here.
356 * nptl/sysdeps/pthread/flockfile.c: Moved ...
357 * sysdeps/pthread/flockfile.c: ... here.
358 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
359 * sysdeps/pthread/ftrylockfile.c: ... here.
360 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
361 * sysdeps/pthread/funlockfile.c: ... here.
362 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
363 * sysdeps/pthread/posix-timer.h: ... here.
364 * nptl/sysdeps/pthread/timer_create.c: Moved ...
365 * sysdeps/pthread/timer_create.c: ... here.
366 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
367 * sysdeps/pthread/timer_delete.c: ... here.
368 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
369 * sysdeps/pthread/timer_getoverr.c: ... here.
370 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
371 * sysdeps/pthread/timer_gettime.c: ... here.
372 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
373 * sysdeps/pthread/timer_routines.c: ... here.
374 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
375 * sysdeps/pthread/timer_settime.c: ... here.
376 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
377 * sysdeps/pthread/tst-timer.c: ... here.
378 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
379 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
380
e876b090
RM
381 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
382 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
383
f6b07b3d
RM
384 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
385 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
386 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
387 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
388 Update #include target.
389 * nptl/sysdeps/i386/i686/Makefile: Moved ...
390 * sysdeps/i386/i686/nptl/Makefile: ... here.
391 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
392 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
393 Update #include target.
394 * nptl/sysdeps/i386/i686/tls.h: Moved ...
395 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
396 * nptl/sysdeps/i386/Makefile: Moved ...
397 * sysdeps/i386/nptl/Makefile: ... here.
398 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
399 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
400 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
401 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
402 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
403 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
404 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
405 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
406 * sysdeps/i386/nptl/pthreaddef.h: ... here.
407 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
408 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
409 * nptl/sysdeps/i386/tls.h: Moved ...
410 * sysdeps/i386/nptl/tls.h: ... here.
411
45262aee
RM
412 * sysdeps/sh/Makefile [$(subdir) = csu]
413 (gen-as-const-headers): Add tcb-offsets.sym.
414 * nptl/sysdeps/sh/Makefile: File removed.
415 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
416 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
417 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
418 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
419 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
420 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
421 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
422 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
423 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
424 * sysdeps/sh/nptl/pthreaddef.h: ... here.
425 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
426 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
427 * nptl/sysdeps/sh/tls.h: Moved ...
428 * sysdeps/sh/nptl/tls.h: ... here.
429 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
430 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
431 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
432 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
433 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
434 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
435 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
436 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
437 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
438 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
440 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
441 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
442 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
443 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
444 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
445 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
446 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
447 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
448 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
449 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
450 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
451 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
452 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
453 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
454 Moved ...
455 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
456 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
457 Moved ...
458 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
460 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
462 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
463 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
464 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
465 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
466 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
467 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
468 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
469 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
470 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
471 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
472 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
473 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
474 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
475 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
476 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
477
35a5e3e3
SL
4782014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
479
480 * posix/spawn_faction_addopen.c: Include string.h.
481
14642b85
RM
4822014-06-11 Roland McGrath <roland@hack.frob.com>
483
484 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
485 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
486 * nptl/sysdeps/x86_64/Makefile: Moved ...
487 * sysdeps/x86_64/nptl/Makefile: ... here.
488 * nptl/sysdeps/x86_64/configure: Moved ...
489 * sysdeps/x86_64/nptl/configure: ... here.
490 * nptl/sysdeps/x86_64/configure.ac: Moved ...
491 * sysdeps/x86_64/nptl/configure.ac: ... here.
492 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
493 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
494 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
495 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
496 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
497 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
498 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
499 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
500 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
501 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
502 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
503 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
504 * nptl/sysdeps/x86_64/tls.h: Moved ...
505 * sysdeps/x86_64/nptl/tls.h: ... here.
506 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
507 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
508 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
509 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
510
511 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
512
31c44fea
AZ
5132014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514
515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
516
e81a4f9a
JM
5172014-06-11 Joseph Myers <joseph@codesourcery.com>
518
519 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
520 type.
521 [POSIX] (off_t): Likewise.
522 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
523 [POSIX] (S_ISBLK): Require macro.
524 [POSIX] (S_ISCHR): Likewise.
525 [POSIX] (S_ISDIR): Likewise.
526 [POSIX] (S_ISFIFO): Likewise.
527 [POSIX] (S_ISREG): Likewise.
528 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
529 optional-macro.
530 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
531 type.
532 [POSIX] (time_t): Likewise.
533 [POSIX] (timer_t): Likewise.
534
89e435f3
FW
5352014-06-11 Florian Weimer <fweimer@redhat.com>
536
537 [BZ #17048]
538 * posix/spawn_int.h (struct __spawn_action): Make the path string
539 non-const to support deallocation.
540 * posix/spawn_faction_addopen.c
541 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
542 * posix/spawn_faction_destroy.c
543 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
544 path in all spawn_do_open actions.
545 * posix/tst-spawn.c (do_test): Exercise the copy operation in
546 posix_spawn_file_actions_addopen.
547
c3a2ebe1
CM
5482014-06-11 Chris Metcalf <cmetcalf@tilera.com>
549
550 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
551 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
552 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
553 conditional code always true.
554 (__libc_vfork): New alias.
555
9503784a
RM
5562014-06-11 Roland McGrath <roland@hack.frob.com>
557
c9cab3d2
RM
558 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
559 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
560
d3996c79
RM
561 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
562
ba5ec611
RM
563 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
564 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
565
f12b4814
RM
566 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
567 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
568
9503784a
RM
569 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
570 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
571
e23d3d26
VR
5722014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
573
574 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
575 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
576 multiarch strcmp for PPC64.
577 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
578 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
580 multiarch optimizations.
581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
582 (__libc_ifunc_impl_list): Likewise.
583
42b1161e
SP
5842014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
585
586 * benchtests/scripts/validate_benchout.py: New script.
587 * benchtests/Makefile (bench-func): Call it.
588 * benchtests/scripts/benchout.schema.json: New file.
589
2d0fc4dc
CM
5902014-06-10 Chris Metcalf <cmetcalf@tilera.com>
591
4a594c34
AZ
592 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
593 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
594 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
595 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
596 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
597 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
598 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
599 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
600 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
601 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
602 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
603 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
604 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
605 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
606 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
607 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 609 Moved ...
4a594c34 610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 611 ... here.
4a594c34 612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 613 Moved ...
4a594c34
AZ
614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 616 Moved ...
4a594c34 617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 618 ... here.
4a594c34 619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 620 Moved ...
4a594c34 621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 622 ... here.
4a594c34 623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 624 Moved ...
4a594c34
AZ
625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 627 Moved ...
4a594c34 628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 629 ... here.
4a594c34 630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 631 Moved ...
4a594c34 632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 633 ... here.
4a594c34 634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 635 Moved ...
4a594c34
AZ
636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 638 Moved ...
4a594c34 639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 640 ... here.
4a594c34 641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 642 Moved ...
4a594c34 643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 644 ... here.
4a594c34 645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 646 Moved ...
4a594c34 647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 648 ... here.
4a594c34 649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 650 Moved ...
4a594c34
AZ
651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 653 Moved ...
4a594c34 654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 655 ... here.
4a594c34 656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 657 Moved ...
4a594c34 658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 659 ... here.
4a594c34 660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 661 Moved ...
4a594c34 662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 663 ... here.
4a594c34 664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 665 Moved ...
4a594c34
AZ
666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 668 Moved ...
4a594c34 669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 670 ... here.
4a594c34 671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 672 Moved ...
4a594c34 673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 674 ... here.
4a594c34 675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 676 Moved ...
4a594c34
AZ
677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 679 Moved ...
4a594c34 680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 681 ... here.
4a594c34 682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 683 Moved ...
4a594c34
AZ
684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 686 Moved ...
4a594c34
AZ
687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 689 Moved ...
4a594c34 690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 691 ... here.
4a594c34 692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 693 Moved ...
4a594c34 694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 695 ... here.
4a594c34 696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 697 Moved ...
4a594c34 698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 699 ... here.
4a594c34 700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 701 Moved ...
4a594c34
AZ
702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 704 Moved ...
4a594c34 705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 706 ... here.
4a594c34 707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 708 Moved ...
4a594c34 709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 710 ... here.
4a594c34
AZ
711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
712 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 716 Moved ...
4a594c34 717 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 718 ... here.
4a594c34
AZ
719 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
721 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
724 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
726 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
728 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
729 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
730 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
731 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 732 Moved ...
4a594c34
AZ
733 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
734 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 735 Moved ...
4a594c34
AZ
736 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
738 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 740 Moved ...
4a594c34
AZ
741 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
742 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
744 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
745 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
746 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
747 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 748
0570cfed
W
7492014-06-10 Wilco <wdijkstr@arm.com>
750
751 * math/test-fenv-return.c: New file.
752 * math/Makefile: Add new test test-fenv-return.
753
f8ba1b56
JM
7542014-06-10 Joseph Myers <joseph@codesourcery.com>
755
756 [BZ #17042]
757 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
758 when x - 1 is zero.
759 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
760 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
761 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
762 0.0L for an argument of 1.0L.
763 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
764 Likewise.
765 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
766 value when x - 1 is zero.
767 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
768 * sysdeps/i386/fpu/libm-test-ulps: Update.
769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770
2c3520d9
BO
7712014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
772
773 [BZ #15119]
774 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
775
acaa4d24
RM
7762014-06-09 Roland McGrath <roland@hack.frob.com>
777
778 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
779 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
780
962b744d
RM
7812014-06-09 Roland McGrath <roland@hack.frob.com>
782
d752f0cc
RM
783 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
784 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
785
34eda6d1
RM
786 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
787 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
788
50f0a637
RM
789 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
790 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
791
08f41f04
RM
792 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
793 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
794
962b744d
RM
795 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
796 if not already defined.
797 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
798 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
799 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
800 (TLS_INIT_TP): Use it.
801 (TLS_DEFINE_INIT_TP): New macro.
802 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
803
09f19b05
JM
8042014-06-09 Joseph Myers <joseph@codesourcery.com>
805
806 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
807 constant.
808 [POSIX] (IXANY): Likewise.
809 [POSIX] (OLCUC): Likewise.
810 [POSIX || POSIX2008] (CBAUD): Do not allow.
811 [POSIX || POSIX2008] (DEFECHO): Likewise.
812 [POSIX || POSIX2008] (ECHOCTL): Likewise.
813 [POSIX || POSIX2008] (ECHOKE): Likewise.
814 [POSIX || POSIX2008] (ECHOPRT): Likewise.
815 [POSIX || POSIX2008] (EXTA): Likewise.
816 [POSIX || POSIX2008] (EXTB): Likewise.
817 [POSIX || POSIX2008] (FLUSHO): Likewise.
818 [POSIX || POSIX2008] (LOBLK): Likewise.
819 [POSIX || POSIX2008] (PENDIN): Likewise.
820 [POSIX || POSIX2008] (SWTCH): Likewise.
821 [POSIX || POSIX2008] (VDISCARD): Likewise.
822 [POSIX || POSIX2008] (VDSUSP): Likewise.
823 [POSIX || POSIX2008] (VLNEXT): Likewise.
824 [POSIX || POSIX2008] (VREPRINT): Likewise.
825 [POSIX || POSIX2008] (VSTATUS): Likewise.
826 [POSIX || POSIX2008] (VWERASE): Likewise.
827 (B*): Change to B[0123456789]*.
828 * conform/data/time.h-data [POSIX || UNIX98]
829 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
830 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
831 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
832 [POSIX] (tm_*): Do not allow.
833
686554bf
JM
8342014-06-07 Joseph Myers <joseph@codesourcery.com>
835
836 * Makefile (install): Don't set LANGUAGE.
837 * Makefile.in (install): Likewise.
838 * assert/Makefile (test-assert-ENV): Remove variable.
839 (test-assert-perr-ENV): Likewise.
840 * elf/Makefile (neededtest4-ENV): Likewise.
841 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
842 [$(cross-compiling) = no]: Don't set LANGUAGE.
843 * io/ftwtest-sh (LANG): Remove variable.
844 * libio/Makefile (tst-widetext-ENV): Likewise.
845 * manual/install.texi (Running make install): Don't refer to
846 environment settings for make install.
847 * INSTALL: Regenerated.
848 * nptl/tst-tls6.sh: Don't set LANG.
849 * posix/globtest.sh (LANG): Remove variable.
850 * string/Makefile (tester-ENV): Likewise.
851 (inl-tester-ENV): Likewise.
852 (noinl-tester-ENV): Likewise.
853 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
854 [$(cross-compiling) = no]: Don't set LANGUAGE.
855 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
856 without explicit environment settings.
857
68e6b6b1
RM
8582014-06-06 Roland McGrath <roland@hack.frob.com>
859
860 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
861 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
862 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
863 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
864
4d3ae034
CM
8652014-06-06 Chris Metcalf <cmetcalf@tilera.com>
866
867 * crypt/crypt-private.h [DOS]: Add some includes taken from the
868 other files in the crypt directory.
869 * crypt/crypt.c: Remove duplicate includes.
870 * crypt/crypt-entry.c: Likewise.
871 * crypt/crypt_util.c: Likewise.
872
8540f6d2
JM
8732014-06-06 Joseph Myers <joseph@codesourcery.com>
874
875 * Makeconfig (run-program-env): New variable.
876 (run-program-prefix-before-env): Likewise.
877 (run-program-prefix-after-env): Likewise.
878 (run-program-prefix): Define in terms of new variables.
879 (built-program-cmd-before-env): New variable.
880 (built-program-cmd-after-env): Likewise.
881 (built-program-cmd): Define in terms of new variables.
882 (test-program-prefix-before-env): New variable.
883 (test-program-prefix-after-env): Likewise.
884 (test-program-prefix): Define in terms of new variables.
885 (test-program-cmd-before-env): New variable.
886 (test-program-cmd-after-env): Likewise.
887 (test-program-cmd): Define in terms of new variables.
888 * Rules (make-test-out): Use $(run-program-env).
889 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
890 (help): Do not mention environment variables. Mention
891 --timeoutfactor option.
892 (timeoutfactor): New variable.
893 (blacklist_exports): Remove function.
894 (exports): Remove variable.
895 (command): Do not include ${exports}.
896 * manual/install.texi (Configuring and compiling): Do not mention
897 test wrappers preserving environment variables. Mention that last
898 assignment to a variable must take precedence.
899 * INSTALL: Regenerated.
900 * benchtests/Makefile (run-bench): Use $(run-program-env).
901 * catgets/Makefile ($(objpfx)test1.cat): Use
902 $(built-program-cmd-before-env), $(run-program-env) and
903 $(built-program-cmd-after-env).
904 ($(objpfx)test2.cat): Do not specify environment variables
905 explicitly.
906 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
907 $(run-program-env) and $(built-program-cmd-after-env).
908 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
909 $(run-program-env) and $(test-program-cmd-after-env).
910 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
911 explicitly.
912 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
913 run_program_env and test_program_cmd_after_env arguments.
914 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
915 * elf/tst-pathopt.sh: Use run_program_env argument.
916 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
917 $(test-wrapper-env) and $(run-program-env).
918 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
919 run_program_env arguments.
920 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
921 * intl/Makefile ($(objpfx)tst-gettext.out): Use
922 $(test-program-prefix-before-env), $(run-program-env) and
923 $(test-program-prefix-after-env).
924 ($(objpfx)tst-gettext2.out): Likewise.
925 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
926 run_program_env and test_program_prefix_after_env arguments.
927 * intl/tst-gettext2.sh: Likewise.
928 * intl/tst-gettext4.sh: Do not set environment variables
929 explicitly.
930 * intl/tst-gettext6.sh: Likewise.
931 * intl/tst-translit.sh: Likewise.
932 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
933 $(test-program-prefix-before-env), $(run-program-env) and
934 $(test-program-prefix-after-env).
935 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
936 run_program_env and test_program_prefix_after_env arguments.
937 * math/Makefile (run-regen-ulps): Use $(run-program-env).
938 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
939 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
940 explicitly with each use of ${test_wrapper_env}.
941 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
942 $(test-program-prefix-before-env), $(run-program-env) and
943 $(test-program-prefix-after-env).
944 * posix/tst-getconf.sh: Do not set environment variables
945 explicitly.
946 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
947 run_program_env and test_program_prefix_after_env arguments.
948 * stdio-common/tst-printf.sh: Do not set environment variables
949 explicitly.
950 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
951 $(test-program-prefix-before-env), $(run-program-env) and
952 $(test-program-prefix-after-env).
953 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
954 run_program_env and test_program_prefix_after_env arguments.
955 Split $test calls into $test_pre and $test.
956 * timezone/Makefile (build-testdata): Use
957 $(built-program-cmd-before-env), $(run-program-env) and
958 $(built-program-cmd-after-env).
959
ed36bfa1
AZ
9602014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961
962 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
963 strlen for non SHARED builds.
964
fc75bf46
SP
9652014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
966
967 * nptl/allocatestack.c (check_list): Inlined function...
968 (__reclaim_stacks): ... here.
969
d89b3d80
OB
9702014-06-05 Ondřej Bílka <neleai@seznam.cz>
971
972 [BZ #15698]
973 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
974 memory overrun.
975
2bf18041
JM
9762014-06-05 Joseph Myers <joseph@codesourcery.com>
977
978 * Rules (make-test-out): Include
979 LOCPATH=$(common-objpfx)localedata in default environment.
980 * debug/Makefile (tst-chk1-ENV): Remove variable.
981 (tst-chk2-ENV): Likewise.
982 (tst-chk3-ENV): Likewise.
983 (tst-chk4-ENV): Likewise.
984 (tst-chk5-ENV): Likewise.
985 (tst-chk6-ENV): Likewise.
986 (tst-lfschk1-ENV): Likewise.
987 (tst-lfschk2-ENV): Likewise.
988 (tst-lfschk3-ENV): Likewise.
989 (tst-lfschk4-ENV): Likewise.
990 (tst-lfschk5-ENV): Likewise.
991 (tst-lfschk6-ENV): Likewise.
992 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
993 (tst-iconv7-ENV): Likewise.
994 * intl/Makefile (LOCPATH-ENV): Likewise.
995 (tst-codeset-ENV): Likewise.
996 (tst-gettext3-ENV): Likewise.
997 (tst-gettext5-ENV): Likewise.
998 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
999 (tst-fopenloc-ENV): Likewise.
1000 (tst-fgetws-ENV): Remove variable.
1001 (tst-ungetwc1-ENV): Likewise.
1002 (tst-ungetwc2-ENV): Likewise.
1003 (bug-ungetwc2-ENV): Likewise.
1004 (tst-swscanf-ENV): Likewise.
1005 (bug-ftell-ENV): Likewise.
1006 (tst-fgetwc-ENV): Likewise.
1007 (tst-fseek-ENV): Likewise.
1008 (tst-ftell-partial-wide-ENV): Likewise.
1009 (tst-ftell-active-handler-ENV): Likewise.
1010 (tst-ftell-append-ENV): Likewise.
1011 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1012 (tst-regexloc-ENV): Likewise.
1013 (bug-regex1-ENV): Likewise.
1014 (tst-regex-ENV): Likewise.
1015 (tst-regex2-ENV): Likewise.
1016 (bug-regex5-ENV): Likewise.
1017 (bug-regex6-ENV): Likewise.
1018 (bug-regex17-ENV): Likewise.
1019 (bug-regex18-ENV): Likewise.
1020 (bug-regex19-ENV): Likewise.
1021 (bug-regex20-ENV): Likewise.
1022 (bug-regex22-ENV): Likewise.
1023 (bug-regex23-ENV): Likewise.
1024 (bug-regex25-ENV): Likewise.
1025 (bug-regex26-ENV): Likewise.
1026 (bug-regex30-ENV): Likewise.
1027 (bug-regex32-ENV): Likewise.
1028 (bug-regex33-ENV): Likewise.
1029 (bug-regex34-ENV): Likewise.
1030 (bug-regex35-ENV): Likewise.
1031 (tst-rxspencer-ENV): Likewise.
1032 (tst-rxspencer-no-utf8-ENV): Likewise.
1033 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1034 (tst-sscanf-ENV): Likewise.
1035 (tst-swprintf-ENV): Likewise.
1036 (tst-swscanf-ENV): Likewise.
1037 (test-vfprintf-ENV): Likewise.
1038 (scanf13-ENV): Likewise.
1039 (bug14-ENV): Likewise.
1040 (tst-grouping-ENV): Likewise.
1041 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1042 (tst-strtod3-ENV): Likewise.
1043 (tst-strtod4-ENV): Likewise.
1044 (tst-strtod5-ENV): Likewise.
1045 (testmb2-ENV): Likewise./
1046 * string/Makefile (tst-strxfrm-ENV): Likewise.
1047 (tst-strxfrm2-ENV): Likewise.
1048 (bug-strcoll1-ENV): Likewise.
1049 (test-strcasecmp-ENV): Likewise.
1050 (test-strncasecmp-ENV): Likewise.
1051 * time/Makefile (tst-strptime-ENV): Likewise.
1052 (tst-ftime_l-ENV): Likewise.
1053 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1054 (tst-mbrtowc-ENV): Likewise.
1055 (tst-wcrtomb-ENV): Likewise.
1056 (tst-mbrtowc2-ENV): Likewise.
1057 (tst-c16c32-1-ENV): Likewise.
1058 (tst-mbsnrtowcs-ENV): Likewise.
1059
cd1fb604
OB
10602014-06-05 Ondřej Bílka <neleai@seznam.cz>
1061
1062 * manual/resource.texi (How to get information about the memory
1063 subsystem?): Fix typo.
1064 Reported by Peon de la Parra Ivan <peon@keba.com>
1065
b42eca7d
GY
10662014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1067
1068 [BZ #16882]
1069 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1070 (pthread_spin_lock): Branch out of spin loop to proper location.
1071 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1072 (pthread_spin_lock): Likewise.
1073
902b71f9
DM
1074 * nptl/tst-spin4.c: New test.
1075 * nptl/Makefile (tests): Add tst-spin4.
1076
f9d2d032
AS
10772014-06-03 Andreas Schwab <schwab@suse.de>
1078
1079 [BZ #15946]
1080 * resolv/res_send.c (send_dg): Reload file descriptor after
1081 calling reopen.
1082
cf7bfd28
SL
10832014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1084
1085 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1086
111cc714
RH
10872014-06-03 Richard Henderson <rth@redhat.com>
1088
89b4bd6b
RH
1089 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1090 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1091 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1092 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1093 in the SAVE_PID block.
1094 (__libc_vfork): New alias.
71840409 1095 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 1096
111cc714
RH
1097 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1098 child in registers, not on the stack. Remove RESET_PID conditionals.
1099 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1100
ccc39911
MS
11012014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1102
1103 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1104
693096cc
W
11052014-06-03 Wilco <wdijkstr@arm.com>
1106
1107 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1108 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1109 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1110 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1111 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1112 Likewise.
1113
0b4366bc
W
11142014-06-03 Wilco <wdijkstr@arm.com>
1115
1116 * sysdeps/aarch64/fpu/math_private.h
1117 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1118 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1119 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1120 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1121 Fix declarations.
1122
8747cd03
KS
11232014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1124
1125 * crypt/crypt-private.h: Include ufc-crypt.h.
1126 (__b64_from_24bit): Declare extern.
1127 * crypt/crypt_util.c(__b64_from_24bit): New function.
1128 (b64t): New static const variable.
1129 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1130 (b64t): Remove variable.
1131 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1132 * crypt/sha256-crypt.c: Include crypt-private.h.
1133 (b64t): Remove variable.
1134 (__sha256_crypt_r): Remove b64_from_24bit and replace
1135 with __b64_from_24bit.
1136 * crypt/sha512-crypt.c: Likewise.
1137
d936d379
RM
11382014-06-02 Roland McGrath <roland@hack.frob.com>
1139
1140 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1141 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1142 Label the code __libc_vfork rather than __vfork.
1143 [!NOT_IN_libc] (vfork): Define as weak alias.
1144 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1145 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1146 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1147
9fa76613
SP
11482014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1149
1150 * malloc/malloc.c (malloc_info): Fix format specifier for
1151 n_mmaps.
1152
a88dadbe
W
11532014-06-02 Wilco <wdijkstr@arm.com>
1154
1155 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1156 FPCR write.
1157
c95b3011
W
11582014-06-02 Wilco <wdijkstr@arm.com>
1159
1160 [BZ #17009]
1161 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1162 Rewrite to reduce FPCR/FPSR accesses.
1163
6b4d7a90
DM
11642014-06-01 David S. Miller <davem@davemloft.net>
1165
1166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1167
30f3d07c
DM
11682014-05-31 David S. Miller <davem@davemloft.net>
1169
1170 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1171 to occur in round to nearest mode when |x| >= 2.0
1172
74f31c18
RH
11732014-05-30 Richard Henderson <rth@twiddle.net>
1174
f0712b54
RH
1175 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1176 (PSEUDO_RET_NOERRNO): Remove.
1177 (ret): Don't redefine.
1178 (ret_NOERRNO): Define in terms of ret.
1179 (ret_ERRVAL): Likewise.
1180
74f31c18
RH
1181 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1182 use of PSEUDO_RET; perform the error check directly.
1183
30477995
MM
11842014-05-30 Marko Myllynen <myllynen@redhat.com>
1185
1186 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1187 with __int128_t.
1188
62a58816
SP
11892014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1190
1191 * malloc/malloc (malloc_info): Fix formatting.
1192
4d653a59
SP
11932014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1194 Roland McGrath <roland@hack.frob.com>
1195
1196 * malloc/malloc (malloc_info): Also print mmapped statistics.
1197
5190c17f
RM
11982014-05-30 Roland McGrath <roland@hack.frob.com>
1199
1200 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1201 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1202
987c0269
OB
12032014-05-30 Ondřej Bílka <neleai@seznam.cz>
1204
1205 * malloc/malloc.c (malloc_info): Inline mi_arena.
1206
af4e8ef9
RH
12072014-05-29 Richard Henderson <rth@twiddle.net>
1208
1670e207
RH
1209 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1210 Remove comma before expanding ASM_ARGS_##nr.
1211 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1212 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1213 of ASM_ARGS_##nr.
1214 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1215 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1216 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1217 (ASM_ARGS_1): Add leading comma.
1218
11a28aee
RH
1219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1220 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1221 to __errno_location.
1222 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1223 Remove the expected plt for __errno_location.
1224
a17e5ffb 1225 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1226 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1227 call to __read_tp.
1228
b5be4597
RH
1229 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1230 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1231 it and break it down.
1232 (DOCARGS_0, DOCARGS_1): Do nothing.
1233 (DOCARGS_2): Update to store into the new stack frame.
1234 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1235 (UNDOCARGS_1): Update to restore from the new stack frame.
1236 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1237 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1238
645d44ab
RH
1239 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1240 (SINGLE_THREAD_P): New parameter for result regno.
1241 (PSEUDO): Update to match; use cbz instead of beq.
1242
a8b4f04a
RH
1243 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1244 Use ENTRY to define the _nocancel entry point. Share the syscall
1245 and syscall error check paths with the cancel path.
1246 (PSEUDO_END): New.
1247
af4e8ef9
RH
1248 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1249 whitespace; tabs before and after asm mnemonics.
1250
26b0d2e1
EW
12512014-05-29 Eric Wong <normalperson@yhbt.net>
1252
1253 [BZ #15132]
1254 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1255 Call fstat64 or stat64 internally, depending on arguments passed.
1256 Replace stat buffer argument with file descriptor argument.
1257 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1258 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1259 Pass fd to __internal_statvfs instead of calling fstat64.
1260 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1261 Pass fd to __internal_statvfs64 instead of calling fstat64.
1262 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1263 Pass -1 to __internal_statvfs instead of calling stat64.
1264 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1265 Pass -1 to __internal_statvfs64 instead of calling stat64.
1266
1efe2bd9
RM
12672014-05-28 Roland McGrath <roland@hack.frob.com>
1268
0d3b7a19
RM
1269 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1270 that was previously under [RESET_PID].
1271 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1272
1efe2bd9
RM
1273 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1274 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1275
a6bea3ca
RM
12762014-05-27 Roland McGrath <roland@hack.frob.com>
1277
30b6629e
RM
1278 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1279
a6bea3ca
RM
1280 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1281 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1282
3dfb9a5c
OB
12832014-05-27 Ondřej Bílka <neleai@seznam.cz>
1284
1285 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1286
774f9285
AS
12872014-05-27 Andreas Schwab <schwab@suse.de>
1288
1289 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1290 TLS_INIT_TP macro.
1291 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1292 * elf/rtld.c (init_tls, dl_main): Likewise.
1293 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1294 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1295 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1296 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1297 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1298 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1299 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1300 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1301 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1302 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1303 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1304 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1305 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1306 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1307 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1308 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1309 * sysdeps/generic/tls.h: Update description.
1310
36ffe739
WN
13112014-05-27 Will Newton <will.newton@linaro.org>
1312
1313 [BZ #16990]
1314 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1315 and restore r2 rather than just restoring.
1316
2482ae43
SP
13172014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1318
1319 [BZ #16724]
1320 * libio/tst-ftell-append.c: New test case.
1321 * libio/Makefile (tests): Add test case.
1322 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1323 append mode.
1324 * libio/wfileops.c (do_ftell_wide): Likewise.
1325
3d1024e8
AZ
13262014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327
bab90016
AZ
1328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1329
c7a8d667
AZ
1330 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1331 ...
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1334 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1335 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1336 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1337 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1338 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1339 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1341 Moved ...
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1344 Moved ...
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1347 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1348 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1349 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1350 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1351 ...
1352 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1353 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1354 Moved ...
1355 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1356 here.
1357 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1358 ...
1359 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1360 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1361 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1362
daee7851
AZ
1363 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1364 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1366 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1367
50a40819
AZ
1368 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1369 merge into ...
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1372 ...
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1375 ...
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1377 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1378 Moved ...
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1380 here.
1381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1382 Moved ...
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1385 Moved ...
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1387
8464c2a1
AZ
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1389 conditional [RESET_PID].
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1392 removed.
1393 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1394 removed.
1395
3d1024e8
AZ
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1397 <tcb-offsets.h>.
1398 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1399 (__libc_vfork): New strong alias.
1400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1401 removed.
1402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1403 Removed.
1404
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1406 <tcb-offsets.h>.
1407 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1408 (__libc_vfork): New strong alias.
1409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1410 removed.
1411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1412 removed.
1413
fdfd175d
CD
14142014-05-26 Carlos O'Donell <carlos@redhat.com>
1415
1416 * malloc/malloc.c (mi_arena): New function.
1417 (malloc_info): Remove nested function mi_arena. Call non-nosted
1418 function mi_arena.
1419
d298c416
AZ
14202014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
1422 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1423 by insrwi.
1424 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1425 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1426 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1427 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1428 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1429 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1430 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1431
b60ea6ff
AS
14322014-05-26 Andreas Schwab <schwab@suse.de>
1433
1434 [BZ #16984]
1435 * locale/programs/repertoire.c (repertoire_read): Add slash
1436 between I18NPATH element and file name.
1437 * locale/programs/locfile.c (locfile_read): Likewise.
1438
67365926
SL
14392014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1440
1441 * nptl/pthread_mutexattr_settype.c
1442 (__pthread_mutexattr_settype):
1443 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1444
f8bdf1f0
SL
14452014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1446
1447 * nptl/tst-mutex5 (do_test):
1448 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1449
15eaf6ff
SP
14502014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1451
1452 * benchtests/README: Document 'init' directive.
1453 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1454 BENCH_INIT.
1455 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1456 (parse_file): Recognize 'init' directive.
1457
75f11331
KM
14582014-05-26 Kyle McMartin <kyle@redhat.com>
1459
1460 [BZ #16796]
1461 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1462 alignment of struct pthread.
1463
c3ec475c
SP
14642014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1465
1466 [BZ #16878]
1467 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1468 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1469 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1470 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1471
82aab97c
RH
14722014-05-25 Richard Henderson <rth@twiddle.net>
1473
aa2f176d
RH
1474 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1475 (SINGLE_THREAD_P_PIC): Remove.
1476 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1477 (SINGLE_THREAD_P_PIC): Remove.
1478
ca3cfa40
RH
1479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1480 branch to syscall error ...
1481 (PSEUDO): ... here.
1482 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1483 from __local_syscall_error to .Lsyscall_error.
1484 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1485 (SYSCALL_ERROR): Update label name.
1486
6e6c2d01
RH
1487 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1488 Do not use DOARGS/UNDOARGS.
1489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1490 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1491 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1492 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1493 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1494
c69abcee
RH
1495 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1496 block comment.
1497
82aab97c
RH
1498 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1499 define if !NOT_IN_libc.
1500 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1501 define with non-default symbol versions.
1502
8820e3ac
RH
15032014-05-23 Richard Henderson <rth@twiddle.net>
1504
900e445f
RH
1505 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1506 (vfork, __vfork): Define via compat_symbol.
1507
8820e3ac
RH
1508 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1509 [!HAVE_IFUNC] (vfork_compat): Remove.
1510 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1511
e59252a5
JM
15122014-05-23 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #16978]
1515 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1516 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1517 variable.
1518
132c7f5f
RH
15192014-05-23 Richard Henderson <rth@twiddle.net>
1520
bc89e962
RH
1521 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1522 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1523 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1524 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1525
1526 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1527 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1528 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1529 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1530 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1531 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1532 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1533 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1534 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1535 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1536 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1537 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1538 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1539 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1541 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1543 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1545 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1549 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1550 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1551 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1552 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1553 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1554 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1555 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1557 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1559 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1561 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1563 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1565 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1566 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1567 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1568 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1569 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1570 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1571 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1572 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1573 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1574 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1575 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1576 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1577 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1578 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1579 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1580 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1581 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1582
e2fa4bc2
RH
1583 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1584 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1585 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1586 before exiting on error.
1587 (__libc_vfork): New strong alias.
1588 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1589 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1590
279b24e2
RH
1591 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1592 that was previously under [RESET_PID].
1593 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1594
132c7f5f
RH
1595 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1596
b72592e7
JM
15972014-05-23 Joseph Myers <joseph@codesourcery.com>
1598
1599 [BZ #16977]
1600 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1601 value when x - 1 is zero.
1602 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1603 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1604 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1605 0.0L for an argument of 1.0L.
1606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1607 Likewise.
1608 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1609 value when x - 1 is zero.
1610 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1611 * sysdeps/i386/fpu/libm-test-ulps: Update.
1612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1613
2302d679
RV
16142014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1615
1616 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1617 alphasort and versionsort.
1618
32999d63
AZ
16192014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1620
1621 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1622 macro.
1623 [copysignf]: Likewise.
1624
019324d0
SP
16252014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
1627 * crypt/md5-crypt.c: Fix formatting.
1628
34fff5c2
KS
16292014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1630
1631 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1632 (b64_from_24bit): New function.
1633
3d2badac
AZ
16342014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1635
1636 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1637 libc_hidden_builtin_def to ifunc.
1638 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1639 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1640
f7bb179f 16412014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1642
1643 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1644 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1645
4134b50d
JM
16462014-05-21 Joseph Myers <joseph@codesourcery.com>
1647
bb7d0337
JM
1648 * nscd/Depend (linuxthreads): Remove.
1649 (nptl): Add.
1650 * resolv/Depend (linuxthreads): Remove.
1651 * rt/Depend (linuxthreads): Remove.
1652
4134b50d
JM
1653 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1654 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1655 $(common-objpfx)elf/.
1656 (link-libc-before-gnulib): Likewise.
1657 (elfobjdir): Remove variable.
1658 * Makefile (install): Use $(elf-objpfx) instead of
1659 $(common-objpfx)elf/.
1660 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1661 $(elfobjdir)/.
1662 (link-libc-deps): Likewise.
1663 ($(common-objpfx)libc.so): Likewise.
1664 ($(common-objpfx)linkobj/libc.so): Likewise.
1665 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1666 instead of $(common-objpfx)elf/.
1667 (symbolic-link-list): Likewise.
1668 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1669 [$(cross-compiling) = no]: Likewise.
1670 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1671 $(elfobjdir)/.
1672 (static-gnulib-arch): Likewise.
1673 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1674 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1675 $(common-objpfx)elf/.
1676
3612eb8f
RH
16772014-05-21 Richard Henderson <rth@redhat.com>
1678
a6b3657b
RH
1679 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1680 (SINGLE_THREAD_P): Use the correct width load. Fold
1681 into the ldr offset.
1682
3612eb8f
RH
1683 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1684 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1685
175cef41
JM
16862014-05-20 Joseph Myers <joseph@codesourcery.com>
1687
1688 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1689 (libgcc_s_resume): Use __attribute_used__.
1690 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1691 Likewise.
1692
e13bccd3
AZ
16932014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694
1695 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1696 optimization when used with float constants.
1697
7c112a38
AZ
1698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1699
ae75a883
AJ
17002014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1701
1702 [BZ #16915]
1703 * locale/nl_langinfo_l.c: Make direct reference to every
1704 _nl_current_CATEGORY symbol.
1705 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1706 (tests-static): Add tst-langinfo-static.
1707 (tests-special): Add tst-langinfo-static.out.
1708 ($(objpfx)tst-langinfo.out): Redirect output.
1709 ($(objpfx)tst-langinfo-static.out): New.
1710 * localedata/tst-langinfo.sh: Send output to stdout.
1711 * localedata/tst-langinfo-static.c: New file.
1712
4406c41c
AJ
1713 [BZ #16965]
1714 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1715 when the shift amount is modulo the limb size.
1716
4c0a1e63
RH
17172014-05-20 Richard Henderson <rth@redhat.com>
1718
de9d8f20
RH
1719 [BZ #16967]
1720 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1721 Change type of sa_flags from unsigned int to int.
1722
4c0a1e63
RH
1723 [BZ #16966]
1724 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1725
1726 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1727
a60339aa
WN
17282014-05-20 Will Newton <will.newton@linaro.org>
1729
1730 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1731 Test the return value of the system call in the nocancel case.
1732
7d05a816
YR
17332014-05-20 Will Newton <will.newton@linaro.org>
1734 Yvan Roux <yvan.roux@linaro.org>
1735
1736 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1737 #include of asm/ptrace.h.
1738 (PTRACE_GET_THREAD_AREA): Remove #undef.
1739 (PTRACE_GETHBPREGS): Likewise.
1740 (PTRACE_SETHBPREGS): Likewise.
1741 (struct user_regs_struct): New structure.
1742 (struct user_fpsimd_struct): New structure.
1743 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1744 #include of asm/ptrace.h and second #include of sys/user.h.
1745 (PTRACE_GET_THREAD_AREA): Remove #undef.
1746 (PTRACE_GETHBPREGS): Likewise.
1747 (PTRACE_SETHBPREGS): Likewise.
1748 (ELF_NGREG): Use new struct user_regs_struct.
1749 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1750
af121e37
AZ
17512014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752
1753 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1754 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1755
834caf06
JM
17562014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1757
1758 [BZ #16958]
1759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1760 membar to avoid block loads/stores to overlap previous stores.
1761
e184a918
RH
17622014-05-17 Richard Henderson <rth@redhat.com>
1763
1764 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1765 Create the __##syscall_name##_nocancel entry point.
1766 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1767 Remove; let the sysdep-cancel.h code create it.
1768
f56c7a6a
DM
17692014-05-17 David S. Miller <davem@davemloft.net>
1770
1771 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1772 Protect with __USE_GNU.
1773 (TIOCSET_TEMPT): Likewise.
1774 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1775 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1776 these are already provided in bits/ioctl-types.h
1777
f75616b2
RM
17782014-05-16 Roland McGrath <roland@hack.frob.com>
1779
3edeca86
RM
1780 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1781 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1782
f75616b2
RM
1783 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1784 Use wait4 regardless of [__NR_waitpid].
1785
deb0f7f6
MR
17862014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1787
1788 PR libgcc/60166
1789 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1790 (_FP_NANSIGN_Q): Set the quiet bit.
1791
79520f4b
JM
17922014-05-16 Joseph Myers <joseph@codesourcery.com>
1793
1794 * benchtests/Makefile
1795 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1796 not $(common-objpfx)math/libm.so.
1797 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1798 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1799 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1800 $(common-objpfx)dlfcn/libdl.so.
1801 ($(objpfx)tst-audit8): Depend on $(libm), not
1802 $(common-objpfx)math/libm.so.
1803 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1804 not $(common-objpfx)dlfcn/libdl.so.
1805 * math/Makefile
1806 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1807 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1808 [$(build-shared) = yes].
1809 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1810 $(common-objpfx)nptl/libpthread.so.
1811 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1812 $(common-objpfx)math/libm.so$(libm.so-version) or
1813 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1814 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1815 $(common-objpfx)dlfcn/libdl.so.
1816 * setjmp/Makefile (link-libm): Remove variable.
1817 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1818 * stdio-common/Makefile (link-libm): Remove variable.
1819 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1820 * stdlib/Makefile (link-libm): Remove variable.
1821 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1822 ($(objpfx)tst-strtod-round): Likewise.
1823 ($(objpfx)tst-tininess): Likewise.
1824 ($(objpfx)tst-strtod-underflow): Likewise.
1825 ($(objpfx)tst-strtod6): Likewise.
1826 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1827 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1828 $(common-objpfx)dlfcn/libdl.so.
1829
026b0fe4
AZ
18302014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831
1832 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1833 BSD terminal modes definitions.
1834
def4bcb2
RM
18352014-05-16 Roland McGrath <roland@hack.frob.com>
1836
fe39b021
RM
1837 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1838 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1839
1d1fc46e 1840 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1841 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1842 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1843 Don't do #include_next.
1844 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1845 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1846 Don't do #include_next.
1847 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1848 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1849 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1850 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1851
c72399fb
AM
18522014-05-16 Allan McRae <allan@archlinux.org>
1853
d51d659d
AM
1854 * po/sv.po: Update Swedish translation from translation project.
1855
c72399fb
AM
1856 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1857 in sed expression.
1858
d0583c40
AJ
18592014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1860
1861 [BZ #16917]
1862 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1863 errno if the TIOCGPTN ioctl fails with an error different than
1864 EINVAL.
1865 * login/tst-ptsname.c: New file.
1866 * login/Makefile (tests): Add tst-ptsname.
1867
d16e6ec7
AJ
1868 [BZ #16943]
1869 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1870 and prlimit64.
1871
cf26a0cb
SP
18722014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1873
1874 [BZ #16849]
1875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1876 herrno to return EAI_AGAIN.
1877
5675da1e
RM
18782014-05-14 Roland McGrath <roland@hack.frob.com>
1879
a5d87b3d
RM
1880 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1881 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1882 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1883 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1884 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1885 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1886 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1887 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1888 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1889 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1890 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1891 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1892 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1893 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1894 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1895 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1896 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1897 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1898 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1899 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1900 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1901 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1902 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1903 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1905 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1906 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1907 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1909 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1911 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1913 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1915 Moved ...
1916 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1926 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1930 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1932 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1934 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1936 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1938 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1940 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1944 Moved ...
1945 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1947 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1949 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1951 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1953 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1961 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1963 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1965 Moved ...
1966 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1969
039890a6
RM
1970 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1971 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1972 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1973 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1974 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1975 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1976 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1977 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1978 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1979 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1980 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1981 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1982 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1983 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1984 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1985 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1986 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1987 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1988 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1990 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1992 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1994 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1996 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1998 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1999 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2000 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2001
65c89320
RM
2002 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2003 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2004
348f8e8c
RM
2005 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2006 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2007 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2009 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2011 Moved ...
2012 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2013 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2014 Moved ...
2015 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2017 Moved ...
2018 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2019 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2020 Moved ...
2021 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2023 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2025 Moved ...
2026 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2028 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2030 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2032 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2033 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2034 Moved ...
2035 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2037 Moved ...
2038 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2039 ... here.
2040 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2041 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2043 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2045 Moved ...
2046 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2047 ... here.
2048 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2049 Moved ...
2050 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2051 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2052 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2053 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2054 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2055 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2056 Moved ...
2057 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2058 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2059 Moved ...
2060 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2062 Moved ...
2063 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2065 Moved ...
2066 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2067 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2068 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2069 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2070 Moved ...
2071 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2073 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2074 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2075 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2076 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2077 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2078 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2079 Moved ...
2080 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2082 Moved ...
2083 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2084 ... here.
2085 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2086 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2087 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2088 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2090 Moved ...
2091 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2092 ... here.
2093 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2094 Moved ...
2095 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2096 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2097 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2098 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2099 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2100 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2101 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2102 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2103 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2104 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2105 Moved ...
2106 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2107 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2108 Moved ...
2109 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2110 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2111 Moved ...
2112 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2113 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2114 Moved ...
2115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2116 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2117 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2118 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2119 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2120 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2121 Moved ...
2122 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2123 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2124 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2126 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2127 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2128 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2129 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2130 Moved ...
2131 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2133 Moved ...
2134 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2135 ... here.
2136 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2137 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2138 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2139 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2140 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2141 Moved ...
2142 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2143 ... here.
2144 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2145 Moved ...
2146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2147 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2148 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2149 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2150 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2151 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2152 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2153 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2154 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2155 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2156 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2157
5085af05
RM
2158 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2159 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2160
708f0813
RM
2161 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2162 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2163
c96067bc
RM
2164 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2165 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2166 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2167 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2168 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2169 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2170 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2171 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2172 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2173 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2174 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2175 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2176 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2177 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2178 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2180 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2182 Moved ...
2183 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2185 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2186 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2187 Moved ...
2188 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2190 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2192 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2194 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2195 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2196 Moved ...
2197 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2199 Moved ...
2200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2202 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2204 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2206 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2207 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2208 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2209 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2210 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2211 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2212 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2213 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2214 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2215 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2216 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2217
ec136444
RM
2218 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2219 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2220 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2221 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2222 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2223
2fbdf533
RM
2224 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2225 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2226 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2227 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2228 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2229 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2230 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2231 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2232 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2233 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2234
4c68138b
RM
2235 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2237
4eaae765
RM
2238 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2239 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2240 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2241 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2242 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2243 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2244 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2245 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2246 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2247 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2248 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2249 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2250 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2251 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2253 Update #include.
2254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2255 Likewise.
2256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2257 Likewise.
2258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2259 Likewise.
2260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2261 Likewise.
2262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2263 Likewise.
2264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2265 Likewise.
2266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2267 Likewise.
2268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2269 Likewise.
2270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2271 Likewise.
4ef6befa
RM
2272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2275 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2276 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2280 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2281 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2283 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2284 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2285 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2286 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2287
941d7dfd
RM
2288 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2289 that was previously under [RESET_PID].
2290 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2291 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2292 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2293
1b731c35
RM
2294 * sysdeps/i386/nptl/Implies: New file.
2295 * sysdeps/x86_64/nptl/Implies: New file.
2296 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2297 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2298 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2299 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2300
e2787137
RM
2301 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2302 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2303 (__libc_vfork): New strong alias.
2304 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2305 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2306
2307 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2308 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2309 (__libc_vfork): New strong alias.
2310 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2311 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2312
5675da1e
RM
2313 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2314 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2315 (__libc_vfork): New strong alias.
2316 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2317 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2318 * nptl/pt-vfork.c: New file.
2319 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2320 (libpthread: GLIBC_2.20): New version set (empty).
2321
4f02e2b8
WN
23222014-05-14 Will Newton <will.newton@linaro.org>
2323
2324 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2325 rather than #if.
2326
0bf061d3
JM
23272014-05-14 Joseph Myers <joseph@codesourcery.com>
2328
1a84c3d6
JM
2329 [BZ #16564]
2330 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2331 arguments with exponent 65 or above.
2332 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2333 arguments 0x1p113L or above.
2334 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2335 to arguments 0x1p107L or above.
2336 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2337 positive arguments with exponent 65 or above.
2338 * math/auto-libm-test-in: Add more tests of log1p.
2339 * math/auto-libm-test-out: Regenerated.
2340
01dbacd2
JM
2341 [BZ #16928]
2342 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2343 non-finite arguments is +0.
2344 * math/s_cacosf.c (__cacosf): Likewise.
2345 * math/s_cacosl.c (__cacosl): Likewise.
2346 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2347 * sysdeps/i386/fpu/libm-test-ulps: Update.
2348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2349
913d03c8
JM
2350 [BZ #16927]
2351 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2352 value.
2353 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2354 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2355 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2356 for explicit high bit of mantissa when testing for argument equal
2357 to 1.
2358 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2359 * sysdeps/i386/fpu/libm-test-ulps: Update.
2360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2361
0bf061d3
JM
2362 [BZ #16516]
2363 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2364 (__erf): Scale by 16 instead of 8 in potentially underflowing
2365 case. Ensure exception if result actually underflows.
2366 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2367 (__erff): Scale by 16 instead of 8 in potentially underflowing
2368 case. Ensure exception if result actually underflows.
2369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2370 (efx8): Remove variable.
2371 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2372 case. Ensure exception if result actually underflows.
2373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2374 (efx8): Remove variable.
2375 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2376 case. Ensure exception if result actually underflows.
2377 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2378 (efx8): Remove variable.
2379 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2380 case. Ensure exception if result actually underflows.
2381 * math/auto-libm-test-in: Add more tests of erf.
2382 * math/auto-libm-test-out: Regenerated.
2383
73ba67cb
AS
23842014-05-14 Andreas Schwab <schwab@suse.de>
2385
3d8c8bff
AS
2386 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2387 Remove code conditionalized on USE___THREAD.
2388
73ba67cb
AS
2389 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2390 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2391 not definedness.
2392
5c521ecd
JM
23932014-05-14 Joseph Myers <joseph@codesourcery.com>
2394
5e7698c6
JM
2395 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2396 Define unconditionally.
2397 (__ASSUME_O_CLOEXEC): Likewise.
2398 (__ASSUME_SOCK_CLOEXEC): Likewise.
2399 (__ASSUME_IN_NONBLOCK): Likewise.
2400 (__ASSUME_PIPE2): Likewise.
2401 (__ASSUME_EVENTFD2): Likewise.
2402 (__ASSUME_SIGNALFD4): Likewise.
2403 (__ASSUME_DUP3): Likewise.
2404 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2405 (__ASSUME_DUP3): Do not define.
2406 (__ASSUME_EVENTFD2): Likewise.
2407 (__ASSUME_IN_NONBLOCK): Likewise.
2408 (__ASSUME_O_CLOEXEC): Likewise.
2409 (__ASSUME_PIPE2): Likewise.
2410 (__ASSUME_SIGNALFD4): Likewise.
2411 (__ASSUME_SOCK_CLOEXEC): Likewise.
2412 (__ASSUME_UTIMES): Undefine.
2413 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2414 (__ASSUME_UTIMES): Do not define.
2415 (__ASSUME_O_CLOEXEC): Likewise.
2416 (__ASSUME_SOCK_CLOEXEC): Likewise.
2417 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2418 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2419 0x020621].
2420 (__ASSUME_PIPE2): Likewise.
2421 (__ASSUME_EVENTFD2): Likewise.
2422 (__ASSUME_SIGNALFD4): Likewise.
2423 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2424 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2425 Do not define.
2426 (__ASSUME_EVENTFD2): Likewise.
2427 (__ASSUME_SIGNALFD4): Likewise.
2428 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2429 (__ASSUME_32BITUIDS): Likewise.
2430 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2431 (__ASSUME_IPC64): Likewise.
2432 (__ASSUME_ST_INO_64_BIT): Likewise.
2433 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2434 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2435 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2436 (__ASSUME_UTIMES): Do not define.
2437 (__ASSUME_PSELECT): Likewise.
2438 (__ASSUME_PPOLL): Likewise.
2439 (__ASSUME_O_CLOEXEC): Likewise.
2440 (__ASSUME_SOCK_CLOEXEC): Likewise.
2441 (__ASSUME_IN_NONBLOCK): Likewise.
2442 (__ASSUME_PIPE2): Likewise.
2443 (__ASSUME_EVENTFD2): Likewise.
2444 (__ASSUME_SIGNALFD4): Likewise.
2445 (__ASSUME_DUP3): Likewise.
2446 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2447 (__ASSUME_UTIMES): Likewise.
2448 (__ASSUME_O_CLOEXEC): Likewise.
2449 (__ASSUME_SOCK_CLOEXEC): Likewise.
2450 (__ASSUME_IN_NONBLOCK): Likewise.
2451 (__ASSUME_PIPE2): Likewise.
2452 (__ASSUME_EVENTFD2): Likewise.
2453 (__ASSUME_SIGNALFD4): Likewise.
2454 (__ASSUME_DUP3): Likewise.
2455 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2456 (__ASSUME_UTIMES): Likewise.
2457 (__ASSUME_O_CLOEXEC): Likewise.
2458 (__ASSUME_SOCK_CLOEXEC): Likewise.
2459 (__ASSUME_IN_NONBLOCK): Likewise.
2460 (__ASSUME_PIPE2): Likewise.
2461 (__ASSUME_EVENTFD2): Likewise.
2462 (__ASSUME_SIGNALFD4): Likewise.
2463 (__ASSUME_DUP3): Likewise.
2464 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2465 Likewise.
2466 (__ASSUME_UTIMES): Likewise.
2467 (__ASSUME_EVENTFD2): Likewise.
2468 (__ASSUME_SIGNALFD4): Likewise.
2469 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2470 (__ASSUME_O_CLOEXEC): Likewise.
2471 (__ASSUME_SOCK_CLOEXEC): Likewise.
2472 (__ASSUME_IN_NONBLOCK): Likewise.
2473 (__ASSUME_PIPE2): Likewise.
2474 (__ASSUME_EVENTFD2): Likewise.
2475 (__ASSUME_SIGNALFD4): Likewise.
2476 (__ASSUME_DUP3): Likewise.
2477 (__ASSUME_UTIMES): Undefine.
2478
5c521ecd
JM
2479 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2480 feclearexcept. Remove symbol versioning code.
2481 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2482 symbol versioning code.
2483 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2484 symbol versioning code.
2485 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2486 feupdateenv. Remove symbol versioning code.
2487 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2488 fegetexceptflag. Remove symbol versioning code.
2489 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2490 fesetexceptflag. Remove symbol versioning code.
2491 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2492 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2493 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2494 (__posix_fadvise64_l32): Remove prototype.
2495 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2496 code.
2497
5da9dfad
RM
24982014-05-13 Roland McGrath <roland@hack.frob.com>
2499
2500 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2501 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2502 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2503 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2504
893b4f37
SK
25052014-05-13 Sami Kerola <kerolasa@iki.fi>
2506
2507 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2508 current working directory
2509
e0db6517
RM
25102014-05-13 Roland McGrath <roland@hack.frob.com>
2511
58aa195d
RM
2512 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2513 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2514 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2515 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2516 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2517 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2518 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2519 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2520 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2521 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2523 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2525 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2526 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2527 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2528 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2529 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2530 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2531 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2532 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2533 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2535 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2536 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2537 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2538 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2539 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2541 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2543 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2545 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2546 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2547 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2548 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2549 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2550 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2551 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2552 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2553 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2554
8c6d01f0
RM
2555 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2556 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2557
2558 * sysdeps/unix/sysv/linux/arm/Makefile
2559 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2560 Add rt-aeabi_unwind_cpp_pr1.
2561 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2562 Add nptl-aeabi_unwind_cpp_pr1.
2563 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2564 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2565 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2566 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2567 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2568 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2569
2570 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2571 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2572 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2573 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2574
bba6da4e
RM
2575 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2576 Deconditionalize the code that was previously under [RESET_PID].
2577 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2578
e0db6517
RM
2579 * sysdeps/generic/exit-thread.h: New file.
2580 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2581 * include/unistd.h (__exit_thread): Remove declaration.
2582 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2583 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2584 * csu/libc-start.c: Include <exit-thread.h>.
2585 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2586 * nptl/pthread_create.c: Include <exit-thread.h>.
2587 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2588 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2589 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2590 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2591 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2592 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2593 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2594 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2595 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2596 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2597 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2598 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2599 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2600 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2601 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2602 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2603 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2604
01eb16fd
AS
26052014-05-13 Andreas Schwab <schwab@suse.de>
2606
2607 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2608
637461d9
JM
26092014-05-12 Joseph Myers <joseph@codesourcery.com>
2610
2611 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2612 (__ASSUME_UTIMES): Do not condition on kernel version.
2613 (__ASSUME_PSELECT): Define unconditionally.
2614 (__ASSUME_PPOLL): Likewise.
2615 (__ASSUME_ATFCTS): Likewise.
2616 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2617 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2618 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2619 (__ASSUME_UTIMENSAT): Define unconditionally.
2620 (__ASSUME_PRIVATE_FUTEX): Likewise.
2621 (__ASSUME_FALLOCATE): Likewise.
2622 (__ASSUME_O_CLOEXEC): Likewise.
2623 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2624 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2625 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2626 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2627 (__ASSUME_IN_NONBLOCK): Likewise.
2628 (__ASSUME_PIPE2): Likewise.
2629 (__ASSUME_EVENTFD2): Likewise.
2630 (__ASSUME_SIGNALFD4): Likewise.
2631 (__ASSUME_DUP3): Likewise.
2632 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2633 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2634 (__ASSUME_AT_RANDOM): Likewise.
2635 (__ASSUME_PREADV): Likewise.
2636 (__ASSUME_PWRITEV): Likewise.
2637 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2638 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2639 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2640 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2641 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2642 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2643 (__ASSUME_O_CLOEXEC): Define unconditionally.
2644 (__ASSUME_PSELECT): Do not undefine conditionally.
2645 (__ASSUME_PPOLL): Likewise.
2646 (__ASSUME_ATFCTS): Likewise.
2647 (__ASSUME_SET_ROBUST_LIST): Likewise.
2648 (__ASSUME_UTIMENSAT): Likewise.
2649 (__ASSUME_FDATASYNC): Define unconditionally.
2650 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2651 (__ASSUME_SIGFRAME_V2): Likewise.
2652 )__ASSUME_EVENTFD2): Likewise.
2653 (__ASSUME_SIGNALFD4): Likewise.
2654 (__ASSUME_PSELECT): Do not undefine conditionally.
2655 (__ASSUME_PPOLL): Likewise.
2656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2657 (__ASSUME_PSELECT): Define unconditionally.
2658 (__ASSUME_PPOLL): Likewise.
2659 (__ASSUME_O_CLOEXEC): Likewise.
2660 (__ASSUME_SOCK_CLOEXEC): Likewise.
2661 (__ASSUME_IN_NONBLOCK): Likewise.
2662 (__ASSUME_PIPE2): Likewise.
2663 (__ASSUME_EVENTFD2): Likewise.
2664 (__ASSUME_SIGNALFD4): Likewise.
2665 (__ASSUME_DUP3): Likewise.
2666 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2667 (__ASSUME_O_CLOEXEC): Likewise.
2668 (__ASSUME_SOCK_CLOEXEC): Likewise.
2669 (__ASSUME_IN_NONBLOCK): Likewise.
2670 (__ASSUME_PIPE2): Likewise.
2671 (__ASSUME_EVENTFD2): Likewise.
2672 (__ASSUME_SIGNALFD4): Likewise.
2673 (__ASSUME_DUP3): Likewise.
2674 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2675 (__ASSUME_EVENTFD2): Likewise.
2676 (__ASSUME_SIGNALFD4): Likewise.
2677 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2678
315eb1d8
AS
26792014-05-12 Andreas Schwab <schwab@suse.de>
2680
2681 [BZ #16932]
2682 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2683 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2684 than maximum RPC packet size.
2685 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2686 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2687 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2688 (_nss_nis_getservbyport_r): Likewise.
2689
91df99f7
WN
26902014-05-12 Will Newton <will.newton@linaro.org>
2691
2692 * malloc/Makefile (tests): Add tst-mallopt.
2693 * malloc/tst-mallopt.c: New file.
2694
0a982a29
RM
26952014-05-09 Roland McGrath <roland@hack.frob.com>
2696
2697 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2698 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2699
0ded08a5
AZ
27002014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
2702 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2703 (tst-tlsmod6.so): Likewise.
2704
55d4d550
RM
27052014-05-09 Roland McGrath <roland@hack.frob.com>
2706
2707 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2708
77d08aca
JM
27092014-05-09 Joseph Myers <joseph@codesourcery.com>
2710
2711 [BZ #16064]
2712 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2713 and <dl-procinfo.h>.
2714 (__fegetenv): Save SSE state in envp->__eip if supported.
2715 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2716 envp->__eip if supported.
2717 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2718 and <dl-procinfo.h>.
2719 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2720 __data_offset and __data_selector in environment to 0. Set SSE
2721 state if supported.
2722 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2723 test-fenv-sse.
2724 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2725 -mfpmath=sse.
2726 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2727
28162f4d
WN
27282014-05-09 Will Newton <will.newton@linaro.org>
2729
2730 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2731 and libc_relro_required for ARM.
2732 * sysdeps/arm/preconfigure: Regenerate.
2733
5a414ff7
DV
27342014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2735 Stefan Liebler <stli@linux.vnet.ibm.com>
2736
2737 * config.make.in (enable-lock-elision): New Makefile variable.
2738 * configure.ac: Likewise.
2739 * configure: Regenerate.
2740 * sysdeps/s390/configure.ac:
2741 Add check for gcc transactions support.
2742 * sysdeps/s390/configure: Regenerate.
2743 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2744 Build elision files if enabled.
2745 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2746 Add lock elision support for s390.
2747 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2748 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2749 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2750 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2751 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2752 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2754 Likewise.
2755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2756 Likewise.
2757 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2758 Likewise.
2759 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2760 Likewise.
2761 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2762 (__lll_timedlock_elision, __lll_lock_elision)
2763 (__lll_unlock_elision, __lll_trylock_elision)
2764 (lll_timedlock_elision, lll_lock_elision)
2765 (lll_unlock_elision, lll_trylock_elision): Add.
2766 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2767 (pthread_mutex_t): Add lock elision support for s390.
2768
1a2f40e5
W
27692014-05-14 Wilco <wdijkstr@arm.com>
2770
2771 * sysdeps/arm/fclrexcpt.c: Cleanup.
2772 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2773 * sysdeps/arm/feenablxcpt.c: Cleanup.
2774 * sysdeps/arm/fegetenv.c: Cleanup.
2775 * sysdeps/arm/fegetexcept.c: Cleanup.
2776 * sysdeps/arm/fegetround.c: Cleanup.
2777 * sysdeps/arm/feholdexcpt.c: Cleanup.
2778 * sysdeps/arm/fesetenv.c: Cleanup.
2779 * sysdeps/arm/fesetround.c: Cleanup.
2780 * sysdeps/arm/feupdateenv.c: Cleanup.
2781 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2782 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2783 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2784 * sysdeps/arm/ftestexcept.c: Cleanup.
2785 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2786 * sysdeps/arm/setfpucw.c: Cleanup.
2787
f63c86fe
WN
27882014-05-09 Will Newton <will.newton@linaro.org>
2789
2790 * sysdeps/arm/armv7/strcmp.S: New file.
2791 * NEWS: Mention addition of ARMv7 optimized strcmp.
2792
7a1a51b5
RM
27932014-05-08 Roland McGrath <roland@hack.frob.com>
2794
95afbbe5
RM
2795 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2796 look for %.ac rather than %.in.
2797
2798 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2799 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2800 * sysdeps/mach/hurd/configure: Regenerated.
2801 * sysdeps/unix/sysv/linux/configure: Regenerated.
2802
7a1a51b5
RM
2803 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2804
5057ad3b
SE
28052014-05-07 Steve Ellcey <sellcey@mips.com>
2806
2807 [BZ# 16922]
2808 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2809 (LONG_SUB): Ditto.
2810 (PTR_SUB): Ditto.
2811
8dc97517
AS
28122014-05-07 Andreas Schwab <schwab@suse.de>
2813
2814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2815 when skipping over non-matching result from nscd.
2816
ce0c5b8f
OB
28172014-05-07 Ondřej Bílka <neleai@seznam.cz>
2818
2819 [BZ #16876]
2820 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2821
a1189263
OB
2822 [BZ #16877]
2823 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2824 nscd security class.
ce0c5b8f 2825
0f58d252
RM
28262014-05-06 Roland McGrath <roland@hack.frob.com>
2827
2828 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2829 * sysdeps/arm/unwind.h: ... here.
2830
83df9ad0
AJ
28312014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2832
ce0c5b8f
OB
2833 [BZ# 16916]
2834 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2835 Define.
83df9ad0 2836
f360f94a
VR
28372014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2838
2839 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2840 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2841 multiarch strncpy for PPC64.
2842 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2843 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2845 multiarch optimizations.
2846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2847 (__libc_ifunc_impl_list): Likewise.
2848 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2849 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2850 multiarch stpncpy for PPC64.
2851 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2852 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2853
978a41c3
AS
28542014-05-06 Andreas Schwab <schwab@suse.de>
2855
2856 [BZ #16912]
2857 * gmon/mcount.c (_MCOUNT_DECL): Use
2858 atomic_compare_and_exchange_bool_acq instead of
2859 catomic_compare_and_exchange_bool_acq.
2860
eb1ed03d
RM
28612014-05-05 Roland McGrath <roland@hack.frob.com>
2862
fe658845
RM
2863 * elf/Makefile (others, install-bin): Remove pldd.
2864 (pldd-modules): Variable removed.
2865 ($(objpfx)pldd): Target removed.
2866 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2867 (others, install-bin): Append pldd here.
2868 ($(objpfx)pldd): New target.
2869
eb1ed03d
RM
2870 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2871 to 0, so the first #if test emitted later doesn't see it undefined.
2872 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2873 * sysdeps/gnu/errlist.c: Regenerated.
2874
19c4bec0
AZ
28752014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876
2877 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2878 [libc_hidden_builtin_def]: Define to empty value.
2879 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2880 [libc_hidden_builtin_def]: Likewise.
2881 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2882 [libc_hidden_builtin_def]: Likewise.
2883 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2884 [libc_hidden_builtin_def]: Likewise.
2885 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2886 __redirect_memcpy and define ifunc as default hidden symbol.
2887 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2888 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2889
7776e669
AC
28902014-05-04 Adam Conrad <adconrad@0c3.net>
2891
2892 * locale/iso-4217.def: Reintroduce XDR currency.
2893
d69aeb12
AM
28942014-05-04 Allan McRae <allan@archlinux.org>
2895
2896 * po/eo.po: Update Esperanto translation from translation project.
2897
8f1df5cf
CD
28982014-05-02 Carlos O'Donell <carlos@redhat.com>
2899
2900 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2901 and FEATURE_INDEX_MAX to 1.
2902 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2903
13e402e7
SE
29042014-05-01 Steve Ellcey <sellcey@mips.com>
2905
2906 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2907 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2908 * iconvdata/big5.c (ONE_DIRECTION): Define.
2909 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2910 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2911 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2912 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2913 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2914 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2915 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2916 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2917 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2918 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2919 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2920 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2921 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2922 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2923 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2924 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2925 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2926 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2927 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2928 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2929 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2930 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2931 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2932 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2933 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2934 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2935 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2936 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2937 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2938 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2939 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2940 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2941 * iconvdata/johab.c (ONE_DIRECTION): Define.
2942 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2943 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2944 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2945 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2946 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2947 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2948 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2949 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2950 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2951 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2952
c727f032
RM
29532014-05-01 Roland McGrath <roland@hack.frob.com>
2954
8f2f08d0
RM
2955 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2956 (_IO_JUMPS_OFFSET): Define to 0.
2957
c727f032
RM
2958 * nptl/sysdeps/pthread/bits/libc-lock.h
2959 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2960 (__libc_lock_define_initialized_recursive): Always define using
2961 initializer. Modern compilers treat uninitialized (implicit zero) and
2962 explicit zero initializers the same (i.e. put the datum in bss).
2963
a849e800
AS
29642014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2965
2966 * nscd/nscd-client.h: Include <string.h>.
2967
5331255b
DM
29682014-05-01 David S. Miller <davem@davemloft.net>
2969
2970 [BZ #16885]
2971 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2972 multiple zero bytes exist at the end of a string.
2973 Reported by Aurelien Jarno <aurelien@aurel32.net>
2974
2975 * string/test-strcmp.c (check): Add explicit test for situations where
2976 there are multiple zero bytes after the first.
2977
4fdfe821
AS
29782014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2979
2980 [BZ #16890]
2981 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2982 when compiling wprintf.
2983 * stdio-common/tstdiomisc.c (t3): New function.
2984 (main): Call it.
2985
0cdddc25
SE
29862014-05-01 Steve Ellcey <sellcey@mips.com>
2987
2988 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2989 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2990 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2991 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2992
6426d77e
SE
29932014-05-01 Steve Ellcey <sellcey@mips.com>
2994
2995 * stdlib/longlong.h: Updated from GCC.
2996
6d96f5e4
WN
29972014-05-01 Will Newton <will.newton@linaro.org>
2998 Bernard Ogden <bernie.ogden@linaro.org>
2999
7470db0c
WN
3000 * NEWS: Update fixed bug list.
3001
6d96f5e4
WN
3002 [BZ #15119]
3003 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3004
211d653c
DM
30052014-04-30 David S. Miller <davem@davemloft.net>
3006
4fa262fa
DM
3007 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3008 (libc_feholdexcept_setround_sparc_ctx): New function.
3009 (libc_fesetenv_sparc_ctx): Likewise.
3010 (libc_feupdateenv_sparc_ctx): Likewise.
3011 (libc_feholdsetround_sparc_ctx): Likewise.
3012 (libc_feholdexcept_setround_ctx): Define.
3013 (libc_feholdexcept_setroundf_ctx): Likewise.
3014 (libc_feholdexcept_setroundl_ctx): Likewise.
3015 (libc_fesetenv_ctx): Likewise.
3016 (libc_fesetenvf_ctx): Likewise.
3017 (libc_fesetenvl_ctx): Likewise.
3018 (libc_feupdateenv_ctx): Likewise.
3019 (libc_feupdateenvf_ctx): Likewise.
3020 (libc_feupdateenvl_ctx): Likewise.
3021 (libc_feresetround_ctx): Likewise.
3022 (libc_feresetroundf_ctx): Likewise.
3023 (libc_feresetroundl_ctx): Likewise.
3024 (libc_feholdsetround_ctx): Likewise.
3025 (libc_feholdsetroundf_ctx): Likewise.
3026 (libc_feholdsetroundl_ctx): Likewise.
3027
1d3d93ef
DM
3028 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3029 with __USE_GNU instead of XOPEN cpp guards.
3030
8aa583c3
DM
3031 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3032 0.
3033
211d653c
DM
3034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3035 with XOPEN cpp guards.
3036
60c8f1f6
JB
30372014-04-30 Julian Brown <julian@codesourcery.com>
3038
3039 [BZ #16888]
3040 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3041 handling.
3042
9a461d46
JM
30432014-04-30 Joseph Myers <joseph@codesourcery.com>
3044
d0f5b3f8
JM
3045 [BZ #9894]
3046 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3047 Change to 2.6.32.
3048 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3049 * sysdeps/unix/sysv/linux/configure: Regenerated.
3050 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3051 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3052 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3053 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3054 * README: Update reference to required Linux kernel version.
3055 * manual/install.texi (Linux): Update reference to required Linux
3056 kernel headers version.
3057 * INSTALL: Regenerated.
3058
9a461d46
JM
3059 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3060 header inclusion.
3061 [POSIX] (limits.h): Likewise.
3062 [POSIX] (math.h): Likewise.
3063 [POSIX] (sys/wait.h): Likewise.
3064 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3065 function.
3066 [POSIX] (stddef.h): Do not allow header inclusion.
3067
1775babf
AZ
30682014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069
57f41c40 3070 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3071
8f630cca
YY
30722014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3073
3074 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3075 Return immediately after lll_futex_wake.
3076
1cdeb237
SP
30772014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3078
bc8f194c
SP
3079 [BZ #16791]
3080 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3081 structure.
3082 (datahead_init_pos): Call datahead_init_common early.
3083 (datahead_init_neg): Likewise.
3084
1cdeb237
SP
3085 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3086 datahead_init_neg): New functions.
3087 * nscd/aicache.c (addhstaiX): Use them.
3088 * nscd/grpcache.c (cache_addgr): Likewise.
3089 * nscd/hstcache.c (cache_addhst): Likewise.
3090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3091 * nscd/netgroupcache.c (do_notfound): Likewise.
3092 (addgetnetgrentX): Likewise.
3093 (addinnetgrX): Likewise.
3094 * nscd/pwdcache.c (cache_addpw): Likewise.
3095 * nscd/servicescache.c (cache_addserv): Likewise.
3096
16b293a7
SP
30972014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3098 Atsushi Onoe <atsushi@onoe.org>
3099
3100 [BZ #14308]
3101 [BZ #12994]
3102 [BZ #13651]
3103 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3104 one response is valid.
3105 * resolv/res_send.c (send_dg): Check for validity of other
3106 response if the current response is a referral.
3107
a28a9b94
SE
31082014-04-29 Steve Ellcey <sellcey@mips.com>
3109
3110 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3111
2ca180e9
SL
31122014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3113
3114 [BZ #16823]
3115 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3116 Always divide by positive zero when computing -Inf result.
3117 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3118 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3119
18f2945a
AZ
31202014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3123 FPSCR if value do not change.
3124 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3125 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3126 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3127 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3128 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3129 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3130 function.
3131
5abebba4
CD
31322014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3133
3134 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3135 * sysdeps/unix/sysv/linux/hppa: Move directory from
3136 ports/systeps/unix/sysv/linux/hppa.
3137 * README: Update listing for hppa-*-linux-gnu.
3138
f7ed60c2
OB
31392014-04-28 Ondřej Bílka <neleai@seznam.cz>
3140
fff763a5
OB
3141 [BZ #16754]
3142 * manual/stdio.texi (Hook functions): Fix types of stream hook
3143 functions.
f7ed60c2
OB
3144 [BZ #16854]
3145 * socket/sys/socket.h: Fix typo in comment.
3146
df639d73
WD
31472014-04-28 Wilco <wdijkstr@arm.com>
3148
f7ed60c2 3149 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3150 * sysdeps/arm/math_private.h: New file.
3151 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3152
48332d82
L
31532014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3156 with __int128_t.
3157 (La_x86_64_retval): Likewise.
3158
e5e0d9a4
IB
31592014-04-24 Ian Bolton <ian.bolton@arm.com>
3160
3161 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3162 fpsr if value didn't change.
3163 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3164 to fpcr if value didn't change.
3165 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3166 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3167 fpsr or fpcr if value didn't change.
3168 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3169 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3170 fpcr if value didn't change.
3171 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3172 to fpsr if value didn't change.
3173
bacc75f7
SP
31742014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3175
3176 * nptl/tst-sem3.c: Use test-skeleton.c
3177 (main): Rename to do_test. Use return instead of
3178 exit.
3179 * nptl/tst-sem4.c: Use test-skeleton.c
3180 (main): Rename to do_test.
3181
a059d359
DM
31822014-04-22 David S. Miller <davem@davemloft.net>
3183
3184 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3185 (struct sigaction): New struct member __glibc_reserved0, change
3186 type of sa_flags to int.
3187
ea6c92f3
YZ
31882014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3189
3190 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3191 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3192
766c4a36
SP
31932014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3194
3195 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3196 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3197
140cc7ab
VK
31982014-04-22 Will Newton <will.newton@linaro.org>
3199 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3200
3201 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3202 (__longjmp): Add longjmp and longjmp_target SystemTap
3203 probes.
3204 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3205 (__sigsetjmp): Add setjmp SystemTap probe.
3206
c54e5cf7
CD
32072014-04-17 Carlos O'Donell <carlos@redhat.com>
3208
3209 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3210 match manual order.
3211
75ffb047
AZ
32122014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3213
3214 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3215
2cd925f7
AZ
3216 * sysdeps/powerpc/fpu/fenv_private.h
3217 (libc_feholdexcept_setroundl_ctx): Define to
3218 libc_feholdexcept_setround_ppc_ctx.
3219 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3220 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3221 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3222 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3223
39e6cd8d
IB
32242014-04-17 Ian Bolton <ian.bolton@arm.com>
3225
3226 * sysdeps/aarch64/math-tests.h: New file.
3227
f9281df9
SY
32282014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3229
3230 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3231 New.
3232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3233 Check and set bit_AVX2_Usable.
3234 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3235 macro.
3236 (bit_AVX2): Likewise.
3237 (index_AVX2_Usable): Likewise.
3238 (CPUID_AVX2): Likewise.
3239 (HAS_AVX2): Likewise.
3240
37d35007
WN
32412014-04-17 Will Newton <will.newton@linaro.org>
3242
7c677662
WN
3243 * manual/setjmp.texi (System V contexts): Add note that
3244 calling setcontext on a context created by a call to a
3245 signal handler is undefined. Update text to note that
3246 setcontext from a signal handler is possible but not
3247 recommended.
3248
37d35007 3249 [BZ #16629]
e04a4e9d
WN
3250 * stdlib/tst-setcontext.c: Include signal.h.
3251 (main): Check that the signal stack before and
3252 after swapcontext is the same.
3253
37d35007
WN
3254 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3255 Re-implement to restore registers in user code and avoid
3256 rt_sigreturn system call.
3257
423a7160
W
32582014-04-17 Wilco <wdijkstr@arm.com>
3259
3260 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3261 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3262 * math/test-fenv.c: Skip exception trap tests on targets which only
3263 support non-stop mode.
3264
bc93ab29
IB
32652014-04-17 Ian Bolton <ian.bolton@arm.com>
3266 Wilco Dijkstra <wilco.dijkstra@arm.com>
3267
3268 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3269 (libc_feholdsetround_aarch64_ctx)
3270 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3271 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3272 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3273 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3274 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3275 (libc_feresetround_noexl_ctx): Define.
3276
95fc5fa3
RH
32772014-04-16 Richard Henderson <rth@redhat.com>
3278
ddb04724
RH
3279 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3280
d77c0899
RH
3281 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3282 unwind tables.
3283
a3df56fc
RH
3284 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3285 const from the non-libc, non-ldso copy.
3286
95fc5fa3
RH
3287 * sysdeps/alpha/libm-test-ulps: Regenerate.
3288
7e0b6763
IB
32892014-04-16 Ian Bolton <ian.bolton@arm.com>
3290 Wilco Dijkstra <wilco.dijkstra@arm.com>
3291
3292 * sysdeps/aarch64/fpu/math_private.h: New file.
3293
a9ea2e0c
MS
32942014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3295
3296 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3297
ea8ba7cd
IZ
32982014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3299
3300 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3301 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3303 Intel MPX bound registers before _dl_profile_fixup.
3304 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3305 registers after _dl_profile_fixup. Save and restore bound
3306 registers bnd0/bnd1 when calling _dl_call_pltexit.
3307 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3308 (LR_BND_OFFSET): Likewise.
3309 (LRV_BND0_OFFSET): Likewise.
3310 (LRV_BND1_OFFSET): Likewise.
3311
9f2a4fbc
ST
33122014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3313
3314 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3315 to...
3316 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3317 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3318 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3319 fields.
9f2a4fbc 3320
fd15a59b
ST
33212014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3322
3323 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3324
f19dfa0a
SL
33252014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3326
3327 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3328
4fa8bc3b
SL
33292014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3330
3331 [BZ #14770]
3332 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3333 * sysdeps/s390/configure: Regenerate.
3334
8ea587db
SL
3335 [BZ #16824]
3336 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3337 Set round-to-nearest internally to reduce error accumulation.
3338
aa5f0ff1
AM
33392014-04-16 Alan Modra <amodra@gmail.com>
3340
3341 [BZ #16740]
3342 [BZ #16619]
3343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3344 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3345 * NEWS: Update fixed bug list.
aa5f0ff1 3346
bb9c256f
SP
33472014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3348
3349 * benchtests/Makefile: Depend on libraries in build directory.
3350 (bench-math): Separate out math tests.
3351 (bench-pthread): Separate out pthread tests.
3352 (bench): Include math and pthread tests.
3353
f737dfd0
CD
33542014-04-14 Carlos O'Donell <carlos@redhat.com>
3355
3356 [BZ #16831]
3357 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3358 _dl_debug_initialize.
3359
0699f766
CD
3360 * configure.ac: Remove SELinux header check.
3361 * configure: Regenerate.
3362 * nscd/selinux.c (perms): Array of const char* to permission names.
3363 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3364 default policy. Call string_to_security_class and string_to_av_perm to
3365 translate strings. Enforce default policy and call avs_has_perm with
3366 results of translated strings.
3367
809bd45f
DM
33682014-04-13 David S. Miller <davem@davemloft.net>
3369
3370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3371
89e691f2
AM
33722014-04-12 Allan McRae <allan@archlinux.org>
3373
3374 [BZ #16838]
3375 * manual/string.texi (Collation Functions): Fix qsort argument
3376 order in example.
3377 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3378
9c9daaeb
CM
33792014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3380
3381 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3382 Make the test a no-op if there are no exceptions defined.
3383
95561fb9
PP
33842014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3385
fe8d072c 3386 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3387 enable-hardcoded-path-in-tests
3388
970c602a
WN
33892014-04-11 Will Newton <will.newton@linaro.org>
3390
3391 * benchtests/Makefile (extra-objs): Add json-lib.o.
3392 (bench-func): Tidy up JSON output.
3393 * benchtests/bench-skeleton.c: Include json-lib.h.
3394 (main): Use JSON library functions to do output of
3395 benchmark results.
3396 * benchtests/bench-timing-type.c (main): Output the
3397 timing type simply, leaving formatting to the user.
3398 * benchtests/json-lib.c: New file.
3399 * benchtests/json-lib.h: Likewise.
3400
36875b06
TR
34012014-04-11 Torvald Riegel <triegel@redhat.com>
3402
3403 [BZ #15215]
3404 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3405 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3406 memory barriers. Add comments.
3407 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3408 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3409 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3410 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3411 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3412 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3413
579db35a
SL
34142014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3415
3416 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3417 * sysdeps/s390/s390-64/configure.ac: ... this ...
3418 * sysdeps/s390/configure.ac: ... to here.
3419 * sysdeps/s390/s390-32/configure: Delete file.
3420 * sysdeps/s390/s390-64/configure: Delete file.
3421 * sysdeps/s390/configure: Regenerate.
3422
c12e9f37
JAPH
34232014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3424
3425 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3426
439bda32
WN
34272014-04-11 Will Newton <will.newton@linaro.org>
3428
3429 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3430 to zero if it is not defined elsewhere. (mtrim): Test
3431 the value of MALLOC_DEBUG with #if rather than #ifdef.
3432
6a5d6ea1
TR
34332014-04-10 Torvald Riegel <triegel@redhat.com>
3434
3435 * benchtests/pthread_once-inputs: New file.
3436 * benchtests/pthread_once-source.c: New file.
3437 * benchtests/README: Update documentation.
3438
a4c75cfd
IZ
34392014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3440 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3443 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3444 * sysdeps/x86_64/configure: Regenerated.
3445 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3446 macro.
3447 (REGISTER_SAVE_RAX): Likewise.
3448 (REGISTER_SAVE_RCX): Likewise.
3449 (REGISTER_SAVE_RDX): Likewise.
3450 (REGISTER_SAVE_RSI): Likewise.
3451 (REGISTER_SAVE_RDI): Likewise.
3452 (REGISTER_SAVE_R8): Likewise.
3453 (REGISTER_SAVE_R9): Likewise.
3454 (REGISTER_SAVE_BND0): Likewise.
3455 (REGISTER_SAVE_BND1): Likewise.
3456 (REGISTER_SAVE_BND2): Likewise.
3457 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3458 bound registers when calling _dl_fixup.
3459
27822ce6
AZ
34602014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461
3462 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3463 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3464 of its definition.
27822ce6
AZ
3465 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3466 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3467 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3468 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3469 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3470 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3471 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3472
a88ddc90
PTB
34732014-04-09 Peter Brett <peter@peter-b.co.uk>
3474
3475 [BZ #15514]
3476 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3477 pathconf(_PC_NAME_MAX).
3478
01f8eac2
AZ
34792014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480
3481 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3482 Remove macro usage.
3483 (__PTHREAD_SPINS): Move definition to ...
3484 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3485 (__PTHREAD_SPINS): ... here.
3486 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3487 (__PTHREAD_SPIN): Likewise.
3488 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3489 (__PTHREAD_SPIN): Likewise.
3490 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3491 (__PTHREAD_SPIN): Likewise.
3492 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3493 (__PTHREAD_SPIN): Likewise.
3494 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3495 (__PTHREAD_SPIN): Likewise.
3496 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3497 (__PTHREAD_SPIN): Likewise.
3498 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3499 (__PTHREAD_SPIN): Likewise.
3500 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3501 (__PTHREAD_SPIN): Likewise.
3502 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3503 (__PTHREAD_SPIN): Likewise.
3504 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3505 (__PTHREAD_SPIN): Likewise.
3506 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3507 (__PTHREAD_SPIN): Likewise.
3508 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3509 (__PTHREAD_SPIN): Likewise.
3510
de21c33c
AZ
3511 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3512 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3513 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3514 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3515 imply folder.
3516 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3517 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3518 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3519 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3520 correct imply path.
3521 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3522 strlen symbol for non multi-arch builds.
3523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3524 missing hidden_def and weak_alias.
3525
862c472e
CD
35262014-04-08 Carlos O'Donell <carlos@redhat.com>
3527
3528 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3529
8667f90e
WN
35302014-04-07 Will Newton <will.newton@linaro.org>
3531
3532 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3533 and contents. [!_LIBC] Remove #ifndef and contents.
3534 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3535 * string/memccpy.c (__memccpy): Use ANSI prototype.
3536 * string/memfrob.c (memfrob): Likewise.
3537 * string/strcoll.c (STRCOLL): Likewise.
3538 * string/strlen.c (strlen): Likewise.
3539 * string/strtok.c (STRTOK): Likewise.
3540 * string/strcat.c: Remove unused #include of memcopy.h.
3541 (strcat): Use ANSI prototype.
3542 * string/strchr.c: Remove unused #include of memcopy.h.
3543 (strchr): Use ANSI prototype.
3544 * string/strcmp.c: Remove unused #include of memcopy.h.
3545 (strcmp): Use ANSI prototype.
3546 * string/strcpy.c: Remove unused #include of memcopy.h.
3547 (strcpy): Use ANSI prototype.
3548
7ffa9423
AZ
35492014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3550
3551 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3552 * config.make.in (config-extra-cppflags): Set it from
3553 libc_extra_cppflags.
3554 * configure.ac (libc_extra_cflags): Make it accumulate over
3555 configure fragments.
3556 (libc_extra_cppflags): New flag.
3557 * configure. Regenerate.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3559 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3560 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3562
8bd70862
AZ
3563 [BZ #16815]
3564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3565 result for FE_DOWNWARD rounding mode.
3566 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3567 Likewise.
3568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3569
d42f3448
CM
35702014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3571
3572 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3573 in function argument name.
3574
1c21d115
DS
35752014-04-03 David Svoboda <svoboda@cert.org>
3576
3577 [BZ #5666]
3578 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3579 explicitly.
3580
fcccd512
RM
35812014-04-03 Roland McGrath <roland@hack.frob.com>
3582
3583 * elf/dl-unmap-segments.h: New file.
3584 * sysdeps/generic/ldsodefs.h
3585 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3586 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3587 * elf/dl-fptr.c: Likewise.
3588 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3589 * sysdeps/aarch64/tlsdesc.c: Likewise.
3590 * sysdeps/arm/tlsdesc.c: Likewise.
3591 * sysdeps/i386/tlsdesc.c: Likewise.
3592 * sysdeps/tile/dl-runtime.c: Likewise.
3593 * sysdeps/x86_64/tlsdesc.c: Likewise.
3594 * elf/dl-load.h: New file.
3595 * elf/dl-load.c: Include it.
3596 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3597 Macros moved to dl-load.h.
3598 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3599 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3600 Use _dl_unmap_segments in place of __munmap.
3601 Break out segment-mapping loop into ...
3602 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3603
f6488e2b
WN
36042014-04-03 Will Newton <will.newton@linaro.org>
3605
3606 * elf/dl-lookup.c (do_lookup_x): Remove comment
3607 referring to nested function and move variable
3608 declarations down to before first use.
3609
6f05bafe
JM
36102014-04-02 Joseph Myers <joseph@codesourcery.com>
3611
a84e78c8
JM
3612 [BZ #16799]
3613 [BZ #16800]
3614 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3615 with 0 numerator.
3616 * math/s_catanf.c (__catanf): Likewise.
3617 * math/s_catanh.c (__catanh): Likewise.
3618 * math/s_catanhf.c (__catanhf): Likewise.
3619 * math/s_catanhl.c (__catanhl): Likewise.
3620 * math/s_catanl.c (__catanl): Likewise.
3621 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3622 by positive zero when computing -Inf result.
3623 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3624 (catanh_test): Likewise.
3625 * sysdeps/i386/fpu/libm-test-ulps: Update.
3626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627
6f05bafe
JM
3628 [BZ #16789]
3629 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3630 instead of using underflowing value in computing result.
3631 * math/s_clog10.c (__clog10): Likewise.
3632 * math/s_clog10f.c (__clog10f): Likewise.
3633 * math/s_clog10l.c (__clog10l): Likewise.
3634 * math/s_clogf.c (__clogf): Likewise.
3635 * math/s_clogl.c (__clogl): Likewise.
3636 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3637 (clog10_test): Likewise.
3638 * sysdeps/i386/fpu/libm-test-ulps: Update.
3639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3640
b0abbc21
AM
36412014-04-02 Alan Modra <amodra@gmail.com>
3642
3643 [BZ #16739]
3644 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3645 output when value is near a power of two. Use int64_t for lx and
3646 remove casts. Use decimal rather than hex exponent constants.
3647 Don't use long double multiplication when double will suffice.
3648 * math/libm-test.inc (nextafter_test_data): Add tests.
3649 * NEWS: Add 16739 and 16786 to bug list.
3650
af6b1797
AM
3651 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3652
483818d7
AM
3653 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3654
f6c55796
WN
36552014-04-01 Will Newton <will.newton@linaro.org>
3656
3657 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3658 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3659
13f7fe35
FW
36602014-04-01 Florian Weimer <fweimer@redhat.com>
3661
3662 [BZ #13347]
3663 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3664 * nptl/tst-setuid2.c: New file.
3665 * nptl/Makefile (xtests): Add tst-setuid2.
3666
c859b32e
AM
36672014-04-01 Alan Modra <amodra@gmail.com>
3668
3669 [BZ #16786]
3670 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3671
54fa2475
JM
36722014-03-31 Joseph Myers <joseph@codesourcery.com>
3673
8795b4a4
JM
3674 [BZ #6803]
3675 [BZ #6804]
3676 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3677 set errno as appropriate.
3678 * math/w_scalbf.c (__scalbf): Likewise.
3679 * math/w_scalbl.c (__scalbl): Likewise.
3680 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3681 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3682 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3683 Add more NaN tests.
3684
54fa2475
JM
3685 [BZ #16349]
3686 * math/w_atan2.c: Include <errno.h>.
3687 (__atan2): Set errno for result underflowing to zero.
3688 * math/w_atan2f.c: Include <errno.h>.
3689 (__atan2f): Set errno for result underflowing to zero.
3690 * math/w_atan2l.c: Include <errno.h>.
3691 (__atan2l): Set errno for result underflowing to zero.
3692 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3693 tests.
3694 * math/auto-libm-test-out: Regenerated.
3695
757d9dd5
AZ
36962014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3697
3698 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3699 Encode instruction correctly in little endian.
3700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3701 Likewise.
3702 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3703 Likewise.
3704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3705 Likewise.
3706 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3707 Likewise.
3708
d7a68734
JM
37092014-03-31 Joseph Myers <joseph@codesourcery.com>
3710
47c5adeb
JM
3711 [BZ #9894]
3712 * sysdeps/unix/sysv/linux/kernel-features.h
3713 [__sparc__ && !__arch64__ && !__sparc_v9__]
3714 (__ASSUME_SET_ROBUST_LIST): Do not define.
3715 [__sparc__ && !__arch64__ && !__sparc_v9__]
3716 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3717 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3718 Likewise.
3719 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3720 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3721 (__ASSUME_REQUEUE_PI): Likewise.
3722 (__ASSUME_SET_ROBUST_LIST): Likewise.
3723 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3724 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3725 Undefine.
3726 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3727 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3728 Likewise.
3729 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3730 Likewise.
3731 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3734 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3735 Undefine.
3736 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3737 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3738 Likewise.
3739
d7a68734
JM
3740 [BZ #16648]
3741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3743 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3744
c760f5c2
WN
37452014-03-31 Will Newton <will.newton@linaro.org>
3746
3747 * benchtests/Makefile (bench): Add ffs and ffsll to list
3748 of tests.
3749 * benchtests/ffs-inputs: New file.
3750 * benchtests/ffsll-inputs: Likewise.
3751
ea6029b1
JM
37522014-03-29 Joseph Myers <joseph@codesourcery.com>
3753
3754 [BZ #16770]
3755 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3756 too large before casting to int.
3757 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3758 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3759 * math/libm-test.inc (scalb_test_data): Add more tests.
3760
cf806aff
SP
37612014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3762
56737508
SP
3763 * benchtests/Makefile (DETAILED_OPT): New make option.
3764 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3765 set.
3766 * benchtests/bench-skeleton.c: Include stdbool.h.
3767 (main): Store and print timings per input.
3768 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3769 member to each argument value.
3770 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3771 (_print_arg_data): Initialize per-input timing to 0.
3772
cb5e4aad
SP
3773 * benchtests/Makefile (timing-type): New binary.
3774 (bench-clean): Also remove bench-timing-type.
3775 (bench): New target for timing-type.
3776 (bench-func): Print output in JSON format.
3777 * benchtests/bench-skeleton.c (main): Print output in JSON
3778 format.
3779 * benchtests/bench-timing-type.c: New file.
3780 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3781 (TIMING_PRINT_STATS): Remove.
3782 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3783 name separately.
3784
cf806aff
SP
3785 * benchtests/bench-modf.c: Remove.
3786 * benchtests/modf-inputs: New inputs file.
3787
289e0779
JM
37882014-03-28 Joseph Myers <joseph@codesourcery.com>
3789
3790 [BZ #16362]
3791 * math/s_clog10.c (M_PI_LOG10E): New macro.
3792 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3793 imaginary parts are 0.
3794 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3795 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3796 imaginary parts are 0.
3797 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3798 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3799 imaginary parts are 0.
3800 * math/libm-test.inc (clog10_test_data): Update expected results
3801 for when real and imaginary parts are 0.
3802
277ae3f1
PP
38032014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3804
3805 * elf/dl-load.c: Finish conversion of __builtin_expect into
3806 __glibc_{un}likely.
3807
03a7091f
JM
38082014-03-27 Joseph Myers <joseph@codesourcery.com>
3809
3810 [BZ #16348]
3811 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3812 1+x for argument with exponent below -67.
3813 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3814 Likewise.
3815 * math/auto-libm-test-in: Add more tests of exp.
3816 * math/auto-libm-test-out: Regenerated.
3817
ea7d8b95
SP
38182014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3819
dd3022d7
SP
3820 [BZ #16759]
3821 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3822 (nscd_getnetgrent): Use it.
3823
ea7d8b95
SP
3824 [BZ #16760]
3825 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3826 of stpcpy.
3827
df5b85da
AK
38282014-03-27 Andi Kleen <ak@linux.intel.com>
3829
57f41c40
AS
3830 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3831 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3832 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3833 (lll_robust_unlock): Remove out of line section. Use cfi
3834 intrinsics.
df5b85da 3835 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3836 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3837 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3838 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3839 (lll_robust_unlock): Remove out of line section. Use cfi
3840 intrinsics.
df5b85da
AK
3841 (LLL_STUB_UNWIND_INFO*): Remove.
3842
fbd6b5a4
SP
38432014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3844
3845 [BZ #16758]
3846 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3847 blank values.
3848
1b26b855
PP
38492014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3850
3851 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3852
9be36fb8
JM
38532014-03-26 Joseph Myers <joseph@codesourcery.com>
3854
3855 [BZ #16198]
3856 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3857 fnstenv.
3858 * math/test-fenv-preserve.c: New file.
3859 * math/Makefile (tests): Add test-fenv-preserve.
3860
60a2f3c1
WN
38612014-03-26 Will Newton <will.newton@linaro.org>
3862
3863 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3864
a5e5f1e2
RM
38652014-03-25 Roland McGrath <roland@hack.frob.com>
3866
3867 * scripts/versionlist.awk: Partition the version sets and emit all
3868 GLIBC_* (sorted) before all others (sorted).
3869
00f4012a
JM
38702014-03-25 Joseph Myers <joseph@codesourcery.com>
3871
3872 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3873 GLIBC_2.2.5 version.
3874
7bc5a741
AZ
38752014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3876
3877 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3878 calls.
3879
7578473b
AZ
3880 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3881 previous change.
3882
f3f1dab3
AZ
3883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3884
6da36183
AS
38852014-03-25 Andreas Schwab <schwab@suse.de>
3886
3887 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3888 label to be used after in6ailist is initialized.
3889
f3f1dab3 38902014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3891
7578473b 3892 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3893 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3894
046651c1
JM
38952014-03-25 Joseph Myers <joseph@codesourcery.com>
3896
3897 [BZ #16357]
3898 [BZ #16599]
3899 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3900 min_plus_half.
3901 (fp_formats): Update initializers.
3902 (init_fp_formats): Initialize new field.
3903 (output_for_one_input_case): Allow underflow for results up to
3904 min_plus_half.
3905 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3906 * math/auto-libm-test-in: Don't mark some underflows from asin and
3907 atanh as spurious.
3908 * math/auto-libm-test-out: Regenerated.
3909 * sysdeps/i386/fpu/libm-test-ulps: Update.
3910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3911
003e49ed
AS
39122014-03-25 Andreas Schwab <schwab@suse.de>
3913
3914 * libio/Makefile (tst-ftell-partial-wide-ENV)
3915 (tst-ftell-active-handler-ENV): Define.
3916
de031874
SL
39172014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3918
3919 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3920
55a81e3b
PP
39212014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3922
3923 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3924
f3426898
JM
39252014-03-24 Joseph Myers <joseph@codesourcery.com>
3926
3927 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3928 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3929 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3930
a42faf59
PP
39312014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3932
3933 [BZ #16634]
a42faf59 3934 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3935 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3936 (open_path): Change from boolean 'secure' to complete flag 'mode'
3937 (_dl_map_object): Adjust.
a42faf59
PP
3938 * elf/Makefile (tests): Add tst-dlopen-aout.
3939 * elf/tst-dlopen-aout.c: New test.
3940
50936127
SL
39412014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3942
3943 [BZ #16714]
3944 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3945 (struct stat): Rename member pad0 to __glibc_reserved0.
3946
26011b5c
SL
3947 [BZ #16712]
3948 * sysdeps/s390/s390-32/bits/wordsize.h
3949 (__WORDSIZE32_SIZE_ULONG): New define.
3950 * sysdeps/s390/s390-64/bits/wordsize.h
3951 (__WORDSIZE32_SIZE_ULONG): Likewise.
3952 * sysdeps/generic/stdint.h (SIZE_MAX):
3953 Define as UL if __WORDSIZE32_SIZE_ULONG.
3954
a2d86bf1
SL
3955 [BZ #16713]
3956 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3957 (__glibc_reserved0): New variable.
3958 (sa_flags): Change type to int.
3959
78b6eebc
SL
3960 * posix/Makefile (before-compile): Use += before-compile instead
3961 of a :=.
3962
f1399b5a
SL
3963 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3964 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3965
a071766e
AS
39662014-03-20 Andreas Schwab <schwab@suse.de>
3967
3968 [BZ #16743]
3969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3970 non-matching result from nscd.
3971
27c673b8
SP
39722014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3973
3974 * scripts/bench.py: Moved to ...
3975 * benchtests/scripts/bench.py: ... here.
3976 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3977
44152e4b
AS
39782014-03-24 Andreas Schwab <schwab@suse.de>
3979
3980 [BZ #16002]
3981 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3982 alloca_account and account alloca use for struct in6ailist.
3983
b376a11a
JM
39842014-03-24 Joseph Myers <joseph@codesourcery.com>
3985
3986 [BZ #16284]
3987 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3988 rounding mode to recompute results that overflow to infinity or
3989 underflow to zero.
3990 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3991 bug 16284.
3992 * math/auto-libm-test-out: Regenerated.
3993 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3994 (ccosh_test): Likewise.
3995 (csin_test_data): Use plus_oflow.
3996 (csin_test): Use ALL_RM_TEST.
3997 (csinh_test_data): Use plus_oflow.
3998 (csinh_test): Use ALL_RM_TEST.
3999 * sysdeps/i386/fpu/libm-test-ulps: Update.
4000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4001
f7be7376
JM
40022014-03-21 Joseph Myers <joseph@codesourcery.com>
4003
1ca2d03e
JM
4004 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4005 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4006 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4007
f7be7376
JM
4008 [BZ #16731]
4009 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4010 when x - 1 is zero.
4011 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4012 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4013 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4015 argument is 1.
4016 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4017 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4018 zero.
4019 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4022
fdf4534d
SP
40232014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4024
df26ea53
SP
4025 * scripts/bench.pl: Remove file.
4026 * scripts/bench.py: New benchmark script.
4027 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4028 * benchtests/README: Mention python dependency.
4029 * scripts/pylintrc: New file.
4030 * scripts/pylint: New file.
4031
fdf4534d
SP
4032 * bits/mathdef.h: Use #ifdef instead of #if.
4033 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4034 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4035 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4036 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4037 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4038 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4039
6f23d093
AZ
40402014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4041 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4042
4043 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4045 and strpbrk-ppc64 objects.
4046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4047 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4048 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4049 multiarch strpbrk for POWER7.
4050 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4051 multiarch strpbrk for PPC64.
4052 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4053 ifunc selector.
4054 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4055 strpbrk for POWER7.
4056
8c92dfff
JM
40572014-03-20 Joseph Myers <joseph@codesourcery.com>
4058
4059 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4060 (atan_test): Likewise.
4061 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4062 (atanh_test): Use ALL_RM_TEST.
4063 (atan2_test_data): Likewise.
4064 (cabs_test): Likewise.
4065 (cacosh_test): Likewise.
4066 (carg_test): Likewise.
4067 (casin_test): Likewise.
4068 (casinh_test): Likewise.
4069 (cbrt_test): Likewise.
4070 (csqrt_test): Likewise.
4071 (erf_test): Likewise.
4072 (erfc_test): Likewise.
4073 (pow10_test): Likewise.
4074 (exp2_test): Likewise.
4075 (hypot_test): Likewise.
4076 (j0_test): Likewise.
4077 (j1_test): Likewise.
4078 (lgamma_test): Likewise.
4079 (gamma_test): Likewise.
4080 (sincos_test): Likewise.
4081 (tanh_test): Likewise.
4082 (y0_test): Likewise.
4083 (y1_test): Likewise.
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086
6eaf95cb
AZ
40872014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4088
a387428c
SP
4089 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
4091 and strcspn-ppc64 objects.
4092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4093 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4094 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4095 multiarch strcspn for POWER7.
4096 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4097 multiarch strcspn for PPC64.
4098 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4099 ifunc selector.
4100 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4101 strcspn for POWER7.
4102
ae3a5dff
JM
41032014-03-20 Joseph Myers <joseph@codesourcery.com>
4104
4105 * math/gen-libm-test.pl (generate_testfile): Expect only function
4106 name as argument to AUTO_TESTS_* and pass results for all rounding
4107 modes to parse_args.
4108 (parse_auto_input): Separate inputs of automatic tests from
4109 outputs before storing in %auto_tests.
4110 * math/libm-test.inc (acos_test_data): Update call to
4111 AUTO_TESTS_f_f.
4112 (acos_test): Use ALL_RM_TEST.
4113 (acos_tonearest_test_data): Remove.
4114 (acos_test_tonearest): Likewise.
4115 (acos_towardzero_test_data): Likewise.
4116 (acos_test_towardzero): Likewise.
4117 (acos_downward_test_data): Likewise.
4118 (acos_test_downward): Likewise.
4119 (acos_upward_test_data): Likewise.
4120 (acos_test_upward): Likewise.
4121 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4122 (asin_test_data): Likewise.
4123 (asin_test): Use ALL_RM_TEST.
4124 (asin_tonearest_test_data): Remove.
4125 (asin_test_tonearest): Likewise.
4126 (asin_towardzero_test_data): Likewise.
4127 (asin_test_towardzero): Likewise.
4128 (asin_downward_test_data): Likewise.
4129 (asin_test_downward): Likewise.
4130 (asin_upward_test_data): Likewise.
4131 (asin_test_upward): Likewise.
4132 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4133 (atan_test_data): Likewise.
4134 (atanh_test_data): Likewise.
4135 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4136 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4137 (carg_test_data): Likewise.
4138 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4139 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4140 (ccosh_test_data): Likewise.
4141 (cexp_test_data): Likewise.
4142 (clog_test_data): Likewise.
4143 (clog10_test_data): Likewise.
4144 (cos_test_data): Update call to AUTO_TESTS_f_f.
4145 (cos_test): Use ALL_RM_TEST.
4146 (cos_tonearest_test_data): Remove.
4147 (cos_test_tonearest): Likewise.
4148 (cos_towardzero_test_data): Likewise.
4149 (cos_test_towardzero): Likewise.
4150 (cos_downward_test_data): Likewise.
4151 (cos_test_downward): Likewise.
4152 (cos_upward_test_data): Likewise.
4153 (cos_test_upward): Likewise.
4154 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4155 (cosh_test): Use ALL_RM_TEST.
4156 (cosh_tonearest_test_data): Remove.
4157 (cosh_test_tonearest): Likewise.
4158 (cosh_towardzero_test_data): Likewise.
4159 (cosh_test_towardzero): Likewise.
4160 (cosh_downward_test_data): Likewise.
4161 (cosh_test_downward): Likewise.
4162 (cosh_upward_test_data): Likewise.
4163 (cosh_test_upward): Likewise.
4164 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4165 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4166 (ctan_test_data): Likewise.
4167 (ctan_test): Use ALL_RM_TEST.
4168 (ctan_tonearest_test_data): Remove.
4169 (ctan_test_tonearest): Likewise.
4170 (ctan_towardzero_test_data): Likewise.
4171 (ctan_test_towardzero): Likewise.
4172 (ctan_downward_test_data): Likewise.
4173 (ctan_test_downward): Likewise.
4174 (ctan_upward_test_data): Likewise.
4175 (ctan_test_upward): Likewise.
4176 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4177 (ctanh_test): Use ALL_RM_TEST.
4178 (ctanh_tonearest_test_data): Remove.
4179 (ctanh_test_tonearest): Likewise.
4180 (ctanh_towardzero_test_data): Likewise.
4181 (ctanh_test_towardzero): Likewise.
4182 (ctanh_downward_test_data): Likewise.
4183 (ctanh_test_downward): Likewise.
4184 (ctanh_upward_test_data): Likewise.
4185 (ctanh_test_upward): Likewise.
4186 (erf_test_data): Update call to AUTO_TESTS_f_f.
4187 (erfc_test_data): Likewise.
4188 (exp_test_data): Likewise.
4189 (exp_test): Use ALL_RM_TEST.
4190 (exp_tonearest_test_data): Remove.
4191 (exp_test_tonearest): Likewise.
4192 (exp_towardzero_test_data): Likewise.
4193 (exp_test_towardzero): Likewise.
4194 (exp_downward_test_data): Likewise.
4195 (exp_test_downward): Likewise.
4196 (exp_upward_test_data): Likewise.
4197 (exp_test_upward): Likewise.
4198 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4199 (exp10_test): Use ALL_RM_TEST.
4200 (exp10_tonearest_test_data): Remove.
4201 (exp10_test_tonearest): Likewise.
4202 (exp10_towardzero_test_data): Likewise.
4203 (exp10_test_towardzero): Likewise.
4204 (exp10_downward_test_data): Likewise.
4205 (exp10_test_downward): Likewise.
4206 (exp10_upward_test_data): Likewise.
4207 (exp10_test_upward): Likewise.
4208 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4209 (expm1_test_data): Likewise.
4210 (expm1_test): Use ALL_RM_TEST.
4211 (expm1_tonearest_test_data): Remove.
4212 (expm1_test_tonearest): Likewise.
4213 (expm1_towardzero_test_data): Likewise.
4214 (expm1_test_towardzero): Likewise.
4215 (expm1_downward_test_data): Likewise.
4216 (expm1_test_downward): Likewise.
4217 (expm1_upward_test_data): Likewise.
4218 (expm1_test_upward): Likewise.
4219 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4220 (fma_test): Use ALL_RM_TEST.
4221 (fma_towardzero_test_data): Remove.
4222 (fma_test_towardzero): Likewise.
4223 (fma_downward_test_data): Likewise.
4224 (fma_test_downward): Likewise.
4225 (fma_upward_test_data): Likewise.
4226 (fma_test_upward): Likewise.
4227 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4228 (j0_test_data): Update call to AUTO_TESTS_f_f.
4229 (j1_test_data): Likewise.
4230 (jn_test_data): Update call to AUTO_TESTS_if_f.
4231 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4232 (log_test_data): Update call to AUTO_TESTS_f_f.
4233 (log10_test_data): Likewise.
4234 (log1p_test_data): Likewise.
4235 (log2_test_data): Likewise.
4236 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4237 (pow_tonearest_test_data): Likewise.
4238 (sin_test_data): Update call to AUTO_TESTS_f_f.
4239 (sin_test): Use ALL_RM_TEST.
4240 (sin_tonearest_test_data): Remove.
4241 (sin_test_tonearest): Likewise.
4242 (sin_towardzero_test_data): Likewise.
4243 (sin_test_towardzero): Likewise.
4244 (sin_downward_test_data): Likewise.
4245 (sin_test_downward): Likewise.
4246 (sin_upward_test_data): Likewise.
4247 (sin_test_upward): Likewise.
4248 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4249 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4250 (sinh_test): Use ALL_RM_TEST.
4251 (sinh_tonearest_test_data): Remove.
4252 (sinh_test_tonearest): Likewise.
4253 (sinh_towardzero_test_data): Likewise.
4254 (sinh_test_towardzero): Likewise.
4255 (sinh_downward_test_data): Likewise.
4256 (sinh_test_downward): Likewise.
4257 (sinh_upward_test_data): Likewise.
4258 (sinh_test_upward): Likewise.
4259 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4260 (sqrt_test): Use ALL_RM_TEST.
4261 (sqrt_tonearest_test_data): Remove.
4262 (sqrt_test_tonearest): Likewise.
4263 (sqrt_towardzero_test_data): Likewise.
4264 (sqrt_test_towardzero): Likewise.
4265 (sqrt_downward_test_data): Likewise.
4266 (sqrt_test_downward): Likewise.
4267 (sqrt_upward_test_data): Likewise.
4268 (sqrt_test_upward): Likewise.
4269 (tan_test_data): Update call to AUTO_TESTS_f_f.
4270 (tan_test): Use ALL_RM_TEST.
4271 (tan_tonearest_test_data): Remove.
4272 (tan_test_tonearest): Likewise.
4273 (tan_towardzero_test_data): Likewise.
4274 (tan_test_towardzero): Likewise.
4275 (tan_downward_test_data): Likewise.
4276 (tan_test_downward): Likewise.
4277 (tan_upward_test_data): Likewise.
4278 (tan_test_upward): Likewise.
4279 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4280 (tgamma_test_data): Likewise.
4281 (y0_test_data): Likewise.
4282 (y1_test_data): Likewise.
4283 (yn_test_data): Update call to AUTO_TESTS_if_f.
4284 (main): Do not call removed functions.
4285
d71aeee8
JM
42862014-03-19 Joseph Myers <joseph@codesourcery.com>
4287
4288 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4289 (ldexp_test_data): Remove.
4290 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4291 scalbn_test_data.
4292 (scalb_test): Use ALL_RM_TEST.
4293
baaf1ded
AS
42942014-03-19 Andreas Schwab <schwab@suse.de>
4295
4296 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4297
b1115e91
JM
42982014-03-19 Joseph Myers <joseph@codesourcery.com>
4299
4300 [BZ #16649]
4301 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4302 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4303 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4305 (__ASSUME_PREADV): Undefine.
4306 (__ASSUME_PWRITEV): Likewise.
4307
0283ecca
RM
43082014-03-18 Roland McGrath <roland@hack.frob.com>
4309
7d375303
RM
4310 * bits/mman-linux.h: Add comment about non-Linux use.
4311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4312 bits/mman-linux.h resting place.
4313
0283ecca
RM
4314 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4315 * bits/mman-linux.h: ... here.
4316
aebe1003
AZ
43172014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4318
4319 * conform/conformtest.pl: Add standard definition when calling C
4320 preprocessor on data files.
4321 (checknamespace): Remove unused variable.
4322
b29b6bb8
JM
43232014-03-18 Joseph Myers <joseph@codesourcery.com>
4324
4325 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4326 minus_oflow, plus_uflow and minus_uflow in expected results.
4327 * math/libm-test.inc (scalbn_test_data): Add more tests of
4328 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4329 minus_uflow.
4330 (scalbn_test): Use ALL_RM_TEST.
4331 (scalbln_test_data): Add more tests of negative arguments. Use
4332 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4333 (scalbln_test): Use ALL_RM_TEST.
4334
c8f8fa15
RM
43352014-03-18 Roland McGrath <roland@hack.frob.com>
4336
4337 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4338
fede7a5f
WN
43392014-03-18 Will Newton <will.newton@linaro.org>
4340
4341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4342 inaccurate comment.
4343
80cf0a58
JM
43442014-03-18 Joseph Myers <joseph@codesourcery.com>
4345
4346 * Makerules [!subdir] (check-abi): Exit with error status if a
4347 test failed.
4348
b3620862
JM
43492014-03-17 Joseph Myers <joseph@codesourcery.com>
4350
4351 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4352 for rint. Include results for all rounding modes.
4353 (nearbyint_test): Use ALL_RM_TEST.
4354 (rint_test_data): Include all tests used for nearbyint.
4355
788bba36
WN
43562014-03-17 Will Newton <will.newton@linaro.org>
4357
04ec140a
WN
4358 * nptl/sysdeps/pthread/pthread.h: Revert previous
4359 change.
4360
7579d8d5
WN
4361 * sysdeps/generic/ldsodefs.h: Revert previous
4362 change.
4363
c15cf13a
WN
4364 * libio/genops.c: Revert previous change.
4365 * libio/libioP.h: Likewise.
4366 * stdio-common/vfprintf.c: Likewise.
4367
d0ac1324
WN
4368 * sysdeps/generic/math_private.h: Revert previous
4369 change.
4370
9290130a
WN
4371 * sysdeps/generic/math_private.h: Check whether
4372 HAVE_RM_CTX is defined with #ifdef rather
4373 than #if.
4374
afb466fc
WN
4375 * argp/argp-fmtstream.h: Check whether
4376 __STRICT_ANSI__ is defined with #ifdef rather
4377 than #if.
4378 * argp/argp.h: Likewise.
4379
f7efd7c3
WN
4380 * libio/genops.c: Check whether
4381 _IO_JUMPS_OFFSET is defined with #ifdef rather
4382 than #if.
4383 * libio/libioP.h: Likewise.
4384 * stdio-common/vfprintf.c: Likewise.
4385
53f1bed3
WN
4386 * sysdeps/generic/ldsodefs.h: Check whether
4387 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4388 than #if.
4389
788bba36
WN
4390 * nptl/sysdeps/pthread/pthread.h: Check
4391 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4392 its value.
4393
fcd89ebe
SP
43942014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4395
ae42bbc5
SP
4396 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4397 setting O_APPEND.
4398 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4399 test case.
4400
ea33158c
SP
4401 [BZ #16680]
4402 * libio/fileops.c (_IO_file_open): Seek to end of file but
4403 don't cache the offset.
4404 (get_file_offset): Remove function.
4405 (do_ftell): Use cached offset when available.
4406 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4407 don't cache the offset.
4408 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4409 case.
4410 (do_one_test): Call it.
4411 (do_ftell_test): Fix up expected old offset for a+ mode.
4412 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4413 available.
4414
b1dbb426
SP
4415 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4416 up test status with function return status.
4417 (do_write_test): Likewise.
4418 (do_append_test): Likewise.
4419
fcd89ebe
SP
4420 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4421 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4422 Remove.
4423
9962a2d3
JM
44242014-03-17 Joseph Myers <joseph@codesourcery.com>
4425
4426 * math/gen-libm-test.pl (parse_args): Handle results specified for
4427 each rounding mode separately.
4428 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4429 tests and results from lrint_tonearest_test_data,
4430 lrint_towardzero_test_data, lrint_downward_test_data and
4431 lrint_upward_test_data.
4432 (lrint_test): Use ALL_RM_TEST.
4433 (lrint_tonearest_test_data): Remove.
4434 (lrint_test_tonearest): Likewise.
4435 (lrint_towardzero_test_data): Likewise.
4436 (lrint_test_towardzero): Likewise.
4437 (lrint_downward_test_data): Likewise.
4438 (lrint_test_downward): Likewise.
4439 (lrint_upward_test_data): Likewise.
4440 (lrint_test_upward): Likewise.
4441 (llrint_test_data): Merge in per-rounding-mode tests and results
4442 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4443 llrint_downward_test_data and llrint_upward_test_data.
4444 (llrint_test): Use ALL_RM_TEST.
4445 (llrint_tonearest_test_data): Remove.
4446 (llrint_test_tonearest): Likewise.
4447 (llrint_towardzero_test_data): Likewise.
4448 (llrint_test_towardzero): Likewise.
4449 (llrint_downward_test_data): Likewise.
4450 (llrint_test_downward): Likewise.
4451 (llrint_upward_test_data): Likewise.
4452 (llrint_test_upward): Likewise.
4453 (rint_test_data): Merge in per-rounding-mode tests and results
4454 from rint_tonearest_test_data, rint_towardzero_test_data,
4455 rint_downward_test_data and rint_upward_test_data. Add
4456 per-rounding-mode results for tests not in those arrays.
4457 (rint_test): Use ALL_RM_TEST.
4458 (rint_tonearest_test_data): Remove.
4459 (rint_test_tonearest): Likewise.
4460 (rint_towardzero_test_data): Likewise.
4461 (rint_test_towardzero): Likewise.
4462 (rint_downward_test_data): Likewise.
4463 (rint_test_downward): Likewise.
4464 (rint_upward_test_data): Likewise.
4465 (rint_test_upward): Likewise.
4466 (main): Don't call removed functions.
4467
5006148e
RM
44682014-03-14 Roland McGrath <roland@hack.frob.com>
4469
4470 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4471 "Compiled on ..." crapola. It is anti-useful.
4472
d6fe5e58
JM
44732014-03-14 Joseph Myers <joseph@codesourcery.com>
4474
4475 * scripts/evaluate-test.sh: Handle fourth argument to determine
4476 whether test run should stop on failure.
4477 * Makeconfig (stop-on-test-failure): New variable.
4478 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4479 $(stop-on-test-failure).
4480 * Makefile (tests): Give a summary of results from testing and
4481 exit with failure status if they include an ERROR or FAIL.
4482 (xtests): Likewise.
4483 * manual/install.texi (Configuring and compiling): Mention
4484 stop-on-test-failure=y.
4485 * INSTALL: Regenerated.
4486
498a2233
RM
44872014-03-14 Roland McGrath <roland@hack.frob.com>
4488
22dbc19d
RM
4489 * scripts/versionlist.awk: New file.
4490 * Makerules [$(build-shared) = yes]
4491 (postclean-generated): Add Versions.def, not Versions.def.v and
4492 Versions.def.v.i.
4493 ($(common-objpfx)Versions.def.v.i): Target removed.
4494 ($(common-objpfx)Versions.def): New target.
4495 ($(common-objpfx)Versions.all): Depend on that rather that
4496 $(common-objpfx)Versions.def.v.
4497 * Versions.def: File removed.
4498
498a2233
RM
4499 * Makeconfig (+gccwarn): Add -Wundef.
4500 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4501 a dl-sysdep.h breaking its contract.
4502 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4503 * include/stackinfo.h: New file.
4504 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4505 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4506 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4507 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4508 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4509 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4510 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4511 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4512 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4513 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4514 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4515 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4516 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4517 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4518 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4519
c7de5025
AZ
45202014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4521
4522 [BZ #16707]
4523 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4524 implementation.
4525 * math/libm-test.inc (round_test_data): Add more tests.
4526
98fb27a3
AZ
4527 [BZ #16706]
4528 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4529 implementation.
4530 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4531
374f7f61
AZ
4532 [BZ #16701]
4533 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4534 implementation.
4535 * math/libm-test.inc (ceil_test_data): Add more tests.
4536
4655c291
AZ
4537 * math/libm-test.inc (trunc_test_data): Add more tests related to
4538 BZ#16414.
4539
d7329d4b
RM
45402014-03-14 Roland McGrath <roland@hack.frob.com>
4541
4542 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4543 with #if rather than #ifdef.
4544 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4545
aa4de9ce
L
45462014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4549 first. Disable AVX-512 GCC support if assembler doesn't support
4550 it.
4551 * sysdeps/x86_64/configure: Regenerated.
4552
2e03fae7
CD
45532014-03-13 Carlos O'Donell <carlos@redhat.com>
4554
4555 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4556 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4557 (__old_pthread_attr_setstack): Likewise.
4558 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4559 [!_STACK_GROWS_DOWN]: Likewise.
4560
43ca83ec
MF
45612014-03-13 Mike Frysinger <vapier@gentoo.org>
4562
4563 * config.make.in (have-bash2): Delete.
4564 * configure.ac (libc_cv_have_bash2): Delete.
4565 * configure: Regenerate.
4566 * elf/Makefile (common-ldd-rewrite): Rename to ...
4567 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4568 (sh-ldd-rewrite): Delete.
4569 (bash-ldd-rewrite): Delete.
4570 (have-bash2): Delete checks.
57f41c40
AS
4571 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4572 ldd-rewrite.
c66e48b4
MF
4573
4574 * config.make.in (have-ksh): Delete.
4575 (KSH): Delete.
4576 * configure.ac (libc_cv_have_ksh): Delete.
4577 * configure: Regenerate.
4578
b93834ef
MF
4579 * elf/Makefile: Delete $(have-ksh) check.
4580 ($(objpfx)sotruss): Change KSH to BASH.
4581 * elf/sotruss.ksh: Rename to ...
4582 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4583 function style to match POSIX. Drop ksh vim mode setting.
4584
f3a4632a
MF
4585 * manual/time.texi (Specifying the Time Zone with TZ): Change
4586 Tuesday to Thursday.
4587
5896c8bd
MF
4588 * debug/tst-longjmp_chk2.c: Update header comment.
4589 (stackoverflow_handler): Add comment. Call assert on pass value.
4590
2d63a517
IZ
45912014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4592
4593 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4594 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4595 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4596 (La_x86_64_vector): Add zmm.
4597 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4598 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4599 ($(objpfx)tst-audit10): New target.
4600 ($(objpfx)tst-audit10.out): Likewise.
4601 (tst-audit10-ENV): New.
4602 (AVX512-CFLAGS): Likewise.
4603 (CFLAGS-tst-audit10.c): Likewise.
4604 (CFLAGS-tst-auditmod10a.c): Likewise.
4605 (CFLAGS-tst-auditmod10b.c): Likewise.
4606 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4607 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4608 * sysdeps/x86_64/configure: Regenerated.
4609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4610 AVX-512 zmm register support.
4611 (_dl_x86_64_save_sse): Likewise.
4612 (_dl_x86_64_restore_sse): Likewise.
4613 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4614 size vector registers.
4615 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4616 (ZMM_SIZE): Likewise.
4617 * sysdeps/x86_64/tst-audit10.c: New file.
4618 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4619 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4620
44c4e5d5
RM
46212014-03-13 Roland McGrath <roland@hack.frob.com>
4622
4623 * configure.ac (HAVE_EHDR_START): New check.
4624 * configure: Regenerated.
4625 * config.h.in (HAVE_EHDR_START): New #undef.
4626 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4627 assuming the lowest-addressed segment maps the start of the file.
4628
acd6e389
JM
46292014-03-13 Joseph Myers <joseph@codesourcery.com>
4630
4631 * INSTALL: Regenerated.
4632
6f918f36
WN
46332014-03-13 Will Newton <will.newton@linaro.org>
4634
4635 * manual/setjmp.texi (System V contexts): Improve
4636 clarity and grammar of documentation.
4637
798212a0
PP
46382014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4639
4640 [BZ #16381]
798212a0 4641 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4642 (tests-pie): Add tst-pie2.
798212a0
PP
4643 * elf/tst-pie2.c: New file.
4644 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4645 for ET_EXEC.
4646 * elf/rtld.c (map_doit): Load executable as lt_executable.
4647 (dl_main): Likewise.
4648
abe6d90c
JM
46492014-03-12 Joseph Myers <joseph@codesourcery.com>
4650
4651 [BZ #16642]
4652 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4653 (__ASSUME_PSELECT): Undefine.
4654
dd3946c6
AZ
46552014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4656
4657 [BZ #16689]
4658 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4659 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4660 static build.
4661 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4662 selector for static builds.
4663
c44496df
SP
46642014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4665
4666 [BZ #16695]
4667 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4668 key in the buffer.
4669
27c7220a
AZ
46702014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4671
57f41c40
AS
4672 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4673 IFUNC selector for static builds.
27c7220a 4674
600fa361
JM
46752014-03-11 Joseph Myers <joseph@codesourcery.com>
4676
76c96cf7
JM
4677 * sysdeps/mips/math_private.h [__mips_hard_float]
4678 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4679 libc_feresetround_mips_ctx.
4680 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4681 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4682 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4683
600fa361
JM
4684 [BZ #16677]
4685 * math/s_nextafter.c (__nextafter): Do not return value from
4686 overflowing computation.
4687 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4688 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4689 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4690 Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4692 Likewise.
4693 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4694 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4695
d7706c32
RM
46962014-03-11 Roland McGrath <roland@hack.frob.com>
4697
4698 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4699 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4700 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4701 the new mov targetting sp.
4702
4facea47
AZ
47032014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704
4705 [BZ #16683]
4706 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4707 Define it for static builds as well.
4708 (NO_BZERO_IMPL): Likewise.
4709
e65caf1f
VR
47102014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4711
4712 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4713 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4714 multiarch strspn for PPC64.
4715 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4716 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4718 (__libc_ifunc_impl_list): Likewise.
4719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4720 multiarch optimizations
4721 * string/strspn.c (strspn): Using macro to redefine symbol name.
4722
ba9cc071
AZ
47232014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4724 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4725
4726 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4727 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4728 multiarch strncat for PPC64.
4729 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4730 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4732 (__libc_ifunc_impl_list): Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4734 multiarch optimizations
4735
8b4ff974
SP
47362014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4737
4738 [BZ #16639]
4739 * nscd/nscd.service: Make service type forking.
4740
54b46a4b
AZ
47412014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742
4743 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4744 sign in non default rounding modes.
4745 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4746
e9996ef7
JM
47472014-03-08 Joseph Myers <joseph@codesourcery.com>
4748
4749 * math/libm-test.inc (ALL_RM_TEST): New macro.
4750 (ceil_test): Use ALL_RM_TEST.
4751 (cimag_test): Likewise.
4752 (conj_test): Likewise.
4753 (copysign_test): Likewise.
4754 (cproj_test): Likewise.
4755 (creal_test): Likewise.
4756 (fabs_test): Likewise.
4757 (floor_test): Likewise.
4758 (fmax_test): Likewise.
4759 (fmin_test): Likewise.
4760 (fmod_test): Likewise.
4761 (fpclassify_test): Likewise.
4762 (frexp_test): Likewise.
4763 (ilogb_test): Likewise.
4764 (isfinite_test): Likewise.
4765 (finite_test): Likewise.
4766 (isgreater_test): Likewise.
4767 (isgreaterequal_test): Likewise.
4768 (isinf_test): Likewise.
4769 (isless_test): Likewise.
4770 (islessequal_test): Likewise.
4771 (islessgreater_test): Likewise.
4772 (isnan_test): Likewise.
4773 (isnormal_test): Likewise.
4774 (issignaling_test): Likewise.
4775 (isunordered_test): Likewise.
4776 (logb_test): Likewise.
4777 (logb_downward_test_data): Remove.
4778 (logb_test_downward): Likewise.
4779 (lround_test): Use ALL_RM_TEST.
4780 (llround_test): Likewise.
4781 (modf_test): Likewise.
4782 (nexttoward_test): Likewise.
4783 (remainder_test): Likewise.
4784 (drem_test): Likewise.
4785 (remainder_tonearest_test_data): Likewise.
4786 (remainder_test_tonearest): Likewise.
4787 (drem_test_tonearest): Likewise.
4788 (remainder_towardzero_test_data): Likewise.
4789 (remainder_test_towardzero): Likewise.
4790 (drem_test_towardzero): Likewise.
4791 (remainder_downward_test_data): Likewise.
4792 (remainder_test_downward): Likewise.
4793 (drem_test_downward): Likewise.
4794 (remainder_upward_test_data): Likewise.
4795 (remainder_test_upward): Likewise.
4796 (drem_test_upward): Likewise.
4797 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4798 (round_test): Use ALL_RM_TEST.
4799 (signbit_test): Likewise.
4800 (trunc_test): Likewise.
4801 (significand_test): Likewise.
4802 (main): Don't call removed functions.
4803
bc61d27c
JM
48042014-03-07 Joseph Myers <joseph@codesourcery.com>
4805
5c780849
JM
4806 [BZ #16674]
4807 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4808 || __USE_XOPEN2K8].
4809 (ILL_ILLOPN): Likewise.
4810 (ILL_ILLADR): Likewise.
4811 (ILL_ILLTRP): Likewise.
4812 (ILL_PRVOPC): Likewise.
4813 (ILL_PRVREG): Likewise.
4814 (ILL_COPROC): Likewise.
4815 (ILL_BADSTK): Likewise.
4816 (FPE_INTDIV): Likewise.
4817 (FPE_INTOVF): Likewise.
4818 (FPE_FLTDIV): Likewise.
4819 (FPE_FLTOVF): Likewise.
4820 (FPE_FLTUND): Likewise.
4821 (FPE_FLTRES): Likewise.
4822 (FPE_FLTINV): Likewise.
4823 (FPE_FLTSUB): Likewise.
4824 (SEGV_MAPERR): Likewise.
4825 (SEGV_ACCERR): Likewise.
4826 (BUS_ADRALN): Likewise.
4827 (BUS_ADRERR): Likewise.
4828 (BUS_OBJERR): Likewise.
4829 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4830 (TRAP_TRACE): Likewise.
4831 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4832 __USE_XOPEN2K8].
4833 (CLD_KILLED): Likewise.
4834 (CLD_DUMPED): Likewise.
4835 (CLD_TRAPPED): Likewise.
4836 (CLD_STOPPED): Likewise.
4837 (CLD_CONTINUED): Likewise.
4838 (POLL_IN): Likewise.
4839 (POLL_OUT): Likewise.
4840 (POLL_MSG): Likewise.
4841 (POLL_ERR): Likewise.
4842 (POLL_PRI): Likewise.
4843 (POLL_HUP): Likewise.
4844 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4845 Likewise.
4846 (ILL_ILLOPN): Likewise.
4847 (ILL_ILLADR): Likewise.
4848 (ILL_ILLTRP): Likewise.
4849 (ILL_PRVOPC): Likewise.
4850 (ILL_PRVREG): Likewise.
4851 (ILL_COPROC): Likewise.
4852 (ILL_BADSTK): Likewise.
4853 (FPE_INTDIV): Likewise.
4854 (FPE_INTOVF): Likewise.
4855 (FPE_FLTDIV): Likewise.
4856 (FPE_FLTOVF): Likewise.
4857 (FPE_FLTUND): Likewise.
4858 (FPE_FLTRES): Likewise.
4859 (FPE_FLTINV): Likewise.
4860 (FPE_FLTSUB): Likewise.
4861 (SEGV_MAPERR): Likewise.
4862 (SEGV_ACCERR): Likewise.
4863 (BUS_ADRALN): Likewise.
4864 (BUS_ADRERR): Likewise.
4865 (BUS_OBJERR): Likewise.
4866 (BUS_MCEERR_AR): Likewise.
4867 (BUS_MCEERR_AO): Likewise.
4868 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4869 (TRAP_TRACE): Likewise.
4870 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4871 __USE_XOPEN2K8].
4872 (CLD_KILLED): Likewise.
4873 (CLD_DUMPED): Likewise.
4874 (CLD_TRAPPED): Likewise.
4875 (CLD_STOPPED): Likewise.
4876 (CLD_CONTINUED): Likewise.
4877 (POLL_IN): Likewise.
4878 (POLL_OUT): Likewise.
4879 (POLL_MSG): Likewise.
4880 (POLL_ERR): Likewise.
4881 (POLL_PRI): Likewise.
4882 (POLL_HUP): Likewise.
4883 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4884 (ILL_ILLOPN): Likewise.
4885 (ILL_ILLADR): Likewise.
4886 (ILL_ILLTRP): Likewise.
4887 (ILL_PRVOPC): Likewise.
4888 (ILL_PRVREG): Likewise.
4889 (ILL_COPROC): Likewise.
4890 (ILL_BADSTK): Likewise.
4891 (FPE_INTDIV): Likewise.
4892 (FPE_INTOVF): Likewise.
4893 (FPE_FLTDIV): Likewise.
4894 (FPE_FLTOVF): Likewise.
4895 (FPE_FLTUND): Likewise.
4896 (FPE_FLTRES): Likewise.
4897 (FPE_FLTINV): Likewise.
4898 (FPE_FLTSUB): Likewise.
4899 (SEGV_MAPERR): Likewise.
4900 (SEGV_ACCERR): Likewise.
4901 (BUS_ADRALN): Likewise.
4902 (BUS_ADRERR): Likewise.
4903 (BUS_OBJERR): Likewise.
4904 (BUS_MCEERR_AR): Likewise.
4905 (BUS_MCEERR_AO): Likewise.
4906 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4907 (TRAP_TRACE): Likewise.
4908 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4909 __USE_XOPEN2K8].
4910 (CLD_KILLED): Likewise.
4911 (CLD_DUMPED): Likewise.
4912 (CLD_TRAPPED): Likewise.
4913 (CLD_STOPPED): Likewise.
4914 (CLD_CONTINUED): Likewise.
4915 (POLL_IN): Likewise.
4916 (POLL_OUT): Likewise.
4917 (POLL_MSG): Likewise.
4918 (POLL_ERR): Likewise.
4919 (POLL_PRI): Likewise.
4920 (POLL_HUP): Likewise.
4921 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4922 Likewise.
4923 (ILL_ILLOPN): Likewise.
4924 (ILL_ILLADR): Likewise.
4925 (ILL_ILLTRP): Likewise.
4926 (ILL_PRVOPC): Likewise.
4927 (ILL_PRVREG): Likewise.
4928 (ILL_COPROC): Likewise.
4929 (ILL_BADSTK): Likewise.
4930 (ILL_BADIADDR): Likewise.
4931 (ILL_BREAK): Likewise.
4932 (FPE_INTDIV): Likewise.
4933 (FPE_INTOVF): Likewise.
4934 (FPE_FLTDIV): Likewise.
4935 (FPE_FLTOVF): Likewise.
4936 (FPE_FLTUND): Likewise.
4937 (FPE_FLTRES): Likewise.
4938 (FPE_FLTINV): Likewise.
4939 (FPE_FLTSUB): Likewise.
4940 (FPE_DECOVF): Likewise.
4941 (FPE_DECDIV): Likewise.
4942 (FPE_DECERR): Likewise.
4943 (FPE_INVASC): Likewise.
4944 (FPE_INVDEC): Likewise.
4945 (SEGV_MAPERR): Likewise.
4946 (SEGV_ACCERR): Likewise.
4947 (SEGV_PSTKOVF): Likewise.
4948 (BUS_ADRALN): Likewise.
4949 (BUS_ADRERR): Likewise.
4950 (BUS_OBJERR): Likewise.
4951 (BUS_MCEERR_AR): Likewise.
4952 (BUS_MCEERR_AO): Likewise.
4953 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4954 (TRAP_TRACE): Likewise.
4955 (TRAP_BRANCH): Likewise.
4956 (TRAP_HWBKPT): Likewise.
4957 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4958 __USE_XOPEN2K8].
4959 (CLD_KILLED): Likewise.
4960 (CLD_DUMPED): Likewise.
4961 (CLD_TRAPPED): Likewise.
4962 (CLD_STOPPED): Likewise.
4963 (CLD_CONTINUED): Likewise.
4964 (POLL_IN): Likewise.
4965 (POLL_OUT): Likewise.
4966 (POLL_MSG): Likewise.
4967 (POLL_ERR): Likewise.
4968 (POLL_PRI): Likewise.
4969 (POLL_HUP): Likewise.
4970 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4971 (ILL_ILLOPN): Likewise.
4972 (ILL_ILLADR): Likewise.
4973 (ILL_ILLTRP): Likewise.
4974 (ILL_PRVOPC): Likewise.
4975 (ILL_PRVREG): Likewise.
4976 (ILL_COPROC): Likewise.
4977 (ILL_BADSTK): Likewise.
4978 (FPE_INTDIV): Likewise.
4979 (FPE_INTOVF): Likewise.
4980 (FPE_FLTDIV): Likewise.
4981 (FPE_FLTOVF): Likewise.
4982 (FPE_FLTUND): Likewise.
4983 (FPE_FLTRES): Likewise.
4984 (FPE_FLTINV): Likewise.
4985 (FPE_FLTSUB): Likewise.
4986 (SEGV_MAPERR): Likewise.
4987 (SEGV_ACCERR): Likewise.
4988 (BUS_ADRALN): Likewise.
4989 (BUS_ADRERR): Likewise.
4990 (BUS_OBJERR): Likewise.
4991 (BUS_MCEERR_AR): Likewise.
4992 (BUS_MCEERR_AO): Likewise.
4993 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4994 (TRAP_TRACE): Likewise.
4995 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4996 __USE_XOPEN2K8].
4997 (CLD_KILLED): Likewise.
4998 (CLD_DUMPED): Likewise.
4999 (CLD_TRAPPED): Likewise.
5000 (CLD_STOPPED): Likewise.
5001 (CLD_CONTINUED): Likewise.
5002 (POLL_IN): Likewise.
5003 (POLL_OUT): Likewise.
5004 (POLL_MSG): Likewise.
5005 (POLL_ERR): Likewise.
5006 (POLL_PRI): Likewise.
5007 (POLL_HUP): Likewise.
5008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5009 (ILL_ILLOPN): Likewise.
5010 (ILL_ILLADR): Likewise.
5011 (ILL_ILLTRP): Likewise.
5012 (ILL_PRVOPC): Likewise.
5013 (ILL_PRVREG): Likewise.
5014 (ILL_COPROC): Likewise.
5015 (ILL_BADSTK): Likewise.
5016 (FPE_INTDIV): Likewise.
5017 (FPE_INTOVF): Likewise.
5018 (FPE_FLTDIV): Likewise.
5019 (FPE_FLTOVF): Likewise.
5020 (FPE_FLTUND): Likewise.
5021 (FPE_FLTRES): Likewise.
5022 (FPE_FLTINV): Likewise.
5023 (FPE_FLTSUB): Likewise.
5024 (SEGV_MAPERR): Likewise.
5025 (SEGV_ACCERR): Likewise.
5026 (BUS_ADRALN): Likewise.
5027 (BUS_ADRERR): Likewise.
5028 (BUS_OBJERR): Likewise.
5029 (BUS_MCEERR_AR): Likewise.
5030 (BUS_MCEERR_AO): Likewise.
5031 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5032 (TRAP_TRACE): Likewise.
5033 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5034 __USE_XOPEN2K8].
5035 (CLD_KILLED): Likewise.
5036 (CLD_DUMPED): Likewise.
5037 (CLD_TRAPPED): Likewise.
5038 (CLD_STOPPED): Likewise.
5039 (CLD_CONTINUED): Likewise.
5040 (POLL_IN): Likewise.
5041 (POLL_OUT): Likewise.
5042 (POLL_MSG): Likewise.
5043 (POLL_ERR): Likewise.
5044 (POLL_PRI): Likewise.
5045 (POLL_HUP): Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5047 (ILL_ILLOPN): Likewise.
5048 (ILL_ILLADR): Likewise.
5049 (ILL_ILLTRP): Likewise.
5050 (ILL_PRVOPC): Likewise.
5051 (ILL_PRVREG): Likewise.
5052 (ILL_COPROC): Likewise.
5053 (ILL_BADSTK): Likewise.
5054 (FPE_INTDIV): Likewise.
5055 (FPE_INTOVF): Likewise.
5056 (FPE_FLTDIV): Likewise.
5057 (FPE_FLTOVF): Likewise.
5058 (FPE_FLTUND): Likewise.
5059 (FPE_FLTRES): Likewise.
5060 (FPE_FLTINV): Likewise.
5061 (FPE_FLTSUB): Likewise.
5062 (SEGV_MAPERR): Likewise.
5063 (SEGV_ACCERR): Likewise.
5064 (BUS_ADRALN): Likewise.
5065 (BUS_ADRERR): Likewise.
5066 (BUS_OBJERR): Likewise.
5067 (BUS_MCEERR_AR): Likewise.
5068 (BUS_MCEERR_AO): Likewise.
5069 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5070 (TRAP_TRACE): Likewise.
5071 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5072 __USE_XOPEN2K8].
5073 (CLD_KILLED): Likewise.
5074 (CLD_DUMPED): Likewise.
5075 (CLD_TRAPPED): Likewise.
5076 (CLD_STOPPED): Likewise.
5077 (CLD_CONTINUED): Likewise.
5078 (POLL_IN): Likewise.
5079 (POLL_OUT): Likewise.
5080 (POLL_MSG): Likewise.
5081 (POLL_ERR): Likewise.
5082 (POLL_PRI): Likewise.
5083 (POLL_HUP): Likewise.
5084 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5085 (ILL_ILLOPN): Likewise.
5086 (ILL_ILLADR): Likewise.
5087 (ILL_ILLTRP): Likewise.
5088 (ILL_PRVOPC): Likewise.
5089 (ILL_PRVREG): Likewise.
5090 (ILL_COPROC): Likewise.
5091 (ILL_BADSTK): Likewise.
5092 (ILL_DBLFLT): Likewise.
5093 (ILL_HARDWALL): Likewise.
5094 (FPE_INTDIV): Likewise.
5095 (FPE_INTOVF): Likewise.
5096 (FPE_FLTDIV): Likewise.
5097 (FPE_FLTOVF): Likewise.
5098 (FPE_FLTUND): Likewise.
5099 (FPE_FLTRES): Likewise.
5100 (FPE_FLTINV): Likewise.
5101 (FPE_FLTSUB): Likewise.
5102 (SEGV_MAPERR): Likewise.
5103 (SEGV_ACCERR): Likewise.
5104 (BUS_ADRALN): Likewise.
5105 (BUS_ADRERR): Likewise.
5106 (BUS_OBJERR): Likewise.
5107 (BUS_MCEERR_AR): Likewise.
5108 (BUS_MCEERR_AO): Likewise.
5109 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5110 (TRAP_TRACE): Likewise.
5111 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5112 __USE_XOPEN2K8].
5113 (CLD_KILLED): Likewise.
5114 (CLD_DUMPED): Likewise.
5115 (CLD_TRAPPED): Likewise.
5116 (CLD_STOPPED): Likewise.
5117 (CLD_CONTINUED): Likewise.
5118 (POLL_IN): Likewise.
5119 (POLL_OUT): Likewise.
5120 (POLL_MSG): Likewise.
5121 (POLL_ERR): Likewise.
5122 (POLL_PRI): Likewise.
5123 (POLL_HUP): Likewise.
5124 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5125 (ILL_ILLOPN): Likewise.
5126 (ILL_ILLADR): Likewise.
5127 (ILL_ILLTRP): Likewise.
5128 (ILL_PRVOPC): Likewise.
5129 (ILL_PRVREG): Likewise.
5130 (ILL_COPROC): Likewise.
5131 (ILL_BADSTK): Likewise.
5132 (FPE_INTDIV): Likewise.
5133 (FPE_INTOVF): Likewise.
5134 (FPE_FLTDIV): Likewise.
5135 (FPE_FLTOVF): Likewise.
5136 (FPE_FLTUND): Likewise.
5137 (FPE_FLTRES): Likewise.
5138 (FPE_FLTINV): Likewise.
5139 (FPE_FLTSUB): Likewise.
5140 (SEGV_MAPERR): Likewise.
5141 (SEGV_ACCERR): Likewise.
5142 (BUS_ADRALN): Likewise.
5143 (BUS_ADRERR): Likewise.
5144 (BUS_OBJERR): Likewise.
5145 (BUS_MCEERR_AR): Likewise.
5146 (BUS_MCEERR_AO): Likewise.
5147 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5148 (TRAP_TRACE): Likewise.
5149 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5150 __USE_XOPEN2K8].
5151 (CLD_KILLED): Likewise.
5152 (CLD_DUMPED): Likewise.
5153 (CLD_TRAPPED): Likewise.
5154 (CLD_STOPPED): Likewise.
5155 (CLD_CONTINUED): Likewise.
5156 (POLL_IN): Likewise.
5157 (POLL_OUT): Likewise.
5158 (POLL_MSG): Likewise.
5159 (POLL_ERR): Likewise.
5160 (POLL_PRI): Likewise.
5161 (POLL_HUP): Likewise.
5162 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5163 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5164
bc61d27c
JM
5165 [BZ #16670]
5166 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5167 before #include of <time.h>.
5168 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5169 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5170 (test-xfail-UNIX98/sched.h/conform): Likewise.
5171
302949e2
MS
51722014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5173
5174 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5175 error absence of trapping exception support.
5176 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5177
a00f522a
JM
51782014-03-07 Joseph Myers <joseph@codesourcery.com>
5179
6f99f280
JM
5180 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5181 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5182 * timezone/Makefile (testdata): Move definition above include of
5183 Rules.
5184 (test-zones): New variable.
5185 (tests-special): Add zone files.
5186 (build-testdata): Use $(evaluate-test).
5187
0b20a9e8
JM
5188 * elf/Makefile (tests-special): Rename tests to end with .out.
5189 ($(objpfx)noload-mem): Likewise.
5190 ($(objpfx)tst-leaks1-mem): Likewise.
5191 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5192 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5193 $(objpfx)test-iconvconfig.out.
5194 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5195 set -e inside subshell and redirect output to file.
5196 * iconvdata/Makefile (generated): Rename tests to end with .out.
5197 Correct type.
5198 (tests-special): Rename tests to end with .out.
5199 ($(objpfx)mtrace-tst-loading): Likewise.
5200 * intl/Makefile (generated): Likewise.
5201 (tests-special): Likewise.
5202 ($(objpfx)mtrace-tst-gettext): Likewise.
5203 * misc/Makefile (generated): Likewise.
5204 (tests-special): Likewise.
5205 ($(objpfx)tst-error1-mem): Likewise.
5206 * nptl/Makefile (tests-special): Likewise.
5207 ($(objpfx)tst-stack3-mem): Likewise.
5208 (generated): Likewise.
5209 * posix/Makefile (generated): Likewise.
5210 (tests-special): Likewise.
5211 (xtests-special): Likewise.
5212 ($(objpfx)tst-fnmatch-mem): Likewise.
5213 ($(objpfx)bug-regex2-mem): Likewise.
5214 ($(objpfx)bug-regex14-mem): Likewise.
5215 ($(objpfx)bug-regex21-mem): Likewise.
5216 ($(objpfx)bug-regex31-mem): Likewise.
5217 ($(objpfx)tst-vfork3-mem): Likewise.
5218 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5219 ($(objpfx)tst-pcre-mem): Likewise.
5220 ($(objpfx)tst-boost-mem): Likewise.
5221 ($(objpfx)bug-ga2-mem): Likewise.
5222 ($(objpfx)bug-glob2-mem): Likewise.
5223 * resolv/Makefile (generate): Likewise.
5224 (tests-special): Likewise.
5225 (xtests-special): Likewise.
5226 (generated): Likewise.
5227 ($(objpfx)mtrace-tst-leaks): Likewise.
5228 ($(objpfx)mtrace-tst-leaks2): Likewise.
5229
265d52ab
JM
5230 * scripts/merge-test-results.sh: New file.
5231 * Makefile (tests-special-notdir): New variable.
5232 (tests): Run merge-test-results.sh.
5233 (xtests): Likewise.
5234 * Rules (tests-special-notdir): New variable.
5235 (xtests-special-notdir): Likewise.
5236 (tests): Run merge-test-results.sh
5237 (xtests): Likewise.
5238
54ee292d
JM
5239 * Makeconfig (test-xfail-name): New variable.
5240 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5241 compute variable name for expected failures.
5242 * conform/Makefile (conformtest-headers-data): New variable.
5243 (conformtest-standards): Likewise.
5244 (conformtest-headers-ISO): Likewise.
5245 (conformtest-headers-ISO99): Likewise.
5246 (conformtest-headers-ISO11): Likewise.
5247 (conformtest-headers-POSIX): Likewise.
5248 (conformtest-headers-XPG3): Likewise.
5249 (conformtest-headers-XPG4): Likewise.
5250 (conformtest-headers-UNIX98): Likewise.
5251 (conformtest-headers-XOPEN2K): Likewise.
5252 (conformtest-headers-POSIX2008): Likewise.
5253 (conformtest-headers-XOPEN2K8): Likewise.
5254 (conformtest-header-list-base): Likewise.
5255 (conformtest-header-list-tests): Likewise.
5256 (conformtest-header-base): Likewise.
5257 (conformtest-header-tests): Likewise.
5258 (tests-special): Add $(conformtest-header-list-tests). If
5259 [$(fast-check) && !$(cross-compiling)], add
5260 $(conformtest-header-tests) instead of
5261 $(objpfx)run-conformtest.out.
5262 (generated): Add $(conformtest-header-list-base). If
5263 [$(fast-check) && !$(cross-compiling)], add
5264 $(conformtest-header-base). Remove previous setting.
5265 ($(conformtest-header-list-tests)): New target.
5266 (test-xfail-run-conformtest): Remove variable.
5267 ($(objpfx)run-conformtest.out): Remove target.
5268 (test-xfail-ISO11/complex.h/conform): New variable.
5269 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5270 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5271 (test-xfail-XPG3/varargs.h/conform): Likewise.
5272 (test-xfail-XPG4/varargs.h/conform): Likewise.
5273 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5274 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5275 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5276 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5277 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5278 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5279 (test-xfail-XPG3/ftw.h/conform): Likewise.
5280 (test-xfail-XPG3/grp.h/conform): Likewise.
5281 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5282 (test-xfail-XPG3/limits.h/conform): Likewise.
5283 (test-xfail-XPG3/pwd.h/conform): Likewise.
5284 (test-xfail-XPG3/search.h/conform): Likewise.
5285 (test-xfail-XPG3/signal.h/conform): Likewise.
5286 (test-xfail-XPG3/stdio.h/conform): Likewise.
5287 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5288 (test-xfail-XPG3/string.h/conform): Likewise.
5289 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5290 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5291 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5292 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5293 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5294 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5295 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5296 (test-xfail-XPG3/termios.h/conform): Likewise.
5297 (test-xfail-XPG3/time.h/conform): Likewise.
5298 (test-xfail-XPG3/unistd.h/conform): Likewise.
5299 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5300 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5301 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5302 (test-xfail-XPG4/netdb.h/conform): Likewise.
5303 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5304 (test-xfail-XPG4/signal.h/conform): Likewise.
5305 (test-xfail-XPG4/stdio.h/conform): Likewise.
5306 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5307 (test-xfail-XPG4/stropts.h/conform): Likewise.
5308 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5309 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5310 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5311 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5312 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5313 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5314 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5315 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5316 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5317 (test-xfail-XPG4/termios.h/conform): Likewise.
5318 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5319 (test-xfail-XPG4/unistd.h/conform): Likewise.
5320 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5321 (test-xfail-POSIX/sched.h/conform): Likewise.
5322 (test-xfail-POSIX/signal.h/conform): Likewise.
5323 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5324 (test-xfail-POSIX/tar.h/conform): Likewise.
5325 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5326 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5327 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5328 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5329 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5330 (test-xfail-UNIX98/sched.h/conform): Likewise.
5331 (test-xfail-UNIX98/signal.h/conform): Likewise.
5332 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5333 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5334 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5335 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5336 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5337 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5338 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5339 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5340 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5341 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5342 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5343 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5344 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5345 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5346 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5347 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5348 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5349 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5350 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5351 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5352 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5353 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5354 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5355 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5356 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5357 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5358 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5359 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5360 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5361 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5362 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5363 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5364 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5365 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5366 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5367 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5368 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5369 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5370 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5371 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5372 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5373 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5374 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5375 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5376 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5377 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5378 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5379 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5380 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5381 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5382 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5383 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5384 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5385 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5386 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5387 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5388 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5389 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5390 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5391 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5392 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5393 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5394 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5395 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5396 (conformtest-cc-flags): Likewise.
5397 ($(conformtest-header-tests): New target.
5398 * conform/check-header-lists.sh: New file.
5399 * conform/run-conformtest.sh: Remove.
5400
a00f522a
JM
5401 * conform/conformtest.pl: Allow ' and \ in values given for
5402 constants.
5403 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5404 inclusion.
5405 [POSIX] (sys/types.h): Likewise.
5406 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5407 inclusion.
5408 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5409 inclusion.
5410 * conform/data/signal.h-data (SIGIO): Remove expectation.
5411 [XPG3] (SIGBUS): Do not expect.
5412 [POSIX || XPG3] (SIGPOLL): Likewise.
5413 [POSIX || XPG3] (SIGPROF): Likewise.
5414 [POSIX || XPG3] (SIGSYS): Likewise.
5415 [XPG3] (SIGTRAP): Likewise.
5416 [POSIX || XPG3] (SIGURG): Likewise.
5417 [POSIX || XPG3] (SIGVTALRM): Likewise.
5418 [POSIX || XPG3] (SIGXCPU): Likewise.
5419 [POSIX || XPG3] (SIGXFSZ): Likewise.
5420 [POSIX] (SA_SIGINFO): Expect.
5421 [XPG3] (siginfo_t): Do not expect type or contents.
5422 [POSIX] (si_pid): Do not expect element.
5423 [POSIX] (si_uid): Likewise.
5424 [POSIX] (si_addr): Likewise.
5425 [POSIX] (si_status): Likewise.
5426 [POSIX] (si_band): Likewise.
5427 [XPG4] (si_value): Likewise.
5428 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5429 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5430 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5431 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5432 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5433 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5434 [POSIX || XPG3] (ILL_COPROC): Likewise.
5435 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5436 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5437 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5438 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5439 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5440 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5441 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5442 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5443 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5444 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5445 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5446 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5447 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5448 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5449 [POSIX || XPG3] (CLD_EXITED): Likewise.
5450 [POSIX || XPG3] (CLD_KILLED): Likewise.
5451 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5452 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5453 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5454 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5455 [POSIX || XPG3] (POLL_IN): Likewise.
5456 [POSIX || XPG3] (POLL_OUT): Likewise.
5457 [POSIX || XPG3] (POLL_MSG): Likewise.
5458 [POSIX || XPG3] (POLL_ERR): Likewise.
5459 [POSIX || XPG3] (POLL_PRI): Likewise.
5460 [POSIX || XPG3] (POLL_HUP): Likewise.
5461 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5462 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5463 (SIG*): Do not allow.
5464 [XPG3] (si_*): Likewise.
5465 [XPG3] (SI_*): Likewise.
5466 [XPG3 || XPG4] (sigev_*): Likewise.
5467 [XPG3 || XPG4] (SIGEV_*): Likewise.
5468 [XPG3 || XPG4] (sival_*): Likewise.
5469 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5470 [POSIX || XPG3] (BUS_*): Likewise.
5471 [POSIX || XPG3] (CLD_*): Likewise.
5472 [POSIX || XPG3] (FPE_*): Likewise.
5473 [POSIX || XPG3] (ILL_*): Likewise.
5474 [POSIX || XPG3] (POLL_*): Likewise.
5475 [POSIX || XPG3] (SEGV_*): Likewise.
5476 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5477 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5478 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5479 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5480 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5481 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5482 Specify type and value.
5483 (TVERSLEN): Likewise.
5484 (REGTYPE): Likewise.
5485 (AREGTYPE): Likewise.
5486 (LNKTYPE): Likewise.
5487 (SYMTYPE): Likewise.
5488 (CHRTYPE): Likewise.
5489 (BLKTYPE): Likewise.
5490 (DIRTYPE): Likewise.
5491 (FIFOTYPE): Likewise.
5492 (CONTTYPE): Likewise.
5493 (TSUID): Likewise.
5494 (TSGID): Likewise.
5495 (TSVTX): Likewise.
5496 (TUREAD): Likewise.
5497 (TUWRITE): Likewise.
5498 (TUEXEC): Likewise.
5499 (TGREAD): Likewise.
5500 (TGWRITE): Likewise.
5501 (TGEXEC): Likewise.
5502 (TOREAD): Likewise.
5503 (TOWRITE): Likewise.
5504 (TOEXEC): Likewise.
5505 [POSIX] (TSVTX): Expect constant.
5506
aa97dee1
JM
55072014-03-06 Joseph Myers <joseph@codesourcery.com>
5508
f214606a
JM
5509 * Makefile (tests): Change dependencies to ....
5510 (tests-special): ... additions to this variable.
5511 (tests): Depend on $(tests-special).
5512 * Makerules (check-abi-list): New variable.
5513 (check-abi): Depend on $(check-abi-list).
5514 [$(subdir) = elf] (tests-special): Add
5515 $(objpfx)check-abi-libc.out.
5516 [$(build-shared) = yes && subdir] (tests-special): Add
5517 $(check-abi-list).
5518 [$(build-shared) = yes && subdir] (tests): Do not depend on
5519 check-abi.
5520 * Rules (tests): Depend on $(tests-special).
5521 (xtests): Depend on $(xtests-special).
5522 * catgets/Makefile (tests): Change dependencies to ....
5523 (tests-special): ... additions to this variable.
5524 * conform/Makefile (tests): Change dependencies to ....
5525 (tests-special): ... additions to this variable.
5526 * elf/Makefile (tests): Change dependencies to ....
5527 (tests-special): ... additions to this variable.
5528 * grp/Makefile (tests): Change dependencies to ....
5529 (tests-special): ... additions to this variable.
5530 * iconv/Makefile (xtests): Change dependencies to ....
5531 (xtests-special): ... additions to this variable.
5532 * iconvdata/Makefile (tests): Change dependencies to ....
5533 (tests-special): ... additions to this variable.
5534 * intl/Makefile (tests): Change dependencies to ....
5535 (tests-special): ... additions to this variable. Also add
5536 $(objpfx)tst-gettext.out.
5537 * io/Makefile (tests): Change dependencies to ....
5538 (tests-special): ... additions to this variable.
5539 * libio/Makefile (tests): Change dependencies to ....
5540 (tests-special): ... additions to this variable.
5541 * malloc/Makefile (tests): Change dependencies to ....
5542 (tests-special): ... additions to this variable.
5543 * misc/Makefile (tests): Change dependencies to ....
5544 (tests-special): ... additions to this variable.
5545 * nptl/Makefile (tests): Change dependencies to ....
5546 (tests-special): ... additions to this variable.
5547 * nptl_db/Makefile (tests): Change dependencies to ....
5548 (tests-special): ... additions to this variable.
5549 * posix/Makefile (tests): Change dependencies to ....
5550 (tests-special): ... additions to this variable.
5551 (xtests): Change dependencies to ....
5552 (xtests-special): ... additions to this variable.
5553 * resolv/Makefile (tests): Change dependencies to ....
5554 (tests-special): ... additions to this variable.
5555 (xtests): Change dependencies to ....
5556 (xtests-special): ... additions to this variable.
5557 * stdio-common/Makefile (tests): Change dependencies to ....
5558 (tests-special): ... additions to this variable.
5559 (do-tst-unbputc): Remove target.
5560 (do-tst-printf): Likewise.
5561 * stdlib/Makefile (tests): Change dependencies to ....
5562 (tests-special): ... additions to this variable.
5563 * string/Makefile (tests): Change dependencies to ....
5564 (tests-special): ... additions to this variable.
5565 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5566 (tests-special): ... additions to this variable.
5567
81700b53
JM
5568 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5569 whole file.
5570 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5571 whole file.
5572 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5573 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5574
2ea18461
JM
5575 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5576 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5577 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5578 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5579 * conform/data/libgen.h-data [XPG3]: Likewise.
5580 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5581 * conform/data/ndbm.h-data [XPG3]: Likewise.
5582 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5583 * conform/data/netdb.h-data [XPG3]: Likewise.
5584 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5585 * conform/data/poll.h-data [XPG3]: Likewise.
5586 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5587 * conform/data/strings.h-data [XPG3]: Likewise.
5588 * conform/data/stropts.h-data [XPG3]: Likewise.
5589 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5590 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5591 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5592 Likewise.
5593 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5594 * conform/data/sys/time.h-data [XPG3]: Likewise.
5595 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5596 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5597 * conform/data/sys/un.h-data [XPG3]: Likewise.
5598 * conform/data/syslog.h-data [XPG3]: Likewise.
5599 * conform/data/ucontext.h-data [XPG3]: Likewise.
5600 * conform/data/utmpx.h-data [XPG3]: Likewise.
5601 * conform/data/varargs.h-data [UNIX98]: Enable file.
5602
355bc986
JM
5603 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5604
215db402
JM
5605 * math/libm-test.inc (struct test_f_f_data): Move expected results
5606 into structure for each rounding mode.
5607 (struct test_ff_f_data): Likewise.
5608 (struct test_ff_f_data_nexttoward): Likewise.
5609 (struct test_fi_f_data): Likewise.
5610 (struct test_fl_f_data): Likewise.
5611 (struct test_if_f_data): Likewise.
5612 (struct test_fff_f_data): Likewise.
5613 (struct test_c_f_data): Likewise.
5614 (struct test_f_f1_data): Likewise.
5615 (struct test_fF_f1_data): Likewise.
5616 (struct test_ffI_f1_data): Likewise.
5617 (struct test_c_c_data): Likewise.
5618 (struct test_cc_c_data): Likewise.
5619 (struct test_f_i_data): Likewise.
5620 (struct test_ff_i_data): Likewise.
5621 (struct test_f_l_data): Likewise.
5622 (struct test_f_L_data): Likewise.
5623 (struct test_fFF_11_data): Likewise.
5624 (RM_): New macro.
5625 (RM_FE_DOWNWARD): Likewise.
5626 (RM_FE_TONEAREST): Likewise.
5627 (RM_FE_TOWARDZERO): Likewise.
5628 (RM_FE_UPWARD): Likewise.
5629 (RUN_TEST_LOOP_f_f): Update references to expected results.
5630 (RUN_TEST_LOOP_2_f): Likewise.
5631 (RUN_TEST_LOOP_fff_f): Likewise.
5632 (RUN_TEST_LOOP_c_f): Likewise.
5633 (RUN_TEST_LOOP_f_f1): Likewise.
5634 (RUN_TEST_LOOP_fF_f1): Likewise.
5635 (RUN_TEST_LOOP_fI_f1): Likewise.
5636 (RUN_TEST_LOOP_ffI_f1): Likewise.
5637 (RUN_TEST_LOOP_c_c): Likewise.
5638 (RUN_TEST_LOOP_cc_c): Likewise.
5639 (RUN_TEST_LOOP_f_i): Likewise.
5640 (RUN_TEST_LOOP_f_i_tg): Likewise.
5641 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5642 (RUN_TEST_LOOP_f_b): Likewise.
5643 (RUN_TEST_LOOP_f_b_tg): Likewise.
5644 (RUN_TEST_LOOP_f_l): Likewise.
5645 (RUN_TEST_LOOP_f_L): Likewise.
5646 (RUN_TEST_LOOP_fFF_11): Likewise.
5647 * math/gen-libm-test.pl (parse_args): Output four copies of
5648 expected results for each test.
5649
67737b8f
JM
5650 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5651 (__ASSUME_UTIMES): Remove.
5652 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5653 (__ASSUME_UTIMES): Likewise.
5654
aa97dee1
JM
5655 * math/gen-auto-libm-tests.c: Update comment on output format.
5656 (output_for_one_input_case): Generate before-rounding and
5657 after-rounding information as conditions on output flags not
5658 floating-point format.
5659 * math/auto-libm-test-out: Regenerated.
5660 * math/gen-libm-test.pl (cond_value): New function.
5661 (or_cond_value): Use cond_value.
5662 (generate_testfile): Handle conditional exceptions.
5663
e6b6a857
JM
56642014-03-05 Joseph Myers <joseph@codesourcery.com>
5665
2f0a0f44
JM
5666 * math/libm-test.inc (max_valid_error): New variable.
5667 (init_max_error): Take new argument specifying whether function
5668 results are exactly determined. Set max_valid_error and bound
5669 other variables for errors based on this argument.
5670 (set_max_error): Do not record results above max_valid_error.
5671 (check_float_internal): Only accept errors of up to 0.5ulps if
5672 also at most max_valid_error.
5673 (START): Take new argument EXACT and pass it to init_max_error.
5674 (acos_test): Update call to START.
5675 (acos_test_tonearest): Likewise.
5676 (acos_test_towardzero): Likewise.
5677 (acos_test_downward): Likewise.
5678 (acos_test_upward): Likewise.
5679 (acosh_test): Likewise.
5680 (asin_test): Likewise.
5681 (asin_test_tonearest): Likewise.
5682 (asin_test_towardzero): Likewise.
5683 (asin_test_downward): Likewise.
5684 (asin_test_upward): Likewise.
5685 (asinh_test): Likewise.
5686 (atan_test): Likewise.
5687 (atanh_test): Likewise.
5688 (atan2_test): Likewise.
5689 (cabs_test): Likewise.
5690 (cacos_test): Likewise.
5691 (cacosh_test): Likewise.
5692 (carg_test): Likewise.
5693 (casin_test): Likewise.
5694 (casinh_test): Likewise.
5695 (catan_test): Likewise.
5696 (catanh_test): Likewise.
5697 (cbrt_test): Likewise.
5698 (ccos_test): Likewise.
5699 (ccosh_test): Likewise.
5700 (ceil_test): Likewise.
5701 (cexp_test): Likewise.
5702 (cimag_test): Likewise.
5703 (clog_test): Likewise.
5704 (clog10_test): Likewise.
5705 (conj_test): Likewise.
5706 (copysign_test): Likewise.
5707 (cos_test): Likewise.
5708 (cos_test_tonearest): Likewise.
5709 (cos_test_towardzero): Likewise.
5710 (cos_test_downward): Likewise.
5711 (cos_test_upward): Likewise.
5712 (cosh_test): Likewise.
5713 (cosh_test_tonearest): Likewise.
5714 (cosh_test_towardzero): Likewise.
5715 (cosh_test_downward): Likewise.
5716 (cosh_test_upward): Likewise.
5717 (cpow_test): Likewise.
5718 (cproj_test): Likewise.
5719 (creal_test): Likewise.
5720 (csin_test): Likewise.
5721 (csinh_test): Likewise.
5722 (csqrt_test): Likewise.
5723 (ctan_test): Likewise.
5724 (ctan_test_tonearest): Likewise.
5725 (ctan_test_towardzero): Likewise.
5726 (ctan_test_downward): Likewise.
5727 (ctan_test_upward): Likewise.
5728 (ctanh_test): Likewise.
5729 (ctanh_test_tonearest): Likewise.
5730 (ctanh_test_towardzero): Likewise.
5731 (ctanh_test_downward): Likewise.
5732 (ctanh_test_upward): Likewise.
5733 (erf_test): Likewise.
5734 (erfc_test): Likewise.
5735 (exp_test): Likewise.
5736 (exp_test_tonearest): Likewise.
5737 (exp_test_towardzero): Likewise.
5738 (exp_test_downward): Likewise.
5739 (exp_test_upward): Likewise.
5740 (exp10_test): Likewise.
5741 (exp10_test_tonearest): Likewise.
5742 (exp10_test_towardzero): Likewise.
5743 (exp10_test_downward): Likewise.
5744 (exp10_test_upward): Likewise.
5745 (pow10_test): Likewise.
5746 (exp2_test): Likewise.
5747 (expm1_test): Likewise.
5748 (expm1_test_tonearest): Likewise.
5749 (expm1_test_towardzero): Likewise.
5750 (expm1_test_downward): Likewise.
5751 (expm1_test_upward): Likewise.
5752 (fabs_test): Likewise.
5753 (fdim_test): Likewise.
5754 (floor_test): Likewise.
5755 (fma_test): Likewise.
5756 (fma_test_towardzero): Likewise.
5757 (fma_test_downward): Likewise.
5758 (fma_test_upward): Likewise.
5759 (fmax_test): Likewise.
5760 (fmin_test): Likewise.
5761 (fmod_test): Likewise.
5762 (fpclassify_test): Likewise.
5763 (frexp_test): Likewise.
5764 (hypot_test): Likewise.
5765 (ilogb_test): Likewise.
5766 (isfinite_test): Likewise.
5767 (finite_test): Likewise.
5768 (isgreater_test): Likewise.
5769 (isgreaterequal_test): Likewise.
5770 (isinf_test): Likewise.
5771 (isless_test): Likewise.
5772 (islessequal_test): Likewise.
5773 (islessgreater_test): Likewise.
5774 (isnan_test): Likewise.
5775 (isnormal_test): Likewise.
5776 (issignaling_test): Likewise.
5777 (isunordered_test): Likewise.
5778 (j0_test): Likewise.
5779 (j1_test): Likewise.
5780 (jn_test): Likewise.
5781 (ldexp_test): Likewise.
5782 (lgamma_test): Likewise.
5783 (gamma_test): Likewise.
5784 (lrint_test): Likewise.
5785 (lrint_test_tonearest): Likewise.
5786 (lrint_test_towardzero): Likewise.
5787 (lrint_test_downward): Likewise.
5788 (lrint_test_upward): Likewise.
5789 (llrint_test): Likewise.
5790 (llrint_test_tonearest): Likewise.
5791 (llrint_test_towardzero): Likewise.
5792 (llrint_test_downward): Likewise.
5793 (llrint_test_upward): Likewise.
5794 (log_test): Likewise.
5795 (log10_test): Likewise.
5796 (log1p_test): Likewise.
5797 (log2_test): Likewise.
5798 (logb_test): Likewise.
5799 (logb_test_downward): Likewise.
5800 (lround_test): Likewise.
5801 (llround_test): Likewise.
5802 (modf_test): Likewise.
5803 (nearbyint_test): Likewise.
5804 (nextafter_test): Likewise.
5805 (nexttoward_test): Likewise.
5806 (pow_test): Likewise.
5807 (pow_test_tonearest): Likewise.
5808 (pow_test_towardzero): Likewise.
5809 (pow_test_downward): Likewise.
5810 (pow_test_upward): Likewise.
5811 (remainder_test): Likewise.
5812 (drem_test): Likewise.
5813 (remainder_test_tonearest): Likewise.
5814 (drem_test_tonearest): Likewise.
5815 (remainder_test_towardzero): Likewise.
5816 (drem_test_towardzero): Likewise.
5817 (remainder_test_downward): Likewise.
5818 (drem_test_downward): Likewise.
5819 (remainder_test_upward): Likewise.
5820 (drem_test_upward): Likewise.
5821 (remquo_test): Likewise.
5822 (rint_test): Likewise.
5823 (rint_test_tonearest): Likewise.
5824 (rint_test_towardzero): Likewise.
5825 (rint_test_downward): Likewise.
5826 (rint_test_upward): Likewise.
5827 (round_test): Likewise.
5828 (scalb_test): Likewise.
5829 (scalbn_test): Likewise.
5830 (scalbln_test): Likewise.
5831 (signbit_test): Likewise.
5832 (sin_test): Likewise.
5833 (sin_test_tonearest): Likewise.
5834 (sin_test_towardzero): Likewise.
5835 (sin_test_downward): Likewise.
5836 (sin_test_upward): Likewise.
5837 (sincos_test): Likewise.
5838 (sinh_test): Likewise.
5839 (sinh_test_tonearest): Likewise.
5840 (sinh_test_towardzero): Likewise.
5841 (sinh_test_downward): Likewise.
5842 (sinh_test_upward): Likewise.
5843 (sqrt_test): Likewise.
5844 (sqrt_test_tonearest): Likewise.
5845 (sqrt_test_towardzero): Likewise.
5846 (sqrt_test_downward): Likewise.
5847 (sqrt_test_upward): Likewise.
5848 (tan_test): Likewise.
5849 (tan_test_tonearest): Likewise.
5850 (tan_test_towardzero): Likewise.
5851 (tan_test_downward): Likewise.
5852 (tan_test_upward): Likewise.
5853 (tanh_test): Likewise.
5854 (tgamma_test): Likewise.
5855 (trunc_test): Likewise.
5856 (y0_test): Likewise.
5857 (y1_test): Likewise.
5858 (yn_test): Likewise.
5859 (significand_test): Likewise.
5860
e6b6a857
JM
5861 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5862 individual tests in comment.
5863 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5864 (prev_max_error): New variable.
5865 (prev_real_max_error): Likewise.
5866 (prev_imag_max_error): Likewise.
5867 (compare_ulp_data): Don't refer to test names in comment.
5868 (find_test_ulps): Remove function.
5869 (find_function_ulps): Likewise.
5870 (find_complex_function_ulps): Likewise.
5871 (init_max_error): Take function name as argument. Look up ulps
5872 for that function.
5873 (print_ulps): Remove function.
5874 (print_max_error): Use prev_max_error instead of calling
5875 find_function_ulps.
5876 (print_complex_max_error): Use prev_real_max_error and
5877 prev_imag_max_error instead of calling find_complex_function_ulps.
5878 (check_float_internal): Take max_ulp parameter instead of calling
5879 find_test_ulps. Don't call print_ulps.
5880 (check_float): Update call to check_float_internal.
5881 (check_complex): Update calls to check_float_internal.
5882 (START): Pass argument to init_max_error.
5883 * math/gen-libm-test.pl (%results): Don't include "kind"
5884 information.
5885 (parse_ulps): Don't handle ulps of individual tests.
5886 (print_ulps_file): Likewise.
5887 (output_ulps): Likewise.
5888 * math/README.libm-test: Update.
5889 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5890 individual tests.
5891 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5892 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5893 * sysdeps/arm/libm-test-ulps: Likewise.
5894 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5895 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5896 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5897 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5898 * sysdeps/microblaze/libm-test-ulps: Likewise.
5899 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5900 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5901 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5902 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5904 * sysdeps/sh/libm-test-ulps: Likewise.
5905 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5906 * sysdeps/tile/libm-test-ulps: Likewise.
5907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5908
45adef3c
JM
59092014-03-04 Joseph Myers <joseph@codesourcery.com>
5910
5911 * math/libm-test.inc (print_complex_max_error): Check separately
5912 whether real and imaginary errors are within allowed range and
5913 pass 0 to print_complex_function_ulps instead of value within
5914 allowed range.
5915
000232b9
SP
59162014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5917
d4b17258
SP
5918 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5919 formatting.
5920 (get_handles_fopen): Likewise.
5921 (do_write_test): Likewise.
5922
091eff71
SP
5923 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5924
fa3cd248
SP
5925 * libio/fileops.c (do_ftell): Use cached offset when
5926 available.
5927 * libio/iofwide.c (do_ftell_wide): Likewise.
5928 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5929 _IO_file_attach.
5930 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5931
000232b9
SP
5932 [BZ #16532]
5933 * libio/libioP.h (get_file_offset): New function.
5934 * libio/fileops.c (get_file_offset): Likewise.
5935 (do_ftell): Likewise.
5936 (_IO_new_file_seekoff): Split out ftell logic.
5937 * libio/wfileops.c (do_ftell_wide): Likewise.
5938 (_IO_wfile_seekoff): Split out ftell logic.
5939 * libio/tst-ftell-active-handler.c: New test case.
5940 * libio/Makefile (tests): Add it.
5941
116f4d1a
RM
59422014-03-03 Roland McGrath <roland@hack.frob.com>
5943
5944 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5945 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5946
532a6035
SP
59472014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5948
5949 [BZ #16639]
5950 * nscd/connections.c (nscd_init): Call do_exit.
5951 (start_threads): Call do_exit and notify_parent.
5952 (begin_drop_privileges): Call do_exit.
5953 (finish_drop_privileges): Likewise.
5954 * nscd/selinux.c (preserve_capabilities): Likewise.
5955 (install_real_capabilities): Likewise.
5956 (nscd_selinux_enabled): Likewise.
5957 (avc_create_thread): Likewise.
5958 (avc_alloc_lock): Likewise.
5959 (nscd_avc_init): Likewise.
5960 * nscd/nscd.c (parent_fd): New static variable.
5961 (main): Create a pipe between parent and child processes.
5962 Skip closing parent_fd.
5963 (monitor_child): New function.
5964 (do_exit): Likewise.
5965 (notify_parent): Likewise.
5966 * nscd/nscd.h (notify_parent): Likewise.
5967 (do_exit): Likewise.
5968
d6285c9f
CD
59692014-03-03 Carlos O'Donell <carlos@redhat.com>
5970
5971 * malloc/malloc.c (__libc_calloc): Revert last change.
5972
2b85d2a0
AZ
59732014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974
5975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5976
c7debbdf
RS
59772014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5978
5979 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5981 implementation.
5982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5983 (__libc_ifunc_impl_list): Likewise.
5984 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5985 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5986 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5987 * string/strrchr.c: Define STRRCHR.
5988
235eed86
OB
59892014-02-28 Ondřej Bílka <neleai@seznam.cz>
5990
5991 * benchtest/bench-strtok.c (simple_strtok): Delete.
5992 (strtok_string): Use as benchmark.
5993 * string/strtok (STRTOK): New macro.
5994
8e25d1e7
CD
59952014-02-28 Carlos O'Donell <carlos@redhat.com>
5996
ef563f92
CD
5997 * manual/threads.texi: Add header and standard comments to all
5998 functions.
5999
8e25d1e7
CD
6000 * elf/dl-lookup.c (check_match): New function.
6001 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6002 (do_lookup_x): Remove nested function check_match. Use non-nested
6003 function check_match.
6004
ff71cc37
RM
60052014-02-28 Roland McGrath <roland@hack.frob.com>
6006
f08e9a26
RM
6007 * csu/Makefile (generated, before-compile): Use += rather than =.
6008 * catgets/Makefile (generated, generated-dirs): Likewise.
6009 * debug/Makefile (generated): Likewise.
6010 * dlfcn/Makefile (generated): Likewise.
6011 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6012 * iconvdata/Makefile (before-compile, generated): Likewise.
6013 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6014 * libio/Makefile (generated): Likewise.
6015 * malloc/Makefile (generated): Likewise.
6016 * manual/Makefile (generated, generated-dirs): Likewise.
6017 * misc/Makefile (generated): Likewise.
6018 * posix/Makefile (generated): Likewise.
6019 * resolv/Makefile (generated): Likewise.
6020 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6021 * timezone/Makefile (generated, generated-dirs): Likewise.
6022
ff71cc37
RM
6023 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6024
fe13a20c
AZ
60252014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
57f41c40
AS
6027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6028 power8 implementation.
6029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6030 file: POWER8 llround ifunc implementation.
6031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6032 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6033 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6034 POWER8 llround implementation.
6035
57f41c40
AS
6036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6037 power8 implementation.
6038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6039 file: POWER8 llrint ifunc implementation.
6040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6041 Add POWER8 implementation.
1ad8950a
AZ
6042 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6043 POWER8 llrint implementation.
6044
57f41c40
AS
6045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6046 power8 implementation.
6047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6048 file: POWER8 finite ifunc implementation.
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6050 Add POWER8 implementation.
cac626d6
AZ
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6052 Likewise.
6053 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6054 POWER8 finite implementation.
6055 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6056
57f41c40
AS
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6058 power8 implementation.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6060 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6062 POWER8 implementation.
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6064 Likewise.
57f41c40
AS
6065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6066 isinf implementation.
4393fc11
AZ
6067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6068
57f41c40
AS
6069 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6070 (INIT_ARCH): Add hwcap2 initialization.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6072 power8 implementation.
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6074 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6076 POWER8 implementation.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6078 Likewise.
57f41c40
AS
6079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6080 isnan implementation.
487972ae
AZ
6081 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6082
7d92b787
JY
60832014-02-27 Joey Ye <joey.ye@arm.com>
6084
6085 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6086 (_FP_NANFRAC_Q): Set to zero.
6087
1cadc858
SP
60882014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6089
6090 [BZ #16623]
6091 * math/auto-libm-test-in: New test inputs.
6092 * math/auto-libm-test-out: Regenerate.
6093 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6094 and DA.
6095 (__cos): Likewise.
6096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6097
f8c17e79
JM
60982014-02-27 Joseph Myers <joseph@codesourcery.com>
6099
6100 * scripts/evaluate-test.sh: Take new argument indicating whether
6101 failure is expected.
6102 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6103 indicating whether failure is expected.
6104 * conform/Makefile (test-xfail-run-conformtest): New variable.
6105 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6106 level.
6107 * posix/Makefile (test-xfail-annexc): New variable.
6108 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6109
a5f891ac
JM
61102014-02-26 Joseph Myers <joseph@codesourcery.com>
6111
6112 * argp/Makefile: Include Makeconfig immediately after defining
6113 subdir.
6114 * assert/Makefile: Likewise.
6115 * benchtests/Makefile: Likewise.
6116 * catgets/Makefile: Likewise.
6117 * conform/Makefile: Likewise.
6118 * crypt/Makefile: Likewise.
6119 * csu/Makefile: Likewise.
6120 (all): Remove target.
6121 * ctype/Makefile: Include Makeconfig immediately after defining
6122 subdir.
6123 * debug/Makefile: Likewise.
6124 * dirent/Makefile: Likewise.
6125 * dlfcn/Makefile: Likewise.
6126 * gmon/Makefile: Likewise.
6127 * gnulib/Makefile: Likewise.
6128 * grp/Makefile: Likewise.
6129 * gshadow/Makefile: Likewise.
6130 * hesiod/Makefile: Likewise.
6131 * hurd/Makefile: Likewise.
6132 (all): Remove target.
6133 * iconvdata/Makefile: Include Makeconfig immediately after
6134 defining subdir.
6135 * inet/Makefile: Likewise.
6136 * intl/Makefile: Likewise.
6137 * io/Makefile: Likewise.
6138 * libio/Makefile: Likewise.
6139 (all): Remove target.
6140 * locale/Makefile: Include Makeconfig immediately after defining
6141 subdir.
6142 * login/Makefile: Likewise.
6143 * mach/Makefile: Likewise.
6144 (all): Remove target.
6145 * malloc/Makefile: Include Makeconfig immediately after defining
6146 subdir.
6147 (all): Remove target.
6148 * manual/Makefile: Include Makeconfig immediately after defining
6149 subdir.
6150 * math/Makefile: Likewise.
6151 * misc/Makefile: Likewise.
6152 * nis/Makefile: Likewise.
6153 * nss/Makefile: Likewise.
6154 * po/Makefile: Likewise.
6155 (all): Remove target.
6156 * posix/Makefile: Include Makeconfig immediately after defining
6157 subdir.
6158 * pwd/Makefile: Likewise.
6159 * resolv/Makefile: Likewise.
6160 * resource/Makefile: Likewise.
6161 * rt/Makefile: Likewise.
6162 * setjmp/Makefile: Likewise.
6163 * shadow/Makefile: Likewise.
6164 * signal/Makefile: Likewise.
6165 * socket/Makefile: Likewise.
6166 * soft-fp/Makefile: Likewise.
6167 * stdio-common/Makefile: Likewise.
6168 * stdlib/Makefile: Likewise.
6169 * streams/Makefile: Likewise.
6170 * string/Makefile: Likewise.
6171 * sunrpc/Makefile: Likewise.
6172 (all): Remove target.
6173 * sysvipc/Makefile: Include Makeconfig immediately after defining
6174 subdir.
6175 * termios/Makefile: Likewise.
6176 * time/Makefile: Likewise.
6177 * timezone/Makefile: Likewise.
6178 (all): Remove target.
6179 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6180 subdir.
6181 * wctype/Makefile: Likewise.
6182
5b456e9d
SE
61832014-02-26 Steve Ellcey <sellcey@mips.com>
6184
6185 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6186 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6187 (libc_feholdexcept_setround_mips): Ditto.
6188 (libc_feholdsetround): New.
6189 (libc_feholdsetroundf): New.
6190 (libc_feholdsetroundl): New.
6191 (libc_feupdateenv_test_mips): New.
6192 (libc_feupdateenv_test): New.
6193 (libc_feupdateenv_testf): New.
6194 (libc_feupdateenv_testl): New.
6195 (libc_feresetround): New.
6196 (libc_feresetroundf): New.
6197 (libc_feresetroundl): New.
6198 (libc_fetestexcept_mips): New.
6199 (libc_fetestexcept): New.
6200 (libc_fetestexceptf): New.
6201 (libc_fetestexceptl): New.
6202 (HAVE_RM_CTX): New.
6203 (libc_feholdexcept_setround_mips_ctx): New.
6204 (libc_feholdexcept_setround_ctx): New.
6205 (libc_feholdexcept_setroundf_ctx): New.
6206 (libc_feholdexcept_setroundl_ctx): New.
6207 (libc_fesetenv_mips_ctx): New.
6208 (libc_fesetenv_ctx): New.
6209 (libc_fesetenv_ctxf): New.
6210 (libc_fesetenv_ctxl): New.
6211 (libc_feupdateenv_mips_ctx): New.
6212 (libc_feupdateenv_ctx): New.
6213 (libc_feupdateenvf_ctx): New.
6214 (libc_feupdateenvl_ctx): New.
6215 (libc_feholdsetround_mips_ctx): New.
6216 (libc_feholdsetround_ctx): New.
6217 (libc_feholdsetroundf_ctx): New.
6218 (libc_feholdsetroundl_ctx): New.
6219 (libc_feresetround_mips_ctx): New.
6220 (libc_feresetround_ctx): New.
6221 (libc_feresetroundf_ctx): New.
6222 (libc_feresetroundl_ctx): New.
6223
085d0e35
CD
62242014-02-26 Carlos O'Donell <carlos@redhat.com>
6225
f067bf1f
CD
6226 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6227
085d0e35
CD
6228 * manual/ipc.texi: New file.
6229 * manual/Makefile (chapters): Add ipc.
6230 * manual/job.texi: Add "Inter-Process Communication" to next.
6231 * manual/process.texi: Add "Inter-Process Communication" to prev.
6232
86e58c08
AZ
62332014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234
6235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6236
4248f0da
OB
62372014-02-26 Ondřej Bílka <neleai@seznam.cz>
6238
6239 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6240
cf822e3c
OB
6241 * manual/arith.texi: Fix spaces after sentences.
6242 * manual/charset.texi: Likewise.
6243 * manual/errno.texi: Likewise.
6244 * manual/install.texi: Likewise.
6245 * manual/llio.texi: Likewise.
6246 * manual/locale.texi: Likewise.
6247 * manual/maint.texi: Likewise.
6248 * manual/math.texi: Likewise.
6249 * manual/memory.texi: Likewise.
6250 * manual/message.texi: Likewise.
6251 * manual/probes.texi: Likewise.
6252 * manual/resource.texi: Likewise.
6253 * manual/signal.texi: Likewise.
6254 * manual/socket.texi: Likewise.
6255 * manual/stdio.texi: Likewise.
6256 * manual/string.texi: Likewise.
6257 * manual/time.texi: Likewise.
6258 * manual/users.texi: Likewise.
6259
ade40b10
CD
62602014-02-25 Carlos O'Donell <carlos@redhat.com>
6261
6262 [BZ #16632]
6263 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6264 _DEFAULT_SOURCE is defined.
6265
d0503676
CD
62662014-02-25 Ulrich Drepper <drepper@gmail.com>
6267 Carlos O'Donell <carlos@redhat.com>
6268
6269 [BZ #16613]
6270 * elf/dl-tls.c (_dl_count_modids): New function.
6271 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6272 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6273 audit library and increment generation counter.
6274 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6275 * elf/tst-audit9.c: New file.
6276 * elf/tst-auditmod9a.c: New file.
6277 * elf/tst-auditmod9b.c: New file.
6278 * elf/Makefile: Add rules to build and run tst-audit9.
6279
4cbf380c
FW
62802014-02-25 Florian Weimer <fweimer@redhat.com>
6281
6282 [BZ #15347]
6283 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6284
80a56cc3
WN
62852014-02-25 Will Newton <will.newton@linaro.org>
6286
6287 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6288 (__longjmp): Restore sp and lr before restoring callee
6289 saved registers. Add longjmp and longjmp_target
6290 SystemTap probe point.
6291 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6292 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6293 Define to zero to match jmpbuf layout.
6294 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6295 (__sigsetjmp): Save sp and lr before saving callee
6296 saved registers. Add setjmp SystemTap probe point.
6297
3ea0f74e
SL
62982014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6299
6300 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6301
b04acb26
AS
63022014-02-24 Andreas Schwab <schwab@suse.de>
6303
6304 [BZ #15804]
6305 * elf/pldd.c (wait_for_ptrace_stop): New function.
6306 (main): Call it after attaching.
6307
098ad55c
RM
63082014-02-22 Roland McGrath <roland@hack.frob.com>
6309
d4ec6ae1
RM
6310 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6311 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6312 Versions files is now verboten.
6313 * hurd/Versions (libc: GLIBC_2.0):
6314 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6315 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6316 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6317 * mach/Versions: Likewise.
6318
098ad55c
RM
6319 * csu/Versions: Remove unused %include.
6320 * resolv/Versions: Likewise.
6321
acd7f096
JM
63222014-02-21 Joseph Myers <joseph@codesourcery.com>
6323
f0881698
JM
6324 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6325 ($(objpfx)check-local-headers.out): Likewise.
6326 ($(objpfx)begin-end-check.out): Likewise.
6327 * Makerules (check-abi-%.out): Likewise.
6328 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6329 ($(objpfx)test2.cat): Likewise.
6330 ($(objpfx)de/libc.cat): Likewise.
6331 ($(objpfx)test-gencat.out): Likewise.
6332 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6333 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6334 ($(objpfx)noload-mem): Likewise.
6335 ($(objpfx)tst-pathopt.out): Likewise.
6336 ($(objpfx)tst-rtld-load-self.out): Likewise.
6337 ($(objpfx)tst-array1-cmp.out): Likewise.
6338 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6339 ($(objpfx)tst-array2-cmp.out): Likewise.
6340 ($(objpfx)tst-array3-cmp.out): Likewise.
6341 ($(objpfx)tst-array4-cmp.out): Likewise.
6342 ($(objpfx)tst-array5-cmp.out): Likewise.
6343 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6344 ($(objpfx)check-textrel.out): Likewise.
6345 ($(objpfx)check-execstack.out): Likewise.
6346 ($(objpfx)check-localplt.out): Likewise.
6347 ($(objpfx)order2-cmp.out): Likewise.
6348 ($(objpfx)tst-leaks1-mem): Likewise.
6349 ($(objpfx)tst-leaks1-static-mem): Likewise.
6350 ($(objpfx)tst-initorder-cmp.out): Likewise.
6351 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6352 ($(objpfx)tst-unused-dep.out): Likewise.
6353 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6354 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6355 * iconv/Makefile (test-iconvconfig): Likewise.
6356 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6357 ($(objpfx)iconv-test.out): Likewise.
6358 ($(objpfx)tst-tables.out): Likewise.
6359 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6360 ($(objpfx)tst-gettext.out): Likewise.
6361 ($(objpfx)tst-translit.out): Likewise.
6362 ($(objpfx)tst-gettext2.out): Likewise.
6363 ($(objpfx)tst-gettext4.out): Likewise.
6364 ($(objpfx)tst-gettext6.out): Likewise.
6365 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6366 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6367 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6368 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6369 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6370 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6371 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6372 ($(objpfx)wordexp-tst.out): Likewise.
6373 ($(objpfx)annexc.out): Likewise.
6374 ($(objpfx)tst-fnmatch-mem): Likewise.
6375 ($(objpfx)bug-regex2-mem): Likewise.
6376 ($(objpfx)bug-regex14-mem): Likewise.
6377 ($(objpfx)bug-regex21-mem): Likewise.
6378 ($(objpfx)bug-regex31-mem): Likewise.
6379 ($(objpfx)tst-vfork3-mem): Likewise.
6380 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6381 ($(objpfx)tst-pcre-mem): Likewise.
6382 ($(objpfx)tst-boost-mem): Likewise.
6383 ($(objpfx)tst-getconf.out): Likewise.
6384 ($(objpfx)bug-ga2-mem): Likewise.
6385 ($(objpfx)bug-glob2-mem): Likewise.
6386 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6387 ($(objpfx)mtrace-tst-leaks2): Likewise.
6388 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6389 ($(objpfx)tst-printf.out): Likewise.
6390 ($(objpfx)tst-setvbuf1.out): Likewise.
6391 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6392 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6393 ($(objpfx)tst-fmtmsg.out): Likewise.
6394 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6395 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6396
acd7f096
JM
6397 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6398 * bits/sigaction.h [__USE_MISC]: Likewise.
6399 * bits/waitstatus.h: Update #endif comments.
6400 * ctype/ctype.h: Likewise.
6401 * dirent/dirent.h: Likewise.
6402 [__USE_MISC]: Remove redundant conditionals.
6403 * grp/grp.h: Update #endif comments.
6404 [__USE_GNU]: Remove redundant conditionals.
6405 [__USE_MISC]: Likewise.
6406 * inet/netinet/in.h [__USE_GNU]: Likewise.
6407 * io/sys/stat.h [__USE_MISC]: Likewise.
6408 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6409 * libio/bits/stdio.h: Update #endif comments.
6410 [__USE_MISC]: Remove redundant conditionals.
6411 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6412 * libio/stdio.h: Update #endif comments.
6413 [__USE_MISC]: Remove redundant conditionals.
6414 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6415 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6416 * math/math.h: Update #else and #endif comments.
6417 [__USE_MISC]: Remove redundant conditionals.
6418 * misc/sys/uio.h: Update #endif comments.
6419 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6420 * posix/glob.h [__USE_MISC]: Likewise.
6421 * posix/sys/types.h: Update #endif comments.
6422 [__USE_MISC]: Remove redundant conditionals.
6423 * posix/sys/wait.h: Update #endif comments.
6424 [__USE_MISC]: Remove redundant conditionals.
6425 * posix/unistd.h: Update #endif comments.
6426 [__USE_MISC]: Remove redundant conditionals.
6427 * pwd/pwd.h [__USE_GNU]: Likewise.
6428 [__USE_MISC]: Likewise.
6429 * resolv/netdb.h [__USE_GNU]: Likewise.
6430 * signal/signal.h: Update #endif comments.
6431 [__USE_MISC]: Remove redundant conditionals.
6432 * stdlib/stdlib.h: Update #else and #endif comments.
6433 [__USE_MISC]: Remove redundant conditionals.
6434 [__USE_GNU]: Likewise.
6435 * string/bits/string2.h [__USE_MISC]: Likewise.
6436 * string/string.h: Update #endif comments.
6437 [__USE_MISC]: Remove redundant conditionals.
6438 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6439 Likewise.
6440 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6441 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6442 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6443 Likewise.
6444 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6445 Likewise.
6446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6447 comments.
6448 [__USE_MISC]: Remove redundant conditionals.
6449 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6450 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6451 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6452 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6453 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6454 Likewise.
6455 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6456 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6457 Likewise.
6458 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6459 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6460 Likewise.
6461 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6462 Likewise.
6463 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6464 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6465 Likewise.
6466 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6467 Likewise.
6468 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6469 * sysdeps/x86/bits/string.h: Update #endif comments.
6470 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6471 conditionals.
6472 * time/sys/time.h: Update #endif comments.
6473 * time/time.h: Likewise.
6474 [__USE_MISC]: Remove redundant conditionals.
6475
a5d82e4e
YG
64762014-02-21 Yury Gribov <y.gribov@samsung.com>
6477
6478 [BZ #16600]
6479 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6480
9a80491d
AS
64812014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6482
6483 * Versions.def (librt): Add GLIBC_2.17.
6484
105fa381
AC
64852014-02-21 Adam Conrad <adconrad@0c3.net>
6486
6487 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6488 synonym for _SYS_AUXV_H to allow direct inclusion.
6489 * sysdeps/sparc/bits/hwcap.h: Likewise.
6490 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6491 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6492 * sysdeps/sparc/sysdep.h: Likewise.
6493
b8cd1c4e
SP
64942014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6495
6496 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6497
bd939d23
RS
64982014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6499
6500 * benchtests/bench-strrchr.c: Print length instead of position.
6501
5d7b57ca
JM
65022014-02-20 Joseph Myers <joseph@codesourcery.com>
6503
bc688c10
JM
6504 [BZ #16611]
6505 * sysdeps/unix/sysv/linux/kernel-features.h
6506 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6507 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6508 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6509 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6510 Likewise.
6511 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6512 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6513 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6514 (__ASSUME_SENDMMSG): Define instead of using previous
6515 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6516 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6517 (__ASSUME_SENDMMSG_SYSCALL): Define.
6518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6519 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6520 Likewise.
6521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6522 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6523 Likewise.
6524 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6525 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6526 Likewise.
6527 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6528 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6529 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6530 [__ASSUME_SENDMMSG]: Change conditionals to
6531 [__ASSUME_SENDMMSG_SOCKETCALL].
6532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6533 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6534 Define.
6535 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6536 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6537 Likewise.
6538 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6539 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6540 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6541 [!__ASSUME_SENDMMSG]: Change conditional to
6542 [!__ASSUME_SENDMMSG_SOCKETCALL].
6543 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6544 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6545 Define.
6546
0e31b18c
JM
6547 [BZ #16610]
6548 * sysdeps/unix/sysv/linux/kernel-features.h
6549 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6550 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6551 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6552 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6553 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6554 [__i386__ || __sparc__]
6555 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6556 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6557 (__ASSUME_RECVMMSG): Define instead of using previous
6558 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6559 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6560 (__ASSUME_RECVMMSG_SYSCALL): Define.
6561 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6562 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6563 Likewise.
6564 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6565 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6566 Likewise.
6567 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6568 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6569 Likewise.
6570 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6571 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6572 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6573 [__ASSUME_RECVMMSG]: Change condition to
6574 [__ASSUME_RECVMMSG_SOCKETCALL].
6575 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6576 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6577 Define.
6578 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6581 Likewise.
6582 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6583 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6584 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6585 [!__ASSUME_RECVMMSG]: Change condition to
6586 [!__ASSUME_RECVMMSG_SOCKETCALL].
6587 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6588 (__ASSUME_RECVMMSG_SYSCALL): Define.
6589
dd481ccf
JM
6590 [BZ #16609]
6591 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6592 __powerpc__ || __s390__ || __sh__ || __sparc__]
6593 (__ASSUME_SOCKETCALL): Define.
6594 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6595 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6596 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6597 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6598 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6599 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6600 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6601 (__ASSUME_ACCEPT4): Define instead of using previous
6602 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6603 __powerpc__ || __sparc__ || __s390__)] condition.
6604 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6605 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6606 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6607 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6608 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6609 [!__ASSUME_ACCEPT4]: Change condition to
6610 [!__ASSUME_ACCEPT4_SOCKETCALL].
6611 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6612 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6613 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6614 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6615 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6616 __ASSUME_ACCEPT4_SYSCALL.
6617 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6618 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6619 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6620 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6621 __ASSUME_ACCEPT4_SYSCALL.
6622 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6623 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6624 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6625 [__ASSUME_ACCEPT4]: Change condition to
6626 [__ASSUME_ACCEPT4_SOCKETCALL].
6627 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6628 (__ASSUME_SOCKETCALL): Define.
6629 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6631 (__ASSUME_SOCKETCALL): Define.
6632 (__ASSUME_ACCEPT4): Remove.
6633 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6634 Define.
6635 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6636 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6637 Likewise.
6638 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6639 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6640
5d7b57ca
JM
6641 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6642 macro.
6643 (HWCAP_ARM_LPAE): Likewise.
6644 (HWCAP_ARM_EVTSTRM): Likewise.
6645 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6646 Add vpfd32, lpae and evtstrm.
6647 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6648 Increase to 22.
6649
63689d61
JM
66502014-02-19 Joseph Myers <joseph@codesourcery.com>
6651
6652 * math/auto-libm-test-in: Add tests of clog10.
6653 * math/auto-libm-test-out: Regenerated.
6654 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6655 * sysdeps/i386/fpu/libm-test-ulps: Update.
6656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6657
ab09bf61
AS
66582014-02-18 Andreas Schwab <schwab@suse.de>
6659
6660 [BZ #16574]
6661 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6662 Store non-zero if the second buffer was newly allocated.
6663 (send_dg): Likewise.
6664 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6665 to send_vc and send_dg.
6666 (res_nsend): Pass NULL for ansp2_malloced.
6667 * resolv/res_query.c (__libc_res_nquery): Add parameter
6668 answerp2_malloced and pass it down to __libc_res_nsend.
6669 (res_nquery): Pass additional NULL to __libc_res_nquery.
6670 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6671 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6672 second answer buffer if answerp2_malloced was set.
6673 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6674 (__libc_res_nquerydomain): Add parameter
6675 answerp2_malloced and pass it down to __libc_res_nquery.
6676 (res_nquerydomain): Pass additional NULL to
6677 __libc_res_nquerydomain.
6678 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6679 additional NULL to __libc_res_nsend and __libc_res_nquery.
6680 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6681 additional NULL to __libc_res_nsearch.
6682 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6683 parameter of __libc_res_nsearch to check for separately allocated
6684 second buffer.
6685 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6686 __libc_res_nquery.
6687 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6688 additional NULL to __libc_res_nquery.
6689 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6690 __libc_res_nsearch.
6691 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6692 * include/resolv.h: Update prototypes of __libc_res_nquery,
6693 __libc_res_nsearch, __libc_res_nsend.
6694
a4fb7861
JM
66952014-02-18 Joseph Myers <joseph@codesourcery.com>
6696
c6af2d89
JM
6697 * math/auto-libm-test-in: Add tests of fma.
6698 * math/auto-libm-test-out: Regenerated.
6699 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6700 (fma_towardzero_test_data): Likewise.
6701 (fma_downward_test_data): Likewise.
6702 (fma_upward_test_data): Likewise.
6703 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6704 mpc_mode.
6705 (rounding_modes): Add values for new field.
6706 (func_calc_method): Add value mpfr_fff_f.
6707 (func_calc_desc): Add mpfr_fff_f union field.
6708 (test_function): Add field exact_args.
6709 (FUNC): Add macro argument EXACT_ARGS.
6710 (FUNC_mpfr_f_f): Update call to FUNC.
6711 (FUNC_mpfr_f_f): Likewise.
6712 (FUNC_mpfr_ff_f): Likewise.
6713 (FUNC_mpfr_if_f): Likewise.
6714 (FUNC_mpc_c_f): Likewise.
6715 (FUNC_mpc_c_c): Likewise.
6716 (test_functions): Add fma. Update calls to FUNC.
6717 (handle_input_arg): Add argument exact_args.
6718 (add_test): Update call to handle_input_arg.
6719 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6720 (output_for_one_input_case): Update call to calc_generic_results.
6721 Recalculate exact zero results in each rounding mode.
6722
a4fb7861
JM
6723 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6724 non-negative before setting low bit.
6725 * math/auto-libm-test-in: Mark one asin test possibly having
6726 spurious underflow.
6727 * math/auto-libm-test-out: Regenerated.
6728 * sysdeps/i386/fpu/libm-test-ulps: Update.
6729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6730
ef114eaf
DH
67312014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6732
2b7f4f2c
SP
6733 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6734 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6735 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6736 * README: Add missing listing for microblaze*-*-linux-gnu.
6737
c70a4b1d
MF
67382014-02-16 Mike Frysinger <vapier@gentoo.org>
6739
6740 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6741 * sysdeps/unix/sysv/linux/ia64: Move directory from
6742 ports/sysdeps/unix/sysv/linux/ia64.
6743 * README: Update listing for ia64-*-linux-gnu.
6744
591aeaf7
TD
67452014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6746 Joseph Myers <joseph@codesourcery.com>
6747
6748 * Makeconfig (test-name): New variable.
6749 (evaluate-test): Likewise.
6750 * Makerules (do-test-clean): Remove .test-result files.
6751 (common-mostlyclean): Likewise.
6752 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6753 * scripts/evaluate-test.sh: New file.
6754
6e89caf1
JM
67552014-02-14 Joseph Myers <joseph@codesourcery.com>
6756
7f98f180
JM
6757 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6758 separate $(objpfx)tst-fopenloc-cmp.out and
6759 $(objpfx)tst-fopenloc-mem.out targets.
6760 (tests): Update dependencies.
6761 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6762 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6763 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6764 (tst-rxspencer-no-utf8-ARGS): New variable.
6765 (tst-rxspencer-no-utf8-ENV): Likewise.
6766 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6767 instead of $(objpfx)tst-rxspencer-mem.
6768 ($(objpfx)tst-rxspencer-mem): Change target to
6769 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6770 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6771 * posix/tst-rxspencer-no-utf8.c: New file.
6772
6e89caf1
JM
6773 * elf/Makefile ($(objpfx)order.out): Remove rule.
6774 [$(run-built-tests) = yes] (tests): Depend on
6775 $(objpfx)order-cmp.out.
6776 ($(objpfx)order-cmp.out): New rule.
6777 [$(run-built-tests) = yes] (tests): Depend on
6778 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6779 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6780 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6781 $(objpfx)tst-array5-static-cmp.out.
6782 ($(objpfx)tst-array1.out): Remove rule.
6783 ($(objpfx)tst-array1-cmp.out): New rule.
6784 ($(objpfx)tst-array1-static.out): Remove rule.
6785 ($(objpfx)tst-array1-static-cmp.out): New rule.
6786 ($(objpfx)tst-array2.out): Remove rule.
6787 ($(objpfx)tst-array2-cmp.out): New rule.
6788 ($(objpfx)tst-array3.out): Remove rule.
6789 ($(objpfx)tst-array3-cmp.out): New rule.
6790 ($(objpfx)tst-array4.out): Remove rule.
6791 ($(objpfx)tst-array4-cmp.out): New rule.
6792 ($(objpfx)tst-array5.out): Remove rule.
6793 ($(objpfx)tst-array5-cmp.out): New rule.
6794 ($(objpfx)tst-array5-static.out): Remove rule.
6795 ($(objpfx)tst-array5-static-cmp.out): New rule.
6796 [$(run-built-tests) = yes] (tests): Depend on
6797 $(objpfx)order2-cmp.out.
6798 ($(objpfx)order2.out): Remove rule.
6799 ($(objpfx)order2-cmp.out): New rule.
6800 ($(objpfx)tst-initorder.out): Remove rule.
6801 [$(run-built-tests) = yes] (tests): Depend on
6802 $(objpfx)tst-initorder-cmp.out.
6803 ($(objpfx)tst-initorder-cmp.out): New rule.
6804 ($(objpfx)tst-initorder2.out): Remove rule.
6805 [$(run-built-tests) = yes] (tests): Depend on
6806 $(objpfx)tst-initorder2-cmp.out.
6807 ($(objpfx)tst-initorder2-cmp.out): New rule.
6808 [$(run-built-tests) = yes] (tests): Depend on
6809 $(objpfx)tst-unused-dep-cmp.out.
6810 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6811 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6812 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6813 on $(objpfx)tst-setvbuf1-cmp.out.
6814 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6815 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6816 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6817 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6818 ($(objpfx)tst-svc.out): Remove rule.
6819 ($(objpfx)tst-svc-cmp.out): New rule.
6820
ed9a38e2
JM
68212014-02-13 Joseph Myers <joseph@codesourcery.com>
6822
6823 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6824 * ctype/ctype.h [__USE_MISC]: Likewise.
6825 * dirent/dirent.h [__USE_MISC]: Likewise.
6826 * grp/grp.h [__USE_MISC]: Likewise.
6827 * io/fcntl.h [__USE_MISC]: Likewise.
6828 * io/sys/stat.h [__USE_MISC]: Likewise.
6829 * libio/stdio.h [__USE_MISC]: Likewise.
6830 * posix/unistd.h [__USE_MISC]: Likewise.
6831 * pwd/pwd.h [__USE_MISC]: Likewise.
6832 * stdlib.h [__USE_MISC]: Likewise.
6833 * string/bits/string2.h [__USE_MISC]: Likewise.
6834 * string/string.h [__USE_MISC]: Likewise.
6835 * time/time.h [__USE_MISC]: Likewise.
6836
d6680619
AS
68372014-02-13 Andreas Schwab <schwab@suse.de>
6838
6839 [BZ #16574]
6840 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6841 second answer buffer if it was separately allocated.
6842
ace614b8
JM
68432014-02-12 Joseph Myers <joseph@codesourcery.com>
6844
743151ae
JM
6845 * sysdeps/mips/math-tests.h: Include <features.h>.
6846 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6847 (ROUNDING_TESTS_long_double): Do not define.
6848 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6849 (EXCEPTION_TESTS_long_double): Likewise.
6850 * sysdeps/mips/mips64/libm-test-ulps: Update.
6851
498afc54
JM
6852 * include/features.h (__USE_BSD): Remove macro definitions.
6853 (__USE_SVID): Likewise.
6854 (_BSD_SOURCE): Likewise.
6855 (_SVID_SOURCE): Likewise.
6856 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6857 from definition of _DEFAULT_SOURCE.
6858 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6859 [_DEFAULT_SOURCE].
6860 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6861 * bits/mman.h [__USE_BSD]: Likewise.
6862 * bits/termios.h [__USE_BSD]: Likewise.
6863 * bits/waitstatus.h [__USE_BSD]: Likewise.
6864 * ctype/ctype.h [__USE_SVID]: Likewise.
6865 * dirent/dirent.h [__USE_BSD]: Likewise.
6866 * grp/grp.h [__USE_SVID]: Likewise.
6867 [__USE_BSD]: Likewise.
6868 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6869 * io/fcntl.h [__USE_BSD]: Likewise.
6870 * io/ftw.h [__USE_BSD]: Likewise.
6871 * io/sys/stat.h [__USE_BSD]: Likewise.
6872 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6873 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6874 * libio/stdio.h [__USE_SVID]: Likewise.
6875 [__USE_BSD]: Likewise.
6876 * math/math.h [__USE_SVID]: Likewise.
6877 [__USE_BSD]: Likewise.
6878 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6879 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6880 * misc/search.h [__USE_SVID]: Likewise.
6881 * misc/sys/mman.h [__USE_BSD]: Likewise.
6882 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6883 * misc/sys/uio.h [__USE_BSD]: Likewise.
6884 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6885 * posix/glob.h [__USE_BSD]: Likewise.
6886 * posix/regex.h [__USE_BSD]: Likewise.
6887 * posix/sys/types.h [__USE_BSD]: Likewise.
6888 [__USE_SVID]: Likewise.
6889 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6890 * posix/sys/wait.h [__USE_BSD]: Likewise.
6891 [__USE_SVID]: Likewise.
6892 * posix/unistd.h [__USE_BSD]: Likewise.
6893 [__USE_SVID]: Likewise.
6894 * pwd/pwd.h [__USE_SVID]: Likewise.
6895 * resolv/netdb.h [__USE_BSD]: Likewise.
6896 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6897 * signal/signal.h [__USE_BSD]: Likewise.
6898 [__USE_SVID]: Likewise.
6899 * socket/sys/socket.h [__USE_BSD]: Likewise.
6900 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6901 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6902 [__USE_SVID]: Likewise.
6903 * string/bits/string2.h [__USE_BSD]: Likewise.
6904 [__USE_SVID]: Likewise.
6905 * string/bits/string3.h [__USE_BSD]: Likewise.
6906 * string/endian.h [__USE_BSD]: Likewise.
6907 * string/string.h [__USE_SVID]: Likewise.
6908 [__USE_BSD]: Likewise.
6909 * string/strings.h [__USE_BSD]: Likewise.
6910 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6911 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6912 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6913 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6914 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6915 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6916 Likewise.
6917 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6918 Likewise.
6919 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6920 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6921 Likewise.
6922 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6923 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6924 Likewise.
6925 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6926 Likewise.
6927 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6928 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6930 Likewise.
6931 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6932 Likewise.
6933 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6934 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6935 * termios/termios.h [__USE_BSD]: Likewise.
6936 * time/sys/time.h [__USE_BSD]: Likewise.
6937 * time/time.h [__USE_BSD]: Likewise.
6938 [__USE_SVID]: Likewise.
6939
dd7b064c
JM
6940 * Makefile (subdir_targets): Remove subdir_lint.out.
6941
a2c4c199
JM
6942 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6943 (do-tst-printf): Likewise.
6944 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6945 $(objpfx)tst-printf.out.
6946
8756f740
JM
6947 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6948
1b6dd3f1
JM
6949 * Makerules (check-abi-%): Change target to
6950 $(objpfx)check-abi-%.out.
6951 (check-abi target): Update dependencies.
6952 (check-abi-pattern variable): Redirect output of diff to $@.
6953 (check-abi variable): Likewise.
6954 * elf/Makefile (check-abi): Update dependencies.
6955
ace614b8
JM
6956 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6957 unused.
6958 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6959 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6960 subnormal range.
6961 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6962 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6963 value has largest subnormal exponent.
6964 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6965 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6966 * sysdeps/aarch64/soft-fp/sfp-machine.h
6967 (_FP_TININESS_AFTER_ROUNDING): New macro.
6968 * sysdeps/alpha/soft-fp/sfp-machine.h
6969 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6970 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6971 Likewise.
6972 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6973 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6974 * sysdeps/mips/soft-fp/sfp-machine.h
6975 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6976 * sysdeps/powerpc/soft-fp/sfp-machine.h
6977 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6978 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6979 Likewise.
6980 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6981 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6982 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6983 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6984 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6985 Likewise.
6986
fbfdf9cb
DAS
69872014-02-12 Dylan Alex Simon <dylan@dylex.net>
6988
6989 [BZ #16545]
6990 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6991 model 1.
6992
68b7efaa
RH
69932014-02-12 Richard Henderson <rth@redhat.com>
6994
c70a4b1d 6995 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6996 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6997 * sysdeps/unix/sysv/linux/alpha: Move directory from
6998 ports/sysdeps/unix/sysv/linux/alpha.
6999 * README: Update listing for alpha-*-linux-gnu.
7000
cb4a2928
JM
70012014-02-11 Joseph Myers <joseph@codesourcery.com>
7002
c941736c
JM
7003 * include/features.h: Update comment documenting feature test
7004 macros.
7005 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7006 _DEFAULT_SOURCE.
7007 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7008 (_SVID_SOURCE): Likewise.
7009 (_DEFAULT_SOURCE): Update description of default features.
7010 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7011 with _GNU_SOURCE.
7012 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7013 (S_ISVTX): Likewise.
7014 * manual/math.texi (Mathematical Constants): Likewise.
7015 * manual/signal.texi (Interrupted Primitives): Likewise.
7016 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7017 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7018 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7019 Don't refer to _SVID_SOURCE in warning text.
7020
e8d8d7ec
JM
7021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7022
cb4a2928
JM
7023 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7024 already defined.
7025 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7026 * sysdeps/mips/dl-lookup.c: Remove.
7027 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7028
7e6424e3
AK
70292014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7030
7031 [BZ #16447]
7032 * math/auto-libm-test-in: Add testcase for expl.
7033 * math/auto-libm-test-out: Regenerate.
7034 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7035 calculation of unsafe.
7036 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7037
75eff3fe
MS
70382014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7039
7040 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7041 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7042 ports/sysdeps/unix/sysv/linux/aarch64.
7043 * README: Update listing for aarch64*-*-linux-gnu.
7044
d35f1e80
WN
70452014-02-11 Will Newton <will.newton@linaro.org>
7046
7047 * manual/probes.texi (Mathematical Function Probes): Use
7048 "triggered" instead of "hit".
7049
7b3436d4
WN
7050 * manual/probes.texi (Internal Probes): Add documentation
7051 of setjmp, longjmp and longjmp_target probes.
7052
b4f12ca3
WN
7053 * include/stap-probe.h: Add comment about probe argument
7054 format.
7055
c13a72b7
WN
7056 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7057 definition. (tr_where, tr_freehook, tr_mallochook,
7058 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7059
195b8165
DM
70602014-02-11 David S. Miller <davem@davemloft.net>
7061
7062 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7063 processing int_tests.
7064
2ad7600b
JM
70652014-02-10 Joseph Myers <joseph@codesourcery.com>
7066
7067 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7068 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7069 * sysdeps/unix/sysv/linux/mips: Move directory from
7070 ports/sysdeps/unix/sysv/linux/mips.
7071 * README: Update listing for mips-*-linux-gnu and
7072 mips64-*-linux-gnu.
7073
73588a72
AS
70742014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7075
7076 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7077 * sysdeps/unix/sysv/linux/m68k: Move directory from
7078 ports/sysdeps/unix/sysv/linux/m68k.
7079 * README: Update listing for m68k-*-linux-gnu.
7080
4372980f
CM
70812014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7082
7083 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7084 * sysdeps/unix/sysv/linux/generic: Move directory from
7085 ports/sysdeps/unix/sysv/linux/generic.
7086 * sysdeps/unix/sysv/linux/tile: Move directory from
7087 ports/sysdeps/unix/sysv/linux/tile.
7088 * README: Update listing for tile*-*-linux-gnu.
7089
a1ffb40e
OB
70902014-02-10 Ondřej Bílka <neleai@seznam.cz>
7091
57f41c40
AS
7092 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7093 __builtin_expect.
a1ffb40e
OB
7094 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7095 * catgets/open_catalog.c (__open_catalog): Likewise.
7096 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7097 * debug/confstr_chk.c: Likewise.
7098 * debug/fread_chk.c (__fread_chk): Likewise.
7099 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7100 * debug/getgroups_chk.c: Likewise.
7101 * debug/mbsnrtowcs_chk.c: Likewise.
7102 * debug/mbsrtowcs_chk.c: Likewise.
7103 * debug/mbstowcs_chk.c: Likewise.
7104 * debug/memcpy_chk.c: Likewise.
7105 * debug/memmove_chk.c: Likewise.
7106 * debug/mempcpy_chk.c: Likewise.
7107 * debug/memset_chk.c: Likewise.
7108 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7109 * debug/strcat_chk.c (__strcat_chk): Likewise.
7110 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7111 * debug/strncat_chk.c (__strncat_chk): Likewise.
7112 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7113 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7114 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7115 * debug/wcpncpy_chk.c: Likewise.
7116 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7117 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7118 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7119 * debug/wcsncpy_chk.c: Likewise.
7120 * debug/wcsnrtombs_chk.c: Likewise.
7121 * debug/wcsrtombs_chk.c: Likewise.
7122 * debug/wcstombs_chk.c: Likewise.
7123 * debug/wmemcpy_chk.c: Likewise.
7124 * debug/wmemmove_chk.c: Likewise.
7125 * debug/wmempcpy_chk.c: Likewise.
7126 * debug/wmemset_chk.c: Likewise.
7127 * dirent/scandirat.c (SCANDIRAT): Likewise.
7128 * dlfcn/dladdr1.c (dladdr1): Likewise.
7129 * dlfcn/dladdr.c (dladdr): Likewise.
7130 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7131 * dlfcn/dlerror.c (__dlerror): Likewise.
7132 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7133 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7134 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7135 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7136 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7137 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7138 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7139 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7140 Likewise.
7141 * elf/dl-conflict.c: Likewise.
7142 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7143 * elf/dl-dst.h: Likewise.
7144 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7145 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7146 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7147 * elf/dl-init.c (call_init, _dl_init): Likewise.
7148 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7149 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7150 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7151 Likewise.
a1ffb40e
OB
7152 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7153 Likewise.
7154 * elf/dl-minimal.c (__libc_memalign): Likewise.
7155 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7156 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7157 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7158 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7159 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7160 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7161 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7162 * elf/dl-writev.h (_dl_writev): Likewise.
7163 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7164 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7165 (dl_main): Likewise.
a1ffb40e
OB
7166 * elf/setup-vdso.h (setup_vdso): Likewise.
7167 * grp/compat-initgroups.c (compat_call): Likewise.
7168 * grp/fgetgrent.c (fgetgrent): Likewise.
7169 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7170 * grp/putgrent.c (putgrent): Likewise.
7171 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7172 Likewise.
7173 * hurd/hurdinit.c: Likewise.
7174 * iconvdata/8bit-gap.c (struct): Likewise.
7175 * iconvdata/ansi_x3.110.c : Likewise.
7176 * iconvdata/big5.c : Likewise.
7177 * iconvdata/big5hkscs.c : Likewise.
7178 * iconvdata/cp1255.c: Likewise.
7179 * iconvdata/cp1258.c : Likewise.
7180 * iconvdata/cp932.c : Likewise.
7181 * iconvdata/euc-cn.c: Likewise.
7182 * iconvdata/euc-jisx0213.c : Likewise.
7183 * iconvdata/euc-jp.c: Likewise.
7184 * iconvdata/euc-jp-ms.c : Likewise.
7185 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7186 * iconvdata/gb18030.c : Likewise.
7187 * iconvdata/gbbig5.c (const): Likewise.
7188 * iconvdata/gbgbk.c: Likewise.
7189 * iconvdata/gbk.c : Likewise.
7190 * iconvdata/ibm1364.c : Likewise.
7191 * iconvdata/ibm930.c : Likewise.
7192 * iconvdata/ibm932.c: Likewise.
7193 * iconvdata/ibm933.c : Likewise.
7194 * iconvdata/ibm935.c : Likewise.
7195 * iconvdata/ibm937.c : Likewise.
7196 * iconvdata/ibm939.c : Likewise.
7197 * iconvdata/ibm943.c: Likewise.
7198 * iconvdata/iso_11548-1.c: Likewise.
7199 * iconvdata/iso-2022-cn.c : Likewise.
7200 * iconvdata/iso-2022-cn-ext.c : Likewise.
7201 * iconvdata/iso-2022-jp-3.c: Likewise.
7202 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7203 * iconvdata/iso-2022-kr.c : Likewise.
7204 * iconvdata/iso646.c (gconv_end): Likewise.
7205 * iconvdata/iso_6937-2.c : Likewise.
7206 * iconvdata/iso_6937.c : Likewise.
7207 * iconvdata/iso8859-1.c: Likewise.
7208 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7209 * iconvdata/shift_jisx0213.c : Likewise.
7210 * iconvdata/sjis.c : Likewise.
7211 * iconvdata/t.61.c : Likewise.
7212 * iconvdata/tcvn5712-1.c : Likewise.
7213 * iconvdata/tscii.c: Likewise.
7214 * iconvdata/uhc.c : Likewise.
7215 * iconvdata/unicode.c (gconv_end): Likewise.
7216 * iconvdata/utf-16.c (gconv_end): Likewise.
7217 * iconvdata/utf-32.c (gconv_end): Likewise.
7218 * iconvdata/utf-7.c (base64): Likewise.
7219 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7220 * iconv/gconv_close.c (__gconv_close): Likewise.
7221 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7222 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7223 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7224 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7225 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7226 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7227 * iconv/iconv.c (iconv): Likewise.
7228 * iconv/iconv_close.c: Likewise.
7229 * iconv/loop.c (SINGLE): Likewise.
7230 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7231 * include/atomic.h: Likewise.
7232 * inet/inet6_option.c (option_alloc): Likewise.
7233 * intl/bindtextdom.c (set_binding_values): Likewise.
7234 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7235 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7236 * intl/localealias.c (read_alias_file): Likewise.
7237 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7238 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7239 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7240 * libio/fmemopen.c (fmemopen): Likewise.
7241 * libio/iofgets.c (_IO_fgets): Likewise.
7242 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7243 * libio/iofgetws.c (fgetws): Likewise.
7244 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7245 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7246 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7247 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7248 * locale/findlocale.c (_nl_find_locale): Likewise.
7249 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7250 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7251 Likewise.
7252 * locale/setlocale.c (setlocale): Likewise.
7253 * login/programs/pt_chown.c (main): Likewise.
7254 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7255 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7256 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7257 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7258 * math/e_exp2l.c: Likewise.
7259 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7260 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7261 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7262 * math/s_catan.c (__catan): Likewise.
7263 * math/s_catanf.c (__catanf): Likewise.
7264 * math/s_catanh.c (__catanh): Likewise.
7265 * math/s_catanhf.c (__catanhf): Likewise.
7266 * math/s_catanhl.c (__catanhl): Likewise.
7267 * math/s_catanl.c (__catanl): Likewise.
7268 * math/s_ccosh.c (__ccosh): Likewise.
7269 * math/s_ccoshf.c (__ccoshf): Likewise.
7270 * math/s_ccoshl.c (__ccoshl): Likewise.
7271 * math/s_cexp.c (__cexp): Likewise.
7272 * math/s_cexpf.c (__cexpf): Likewise.
7273 * math/s_cexpl.c (__cexpl): Likewise.
7274 * math/s_clog10.c (__clog10): Likewise.
7275 * math/s_clog10f.c (__clog10f): Likewise.
7276 * math/s_clog10l.c (__clog10l): Likewise.
7277 * math/s_clog.c (__clog): Likewise.
7278 * math/s_clogf.c (__clogf): Likewise.
7279 * math/s_clogl.c (__clogl): Likewise.
7280 * math/s_csin.c (__csin): Likewise.
7281 * math/s_csinf.c (__csinf): Likewise.
7282 * math/s_csinh.c (__csinh): Likewise.
7283 * math/s_csinhf.c (__csinhf): Likewise.
7284 * math/s_csinhl.c (__csinhl): Likewise.
7285 * math/s_csinl.c (__csinl): Likewise.
7286 * math/s_csqrt.c (__csqrt): Likewise.
7287 * math/s_csqrtf.c (__csqrtf): Likewise.
7288 * math/s_csqrtl.c (__csqrtl): Likewise.
7289 * math/s_ctan.c (__ctan): Likewise.
7290 * math/s_ctanf.c (__ctanf): Likewise.
7291 * math/s_ctanh.c (__ctanh): Likewise.
7292 * math/s_ctanhf.c (__ctanhf): Likewise.
7293 * math/s_ctanhl.c (__ctanhl): Likewise.
7294 * math/s_ctanl.c (__ctanl): Likewise.
7295 * math/w_pow.c: Likewise.
7296 * math/w_powf.c: Likewise.
7297 * math/w_powl.c: Likewise.
7298 * math/w_scalb.c (sysv_scalb): Likewise.
7299 * math/w_scalbf.c (sysv_scalbf): Likewise.
7300 * math/w_scalbl.c (sysv_scalbl): Likewise.
7301 * misc/error.c (error_tail): Likewise.
7302 * misc/pselect.c (__pselect): Likewise.
7303 * nis/nis_callback.c (__nis_create_callback): Likewise.
7304 * nis/nis_call.c (__nisfind_server): Likewise.
7305 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7306 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7307 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7308 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7309 * nis/nis_lookup.c (nis_lookup): Likewise.
7310 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7311 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7312 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7313 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7314 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7315 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7316 * nis/nss_compat/compat-initgroups.c (add_group)
7317 (internal_getgrent_r): Likewise.
7318 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7319 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7320 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7321 (internal_getspnam_r): Likewise.
7322 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7323 (_nss_nis_getaliasbyname_r): Likewise.
7324 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7325 (_nss_nis_getntohost_r): Likewise.
7326 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7327 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7328 (_nss_nis_getgrgid_r): Likewise.
7329 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7330 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7331 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7332 (_nss_nis_gethostbyname4_r): Likewise.
7333 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7334 (initgroups_netid): Likewise.
a1ffb40e 7335 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7336 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7337 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7338 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7339 (_nss_nis_getprotobynumber_r): Likewise.
7340 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7341 (_nss_nis_getsecretkey): Likewise.
7342 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7343 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7344 (_nss_nis_getpwuid_r): Likewise.
7345 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7346 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7347 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7348 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7349 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7350 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7351 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7352 Likewise.
57f41c40
AS
7353 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7354 (_nss_nisplus_getntohost_r): Likewise.
7355 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7356 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7357 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7358 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7359 Likewise.
57f41c40
AS
7360 * nis/nss_nisplus/nisplus-initgroups.c
7361 (_nss_nisplus_initgroups_dyn): Likewise.
7362 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7363 (_nss_nisplus_getnetbyaddr_r): Likewise.
7364 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7365 (_nss_nisplus_getprotobynumber_r): Likewise.
7366 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7367 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7368 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7369 Likewise.
57f41c40
AS
7370 * nis/nss_nisplus/nisplus-service.c
7371 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7372 (_nss_nisplus_getservbyport_r): Likewise.
7373 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7374 (_nss_nisplus_getspnam_r): Likewise.
7375 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7376 Likewise.
a1ffb40e
OB
7377 * nscd/aicache.c (addhstaiX): Likewise.
7378 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7379 * nscd/connections.c (register_traced_file, send_ro_fd)
7380 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7381 (main_loop_epoll): Likewise.
a1ffb40e
OB
7382 * nscd/grpcache.c (addgrbyX): Likewise.
7383 * nscd/hstcache.c (addhstbyX): Likewise.
7384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7385 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7386 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7387 (addinnetgrX): Likewise.
7388 * nscd/nscd-client.h (__nscd_acquire_maplock)
7389 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7390 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7391 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7392 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7393 Likewise.
7394 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7395 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7396 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7397 (__nscd_get_map_ref): Likewise.
a1ffb40e 7398 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7399 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7400 Likewise.
a1ffb40e
OB
7401 * nscd/pwdcache.c (addpwbyX): Likewise.
7402 * nscd/selinux.c (preserve_capabilities): Likewise.
7403 * nscd/servicescache.c (addservbyX): Likewise.
7404 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7405 * posix/fnmatch.c (fnmatch): Likewise.
7406 * posix/getopt.c (_getopt_internal_r): Likewise.
7407 * posix/glob.c (glob, glob_in_dir): Likewise.
7408 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7409 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7410 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7411 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7412 * resolv/res_init.c: Likewise.
7413 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7414 * resolv/res_query.c (__libc_res_nquery): Likewise.
7415 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7416 Likewise.
7417 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7418 * stdio-common/perror.c (perror): Likewise.
7419 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7420 * stdio-common/tmpnam.c (tmpnam): Likewise.
7421 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7422 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7423 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7424 Likewise.
a1ffb40e
OB
7425 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7426 * stdlib/putenv.c (putenv): Likewise.
7427 * stdlib/setenv.c (__add_to_environ): Likewise.
7428 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7429 * stdlib/strtol_l.c (INTERNAL): Likewise.
7430 * string/memmem.c (memmem): Likewise.
7431 * string/strerror.c (strerror): Likewise.
7432 * string/strnlen.c (__strnlen): Likewise.
7433 * string/test-memmem.c (simple_memmem): Likewise.
7434 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7435 * sunrpc/pm_getport.c (__get_socket): Likewise.
7436 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7437 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7438 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7439 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7440 Likewise.
7441 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7442 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7443 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7444 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7445 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7446 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7447 Likewise.
7448 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7449 Likewise.
a1ffb40e
OB
7450 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7451 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7452 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7453 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7454 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7456 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7457 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7458 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7459 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7460 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7461 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7462 Likewise.
7463 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7464 Likewise.
7465 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7466 Likewise.
7467 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7469 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7470 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7471 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7472 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7473 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7475 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7476 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7478 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7479 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7480 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7482 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7483 Likewise.
a1ffb40e
OB
7484 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7485 Likewise.
7486 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7487 Likewise.
7488 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7489 Likewise.
7490 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7492 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7493 Likewise.
7494 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7495 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7496 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7497 * sysdeps/posix/sleep.c: Likewise.
7498 * sysdeps/posix/tempname.c: Likewise.
7499 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7500 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7501 Likewise.
57f41c40
AS
7502 * sysdeps/powerpc/powerpc32/dl-machine.h
7503 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7504 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7505 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7506 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7507 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7508 Likewise.
7509 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7510 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7511 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7512 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7513 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7514 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7515 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7516 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7517 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7518 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7520 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7521 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7523 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7524 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7525 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7526 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7527 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7528 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7529 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7530 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7532 Likewise.
7533 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7534 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7535 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7536 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7537 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7538 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7539 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7540 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7541 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7542 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7543 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7544 Likewise.
7545 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7546 (__posix_fallocate64_l64): Likewise.
7547 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7548 (posix_fallocate): Likewise.
57f41c40
AS
7549 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7550 Likewise.
a1ffb40e 7551 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7552 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7553 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7554 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7555 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7556 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7557 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7558 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7559 (__posix_fallocate64_l64): Likewise.
7560 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7561 Likewise.
7562 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7563 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7564 (__get_clockfreq): Likewise.
a1ffb40e
OB
7565 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7566 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7567 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7570 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7571 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7572 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7573 Likewise.
7574 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7575 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7576 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7577 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7578 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7579 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7580 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7581 Likewise.
7582 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7583 (posix_fallocate): Likewise.
7584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7585 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7586 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7587 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7588 (elf_machine_rela, elf_machine_rela_relative)
7589 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7590 * time/asctime.c (asctime_internal): Likewise.
7591 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7592 * time/tzset.c (__tzset_parse_tz): Likewise.
7593 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7594 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7595 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7596 * wcsmbs/wcsmbsload.h: Likewise.
7597
f3d338c9
OB
7598 [BZ #15894]
7599 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7600
57f41c40
AS
7601 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7602 (arena_get2): Remove THREAD_STATS conditionals.
7603 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7604 (__malloc_stats, int): Likewise.
bdfe308a 7605
d674667c
MF
76062014-02-08 Mike Frysinger <vapier@gentoo.org>
7607
7608 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7609 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7610
6349768c
MF
7611 * manual/setjmp.texi: Fix typos/grammar errors.
7612
0b7c7473
MF
7613 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7614 Only return early when n is <= 0. Delete unused return statement.
7615
ac8cc9e3
MF
7616 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7617 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7618 * debug/tst-longjmp_chk3.c: New file.
7619
c5bb8e23
MF
7620 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7621 (test_main): Replace code with set_fortify_handler call.
7622 * debug/test-strcpy_chk.c: Likewise.
7623 * debug/tst-chk1.c: Likewise.
7624 * debug/tst-longjmp_chk.c: Likewise.
7625 * test-skeleton.c: Include fcntl.h & paths.h
7626 (set_fortify_handler): Define.
7627
10444e42
MF
7628 * debug/tst-longjmp_chk.c: Add header comment and include
7629 ../test-skeleton.c.
7630 (do_test): Mark static.
7631 (TEST_FUNCTION): Define.
7632
1e805e8d
MF
7633 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7634 (IP_PMTUDISC_INTERFACE): Likewise.
7635 (IP_MULTICAST_IF): Likewise.
7636 (IP_MULTICAST_TTL): Likewise.
7637 (IP_MULTICAST_LOOP): Likewise.
7638 (IP_ADD_MEMBERSHIP): Likewise.
7639 (IP_DROP_MEMBERSHIP): Likewise.
7640 (IP_UNBLOCK_SOURCE): Likewise.
7641 (IP_BLOCK_SOURCE): Likewise.
7642 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7643 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7644 (IP_MSFILTER): Likewise.
7645 (MCAST_JOIN_GROUP): Likewise.
7646 (MCAST_BLOCK_SOURCE): Likewise.
7647 (MCAST_UNBLOCK_SOURCE): Likewise.
7648 (MCAST_LEAVE_GROUP): Likewise.
7649 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7650 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7651 (MCAST_MSFILTER): Likewise.
7652 (IP_MULTICAST_ALL): Likewise.
7653 (IP_UNICAST_IF): Likewise.
7654
73f79bb7
MF
7655 * timezone/Makefile: Delete $(have-ksh) check.
7656 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7657 * timezone/tzselect.ksh: Add +x mode bits.
7658
8da79b60
MF
7659 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7660 (ANON_INODE_FS_MAGIC): Likewise.
7661 (BDEVFS_MAGIC): Likewise.
7662 (BINFMTFS_MAGIC): Likewise.
7663 (BTRFS_TEST_MAGIC): Likewise.
7664 (CRAMFS_MAGIC_WEND): Likewise.
7665 (DEBUGFS_MAGIC): Likewise.
7666 (ECRYPTFS_SUPER_MAGIC): Likewise.
7667 (EXT3_SUPER_MAGIC): Likewise.
7668 (EXT4_SUPER_MAGIC): Likewise.
7669 (FUTEXFS_SUPER_MAGIC): Likewise.
7670 (HOSTFS_SUPER_MAGIC): Likewise.
7671 (HUGETLBFS_MAGIC): Likewise.
7672 (MINIX3_SUPER_MAGIC): Likewise.
7673 (MTD_INODE_FS_MAGIC): Likewise.
7674 (NILFS_SUPER_MAGIC): Likewise.
7675 (OPENPROM_SUPER_MAGIC): Likewise.
7676 (PIPEFS_MAGIC): Likewise.
7677 (PSTOREFS_MAGIC): Likewise.
7678 (QNX6_SUPER_MAGIC): Likewise.
7679 (RAMFS_MAGIC): Likewise.
7680 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7681 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7682 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7683 (SECURITYFS_MAGIC): Likewise.
7684 (SELINUX_MAGIC): Likewise.
7685 (SMACK_MAGIC): Likewise.
7686 (SOCKFS_MAGIC): Likewise.
7687 (SQUASHFS_MAGIC): Likewise.
7688 (STACK_END_MAGIC): Likewise.
7689 (TMPFS_MAGIC): Likewise.
7690 (USBDEVICE_SUPER_MAGIC): Likewise.
7691 (V9FS_MAGIC): Likewise.
7692 (XENFS_SUPER_MAGIC): Likewise.
7693 (CRAMFS_MAGIC): Fix typo in comment.
7694 (EXT2_SUPER_MAGIC): Update comment.
7695 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7696
464263cc
JM
76972014-02-08 Joseph Myers <joseph@codesourcery.com>
7698
c6bfe5c4
JM
7699 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7700 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7701 * sysdeps/unix/sysv/linux/arm: Move directory from
7702 ports/sysdeps/unix/sysv/linux/arm.
7703 * README: Update listing for arm-*-linux-gnueabi.
7704
464263cc
JM
7705 * README: Remove mention of am33.
7706
32749f6c
RM
77072014-02-07 Roland McGrath <roland@hack.frob.com>
7708
7709 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7710 than the comma operator, to avoid "rhs of comma has no effect"
7711 compiler warnings.
7712 (__sigfillset, __sigandset, __sigorset): Likewise.
7713 * include/signal.h (__sigemptyset): Likewise.
7714 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7715
d5b396c1
AM
77162014-02-07 Allan McRae <allan@archlinux.org>
7717
7718 * version.h (RELEASE): Set to "development".
7719 (VERSION): Set to "2.19.90"
7720 * NEWS: Add 2.20 section.
7721
3bfff2ed
CD
77222014-02-06 Carlos O'Donell <carlos@redhat.com>
7723
7724 [BZ #16529]
7725 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7726
ee7cc385
SP
77272014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7728
7729 * manual/contrib.texi: Update entry for Carlos O'Donell,
7730 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7731
f877c4f2
CD
77322014-02-05 Carlos O'Donell <carlos@rehdat.com>
7733
27e839f6
CD
7734 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7735
f877c4f2
CD
7736 * sysdeps/unix/sysv/linux/kernel-features.h
7737 [__LINUX_KERNEL_VERSION >= 0x020621]
7738 (__ASSUME_PROC_PID_TASK_COMM): Define.
7739
68159946
SP
77402014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7741
ba17cdbd
SP
7742 [BZ #16398]
7743 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7744 conversion when destination buffer does not have enough space.
7745 * libio/tst-ftell-partial-wide.c: New test case.
7746 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7747
68159946
SP
7748 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7749 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7750 Leonard and Allan McRae.
7751
2b528732
DM
77522014-02-04 David S. Miller <davem@davemloft.net>
7753
7754 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7755 32-bit.
7756
0ff82463
AZ
77572014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7758
57f41c40
AS
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7760 New file
c01603f7
AZ
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7762 New file
57f41c40
AS
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7764 New file.
7765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7766 New file.
c01603f7
AZ
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7768 New file.
57f41c40
AS
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7770 New file.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7772 New file.
c01603f7
AZ
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7774 New file.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7776 New file.
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7778 New file.
7779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7780 New file.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7782 New file.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7784 New file.
7785
77862014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7787
0ff82463
AZ
7788 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7789 * shlib-versions: Likewise.
7790
1695c773
AZ
77912014-02-04 Roland McGrath <roland@hack.frob.com>
7792 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7793
7794 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7795 (abilist-pattern): New variable, set to %-le.abilist.
7796
7797 * Makerules (abilist-pattern): New variable.
7798 (vpath): Use $(abilist-pattern) in place of %.abilist.
7799 (check-abi-% pattern rule): Likewise.
7800 (check-abi, update-abi): Likewise.
7801
6c0ce4b4
EW
78022014-02-04 Eric Wong <normalperson@yhbt.net>
7803
7804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7805
481e3524
CD
78062014-02-03 Carlos O'Donell <carlos@redhat.com>
7807
7808 * manual/startup.texi: Add next, previous, and top entries for
7809 the `Program Arguments' and `Environment Variables' nodes.
7810
375592d3
AO
78112014-02-03 Alexandre Oliva <aoliva@redhat.com>
7812
7813 * manual/macros.texi: Add comments before MTASC-safety macros.
7814
f54838ba
AO
7815 * manual/users.texi: Document MTASC-safety properties.
7816
57f41c40
AS
7817 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7818 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7819 @deftypefun, and add @safety note.
7820 * manual/signal.texi: Move comments that analyze the above
7821 functions to their home place.
7822
fd3daba4
AM
78232014-02-03 Allan McRae <allan@archlinux.org>
7824
7825 * po/sl.po: Update Slovenian translation from translation project.
7826
597636d7
AO
78272014-02-02 Alexandre Oliva <aoliva@redhat.com>
7828
7829 * manual/time.texi (timegm): Add missing blank after @c.
7830 Reported by Joseph Myers <joseph@codesourcery.com>.
7831
ee196e3c
AO
78322014-02-01 Alexandre Oliva <aoliva@redhat.com>
7833
7834 * manual/check-safety.sh: New.
7835 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7836
f8d529d5
AO
7837 * manual/terminal.texi: Document MTASC-safety properties.
7838
de55fdf4
AO
7839 * manual/filesys.texi: Document MTASC-safety properties.
7840
c3299c08
AO
7841 * manual/errno.texi: Document MTASC-safety properties.
7842
06e90b14
AO
7843 * manual/intro.texi: Document safety identifiers and
7844 conditionals.
7845
1acd4371
AO
7846 * manual/string.texi (wcstok): Fix prototype.
7847 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7848
23e5b8cb
AO
7849 * manual/time.texi: Document MTASC-safety properties.
7850
11087373
AO
7851 * manual/string.texi: Document MTASC-safety properties.
7852
5da2c93d
AO
7853 * manual/threads.texi: Document MTASC-safety properties.
7854
171e9210
AO
7855 * manual/stdio.texi: Document MTASC-safety properties.
7856
d9e02532
AO
7857 * manual/syslog.texi: Document MTASC-safety properties.
7858
6af8bab7
AO
7859 * manual/sysinfo.texi: Document MTASC-safety properties.
7860
663b02d7
AO
7861 * manual/startup.texi: Document MTASC-safety properties.
7862
973f180b
AO
7863 * manual/socket.texi: Document MTASC-safety properties.
7864
8f3c25c8
AO
7865 * manual/signal.texi: Document MTASC-safety properties.
7866
542210fb
AO
78672014-01-31 Alexandre Oliva <aoliva@redhat.com>
7868
7869 * manual/setjmp.texi: Document MTASC-safety properties.
7870
433c45a2
AO
7871 * manual/search.texi: Document MTASC-safety properties.
7872
c8ce789c
AO
7873 * manual/resource.texi: Document MTASC-safety properties.
7874
19f5d29c
AO
7875 * manual/process.texi: Document MTASC-safety properties.
7876
e2dfb7f4
AO
7877 * manual/platform.texi: Document MTASC-safety properties.
7878
8c1413f5
AO
7879 * manual/pipe.texi: Document MTASC-safety properties.
7880
03483ada
AO
7881 * manual/pattern.texi: Document MTASC-safety properties.
7882
29e7e2df
AO
7883 * manual/message.texi: Document MTASC-safety properties.
7884
9f529d7c
AO
7885 [BZ #12751]
7886 * manual/memory.texi: Document MTASC-safety properties.
7887
27aaa791
AO
7888 * manual/math.texi: Document MTASC-safety properties.
7889
f2d58726
AO
7890 * manual/locale.texi: Document MTASC-safety properties.
7891
2cc3615c
AO
7892 * manual/llio.texi: Document MTASC-safety properties.
7893
d9f0ec97
AO
7894 * manual/libdl.texi: New.
7895
e7c4409a
AO
7896 * manual/lang.texi: Document MTASC-safety properties.
7897
27bdc63c
AO
7898 * manual/job.texi: Document MTASC-safety properties.
7899
a7b90ea9
AO
7900 * manual/getopt.texi: Document MTASC-safety properties.
7901
c49130e3
AO
7902 * manual/ctype.texi: Document MTASC-safety properties.
7903
0d23a5c1
MR
79042014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7905
7906 [BZ #16046]
7907 * csu/libc-tls.c (static_map): Remove variable.
7908 (__libc_setup_tls): Use main executable's link map for TLS data.
7909 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7910 casing for LM_ID_BASE and GL(dl_nns).
7911 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7912 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7913 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7914 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7915 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7916 member.
7917 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7918 l_phnum members.
7919
0037bb60
AO
79202014-01-30 Alexandre Oliva <aoliva@redhat.com>
7921
7922 * manual/debug.texi: Document MTASC-safety properties.
7923
409e00bd
L
79242014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7925
7926 [BZ #16510]
7927 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7928 of __x86_64__ when disabling x87 inline functions.
7929
86e60666
AO
79302014-01-29 Alexandre Oliva <aoliva@redhat.com>
7931
7932 * manual/charset.texi: Document MTASC-safety properties.
7933
76167637
AO
7934 * manual/crypt.texi: Document MTASC-safety properties.
7935
e567f2a0
AO
7936 * manual/conf.texi: Document MTASC-safety properties.
7937
b719dafd
AO
7938 * manual/arith.texi: Document MTASC-safety properties.
7939
4a16c662
AO
7940 * manual/argp.texi: Document MTASC-safety properties.
7941
0a57b83e
AO
7942 * manual/macros.texi: Introduce macros to document multi
7943 thread, asynchronous signal and asynchronous cancellation
7944 safety properties.
7945 * manual/intro.texi: Introduce the properties themselves.
7946
feab2397
KK
79472014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7948
7949 * sysdeps/sh/sh4/Makefile: New file.
7950
1c0d11bc
AS
79512014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7952
7953 * math/gen-libm-test.pl ($srcdir): New variable.
7954 ($auto_input): Use it.
7955
af37a8a3
SP
79562014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7957
d7b00f98
SP
7958 [BZ #16506]
7959 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7960 access beyond array bounds when parsing netgroups file.
7961
af37a8a3
SP
7962 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7963 the old buffer before realloc.
7964
0c00f062
AM
79652014-01-27 Allan McRae <allan@archlinux.org>
7966
7967 * po/fr.po: Update French translation from translation project.
7968
7d69a1b0
KK
79692014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7970
7971 * sysdeps/sh/libm-test-ulps: Regenerate.
7972
6e697ff7
DM
79732014-01-24 David S. Miller <davem@davemloft.net>
7974
7975 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7976
9cadb35c
KK
79772014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7978
7979 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7980 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7981
5d41dadf
SP
79822013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7983
7984 [BZ #16474]
7985 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7986 string pointers after reallocation.
7987
0bad441c
KK
79882014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7989
7990 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7991 __SH4A__ instead of __SH_FPU_ANY__.
7992
7007c661
KK
79932014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7994
7995 * sysdeps/sh/fpu_control.h: New file.
7996 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7997 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7998 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7999 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8000 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8001 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8002 * sysdeps/sh/sys/ucontext.h: Remove.
8003 * sysdeps/sh/sys: Remove directory.
8004
0f0c35e4
AK
80052014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8006
8007 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8008 s390/sys/ucontext.h.
8009 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8010 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8011
4959e284
L
80122014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 [BZ #15605]
8015 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8016
d98720e0
AZ
80172014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8018
8019 [BZ#16431]
8020 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8021 Adjust the vDSO correctly for internal calls.
8022 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8023
91cbd0bc
AM
80242014-01-20 Allan McRae <allan@archlinux.org>
8025
8026 * po/ca.po: Update Catalan translation from translation project.
8027
7a02cfad
MF
80282014-01-16 Mike Frysinger <vapier@gentoo.org>
8029
8030 * sysdeps/s390/sotruss-lib.c: New file.
8031
736c304a
AZ
80322014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8033
8034 [BZ#16430]
6e077ee5 8035 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8036 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8037 local calls issues by not having a PLT stub required for IFUNC calls.
8038 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8039
94d0cea0
JM
80402014-01-16 Joseph Myers <joseph@codesourcery.com>
8041
8042 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8043 * math/test-fpucw-static.c: Likewise.
8044
980cb518
SP
80452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8046
8047 [BZ #16453]
8048 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8049
2393fc01
AZ
80502014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8051
8052 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8053 implementation for powerpc.
8054
d359bcc2
OB
80552014-01-15 Ondřej Bílka <neleai@seznam.cz>
8056
8057 [BZ #14782]
8058 * sysdeps/posix/system.c (__libc_system): Do not enable
8059 asynchronous cancellation.
8060
7beb48cb
AK
80612014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8062
8063 [BZ #16427]
8064 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8065 handling only for numbers special also in the IEEE case.
8066
c20d5bf5
AK
80672014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8068
8069 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8070
e83bd4ee
AM
80712014-01-11 Allan McRae <allan@archlinux.org>
8072
76d0ea69
AM
8073 * po/bg.po: Update Bulgarian translation from translation project.
8074
e83bd4ee
AM
8075 * po/de.po: Update German translation from translation project.
8076
bc2ba20a
RM
80772014-01-10 Roland McGrath <roland@hack.frob.com>
8078
8079 * sysdeps/generic/gcc-compat.h: New file.
8080
649ecea2
SP
80812014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8082
8083 * benchtests/asin-inputs: Correct slow inputs.
8084 * benchtests/acos-inputs: Likewise.
8085
1b19c006
AM
80862014-01-10 Allan McRae <allan@archlinux.org>
8087
a46dab08
AM
8088 * po:sv.po: Update Swedish translation from translation project.
8089
421df74a
AM
8090 * po/vi.po: Update Vietnamese translation from translation project.
8091
d61c51a7
AM
8092 * po/eo.po: Update Esperanto translation from translation project.
8093
0339a319
AM
8094 * po/cs.po: Update Czech translation from translation project.
8095
94ad3e99
AM
8096 * po/nl.po: Update Dutch translation from translation project.
8097
e349ca71
AM
8098 * po/pl.po: Update Polish translation from translation project.
8099
ddf930c1
AM
8100 * po/ru.po: Update Russian translation from translation project.
8101
1b19c006
AM
8102 * po/uk.po: Update Ukrainian translation from translation project.
8103
9f236c49
BM
81042014-01-08 Brooks Moses <bmoses@google.com>
8105
8106 * elf/dl-load.c: Fix comment typo.
8107
cd6701cf
CD
81082014-01-08 Carlos O'Donell <carlos@redhat.com>
8109
8110 * po/header.pot: Rename to...
8111 * po/pot.header: ... this.
8112 * po/Makefile: Use pot.header.
8113
66671c84
YK
81142014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8115 Maxim Kuvyrkov <maxim@kugelworks.com>
8116
8117 [BZ #16394]
cd6701cf
CD
8118 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8119 SRC and DEST against LEN.
66671c84 8120
38f34581
AZ
81212014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8122
8123 [BZ #16414]
8124 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8125 implementation.
8126 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8127
81282014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8129
8130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8131
4c327f2a
JM
81322014-01-08 Joseph Myers <joseph@codesourcery.com>
8133
8134 [BZ #16408]
8135 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8136 for large positive arguments.
8137
b821f414
JM
81382014-01-07 Joseph Myers <joseph@codesourcery.com>
8139
1f0f2067
JM
8140 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8141
a5a326f6
JM
8142 * math/auto-libm-test-in: Mark various tests with
8143 xfail-rounding:ldbl-128ibm.
8144 * math/auto-libm-test-out: Regenerated.
8145
b821f414
JM
8146 [BZ #16407]
8147 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8148 Increase overflow threshold.
8149
94c8a4bc
OB
81502014-01-07 Ondřej Bílka <neleai@seznam.cz>
8151
8152 [BZ #14286]
8153 * stdio-common/vfprintf.c: Check for integer overflow.
8154
87ded0c3
AK
81552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8156
8157 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8158 the first argument and return value of __tls_get_addr_internal.
8159
c5eebdd0
AK
81602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8161
8162 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8163 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8164
05d138ef
AK
81652014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8166
8167 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8168 * sysdeps/s390/rtld-global-offsets.sym: New file.
8169 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8170 GLIBC_2.19 symbol.
8171 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8172 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8173 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8174 ... this.
8175 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8176 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8177 ... this.
8178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8179 Regenerate.
8180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8181 Regenerate.
8182 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8183 halfs of GPRs for high_gprs contexts.
8184 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8185 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8186 field.
8187 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8188 uc_flags field.
8189 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8190 64 bit versions:
8191 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8192 for high GPRs (uc_high_gprs) and for future extensions
8193 (__reserved).
8194 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8195 for future extensions (__reserved).
8196 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8197 64 bit versions:
8198 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8199 SC_HIGHGPRS offset definition.
8200 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8201 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8202
93a45ff1
AK
8203 * Versions.def: Add GLIBC_2.19 for libpthread.
8204 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8205 siglongjmp for libpthread with GLIBC_2.19 symver.
8206 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8207 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8208 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8209 * sysdeps/s390/__longjmp.c: New file.
8210 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8211 * sysdeps/s390/longjmp.c: New file.
8212 * sysdeps/s390/setjmp.S: New file.
8213 * sysdeps/s390/sigjmp.S: New file.
8214 * sysdeps/s390/v1-longjmp.c: New file.
8215 * sysdeps/s390/v1-setjmp.h: New file.
8216 * sysdeps/s390/v1-sigjmp.c: New file.
8217 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8218 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8219 GLIBC_2.19 version.
8220 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8221 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8222 versioned symbols for ____longjmp_chk.
8223 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8224 Likewise.
8225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8226 Regenerate.
8227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8228 Regenerate.
8229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8230 Regenerate.
8231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8232 Regenerate.
8233 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8234 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8235 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8236 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8237 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8238 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8239 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8240 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8241 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8242 * sysdeps/s390/rtld-__longjmp.c: New file.
8243 * sysdeps/s390/rtld-setjmp.S: New file.
8244
eb3fc44b
JM
82452014-01-06 Joseph Myers <joseph@codesourcery.com>
8246
8247 [BZ #16400]
8248 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8249 Return -__logl (x) for small positive arguments without evaluating
8250 a polynomial.
8251
9341dde4
MF
82522014-01-06 Mike Frysinger <vapier@gentoo.org>
8253
8254 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8255 Rename to ...
8256 (__ptrace_peeksiginfo_args): ... this.
8257 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8259 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8260
4cff0293
AM
82612014-01-06 Allan McRae <allan@archlinux.org>
8262
8263 * inet/netinet/in.h: Fix typo in comment.
8264
75595dcf
AJ
82652014-01-05 Andreas Jaeger <aj@suse.de>
8266
8267 * sysdeps/i386/fpu/libm-test-ulps: Update.
8268
79c1e109
AM
82692014-01-05 Allan McRae <allan@archlinux.org>
8270
dd804818
AM
8271 * po/libc.pot: Regenerated.
8272
79c1e109
AM
8273 * malloc/memusagestat.c: Fix gettext call formatting.
8274
0c813d1f
SK
82752014-01-04 Sami Kerola <kerolasa@iki.fi>
8276
8277 * nscd/nscd.c: Improve usage() output.
8278
20f4a8d9
MF
82792014-01-04 Mike Frysinger <vapier@gentoo.org>
8280
8281 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8282 * sysdeps/unix/sysv/linux/configure: Regenerated.
8283 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8284 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8285
22562bb2
JM
82862014-01-03 Joseph Myers <joseph@codesourcery.com>
8287
8288 [BZ #16390]
8289 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8290 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8291
d7ad2d9b
AZ
82922014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8293
8294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8295 extra tokens at end of #undef directive.
8296 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8297 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8298 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8299
7dd009d8
JM
83002014-01-03 Joseph Myers <joseph@codesourcery.com>
8301
24db925a
JM
8302 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8303
7dd009d8
JM
8304 * math/auto-libm-test-in: Mark various tests with
8305 xfail-rounding:ldbl-128ibm.
8306 * math/auto-libm-test-out: Regenerated.
8307
396e3ecf
JM
83082014-01-02 Joseph Myers <joseph@codesourcery.com>
8309
819e5d50
JM
8310 [BZ #16386]
8311 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8312 numbers with subnormal high part when calculating exponent.
8313
90b6a1e5
JM
8314 [BZ #16385]
8315 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8316 fabs.
8317
396e3ecf
JM
8318 [BZ #16384]
8319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8320 M_LN2l.
8321 (__ieee754_acoshl): Use __log1pl not __log1p.
8322
6c8dbf00
OB
83232013-01-02 Ondřej Bílka <neleai@seznam.cz>
8324
57f41c40
AS
8325 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8326 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8327 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8328 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8329 (reused_arena, arena_get2): Convert to GNU style.
8330 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8331 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8332 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8333 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8334 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8335 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8336 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8337 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8338 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8339 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8340 * malloc/malloc.h: Likewise.
57f41c40
AS
8341 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8342 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8343 * malloc/mcheck.h: Likewise.
57f41c40
AS
8344 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8345 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8346 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8347 * malloc/morecore.c (__default_morecore): Likewise.
8348 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8349 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8350 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8351 (print_and_abort): Likewise.
6c8dbf00
OB
8352 * malloc/obstack.h: Likewise.
8353 * malloc/set-freeres.c (__libc_freeres): Likewise.
8354 * malloc/tst-mallocstate.c (main): Likewise.
8355 * malloc/tst-mtrace.c (main): Likewise.
8356 * malloc/tst-realloc.c (do_test): Likewise.
8357
d4124212
SP
83582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8359
9a3c6a6f
SP
8360 [BZ #16366]
8361 * nscd/netgroupcache.c (do_notfound): New function.
8362 (addgetnetgrentX): Use it.
8363
d4124212
SP
8364 [BZ # 16365]
8365 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8366 NSS_STATUS_NOTFOUND.
8367
97b9a009
JM
83682014-01-01 Joseph Myers <joseph@codesourcery.com>
8369
8370 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8372
d4697bc9
AM
83732014-01-01 Allan McRae <allan@archlinux.org>
8374
ddb3687f
AM
8375 * scripts/update-copyrights: Update configure input file suffix.
8376
88726d48
AM
8377 * NEWS: Update copyright year.
8378 * catgets/gencat.c: Likewise.
8379 * csu/version.c: Likewise.
8380 * debug/catchsegv.sh: Likewise.
8381 * debug/pcprofiledump.c: Likewise.
8382 * debug/xtrace.sh: Likewise.
8383 * elf/ldconfig.c: Likewise.
8384 * elf/ldd.bash.in: Likewise.
8385 * elf/pldd.c: Likewise.
8386 * elf/sotruss.ksh: Likewise.
8387 * elf/sprof.c: Likewise.
8388 * iconv/iconv_prog.c: Likewise.
8389 * iconv/iconvconfig.c: Likewise.
8390 * locale/programs/locale.c: Likewise.
8391 * locale/programs/localedef.c: Likewise.
8392 * login/programs/pt_chown.c: Likewise.
8393 * malloc/memusage.sh: Likewise.
8394 * malloc/memusagestat.c: Likewise.
8395 * malloc/mtrace.pl: Likewise.
8396 * manual/libc.texinfo: Likewise.
8397 * nscd/nscd.c: Likewise.
8398 * nss/getent.c: Likewise.
8399 * nss/makedb.c: Likewise.
8400 * posix/getconf.c: Likewise.
8401 * scripts/test-installation.pl: Likewise.
8402
d4697bc9
AM
8403 * All files with FSF copyright notices: Update copyright dates
8404 using scripts/update-copyrights.
8405 * intl/plural.c: Regenerated.
8406 * locale/programs/charmap-kw.h: Likewise.
8407 * locale/programs/locfile-kw.h: Likewise.
8408
c8590f9d
MF
84092013-12-31 Mike Frysinger <vapier@gentoo.org>
8410
8411 * sysdeps/unix/sysv/linux/configure: Regenerated.
8412 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8413 the linux/fanotify.h header.
8414 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8415 HAVE_LINUX_FANOTIFY_H is defined.
8416
b19221b9
SP
84172013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8418
dd1d85e5
SP
8419 * benchtests/cos-inputs: New inputs.
8420 * benchtests/sin-inputs: Likewise.
8421
1acbb90f
SP
8422 * benchtests/atan-inputs: New inputs. Fix name of multiple
8423 precision fallback inputs.
8424
4c012ed3
SP
8425 * benchtests/atanh-inputs: New inputs.
8426 * benchtests/tanh-inputs: Likewise.
8427
eff98324
SP
8428 * benchtests/acosh-inputs: New inputs.
8429 * benchtests/asinh-inputs: Likewise.
8430
ce641152
SP
8431 * benchtests/cosh-inputs: New inputs.
8432 * benchtests/sinh-inputs: Likewise.
8433
b19221b9
SP
8434 * benchtests/acos-inputs: Add more inputs.
8435 * benchtests/asin-inputs: Likewise.
8436
030a4976 84372013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8438
030a4976 8439 [BZ #16375]
9dcc8f11
VS
8440 * manual/arith.texi: Fix spelling.
8441 * manual/charset.texi: Likewise.
8442 * manual/errno.texi: Likewise.
8443 * manual/filesys.texi: Likewise.
8444 * manual/lang.texi: Likewise.
8445 * manual/llio.texi: Likewise.
8446 * manual/locale.texi: Likewise.
8447 * manual/message.texi: Likewise.
8448 * manual/resource.texi: Likewise.
8449 * manual/search.texi: Likewise.
8450 * manual/setjmp.texi: Likewise.
8451 * manual/stdio.texi: Likewise.
8452 * manual/string.texi: Likewise.
8453 * manual/sysinfo.texi: Likewise.
8454 * manual/time.texi: Likewise.
8455
11520a57
CD
84562013-12-27 Carlos O'Donell <carlos@redhat.com>
8457
8458 * po/sl.po: New file.
8459
471103ae
MF
84602013-12-27 Mike Frysinger <vapier@gentoo.org>
8461
8462 * .gitignore: Add core/.gdbinit/.gdb_history.
8463
6c9642ed
AM
84642013-12-27 Allan McRae <allan@archlinux.org>
8465
8466 [BZ #16369]
8467 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8468 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8469
3f637079
BM
84702013-12-24 Brooks Moses <bmoses@google.com>
8471
8472 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8473 all compilers that claim C++98 compliance, not just GCC.
8474 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8475 Likewise.
8476
abc26e99
MK
84772013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8478
8479 * NEWS: Restore accidentally deleted bug-fix entries.
8480
362b47fe
MK
84812013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8482 Ondřej Bílka <neleai@seznam.cz>
8483
8484 [BZ #15073]
8485 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8486 have_lock.
362b47fe 8487
b9bcbbcb
OB
84882013-12-23 Ondřej Bílka <neleai@seznam.cz>
8489
8490 [BZ #12986]
8491 * manual/stdio.texi (String Input Conversions): Clarify that character
8492 classes are not supported.
8493
fb55fcd2
AZ
84942013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8495
8496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8497
ef7344f0
JM
84982013-12-22 Joseph Myers <joseph@codesourcery.com>
8499
4f40e4b3
JM
8500 [BZ #16337]
8501 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8502 Calculate results for small negative arguments directly rather
8503 than using reflection formula with special underflow handling.
8504
ef7344f0
JM
8505 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8506 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8507 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8508 (fchflags): Likewise.
8509 (revoke): Likewise.
8510 (setlogin): Likewise.
8511 (sigaltstack): Likewise.
8512 (wait4): Likewise.
8513 (sigblock): Remove.
8514 (sigsetmask): Likewise.
8515 (wait3): Likewise.
8516 (waitpid): Likewise.
8517 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8518 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8519 file.
8520 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8521 * sysdeps/unix/bsd/Makefile: ... here.
8522 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8523 * sysdeps/unix/bsd/Versions: ... here.
8524 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8525 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8526 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8527 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8528 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8529 * sysdeps/unix/bsd/sigblock.c: ... here.
8530 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8531 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8532 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8533 * sysdeps/unix/bsd/sigvec.c: ... here.
8534 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8535 * sysdeps/unix/bsd/tcdrain.c: ... here.
8536 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8537 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8538 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8539 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8540 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8541 * sysdeps/unix/bsd/wait.c: ... here.
8542 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8543 * sysdeps/unix/bsd/wait3.c: ... here.
8544 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8545 * sysdeps/unix/bsd/waitpid.c: ... here.
8546
5b0626b9
JM
85472013-12-21 Joseph Myers <joseph@codesourcery.com>
8548
8549 [BZ #16356]
8550 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8551 round-to-nearest for [!USE_AS_EXPM1L].
8552 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8553 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8554 more tests of exp and exp10. Expect some exp10 tests to miss
8555 exceptions or fail in directed rounding modes.
8556 * math/auto-libm-test-out: Regenerated.
8557 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8558 (exp10_test_tonearest): New function.
8559 (exp10_towardzero_test_data): New array.
8560 (exp10_test_towardzero): New function.
8561 (exp10_downward_test_data): New array.
8562 (exp10_test_downward): New function.
8563 (exp10_upward_test_data): New array.
8564 (exp10_test_upward): New function.
8565 (main): Call the new functions.
8566 * sysdeps/i386/fpu/libm-test-ulps: Update.
8567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8568
7fda5682
JM
85692013-12-20 Joseph Myers <joseph@codesourcery.com>
8570
31e3a405
JM
8571 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8572 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8573 * math/auto-libm-test-out: Regenerated.
8574 * math/libm-test.inc (acosh_test_data): Add more tests.
8575 (atanh_test_data): Likewise.
8576 (ceil_test_data): Likewise.
8577 (copysign_test_data): Likewise.
8578 * sysdeps/i386/fpu/libm-test-ulps: Update.
8579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8580
85bff96a
JM
8581 * timezone/checktab.awk: Update from tzcode 2013i.
8582 * timezone/private.h: Likewise.
8583 * timezone/scheck.c: Likewise.
8584 * timezone/tzfile.h: Likewise.
8585 * timezone/tzselect.ksh: Likewise.
8586 * timezone/zdump.c: Likewise.
8587 * timezone/zic.c: Likewise.
8588
b7867a3b
JM
8589 * math/auto-libm-test-in: Add tests of cpow.
8590 * math/auto-libm-test-out: Regenerated.
8591 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8592 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8593 mpc_cc_c.
8594 (func_calc_desc): Add mpc_cc_c union field.
8595 (test_functions): Add cpow.
8596 (special_fill_2pi): New function.
8597 (special_real_inputs): Add 2pi.
8598 (calc_generic_results): Handle mpc_cc_c.
8599 * sysdeps/i386/fpu/libm-test-ulps: Update.
8600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8601
7fda5682
JM
8602 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8603 csqrt, ctan and ctanh.
8604 * math/auto-libm-test-out: Regenerated.
8605 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8606 (TEST_COND_x86): Likewise.
8607 (ccos_test_data): Use AUTO_TESTS_c_c.
8608 (ccosh_test_data): Likewise.
8609 (cexp_test_data): Likewise.
8610 (clog_test_data): Likewise.
8611 (csqrt_test_data): Likewise.
8612 (ctan_test_data): Likewise.
8613 (ctan_tonearest_test_data): Likewise.
8614 (ctan_towardzero_test_data): Likewise.
8615 (ctan_downward_test_data): Likewise.
8616 (ctan_upward_test_data): Likewise.
8617 (ctanh_test_data): Likewise.
8618 (ctanh_tonearest_test_data): Likewise.
8619 (ctanh_towardzero_test_data): Likewise.
8620 (ctanh_downward_test_data): Likewise.
8621 (ctanh_upward_test_data): Likewise.
8622 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8623 mpc_c_c.
8624 (func_calc_desc): Add mpc_c_c union field.
8625 (FUNC_mpc_c_c): New macro.
8626 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8627 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8628 ctanh.
8629 (special_fill_min_subnorm_p120): New function.
8630 (special_real_inputs): Add min_subnorm_p120.
8631 (calc_generic_results): Handle mpc_c_c.
8632 * sysdeps/i386/fpu/libm-test-ulps: Update.
8633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8634
5ff8d60e
SP
86352013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8636
57f41c40
AS
8637 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8638 (do_sin_slow): New functions.
8639 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8640 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8641
84ba214c
SP
8642 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8643 Use M to change sign of result instead of X. Assume X is
8644 positive.
8645 (csloww1): Likewise.
8646 (__sin): Adjust.
8647 (__cos): Adjust.
8648
975195e4
SP
8649 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8650 arguments A and DA.
8651 (__sin): Adjust.
8652 (__cos): Likewise.
8653
5ff8d60e
SP
8654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8655 (__cos): Likewise.
8656 (sloww1): Don't adjust sign of DX.
8657 (csloww1): Likewise.
8658 (sloww2): Use X directly and don't adjust sign of DX.
8659 (csloww2): Likewise.
8660
eb983568
JM
86612013-12-19 Joseph Myers <joseph@codesourcery.com>
8662
64a17f1a
JM
8663 * math/auto-libm-test-in: Add tests of cabs and carg.
8664 * math/auto-libm-test-out: Regenerated.
8665 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8666 (carg_test_data): Likewise.
8667 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8668 mpc_c_f.
8669 (func_calc_desc): Add mpc_c_f union field.
8670 (test_functions): Add cabs and carg.
8671 (calc_generic_results): Handle mpc_c_f.
8672
eb983568
JM
8673 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8674 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8675 as a macro and a compat symbol.
8676 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8677 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8678 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8679 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8680 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8681 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8682 not use .hidden.
8683 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8684 Likewise.
8685 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8686 Likewise.
8687 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8688 Likewise.
8689 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8690 Likewise.
8691 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8692 Likewise.
8693 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8694 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8695 from GLIBC_2.3.2.
8696
6eeb678a
AZ
86972013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8698
8699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8700
6f6fc482
JM
87012013-12-19 Joseph Myers <joseph@codesourcery.com>
8702
21fea2e2
JM
8703 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8704 trailing whitespace removed.
8705 * scripts/config.guess: Update to version 2013-11-29.
8706 * scripts/config.sub: Update to version 2013-10-01.
8707
6f6fc482
JM
8708 * math/auto-libm-test-in: Add tests of sincos.
8709 * math/auto-libm-test-out: Regenerated.
8710 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8711 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8712 mpfr_f_11.
8713 (func_calc_desc): Add mpfr_f_11 union field.
8714 (test_functions): Add sincos.
8715 (calc_generic_results): Handle mpfr_f_11.
8716 * sysdeps/i386/fpu/libm-test-ulps: Update.
8717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8718
83f5c32d
AS
87192013-12-19 Andreas Schwab <schwab@suse.de>
8720
8721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8722 CALL_MCOUNT.
8723 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8725 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8726
c688b419
JM
87272013-12-19 Joseph Myers <joseph@codesourcery.com>
8728
335ee092
JM
8729 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8730 * sysdeps/i386/fpu/libm-test-ulps: Update.
8731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8732
f88acd39
JM
8733 [BZ #16293]
8734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8735 round-to-nearest mode when using frndint.
8736 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8737 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8738 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8739 Likewise.
8740 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8741 sinh test to fail.
8742 * math/auto-libm-test-out: Regenerated.
8743 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8744 (TEST_COND_x86): Likewise.
8745 (expm1_tonearest_test_data): New array.
8746 (expm1_test_tonearest): New function.
8747 (expm1_towardzero_test_data): New array.
8748 (expm1_test_towardzero): New function.
8749 (expm1_downward_test_data): New array.
8750 (expm1_test_downward): New function.
8751 (expm1_upward_test_data): New array.
8752 (expm1_test_upward): New function.
8753 (main): Run the new test functions.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756
c688b419
JM
8757 * include/features.h: Update comment documenting feature test
8758 macros. Mention _DEFAULT_SOURCE in comment.
8759 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8760 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8761 _BSD_SOURCE and _SVID_SOURCE.
8762 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8763 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8764 !_SVID_SOURCE]: Likewise.
8765 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8766 (__USE_POSIX_IMPLICITLY): Define.
8767 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8768 (_POSIX_SOURCE): Undefine and redefine.
8769 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8770 (_POSIX_C_SOURCE): Likewise.
8771 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8772 (Feature Test Macros): Update documentation of default features.
8773
9f6e964c
RS
87742013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8775
8776 * benchtests/Makefile: Add bench-strtok.
8777 * benchtests/bench-strtok.c: New file: strtok benchtest.
8778
ee0a148a
AM
87792013-12-19 Allan McRae <allan@archlinux.org>
8780
8781 * manual/install.texi: Suppress menu for plain text output.
8782 * INSTALL: Regenerated.
8783
b9ab448f
BM
87842013-12-18 Brooks Moses <bmoses@google.com>
8785
8786 [BZ #15846]
8787 * misc/getauxval.c: Include errno.h.
8788 (__getauxval): Set errno to ENOENT if the requested type is not
8789 found.
8790 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8791 don't declare with __attribute_const__.
8792 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8793 * manual/startup.texi: Document that getauxval sets errno.
8794
23776487
JM
87952013-12-18 Joseph Myers <joseph@codesourcery.com>
8796
f889953b
JM
8797 * math/auto-libm-test-in: Add tests of jn and yn.
8798 * math/auto-libm-test-out: Regenerated.
8799 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8800 (yn_test_data): Likewise.
8801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8802 mpfr_if_f.
8803 (func_calc_desc): Add mpfr_if_f union field.
8804 (FUNC_mpfr_if_f): New macro.
8805 (test_functions): Add jn and yn.
8806 (calc_generic_results): Assert type of second input for
8807 mpfr_ff_f. Handle mpfr_if_f.
8808 (output_for_one_input_case): Disable all checking for arguments
8809 fitting floating-point types in case of an integer argument.
8810 * sysdeps/i386/fpu/libm-test-ulps: Update.
8811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8812
23776487
JM
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8814 Don't expect fegetround reference in libm.so.
8815
cb756c6d
MS
88162013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8817
8818 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8819 $(config-cflags-nofma).
8820
2dec468f
JM
88212013-12-18 Joseph Myers <joseph@codesourcery.com>
8822
5953eb3a
JM
8823 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8824 * math/auto-libm-test-out: Regenerated.
8825
2dec468f
JM
8826 [BZ #16338]
8827 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8828 to determine exponent and adjust argument to have exponent of -1.
8829 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8830 log2.
8831 * math/auto-libm-test-out: Regenerated.
8832 * sysdeps/i386/fpu/libm-test-ulps: Update.
8833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8834
4d84e6ad
OB
88352013-12-18 Ondřej Bílka <neleai@seznam.cz>
8836
8837 * manual/probes.texi: Remove cases when per-thread arenas are
8838 disabled.
8839
1818483b
AS
88402013-12-18 Andreas Schwab <schwab@suse.de>
8841
8842 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8843 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8844 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8845 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8846 * sysdeps/i386/i686/multiarch/Makefile: Update.
8847 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8848
25de95bf
JM
88492013-12-17 Joseph Myers <joseph@codesourcery.com>
8850
8851 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8852 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8853
674762d9
PE
88542013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8855
ed27ed83 8856 [BZ #15968]
0748546f
PE
8857 Support TZ transition times < 00:00:00.
8858 This is needed for version-3 tz-format files; it supports time
8859 stamps past 2037 for America/Godthab (the only entry in the tz
8860 database for which this change is relevant).
8861 * manual/time.texi (TZ Variable): Document transition times
8862 from -167:59:59 through -00:00:01.
8863 * time/tzset.c (tz_rule): Time of day is now signed.
8864 (__tzset_parse_tz): Parse negative time of day.
8865
4480e934
PE
8866 Document TZ transition times >= 25:00:00.
8867 * manual/time.texi (TZ Variable): Document transition times from
8868 25:00:00 through 167:59:59. These are already supported, and this
8869 support will help with version-3 tz-format files.
8870
69947401
PE
8871 * manual/time.texi (TZ Variable): Modernize North America example
8872 to reflect current (i.e., 2007-and-later) daylight saving rules.
8873
674762d9
PE
8874 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8875
7011c262
JM
88762013-12-17 Joseph Myers <joseph@codesourcery.com>
8877
2fc6557e
JM
8878 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8879 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8882 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8883 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8884 * sysdeps/unix/bsd/clock.c: Likewise.
8885 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8886 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8887 * sysdeps/unix/bsd/init-posix.c: Likewise.
8888 * sysdeps/unix/bsd/poll.c: Likewise.
8889 * sysdeps/unix/bsd/ptsname.c: Likewise.
8890 * sysdeps/unix/bsd/seekdir.c: Likewise.
8891 * sysdeps/unix/bsd/setegid.c: Likewise.
8892 * sysdeps/unix/bsd/seteuid.c: Likewise.
8893 * sysdeps/unix/bsd/setgid.c: Likewise.
8894 * sysdeps/unix/bsd/setrgid.c: Likewise.
8895 * sysdeps/unix/bsd/setruid.c: Likewise.
8896 * sysdeps/unix/bsd/setsid.c: Likewise.
8897 * sysdeps/unix/bsd/setuid.c: Likewise.
8898 * sysdeps/unix/bsd/sigaction.c: Likewise.
8899 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8900 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8901 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8902 * sysdeps/unix/bsd/telldir.c: Likewise.
8903 * sysdeps/unix/bsd/times.c: Likewise.
8904 * sysdeps/unix/bsd/usleep.c: Likewise.
8905
029c7b25
JM
8906 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8907 ($(objpfx)libbsd-compat.a): Remove rule.
8908
7011c262
JM
8909 * include/features.h (__FAVOR_BSD): Do not define.
8910 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8911 features conflicting with POSIX.
8912 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8913 (_BSD_SOURCE): Remove description of not being a subset of other
8914 feature test macros.
8915 * manual/job.texi (getpgrp): Do not document BSD version.
8916 (getpgid): Do not document by reference to BSD getpgrp.
8917 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8918 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8919 * signal/signal.h [__FAVOR_BSD]: Likewise.
8920 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8921 instead of making contents conditional on [__FAVOR_BSD].
8922 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8923
affb6f78
AZ
89242013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8925
8926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8927
c88769dd
JM
89282013-12-17 Joseph Myers <joseph@codesourcery.com>
8929
6432a540
JM
8930 [BZ #16314]
8931 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8932 values below 2**-450, not 2**-500.
8933 * math/auto-libm-test-in: Don't allow spurious underflow from
8934 hypot.
8935 * math/auto-libm-test-out: Regenerated.
8936
c88769dd
JM
8937 [BZ #16316]
8938 [BZ #16330]
8939 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8940 values of ha and hb and sort them after adjusting subnormal
8941 arguments.
8942 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8943 Likewise.
8944 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8945 values of ea and eb and sort them after adjusting subnormal
8946 arguments.
8947 * math/auto-libm-test-in: Do not expect some hypot tests of
8948 subnormals to fail. Add more hypot tests.
8949 * math/auto-libm-test-out: Regenerated.
8950
29618f6b
KK
89512013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8952
8953 [BZ #13304]
8954 * sysdeps/sh/s_fma.c: New file.
8955 * sysdeps/sh/s_fmaf.c: New file.
8956 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8957 version.
8958 * sysdeps/sh/Implies: Add sh/soft-fp.
8959
eacfdfbf
RM
89602013-12-16 Roland McGrath <roland@hack.frob.com>
8961
8962 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8963 level of indirection to members `objname', `errstring', `malloced'.
8964 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8965 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8966 it as the __longjmp argument (just pass 1 instead).
8967 (_dl_catch_error): Initialize C with argument pointers and address of
8968 volatile local ERRCODE rather than copying values out of C at return.
8969
ff362e5b
JM
89702013-12-16 Joseph Myers <joseph@codesourcery.com>
8971
8972 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8973 * math/auto-libm-test-out: Regenerated.
8974 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8975 (hypot_test_data): Likewise.
8976 (pow_test_data): Likewise.
8977 (pow_tonearest_test_data): Likewise.
8978 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8979 mpfr_ff_f.
8980 (func_calc_desc): Add mpfr_ff_f union field.
8981 (FUNC_mpfr_ff_f): New macro.
8982 (test_functions): Add atan2, hypot and pow.
8983 (special_fill_min): New function.
8984 (special_fill_minus_min): Likewise.
8985 (special_fill_min_subnorm): Likewise.
8986 (special_fill_minus_min_subnorm): Likewise.
8987 (special_real_inputs): Add min, -min, min_subnorm and
8988 -min_subnorm.
8989 (calc_generic_results): Handle mpfr_ff_f.
8990 * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992
5764c27f
WN
89932013-12-16 Will Newton <will.newton@linaro.org>
8994
8995 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8996 (Aligned Memory Blocks): Add documentation for aligned_alloc
8997 and suggest it as an alternative to posix_memalign.
8998 (Hooks for Malloc): Document __memalign_hook is also called
8999 for aligned_alloc. (Summary of Malloc): Add summary for
9000 aligned alloc. Document __memalign_hook is also called
9001 for aligned_alloc.
9002
0a096e44
WN
90032013-12-16 Will Newton <will.newton@linaro.org>
9004
9005 * manual/memory.texi (Malloc Examples): Clarify default
9006 alignment documentation. Suggest posix_memalign rather
9007 than memalign or valloc.
9008 (Aligned Memory Blocks): Remove suggestion to use memalign
9009 or valloc. Remove obsolete comment about BSD.
9010 Document memalign errno values and mark the function obsolete.
9011 Document posix_memalign returned error codes. Mark valloc
9012 as obsolete. (Hooks for Malloc): __memalign_hook is also
9013 called for posix_memalign and valloc.
9014 (Summary of Malloc): Add posix_memalign to function summary.
9015 __memalign_hook is also called for posix_memalign and valloc.
9016
8d561986
SP
90172013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9018
9019 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9020 TAYLOR_SIN.
9021 (__sin): Adjust.
9022 (__cos): Likewise.
9023 (sloww): Use mynumber union. Expand ternary operator into
9024 if-else statements.
9025 (cslow): use mynumber union.
9026
73616a74
AM
90272013-12-16 Allan McRae <allan@archlinux.org>
9028
9e8ac24b
AM
9029 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9030 * configure: Regenerated.
9031
6f8e37eb
AM
9032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9033
8894bad3
AM
9034 [BZ #14120]
9035 * configure.ac: Added --enable-maintainer-mode. Check for
9036 autoconf when enabled.
9037 * configure: Regenerated.
9038
73616a74
AM
9039 * nscd/nscd.service: New file.
9040 * nscd/nscd.tmpfiles: New file.
9041
584b18eb
OB
90422013-12-14 Ondřej Bílka <neleai@seznam.cz>
9043
9044 [BZ #12100]
9045 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9046 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9047 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9048 (strstr): Add __strstr_sse2_unaligned ifunc.
9049 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9050 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9051 (strcasestr): Remove __strcasestr_sse42 ifunc.
9052 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9055
8a5c7897
KK
90562013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9057
9058 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9059 * sysdeps/sh/bits/fenv.h: ... here.
9060 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9061
fd712ef3
AZ
90622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9063
9064 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9065
42fcb46c
AZ
9066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9067 hypotf multiarch implementations.
9068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9070 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9071 multiarch hypot for PPC64.
9072 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9075 multiarch hypotf for PPC64.
9076
83efded4
AZ
9077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9078 modff multiarch implementations.
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9082 multiarch modf for PPC64.
9083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9086 multiarch modff for PPC64.
9087
43e246d2
AZ
9088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9089 and logl multiarch implementations.
9090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9093 multiarch logb for PPC64.
9094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9097 multiarch logb for PPC64.
9098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9101 multiarch logb for PPC64.
9102
8fdad123
AZ
9103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9104 isinff multiarch implementation.
9105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9106 file.
9107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9109 multiarch isinf for PPC64.
9110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9111 file.
9112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9113 multiarch isinff for PPC64.
9114
1481d706
AZ
9115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9116 finitef multiarch implementation.
9117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9118 file.
9119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9121 multiarch finite for PPC64.
9122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9123 file.
9124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9125 multiarch finitef for PPC64.
9126
5ccd5fc8
AZ
9127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9128 lrint multiarch implementation.
9129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9130 file.
9131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9133 multiarch llrint for PPC64.
9134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9135 multiarch lrint for PPC64.
9136
2568f3fa
AZ
9137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9138 copysignf multiarch implementation.
9139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9140 file.
9141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9142 file.
9143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9144 multiarch copysign for PPC64.
9145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9146 multiarch copysignf for PPC64.
9147
1cb341fd
AZ
9148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9149 multiarch implementation.
9150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9151 file.
9152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9153 file.
9154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9155 file.
9156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9157 file.
9158 multiarch llround for PPC64.
9159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9160 multiarch trunc for PPC64.
9161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9162 multiarch truncf for PPC64.
9163
59a3e194
AZ
9164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9165 multiarch implementation.
9166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9167 file.
9168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9169 file.
9170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9171 file.
9172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9173 file.
9174 multiarch llround for PPC64.
9175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9176 multiarch round for PPC64.
9177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9178 multiarch roundf for PPC64.
9179
357fd3b4
AZ
9180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9181 multiarch implementation.
9182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9183 file.
9184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9185 file.
9186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9187 file.
9188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9189 file.
9190 multiarch llround for PPC64.
9191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9192 multiarch floor for PPC64.
9193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9194 multiarch floorf for PPC64.
9195
96770f12
AZ
9196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9197 multiarch implementation.
9198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9199 file.
9200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9201 file.
9202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9203 file.
9204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9205 file.
9206 multiarch llround for PPC64.
9207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9208 multiarch ceil for PPC64.
9209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9210 multiarch ceilf for PPC64.
9211
c3627f6e
AZ
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9213 multiarch implementation.
9214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9215 file.
9216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9217 file.
9218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9219 file.
9220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9221 multiarch llround for PPC64.
9222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9223 multiarch lround for PPC64.
9224
b2284ad7
AZ
9225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9226 multiarch implementation.
9227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9230 file.
9231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9234 multiarch isnan for PPC64.
9235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9236 multiarch isnanf for PPC64.
9237
69bbc63d
AZ
9238 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9239 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9240 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9241 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9242 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9244
c24517c9
AZ
9245 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9246 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9249
a52374e8
AZ
9250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9251 multiarch implementations.
9252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9253 (__libc_ifunc_impl_list): Likewise.
9254 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9255 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9256 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9257 multiarch stpcpy for PPC64.
9258
7f5ec113
AZ
9259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9260 multiarch implementations.
9261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9262 (__libc_ifunc_impl_list): Likewise.
9263 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9264 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9265 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9266 multiarch strcpy for PPC64.
9267
e28bcd42
AZ
9268 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9269 redefine function name.
9270 (_wordcopy_fwd_dest_aligned): Likewise.
9271 (_wordcopy_bwd_aligned): Likewise.
9272 (_wordcopy_bwd_dest_aligned): Likewise.
9273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9274 multiarch implementations.
9275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9276 (__libc_ifunc_impl_list): Likewise.
9277 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9278 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9279 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9280 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9281 multiarch wcscpy for PPC64.
9282
92cacfce
AZ
9283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9284 multiarch implementations.
9285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9286 (__libc_ifunc_impl_list): Likewise.
9287 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9288 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9289 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9290 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9291 multiarch wcscpy for PPC64.
9292
7b714620
AZ
9293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9294 multiarch implementations.
9295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9296 (__libc_ifunc_impl_list): Likewise.
9297 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9298 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9299 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9300 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9301 multiarch wcsrchr for PPC64.
9302
16fd2ae3
AZ
9303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9304 multiarch implementations.
9305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9306 (__libc_ifunc_impl_list): Likewise.
9307 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9308 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9309 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9310 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9311 multiarch wcschr for PPC64.
9312
9ee2969b
AZ
9313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9314 multiarch implementations.
9315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9316 (__libc_ifunc_impl_list): Likewise.
9317 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9318 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9319 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9320 multiarch strchrnul for PPC64.
9321
372dc060
AZ
9322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9323 implementations.
9324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9325 (__libc_ifunc_impl_list): Likewise.
9326 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9327 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9328 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9329 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9330 strchr for PPC64.
9331
24c2c3b9
AZ
9332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9333 implementations.
9334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9335 (__libc_ifunc_impl_list): Likewise.
9336 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9339 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9340 strncmp for PPC64.
9341
1c92d9a0
AZ
9342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9343 multiarch implementations.
9344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9345 (__libc_ifunc_impl_list): Likewise.
9346 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9347 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9348 strncasecmp for PPC64.
9349 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9350 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9351 multiarch strncasecmp_l for PPC64.
9352
17de3ee3
AZ
9353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9354 multiarch implementations.
9355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9356 (__libc_ifunc_impl_list): Likewise.
9357 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9359 multiarch strcasecmp for PPC64.
9360 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9361 file.
9362 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9363 multiarch strcasecmp_l for PPC64.
9364
62982bf9
AZ
9365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9366 implementations.
9367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9368 (__libc_ifunc_impl_list): Likewise.
9369 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9370 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9371 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9372 strnlen for PPC64.
9373
a65f4904
AZ
9374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9375 implementations.
9376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9377 (__libc_ifunc_impl_list): Likewise.
9378 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9379 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9380 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9381 strlen for PPC64.
9382
1fd005ad
AZ
9383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9384 implementations.
9385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9386 (__libc_ifunc_impl_list): Likewise.
9387 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9388 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9389 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9390 rawmemrchr for PPC64.
9391
cd05ba91
AZ
9392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9393 implementation.
9394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9395 (__libc_ifunc_impl_list): Likewise.
9396 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9397 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9398 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9399 memrchr for PPC64.
9400
870f8676
AZ
9401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9402 implementation.
9403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9404 (__libc_ifunc_impl_list): Likewise.
9405 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9406 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9407 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9408 memchr for PPC64.
9409
f00be62b
AZ
9410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9411 implementation.
9412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9413 (__libc_ifunc_impl_list): Likewise.
9414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9415 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9416 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9417 mempcpy for PPC64.
9418
8a29a3d0
AZ
9419 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9420 avoid cretion of __bzero symbol.
9421 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9422 Likewise.
9423 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9424 Likewise.
9425 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9426 Likewise.
9427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9428 multiarch implementations.
9429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9430 (__libc_ifunc_impl_list): Likewise.
9431 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9432 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9433 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9434 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9435 bzero for PPC32.
9436 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9437 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9438 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9439 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9440 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9441 memset for PPC64.
9442 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9443
07253fcf
AZ
9444 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9446 implementations.
9447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9448 (__libc_ifunc_impl_list): Likewise.
9449 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9450 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9451 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9452 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9453 memcmp for PPC64.
9454
b5beafbc
AZ
9455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9456 multiarch for POWER/PPC64.
9457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9458 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9461 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9462 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9463 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9465 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9466 memcpy for PPC64.
9467
5e6a4d4b
AZ
9468 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9469 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9470 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9471 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9472 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9473 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9474 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9475 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9476 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9477 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9478 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9479 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9480 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9481 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9482 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9490
ddfab6dc
KK
94912013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9492
9493 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9494
19b5525e
SP
94952013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9496
9497 * benchtests/Makefile (bench): Add exp2 and log2.
9498 (LDLIBS-bench-exp2): Add -lm.
9499 (LDLIBS-bench-log2): Likewise.
9500 * benchtests/exp2-inputs: New inputs file.
9501 * benchtests/log2-inputs: New inputs file.
9502 * benchtests/log-inputs: Add new inputs.
9503 * benchtests/tan-inputs: Likewise.
9504
196f7f5d
SP
95052013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9506
7a74607f
SP
9507 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9508 definition...
57f41c40
AS
9509 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9510 (csloww2): ... from here.
7a74607f 9511
196f7f5d
SP
9512 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9513 instead of structures.
9514 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9515 (POLYNOMIAL): Likewise.
9516 (TAYLOR_SLOW): Likewise.
9517 (__sin): Likewise.
9518 (__cos): Likewise.
9519 (slow1): Likewise.
9520 (slow2): Likewise.
9521 (sloww): Likewise.
9522 (sloww1); Likewise.
9523 (sloww2): Likewise.
9524 (bsloww1): Likewise.
9525 (bsloww2): Likewise.
9526 (cslow2): Likewise.
9527 (csloww): Likewise.
9528 (csloww1): Likewise.
9529 (csloww2): Likewise.
9530
0dfa665c
OB
95312013-12-10 Ondřej Bílka <neleai@seznam.cz>
9532
9533 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9534 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9535 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9536 * malloc/hooks.c (realloc_check): Likewise.
9537
5782a80f
OB
9538 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9539 * malloc/arena.c: Remove PER_THREAD conditional.
9540 [!PER_THREAD]: Remove code.
9541 (ptmalloc_unlock_all2): Likewise.
9542 (ptmalloc_init): Likewise.
9543 (_int_new_arena): Likewise.
9544 (arena_get2): Likewise.
9545 * malloc/hooks.c (__malloc_get_state): Likewise.
9546 (__malloc_set_state): Likewise.
9547 * malloc/malloc.c: Likewise.
9548 (struct malloc_state): Likewise.
9549 (struct malloc_par): Likewise.
9550 (__libc_realloc): Likewise.
9551 (__libc_mallopt): Likewise.
9552
aeb95445
AZ
95532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9554
9555 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9556
e8349efd
OB
95572013-12-09 Ondřej Bílka <neleai@seznam.cz>
9558
9559 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9560 macro to a function. Check for zero perturb_byte.
9561 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9562
f3eeb3fc 9563 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9564 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9565 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9566 force_reg by atomic_forced_read.
9567 * malloc/arena.c (ptmalloc_init): Likewise.
9568 * malloc/hooks.c (top_check): Likewise.
9569
be2f9009
AZ
95702013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9571
9572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9573
e7b914bd
MT
95742013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9575
9576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9577
9f0be4f8
JM
95782013-12-08 Joseph Myers <joseph@codesourcery.com>
9579
9580 * math/auto-libm-test-in: Add tests of lgamma.
9581 * math/auto-libm-test-out: Regenerated.
9582 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9583 (M_LOG_2_SQRT_PIl): Likewise.
9584 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9585 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9586 mpfr_f_f1.
9587 (func_calc_desc): Add mpfr_f_f1 union field.
9588 (ARGS1): New macro.
9589 (ARGS2): Likewise.
9590 (ARGS3): Likewise.
9591 (ARGS4): Likewise.
9592 (RET1): Likewise.
9593 (RET2): Likewise.
9594 (CALC): Likewise.
9595 (FUNC): Likewise.
9596 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9597 (test_functions): Add lgamma.
9598 (calc_generic_results): Handle mpfr_f_f1.
9599 * sysdeps/i386/fpu/libm-test-ulps: Update.
9600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9601
24eeafdb
AZ
96022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9603
9604 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9605 __mpn_add_n for PowerPC64/POWER7.
9606 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9607 __mpn_sub_n for PowerPC64/POWER7.
9608
4a2c0fd4
AZ
9609 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9610 __mpn_addmul_1 for PowerPC64.
9611 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9612 __mpn_submul_1 for PowerPC64.
9613 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9614 for PowerPC64.
9615 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9616 for PowerPC64.
9617
4b5b548c
FS
96182013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9619
9620 [BZ #15089]
9621 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9622
0a3ac0aa
AZ
96232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9624
9625 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9626
ccdc8438
AZ
9627 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9628 add multiarch folders.
9629 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9630 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9631 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9632 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9633 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9634 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9635 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9636 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9637 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9638 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9639 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9646
2e973d99
AZ
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9648 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9650 New file.
9651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9652 New file.
9653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9654 multiarch __ieee754_hypot for PowerPC32.
9655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9656 New file.
9657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9658 New file.
9659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9660 multiarch __ieee754_hypotf for PowerPC32.
9661
2d9470b2
AZ
9662 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9663 long_double_symbol only if __logbl is defined.
9664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9665 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9667 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9669 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9670 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9671 path for implementation.
9672 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9673 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9675 logb, and logbl multiarch implementations for PowerPC32.
9676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9677 file.
9678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9679 file.
9680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9681 multiarch logb for PowerPC32.
9682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9683 file.
9684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9685 file.
9686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9687 multiarch logbf for PowerPC32.
9688 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9690 file.
9691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9692 multiarch logbl implementation for PowerPC32.
9693
5212ffce
AZ
9694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9695 and modff multiarch implementations.
9696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9697 New file.
9698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9699 New file.
9700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9701 multiarch modf for PowerPC32.
9702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9703 New file.
9704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9705 New file.
9706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9707 multiarch modff for PowerPC32.
9708
79dccf31
AZ
9709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9710 and lrintf multiarch implementations.
9711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9712 New file.
9713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9714 New file.
9715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9716 multiarch lrint for PowerPC32.
9717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9718 file: multiarch lrintf for PowerPC32.
9719
deb66480
AZ
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9721 and lroundf multiarch implementations.
9722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9723 New file.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9725 New file.
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9727 New file.
9728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9729 multiarch lround for PowerPC32.
9730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9731 file: multiarch lroundf for PowerPC32.
9732
264b036b
AZ
9733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9734 copysign and copysignf multiarch implementations.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9736 New file.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9738 New file.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9740 file: multiarch copysign for PowerPC32.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9742 file: multiarch copysignf for PowerPC32.
9743
d47db6c9
AZ
9744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9745 and truncf multiarch implementations.
9746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9747 New file.
9748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9749 file.
9750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9751 multiarch trunc for PowerPC32.
9752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9753 New file.
9754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9755 New file.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9757 multiarch truncf for PowerPC32.
9758
ddb60b5a
AZ
9759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9760 and roundf multiarch implementations.
9761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9762 New file.
9763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9764 file.
9765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9766 multiarch round for PowerPC32.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9768 New file.
9769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9770 New file.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9772 multiarch roundf for PowerPC32.
9773
bedcf49b
AZ
9774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9775 and floorf multiarch implementations.
9776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9777 New file.
9778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9779 file.
9780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9781 multiarch floor for PowerPC32.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9783 New file.
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9785 New file.
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9787 multiarch floorf for PowerPC32.
9788
35ae5b40
AZ
9789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9790 and ceilf multiarch implementations.
9791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9792 New file.
9793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9794 file.
9795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9796 multiarch ceil for PowerPC32.
9797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9798 New file.
9799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9800 file.
9801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9802 multiarch ceilf for PowerPC32.
9803
ae1a4cd9
AZ
9804 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9805 is defined.
9806 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9807 FINITEF is defined.
9808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9809 and finitef multiarch implementations.
9810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9811 New file.
9812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9813 file.
9814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9815 multiarch finite for PowerPC32.
9816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9817 New file.
9818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9819 file: multiarch finitef for PowerPC32.
9820
64fffd65
AZ
9821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9822 and isinff multiarch implementations.
9823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9824 file.
9825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9826 file.
9827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9828 multiarch isinf for PowerPC32.
9829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9830 New file.
9831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9832 multiarch isinff for PowerPC32.
9833
8e4e7ba2
AZ
9834 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9835 alias when __isnan is defined.
9836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9837 and isnanf multiarch implementations.
9838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9839 file.
9840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9841 file.
9842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9843 file.
9844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9845 file.
9846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9847 multiarch isnan for PowerPC32.
9848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9849 New file.
9850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9851 New file.
9852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9853 multiarch isnanf for PowerPC32.
9854
ddba588e
AZ
9855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9856 and sqrtf multiarch implementations.
9857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9858 file.
9859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9860 file.
9861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9862 multiarch sqrt for PowerPC32.
9863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9864 file.
9865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9866 file.
9867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9868 multiarch sqrtf for PowerPC32.
9869
0f96a2f0
AZ
9870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9871 and llroundf multiarch implementations.
9872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9873 New file.
9874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9875 New file.
9876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9877 New file.
9878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9879 file: multiarch llround for PowerPC32.
9880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9881 file: multiarch llroundf for PowerPC32.
9882
c9b5d79e
AZ
9883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9884 multiarch PowerPC32 fpu implementations.
9885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9886 New file.
9887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9888 New file.
9889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9890 multiarch llrint for PowerPC32.
9891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9892 New file.
9893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9894 New file.
9895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9896 file.
9897
9cbb3aab
AZ
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9899
ea5a72f8
AZ
9900 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9901 file.
9902 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9903 file.
9904 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9905 file.
9906 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9907 multiarch wordcopy for PPC32.
9908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9909 wordcopy objects.
9910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9911 (__libc_ifunc_impl_list): Likewise.
9912 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9913 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9914 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9915 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9916 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9917 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9918
93be09e7
AZ
9919 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9921 file.
9922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9923 file.
9924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9925 file.
9926 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9927 multiarch wcscpy for PPC32.
9928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9929 multiarch objects.
9930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9931 (__libc_ifunc_impl_list): Likewise.
9932 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9933 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9934 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9935 sysdeps/powerpc/power6/wcscpy.c.
9936
bb04e529
AZ
9937 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9939 file.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9941 file.
9942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9943 file.
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9945 multiarch wcsrchr for PPC32.
9946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9947 multiarch objects.
9948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9949 (__libc_ifunc_impl_list): Likewise.
9950 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9951 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9952 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9953 sysdeps/powerpc/power6/wcsrchr.c.
9954
05b5cd1c
AZ
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9956 file.
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9958 file.
9959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9961 multiarch wcschr for PPc32.
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9963 multiarch objects.
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9965 (__libc_ifunc_impl_list): Likewise.
9966 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9967 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9968 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9969 sysdeps/powerpc/power6/wcschr.c.
9970
ba964147
AZ
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9972 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9973 file.
9974 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9975 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9976 file: multiarch strchr for PPC32.
9977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9978 multiarch objects.
9979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9980 (__libc_ifunc_impl_list): Likewise.
9981
31c81aaa
AZ
9982 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9983 name.
9984 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9985 file.
9986 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9987 file.
9988 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9989 multiarch strchrnul for PPC32.
9990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9991 multiarch objects.
9992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9993 (__libc_ifunc_impl_list): Likewise.
9994
0d0607d9
AZ
9995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9996 file.
9997 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9998 multiarch strncasecmp for PPC32.
9999 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10000 file.
10001 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10002 multiarch strncasecmp_l for PPC32.
10003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10004 strncasecmp multiarch objects.
10005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10006 (__libc_ifunc_impl_list): Likewise.
10007
4dfd5c86
AZ
10008 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10009 file.
10010 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10011 multiarch strncasecmp for PPC32.
10012 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10013 New file.
10014 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10015 multiarch strcasecmp_l for PPC32.
10016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10017 multiarch objects.
10018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10019 (__libc_ifunc_impl_list): Likewise.
10020
a19e01a3
AZ
10021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10022 file.
10023 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10024 file.
10025 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10026 multiarch strncmp for PPC32.
10027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10028 multiarch objects.
10029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10030 (__libc_ifunc_impl_list): Likewise.
10031
ae9cf7a2
AZ
10032 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10033 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10034 file.
10035 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10036 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10038 multiarch objects.
10039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10040 (__libc_ifunc_impl_list): Likewise.
10041
3148bb7d
AZ
10042 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10043 file.
10044 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10045 file.
10046 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10048 multiarch objects.
10049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10050 (__libc_ifunc_impl_list): Likewise.
10051
7af8b946
AZ
10052 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10053 file.
10054 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10055 file.
10056 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10057 multiarch rawmemchr for PPC32.
10058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10059 multiarch objects.
10060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10061 (__libc_ifunc_impl_list): Likewise.
10062
03a6aa6a
AZ
10063 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10064 file.
10065 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10066 file.
10067 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10068 file: memrchr multiarch for PPC32.
10069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10070 multiarch objects.
10071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10072 (__libc_ifunc_impl_list): Likewise.
10073
1c62e6d9
AZ
10074 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10075 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10076 file.
10077 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10078 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10079 multiarch memchr for PPC32.
10080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10081 multiarch objects.
10082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10083 (__libc_ifunc_impl_list): Likewise.
10084
87da8bdb
AZ
10085 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10086 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10087 file.
10088 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10089 file.
10090 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10091 file: multiarch mempcpy for PPC32.
10092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10093 multiarch objects.
10094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10095 (__libc_ifunc_impl_list): Likewise.
10096
20ed4714
AZ
10097 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10098 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10099 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10100 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10101 multiarch bzero for PPC32.
10102 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10103 file.
10104 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10105 file.
10106 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10107 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10108 file: multiarch memset for PPC32.
10109 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10111 memset multiarch objects.
10112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10113 (__libc_ifunc_impl_list): Likewise.
10114
ab3e3a46
AZ
10115 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10116 file.
10117 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10118 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10119 memcmp for PPC32.
10120 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10122 multiarch objects.
10123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10124 (__libc_ifunc_impl_list): Likewise.
10125
930de6f0
AZ
10126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10129 file.
10130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10131 file.
10132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10133 file.
10134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10135 multiarch memcpy for PPC32.
10136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10137 multiarch objects.
10138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10139 (__libc_ifunc_impl_list): Likewise.
10140
4c628e00
AZ
10141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10142 support multiarch for POWER/PPC32.
10143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10144 Likewise.
10145 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10147 Implies file to make multiarch folder appers before the fpu and
10148 default folder for power4 configuration.
10149
f4479220
SP
101502013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10151
10152 * scripts/bench.pl: Append volatile keyword to type.
10153
8517800f
KK
101542013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10155
10156 * sysdeps/sh/sotruss-lib.c: New file.
10157 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10158
180138f1
AZ
101592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10160
10161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10162
bbf37bdc
JM
101632013-12-05 Joseph Myers <joseph@codesourcery.com>
10164
e47cc4e0
JM
10165 [BZ #6810]
10166 * math/w_tgamma.c: Include <errno.h>.
10167 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10168 * math/w_tgammaf.c: Include <errno.h>.
10169 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10170 * math/w_tgammal.c: Include <errno.h>.
10171 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10172 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10173 underflow. Add more tgamma tests.
10174 * math/auto-libm-test-out: Regenerated.
10175 * sysdeps/i386/fpu/libm-test-ulps: Update.
10176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10177
bbf37bdc
JM
10178 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10179 sin, sinh, tan, tanh, tgamma, y0 and y1.
10180 * math/auto-libm-test-out: Regenerated.
10181 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10182 (TEST_COND_x86): Likewise.
10183 (M_E2l): Remove macro.
10184 (M_E3l): Likewise.
10185 (M_2_SQRT_PIl): Likewise.
10186 (M_SQRT_PIl): Likewise.
10187 (M_1_DIV_El): Likewise.
10188 (log_test_data): Use AUTO_TESTS_f_f.
10189 (log10_test_data): Likewise.
10190 (log1p_test_data): Likewise.
10191 (log2_test_data): Likewise.
10192 (sin_test_data): Likewise.
10193 (sin_tonearest_test_data): Likewise.
10194 (sin_towardzero_test_data): Likewise.
10195 (sin_downward_test_data): Likewise.
10196 (sin_upward_test_data): Likewise.
10197 (sinh_test_data): Likewise.
10198 (sinh_tonearest_test_data): Likewise.
10199 (sinh_towardzero_test_data): Likewise.
10200 (sinh_downward_test_data): Likewise.
10201 (sinh_upward_test_data): Likewise.
10202 (tan_test_data): Likewise.
10203 (tan_tonearest_test_data): Likewise.
10204 (tan_towardzero_test_data): Likewise.
10205 (tan_downward_test_data): Likewise.
10206 (tan_upward_test_data): Likewise.
10207 (tanh_test_data): Likewise.
10208 (tgamma_test_data): Likewise.
10209 (y0_test_data): Likewise.
10210 (y1_test_data): Likewise.
10211 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10212 (special_real_inputs): Add pi/4.
10213 * sysdeps/i386/fpu/libm-test-ulps: Update.
10214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215
eb5ad6b9
AZ
102162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217
10218 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10219 "longjmp_target" static probes.
10220 (__longjmp): Rename to __longjmp_symbol.
10221 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10222 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10223 on which longjmp to generate.
10224 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10225 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10226 probe.
10227 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10228 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10229 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10230 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10231 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10232 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10234 __longjmp_symbol based on which __longjmp to generate.
10235 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10236 probe.
10237 (setjmp): Rename to setjmp_symbol.
10238 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10239 (_setjmp): Rename to _setjmp_symbol.
10240 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10241 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10242 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10243 which setjmp to generate.
10244 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10245 "longjmp_target" static probes.
10246
d136c6dc
SP
102472013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10248
9298ecba
SP
10249 * benchtests/README: Add note about output arguments.
10250 * benchtests/bench-sincos.c: Remove file.
10251 * benchtests/sincos-inputs: New file.
10252 * scripts/bench.pl: Identify output arguments and define
10253 static variables for them.
10254
232983e9
SP
10255 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10256
d136c6dc
SP
10257 [BZ #15941]
10258 * Makefile (INSTALL): Add install-plain.texi as the primary
10259 dependency.
10260 * manual/install-plain.texi: New file.
10261 * manual/install.texi: Include node directive only for
10262 non-plaintext output.
10263
699ff837
JM
102642013-12-04 Joseph Myers <joseph@codesourcery.com>
10265
ab07cea8
JM
10266 * stdlib/longlong.h: Update from GCC.
10267
699ff837
JM
10268 [BZ #6807]
10269 [BZ #15901]
10270 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10271 * math/w_j0f.c (y0f): Likewise.
10272 * math/w_j0l.c (__y0l): Likewise.
10273 * math/w_j1.c (y1): Likewise.
10274 * math/w_j1f.c (y1f): Likewise.
10275 * math/w_j1l.c (__y1l): Likewise
10276 * math/w_jn.c (yn): Likewise.
10277 * math/w_jnf.c (ynf): Likewise.
10278 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10279 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10280 value for Bessel function domain errors outside _SVID_ mode.
10281 Adjust sign of return value for yn (negative integer, 0).
10282 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10283 by zero in return for negative x and set sign appropriately for
10284 negative n.
10285 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10286 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10287 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10288 expectations in error cases.
10289 (y1_test_data): Likewise.
10290 (yn_test_data): Likewise.
10291 * sysdeps/i386/fpu/libm-test-ulps: Update.
10292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10293
5b118558
UW
102942013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10295
10296 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10297 "64" to "64-v1". Add "64-v2".
10298 (abi-64-options): Rename to ...
10299 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10300 (abi-64-condition): Rename to ...
10301 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10302 (abi-64-ld-soname): Rename to ...
10303 (abi-64-v1-ld-soname): ... this.
10304 (abi-64-v2-options): Define.
10305 (abi-64-v2-condition): Likewise.
10306 (abi-64-v2-ld-soname): Likewise.
10307 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10308 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10312
61cd8fe4
UW
103132013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10314 Alan Modra <amodra@gmail.com>
10315
10316 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10317 New versions for use with the ELFv2 ABI.
10318 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10319 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10320 declaration.
10321 (struct La_ppc64v2_retval): Likewise.
10322 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10323 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10324 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10325 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10326 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10327 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10328 Do not save or restore CR.
10329 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10330 (_dl_profile_resolve): Do no save or restore CR. Support extended
10331 return values for ELFv2 ABI. Fix location of FPR return registers.
10332 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10333 updated values for _CALL_ELF == 2.
10334 (La_regs, La_retval, int_retval): Likewise.
10335
8b8a692c
UW
103362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10337
10338 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10339 (FRAME_MIN_SIZE_PARM): Likewise.
10340 (FRAME_BACKCHAIN): Likewise.
10341 (FRAME_CR_SAVE): Likewise.
10342 (FRAME_LR_SAVE): Likewise.
10343 (FRAME_TOC_SAVE): Likewise.
10344 (FRAME_PARM_SAVE): Likewise.
10345 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10346 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10347 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10348 (call_mcount_parm_offset): New macro.
10349 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10350 (PROF): Use symbolic stack frame offsets.
10351 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10352 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10353 Redefine in terms of FRAME_MIN_SIZE.
10354 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10355 (_dl_profile_resolve): Likewise. Update comment.
10356 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10357 symbols stack frame offsets.
10358 (__sigsetjmp): Likewise.
10359 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10360 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10361 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10362 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10363
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10365 (FRAME_BACKCHAIN): Remove.
10366 (FRAME_CR_SAVE): Likewise.
10367 (FRAME_LR_SAVE): Likewise.
10368 (FRAME_COMPILER_DW): Likewise.
10369 (FRAME_LINKER_DW): Likewise.
10370 (FRAME_TOC_SAVE): Likewise.
10371 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10372 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10373 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10374 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10376 (CHECK_SP): Use symbolic stack frame offsets.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10378 zone" instead of caller's parameter save area for temp storage.
10379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10380 Likewise. Also, use symbolic stack frame offsets.
10381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10382 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10383 our own stack frame instead of the caller's.
10384 (__socket): Use symbolic stack frame offsets.
10385
122b66de
UW
103862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10387 Alan Modra <amodra@gmail.com>
10388
10389 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10390 Define.
57f41c40
AS
10391 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10392 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10393 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10394 New function.
10395 (elf_machine_fixup_plt): Call it.
10396 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10397 reloc arguments.
10398 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10399 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10400 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10401 r2 before calling target.
10402
696caf1d
UW
104032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10404 Alan Modra <amodra@gmail.com>
10405
10406 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10407 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10408 versions of macros to support ELFv2 ABI.
10409 (LOCALENTRY): New macro.
10410 (ENTRY, EALIGN): Use it.
10411 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10412 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10413 fall through into ENTRY entry point.
10414 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10415 Only define if _CALL_ELF != 2.
10416
10417 (elf_machine_matches_host): Verify ABI version matches.
10418 (RTLD_START): Use LOCALENTRY.
10419 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10420 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10421 (PLT_ENTRY_WORDS): New macro.
10422 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10423 (elf_machine_runtime_setup): Support ELFv2 ABI.
10424 (elf_machine_fixup_plt): Likewise.
10425 (elf_machine_plt_conflict): Likewise.
10426 (resolve_ifunc): Likewise.
10427 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10428 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10429 Likewise.
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10431 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10433 (makecontext): Support ELFv2 ABI.
10434 * elf/elf.h (EF_PPC64_ABI): Define.
10435
d31beafa
UW
104362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10437
57f41c40
AS
10438 * sysdeps/powerpc/powerpc64/sysdep.h
10439 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10440 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10441 (ENTRY) [ASSEMBLER]: ... but instead here ...
10442 (EALIGN) [ASSEMBLER]: ... and here.
10443 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10444 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10445 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10446 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10447 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10448 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10449 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10450 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10452 Use PPC64_LOAD_FUNCPTR.
10453
b525166b
UW
10454 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10455
7ec07d9a
AM
104562013-12-04 Alan Modra <amodra@gmail.com>
10457
10458 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10459 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10460 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10461 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10462
10463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10464 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10465 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10466 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10467 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10468 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10469
5162e7dd
UW
104702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10471
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10473 (__makecontext): Fix incorrect CFI when backtracing out of
10474 context created via makecontext.
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10476 (__setcontext): Fix incorrect CFI during switch to new context.
10477 (__novec_setcontext): Likewise.
10478
19e3372b
OB
104792013-12-04 Ondřej Bílka <neleai@seznam.cz>
10480
10481 [BZ #4772]
10482 * time/strptime_l.c (__strptime_internal): Allow modifiers
10483 in strptime.
10484 * time/tst-strptime.c (day_tests): Add testcase.
10485
ecaf142d
SP
104862013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10487
10488 * scripts/bench.pl: Skip over blank lines.
10489
fbf964ae
PE
104902013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10491
10492 [BZ #926]
10493 * manual/time.texi (Calendar Time): Clarify what timezone functions
10494 use.
10495
fa60a674
AZ
104962013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10497
10498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10499
d674f0ef
OB
105002013-12-04 Ondřej Bílka <neleai@seznam.cz>
10501
10502 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10503 implementation.
10504 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10505 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10506 * debug/memset_chk.c (__memset_chk): Likewise.
10507 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10508 * debug/strncpy_chk.c: Likewise.
10509
17dea188
JM
105102013-12-03 Joseph Myers <joseph@codesourcery.com>
10511
749008ff
JM
10512 [BZ #15268]
10513 [BZ #15425]
10514 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10515 (__ieee754_exp): For possibly underflowing results, check size of
10516 result and force underflow exception if required.
10517 * math/auto-libm-test-in: Add more tests of exp.
10518 * math/auto-libm-test-out: Regenerated.
10519 * sysdeps/i386/fpu/libm-test-ulps: Update.
10520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10521
17dea188
JM
10522 [BZ #16283]
10523 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10524 * math/w_exp2f.c (__exp2f): Likewise.
10525 * math/w_exp2l.c (__exp2l): Likewise.
10526 * math/auto-libm-test-in: Do not allow missing errno on exp2
10527 underflow.
10528 * math/auto-libm-test-out: Regenerated.
10529
b20de2c3
OB
105302013-12-03 Ondřej Bílka <neleai@seznam.cz>
10531
10532 [BZ #16274]
10533 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10534 handle filename validation.
10535 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10536 (do_open): Delete.
10537
d8e2dbe3
JM
105382013-12-03 Joseph Myers <joseph@codesourcery.com>
10539
34e16df5
JM
10540 [BZ #6786]
10541 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10542 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10543 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10544 <float.h>.
10545 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10546 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10547 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10549 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10550 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10551 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10552 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10553 Add more erfc tests.
10554 * math/auto-libm-test-out: Regenerated.
10555 * sysdeps/i386/fpu/libm-test-ulps: Update.
10556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10557
d8e2dbe3
JM
10558 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10559 exp2, expm1, j0 and j1.
10560 * math/auto-libm-test-out: Regenerated.
10561 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10562 (erfc_test_data): Likewise.
10563 (exp_test_data): Likewise.
10564 (exp_tonearest_test_data): Likewise.
10565 (exp_towardzero_test_data): Likewise.
10566 (exp_downward_test_data): Likewise.
10567 (exp_upward_test_data): Likewise.
10568 (exp10_test_data): Likewise.
10569 (exp2_test_data): Likewise.
10570 (expm1_test_data): Likewise.
10571 (j0_test_data): Likewise.
10572 (j1_test_data): Likewise.
10573 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10574 (input_flag_type): Add flag_xfail_rounding.
10575 (input_flags): Add xfail-rounding.
10576 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10577 (output_for_one_input_case): Handle flag_xfail_rounding.
10578 * sysdeps/i386/fpu/libm-test-ulps: Update.
10579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10580
18d14251
AJ
105812013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10582
3d2e6075 10583 [BZ #16289]
18d14251
AJ
10584 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10585 division by 0.
10586
520d437b
SP
105872013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10588
10589 [BZ #16195]
10590 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10591 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10592 (STAP_PROBE0): New macro.
10593 (STAP_PROBE1): Likewise.
10594 (STAP_PROBE2): Likewise.
10595 (STAP_PROBE3): Likewise.
10596 (STAP_PROBE4): Likewise.
10597
416e0145
OB
105982013-12-02 Ondřej Bílka <neleai@seznam.cz>
10599
10600 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10601
9d17796a
SE
106022013-12-02 Steve Ellcey <sellcey@mips.com>
10603
10604 * benchtests/Makefile (bench): Add sqrt.
10605 (LDLIBS-bench-sqrt): New.
10606 * benchtests/sqrt-input: New.
10607
f524d6a8
PS
106082013-12-02 Pavel Simerda <psimerda@redhat.com>
10609
639a0ef8
PS
10610 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10611 (GAIH_EAI): Likewise.
10612 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10613 (gaih_inet): Likewise.
10614 (getaddrinfo): Don't use GAIH_EAI.
10615
f524d6a8
PS
10616 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10617 (struct gaih): Remove definition.
10618
df3aedaf
SP
106192013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10620
10621 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10622 Use HERRNOP directly.
10623
1ab19dec
AZ
106242013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10625
b42ad38d 10626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10627
176b0c79
JM
106282013-11-30 Joseph Myers <joseph@codesourcery.com>
10629
10630 * math/gen-auto-libm-tests.c (test_functions): Add more
10631 single-argument functions.
10632 (special_fill_pi_2): New function.
10633 (special_fill_minus_pi_2): Likewise.
10634 (special_fill_pi_6): Likewise.
10635 (special_fill_minus_pi_6): Likewise.
10636 (special_fill_pi_3): Likewise.
10637 (special_fill_2pi_3): Likewise.
10638 (special_fill_e): Likewise.
10639 (special_fill_1_e): Likewise.
10640 (special_fill_e_minus_1): Likewise.
10641 (special_real_inputs): Add more special inputs.
10642 (output_for_one_input_case): Do not require ERANGE on underflow to
10643 zero if round-to-nearest result does not underflow to zero, unless
10644 exact results required.
10645 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10646 atan, atanh, cbrt, cos and cosh.
10647 * math/auto-libm-test-out: Regenerated.
10648 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10649 (acos_tonearest_test_data): Likewise.
10650 (acos_towardzero_test_data): Likewise.
10651 (acos_downward_test_data): Likewise.
10652 (acos_upward_test_data): Likewise.
10653 (acosh_test_data): Likewise.
10654 (asin_test_data): Likewise.
10655 (asin_tonearest_test_data): Likewise.
10656 (asin_towardzero_test_data): Likewise.
10657 (asin_upward_test_data): Likewise.
10658 (asinh_test_data): Likewise.
10659 (atan_test_data): Likewise.
10660 (atanh_test_data): Likewise.
10661 (cbrt_test_data): Likewise.
10662 (cos_test_data): Likewise.
10663 (cos_tonearest_test_data): Likewise.
10664 (cos_towardzero_test_data): Likewise.
10665 (cos_downward_test_data): Likewise.
10666 (cos_upward_test_data): Likewise.
10667 (cosh_test_data): Likewise.
10668 (cosh_tonearest_test_data): Likewise.
10669 (cosh_towardzero_test_data): Likewise.
10670 (cosh_downward_test_data): Likewise.
10671 (cosh_upward_test_data): Likewise.
10672 * sysdeps/i386/fpu/libm-test-ulps: Update.
10673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10674
ffb536d0
JM
106752013-11-29 Joseph Myers <joseph@codesourcery.com>
10676
2a77a467
JM
10677 [BZ #6787]
10678 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10679 * math/w_exp10f.c (__exp10f): Likewise.
10680 * math/w_exp10l.c (__exp10l): Likewise.
10681 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10682 errno settings in existing tests.
10683
ea3bc4e8
JM
10684 [BZ #14032]
10685 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10686 precision control set to double precision.
10687 * sysdeps/i386/fpu/w_sqrt.c: New file.
10688 * math/auto-libm-test-in: Add more tests.
10689 * math/auto-libm-test-out: Update.
10690
0712c9d8
JM
10691 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10692 (sqrt_test_tonearest): New function.
10693 (sqrt_towardzero_test_data): New variable.
10694 (sqrt_test_towardzero): New function.
10695 (sqrt_downward_test_data): New variable.
10696 (sqrt_test_downward): New function.
10697 (sqrt_upward_test_data): New variable.
10698 (sqrt_test_upward): New function.
10699 (main): Call the new functions.
10700
ffb536d0
JM
10701 * math/gen-auto-libm-tests.c: New file.
10702 * math/auto-libm-test-in: Likewise.
10703 * math/auto-libm-test-out: New generated file.
10704 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10705 variables.
10706 (%beautify): Add generated representations of zero.
10707 (top level): Set $auto_input and call parse_auto_input.
10708 (beautify): Remove trailing "f" from hex float constants.
10709 (parse_args): Handle XFAIL_TEST.
10710 (convert_condition): New function.
10711 (or_value): Likewise.
10712 (or_cond_value): Likewise.
10713 (generate_testfile): Handle AUTO_TESTS_* lines.
10714 (parse_auto_input): New function.
10715 * math/libm-test.inc (XFAIL_TEST): New macro.
10716 (ERRNO_UNCHANGED): Update value.
10717 (ERRNO_EDOM): Likewise.
10718 (ERRNO_ERANGE): Likewise.
10719 (IGNORE_RESULT): Likewise.
10720 (TEST_COND_flt_32): New macro.
10721 (TEST_COND_dbl_64): Likewise.
10722 (TEST_COND_ldbl_96_intel): Likewise.
10723 (TEST_COND_ldbl_96_m68k): Likewise.
10724 (TEST_COND_ldbl_128): Likewise.
10725 (TEST_COND_ldbl_128ibm): Likewise.
10726 (TEST_COND_long32): Likewise.
10727 (TEST_COND_long64): Likewise.
10728 (TEST_COND_before_rounding): Likewise.
10729 (TEST_COND_after_rounding): Likewise.
10730 (enable_test): Handle XFAIL_TEST flag.
10731 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10732 with finite results.
10733 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10734 auto-libm-test-out.
10735
acd98a8e
AK
107362013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10737 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10738
10739 [BZ #16214]
10740 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10741 __tls_get_addr_internal instead of __tls_get_offset in order to
10742 avoid GOT pointer dependency. Make rtld export
10743 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10744 __tls_get_addr since we are a __tls_get_offset platform.
10745 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10746 GOT pointer being set up before.
10747 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10748
3c1c46a6
JM
107492013-11-28 Joseph Myers <joseph@codesourcery.com>
10750
7475aef5
JM
10751 * manual/math.texi (Errors in Math Functions): Document accuracy
10752 goals.
10753
8bca7cd8
JM
10754 [BZ #15004]
10755 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10756 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10759 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10761 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10771
91a1f3fe
JM
10772 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10773 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10774 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10775 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10776 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10777 Likewise.
10778 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10779 Likewise.
10780 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10781 Likewise.
10782 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10783 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10784 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10785 atomic-feupdateenv and flt-rounds.
10786 * sysdeps/powerpc/nofpu/Versions (libc): Add
10787 __atomic_feholdexcept, __atomic_feclearexcept,
10788 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10789 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10790 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10791 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10792 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10793 here.
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10795 Update.
10796
c5df7609
JM
10797 * manual/arith.texi (FP Exceptions): Document that exceptions may
10798 not be raised when matherr is used.
10799 (Math Error Reporting): Document overflow in directed rounding
10800 modes. Document that errno may not be set when finite values are
10801 returned on overflow. Document intent to set errno on underflow
10802 only for underflow to zero.
10803
3c1c46a6
JM
10804 [BZ #16271]
10805 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10806 round-to-nearest then adjust result for other rounding modes.
10807 * include/fenv.h (fegetround): Use libm_hidden_proto.
10808 * math/fegetround.c (fegetround): Use libm_hidden_def.
10809 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10810 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10811 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10812 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10813 Likewise.
10814 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10815 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10816 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10817 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10818
5a4c6d53
SP
108192013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10820
10821 [BZ #16077]
10822 * nss/Versions (libnss_files): Add
10823 _nss_files_gethostbyname3_r.
10824 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10825 New function.
10826 (HOST_DB_LOOKUP): Remove macro.
10827 (_nss_files_gethostbyname_r): Implement function without the
10828 HOST_DB_LOOKUP macro.
10829 (_nss_files_gethostbyname2_r): Likewise.
10830
897b98ba
OB
108312013-11-28 Ondřej Bílka <neleai@seznam.cz>
10832
10833 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10834
6f476861
UB
108352013-11-26 Uros Bizjak <ubizjak@gmail.com>
10836
10837 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10838 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10839 warning.
10840
bd12ab55
AZ
108412013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10842
10843 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10844 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10845 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10846 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10847 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10848 __fe_nomask_env_priv and attribute_hidden.
10849 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10850 (libc_feupdateenv_test_ppc): Likewise.
10851 (libc_feresetround_ppc): Likewise.
10852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10853 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10854 compat_symbol macro.
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10856 (__fe_nomask_env): Likewise.
10857 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10858
52bb6543
OB
108592013-11-26 Ondřej Bílka <neleai@seznam.cz>
10860
10861 * string/Makefile: Remove ifunc tests.
10862 * string/test-string.h: Define TEST_IFUNC.
10863 * string/test-bcopy-ifunc.c: Remove.
10864 * string/test-bzero-ifunc.c: Likewise.
10865 * string/test-memccpy-ifunc.c: Likewise.
10866 * string/test-memchr-ifunc.c: Likewise.
10867 * string/test-memcmp-ifunc.c: Likewise.
10868 * string/test-memcpy-ifunc.c: Likewise.
10869 * string/test-memmem-ifunc.c: Likewise.
10870 * string/test-memmove-ifunc.c: Likewise.
10871 * string/test-mempcpy-ifunc.c: Likewise.
10872 * string/test-memrchr-ifunc.c: Likewise.
10873 * string/test-memset-ifunc.c: Likewise.
10874 * string/test-rawmemchr-ifunc.c: Likewise.
10875 * string/test-stpcpy-ifunc.c: Likewise.
10876 * string/test-stpncpy-ifunc.c: Likewise.
10877 * string/test-strcasecmp-ifunc.c: Likewise.
10878 * string/test-strcasestr-ifunc.c: Likewise.
10879 * string/test-strcat-ifunc.c: Likewise.
10880 * string/test-strchr-ifunc.c: Likewise.
10881 * string/test-strchrnul-ifunc.c: Likewise.
10882 * string/test-strcmp-ifunc.c: Likewise.
10883 * string/test-strcpy-ifunc.c: Likewise.
10884 * string/test-strcspn-ifunc.c: Likewise.
10885 * string/test-strlen-ifunc.c: Likewise.
10886 * string/test-strncasecmp-ifunc.c: Likewise.
10887 * string/test-strncat-ifunc.c: Likewise.
10888 * string/test-strncmp-ifunc.c: Likewise.
10889 * string/test-strncpy-ifunc.c: Likewise.
10890 * string/test-strnlen-ifunc.c: Likewise.
10891 * string/test-strpbrk-ifunc.c: Likewise.
10892 * string/test-strrchr-ifunc.c: Likewise.
10893 * string/test-strspn-ifunc.c: Likewise.
10894 * string/test-strstr-ifunc.c: Likewise.
10895
ab260039 108962013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10897
10898 * benchtests/Makefile: Remove ifunc tests.
10899 * benchtests/bench-string.h: Define TEST_IFUNC.
10900 * benchtests/bench-bcopy-ifunc.c: Remove.
10901 * benchtests/bench-bzero-ifunc.c: Likewise.
10902 * benchtests/bench-memccpy-ifunc.c: Likewise.
10903 * benchtests/bench-memchr-ifunc.c: Likewise.
10904 * benchtests/bench-memcmp-ifunc.c: Likewise.
10905 * benchtests/bench-memcpy-ifunc.c: Likewise.
10906 * benchtests/bench-memmem-ifunc.c: Likewise.
10907 * benchtests/bench-memmove-ifunc.c: Likewise.
10908 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10909 * benchtests/bench-memrchr-ifunc.c: Likewise.
10910 * benchtests/bench-memset-ifunc.c: Likewise.
10911 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10912 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10913 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10914 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10915 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10916 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10917 * benchtests/bench-strcat-ifunc.c: Likewise.
10918 * benchtests/bench-strchr-ifunc.c: Likewise.
10919 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10920 * benchtests/bench-strcmp-ifunc.c: Likewise.
10921 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10922 * benchtests/bench-strcpy-ifunc.c: Likewise.
10923 * benchtests/bench-strcspn-ifunc.c: Likewise.
10924 * benchtests/bench-strlen-ifunc.c: Likewise.
10925 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10926 * benchtests/bench-strncat-ifunc.c: Likewise.
10927 * benchtests/bench-strncmp-ifunc.c: Likewise.
10928 * benchtests/bench-strncpy-ifunc.c: Likewise.
10929 * benchtests/bench-strnlen-ifunc.c: Likewise.
10930 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10931 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10932 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10933 * benchtests/bench-strspn-ifunc.c: Likewise.
10934 * benchtests/bench-strstr-ifunc.c: Likewise.
10935
109362013-11-26 Ondřej Bílka <neleai@seznam.cz>
10937
ab260039
OB
10938 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10939
d1d9eaf4 109402013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10941
d1d9eaf4
OB
10942 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10943 * rt/aio.h: Likewise.
10944 * sysdeps/gnu/bits/utmp.h: Likewise.
10945 * sysdeps/gnu/bits/utmpx.h: Likewise.
10946 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10947 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10948 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10949 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10950 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10951 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10952 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10953 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10954 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10955 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10956 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10958 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10961 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10962 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10963 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10964 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10965 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10966 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10967 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10968 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10969 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10970 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10972 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10973 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10974 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10975 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10976 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10978 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10979 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10980 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10981 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10982 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10983 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10984 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10985 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10986 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10987 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10988
a7624ed9
CD
109892013-11-25 Carlos O'Donell <carlos@redhat.com>
10990
10991 [BZ #16245]
10992 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10993 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10994
63cfe52b
JM
109952013-11-25 Joseph Myers <joseph@codesourcery.com>
10996
10997 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10998 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10999 Likewise.
11000
41e8926a
AZ
110012013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11002
11003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11004 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11005 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11006 (__fesetround): Remove define.
11007 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11008 rounding and exceptions handling.
11009 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11010 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11011 (__fe_nomask_env): Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11013 __fegetround instead of fegetround.
11014 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11016
6851bd4d
RM
110172013-11-21 Roland McGrath <roland@hack.frob.com>
11018
070906ff
RM
11019 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11020 it's there.
11021
6851bd4d
RM
11022 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11023
84ae135d
MI
110242013-11-21 Meador Inge <meadori@codesourcery.com>
11025
11026 [BZ #11157]
11027 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11028 (encrypt_r): Likewise.
11029 * malloc/obstack.h (obstack_free): Likewise.
11030 * posix/unistd.h (encrypt): Likewise.
11031
daf75146
GM
110322013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11033
11034 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11035 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11036 DL_CALL_DT_FINI() that call the functions directly.
11037 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11038 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11039 * elf/dl-fini.c: Likewise.
11040
10ad46bc
OB
110412013-11-20 Ondřej Bílka <neleai@seznam.cz>
11042
11043 * malloc/hooks.c (memalign_check): Add alignment rounding.
11044 * malloc/malloc.c (_mid_memalign): New function.
11045 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11046 Implement by calling _mid_memalign.
11047 * manual/probes.texi (Memory Allocation Probes): Remove
11048 memory_valloc_retry and memory_pvalloc_retry.
11049
f3fd2628
SP
110502013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11051
4712799f
SP
11052 * locale/programs/locarchive.c (open_archive): Add const
11053 qualifier to ARCHIVEFNAME and copy default fname to
11054 DEFAULT_FNAME.
11055
0417b20f
SP
11056 [BZ #15601]
11057 * libio/tst-widetext.input: Rename Oriya to Odia.
11058 * locale/iso-639.def: Likewise.
11059
f3fd2628
SP
11060 * manual/probes.texi (Mathematical Function Probes): Add
11061 documentation for sin, cos, asin and acos probes.
11062 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11063 (__sin32): Add slowasin probe.
11064 (__cos32): Add slowacos probe.
11065 (__mpsin): Add slowsin probe.
11066 (__mpcos): Add slowcos probe.
11067
73c1ce4f
JM
110682013-11-19 Joseph Myers <joseph@codesourcery.com>
11069
11070 [BZ #15483]
11071 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11072 thread-local __sim_exceptions_thread and global
11073 __sim_exceptions_global.
11074 (__sim_disabled_exceptions): Change to thread-local
11075 __sim_disabled_exceptions_thread and global
11076 __sim_disabled_exceptions_global.
11077 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11078 and global __sim_round_mode_global.
11079 (__simulate_exceptions): Use thread-local floating-point state and
11080 set global state from it as needed.
11081 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11082 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11083 __sim_round_mode_thread.
11084 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11085 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11086 and global __sim_exceptions_global.
11087 (__sim_disabled_exceptions): Change to thread-local
11088 __sim_disabled_exceptions_thread and global
11089 __sim_disabled_exceptions_global.
11090 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11091 and global __sim_round_mode_global.
11092 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11093 (SIM_SET_GLOBAL): Likewise.
11094 * sysdeps/powerpc/soft-fp/sfp-machine.h
11095 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11096 __sim_round_mode_thread.
11097 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11098 __sim_disabled_exceptions_thread.
11099 (__sim_exceptions): Change to __sim_exceptions_thread.
11100 (__sim_disabled_exceptions): Change to
11101 __sim_disabled_exceptions_thread.
11102 (__sim_round_mode): Change to __sim_round_mode_thread.
11103 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11104 thread-local floating-point state and set global state from it as
11105 needed.
11106 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11107 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11108 (__sim_disabled_exceptions): Remove extern declaration.
11109 (feenableexcept): Use thread-local floating-point state and set
11110 global state from it as needed.
11111 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11112 extern declaration.
11113 (__sim_disabled_exceptions): Likewise.
11114 (__sim_round_mode): Likewise.
11115 (__fegetenv): Use thread-local floating-point state.
11116 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11117 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11118 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11119 floating-point state and set global state from it as needed.
11120 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11121 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11122 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11123 Likewise.
11124 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11125 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11126 Likewise.
11127 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11128 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11129 Use __sim_round_mode_thread.
11130 * math/test-fenv-tls.c: New file.
11131 * math/Makefile (tests): Add test-fenv-tls.
11132 ($(objpfx)test-fenv-tls): Depend on
11133 $(common-objpfx)nptl/libpthread.so.
11134
b5449b12
AS
111352013-11-19 Andreas Schwab <schwab@suse.de>
11136
11137 * locale/programs/locale.c (show_info): Decode wordarray elements.
11138 * locale/categories.def (LC_MONETARY): Add element for
11139 _NL_MONETARY_CRNCYSTR.
11140 * locale/C-monetary.c (conversion_rate): New variable.
11141 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11142 element.
11143
e186536b
CM
111442013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11145
11146 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11147 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11148
5c349950
PP
111492013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11150
11151 * elf/Makefile (tst-auxv): New test.
11152 * elf/tst-auxv.c: New
11153 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11154
699df45b
JM
111552013-11-18 Joseph Myers <joseph@codesourcery.com>
11156
11157 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11158 (hidden_proto): Caller changed.
11159 (hidden_tls_proto): New macro.
11160 (libc_hidden_tls_proto): Likewise.
11161 (rtld_hidden_tls_proto): Likewise.
11162 (libm_hidden_tls_proto): Likewise.
11163 (libresolv_hidden_tls_proto): Likewise.
11164 (librt_hidden_tls_proto): Likewise.
11165 (libdl_hidden_tls_proto): Likewise.
11166 (libnss_files_hidden_tls_proto): Likewise.
11167 (libnsl_hidden_tls_proto): Likewise.
11168 (libnss_nisplus_hidden_tls_proto): Likewise.
11169 (libutil_hidden_tls_proto): Likewise.
11170
b7589107
OB
111712013-11-18 Ondřej Bílka <neleai@seznam.cz>
11172
11173 [BZ #10253]
11174 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11175 (decompose_rpath): Defer expansion to fillin_rpath.
11176 (_dl_init_paths): Pass linkmap to fillin_rpath.
11177
250c23bd
RS
111782013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11179
11180 * benchtests/Makefile: Add strsep.
11181 * benchtests/bench-strsep.c: New file: strsep benchtest.
11182 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11183
a7931fcf
AS
111842013-11-18 Andreas Schwab <schwab@suse.de>
11185
11186 * locale/programs/locale.c (show_info) [case byte]: Check for
11187 '\377' instead of '\177'.
11188 * locale/C-monetary.c (not_available): Always use "\377".
11189 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11190 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11191 detect unavailable sign_posn locale elements.
11192 * locale/localeconv.c (__localeconv): For grouping and
11193 mon_grouping handle "\177" and "\377" like no grouping.
11194 (INT_ELEM): New macro. Use it to set all numeric members.
11195 * locale/programs/ld-monetary.c (monetary_read)
11196 <tok_mon_grouping>: Normalize single -1 to the empty string.
11197 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11198 Likewise.
11199
728dab0e
OB
112002013-11-07 Ondřej Bílka <neleai@seznam.cz>
11201
11202 [BZ #16055]
11203 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11204 when we match (nil).
11205 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11206
66294491
JM
112072013-11-16 Joseph Myers <joseph@codesourcery.com>
11208
ce665817
JM
11209 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11210 (NO_TEST_INLINE): Update value.
11211 (ERRNO_UNCHANGED): Likewise.
11212 (ERRNO_EDOM): Likewise.
11213 (ERRNO_ERANGE): Likewise.
11214 (IGNORE_RESULT): Likewise.
11215 (check_float_internal): Check signs of NaN results if
11216 TEST_NAN_SIGN used.
11217 (check_complex): Pass TEST_NAN_SIGN flag through to second
11218 check_float_internal call.
11219 (copysign_test_data): Add tests with quiet NaNs as second
11220 argument. Use TEST_NAN_SIGN.
11221 (fabs_test_data): Add test of negative quiet NaN argument. Use
11222 TEST_NAN_SIGN.
11223 (signbit_test_data): Add tests of quiet NaN argument.
11224 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11225
ee1466a9
JM
11226 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11227 $ignore_result.
11228 (parse_args): Handle function results specified as IGNORE.
11229 * math/libm-test.inc (IGNORE_RESULT): New macro.
11230 (check_float_internal): Do not check numerical result if flag
11231 IGNORE_RESULT set.
11232 (check_complex): Pass through IGNORE_RESULT to second
11233 check_float_internal call.
11234 (check_int): Do not check numerical result if flag IGNORE_RESULT
11235 set.
11236 (check_long): Likewise.
11237 (check_bool): Likewise.
11238 (check_longlong): Likewise.
11239 (lrint_test_data): Add tests of infinite and NaN arguments.
11240 (lrint_tonearest_test_data): Likewise.
11241 (lrint_towardzero_test_data): Likewise.
11242 (lrint_downward_test_data): Likewise.
11243 (lrint_upward_test_data): Likewise.
11244 (llrint_test_data): Likewise.
11245 (llrint_tonearest_test_data): Likewise.
11246 (llrint_towardzero_test_data): Likewise.
11247 (llrint_downward_test_data): Likewise.
11248 (llrint_upward_test_data): Likewise.
11249 (lround_test_data): Likewise.
11250 (llround_test_data): Likewise.
11251
14407b7e
JM
11252 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11253 (ERRNO_UNCHANGED): Update value.
11254 (ERRNO_EDOM): Likewise.
11255 (ERRNO_ERANGE): Likewise.
11256 (NO_TEST_INLINE_FLOAT): New macro.
11257 (NO_TEST_INLINE_DOUBLE): Likewise.
11258 (enable_test): New function.
11259 (RUN_TEST_f_f): Check enable_test before running test.
11260 (RUN_TEST_2_f): Likewise.
11261 (RUN_TEST_fff_f): Likewise.
11262 (RUN_TEST_c_f): Likewise.
11263 (RUN_TEST_f_f1): Likewise.
11264 (RUN_TEST_fF_f1): Likewise.
11265 (RUN_TEST_fI_f1): Likewise.
11266 (RUN_TEST_ffI_f1): Likewise.
11267 (RUN_TEST_c_c): Likewise.
11268 (RUN_TEST_cc_c): Likewise.
11269 (RUN_TEST_f_i): Likewise.
11270 (RUN_TEST_f_i_tg): Likewise.
11271 (RUN_TEST_ff_i_tg): Likewise.
11272 (RUN_TEST_f_b): Likewise.
11273 (RUN_TEST_f_b_tg): Likewise.
11274 (RUN_TEST_f_l): Likewise.
11275 (RUN_TEST_f_L): Likewise.
11276 (RUN_TEST_fFF_11): Likewise.
11277 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11278 conditionals.
11279 (cosh_test_data): Likewise.
11280 (exp_test_data): Likewise.
11281 (expm1_test_data): Likewise.
11282 (hypot_test_data): Likewise.
11283 (pow_test_data): Likewise.
11284 (sinh_test_data): Likewise.
11285 (tanh_test_data): Likewise.
11286 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11287 flags argument.
11288
ca07f197
JM
11289 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11290 tests with quiet NaN input and output.
11291 (acosh_test_data): Likewise.
11292 (asin_test_data): Likewise.
11293 (asinh_test_data): Likewise.
11294 (atan_test_data): Likewise.
11295 (atanh_test_data): Likewise.
11296 (atan2_test_data): Likewise.
11297 (cbrt_test_data): Likewise.
11298 (cos_test_data): Likewise.
11299 (cosh_test_data): Likewise.
11300 (erf_test_data): Likewise.
11301 (erfc_test_data): Likewise.
11302 (exp_test_data): Likewise.
11303 (exp10_test_data): Likewise.
11304 (exp2_test_data): Likewise.
11305 (expm1_test_data): Likewise.
11306 (hypot_test_data): Likewise.
11307 (j0_test_data): Likewise.
11308 (j1_test_data): Likewise.
11309 (jn_test_data): Likewise.
11310 (lgamma_test_data): Likewise.
11311 (log_test_data): Likewise.
11312 (log10_test_data): Likewise.
11313 (log1p_test_data): Likewise.
11314 (log2_test_data): Likewise.
11315 (pow_test_data): Likewise.
11316 (scalb_test_data): Likewise.
11317 (sin_test_data): Likewise.
11318 (sincos_test_data): Likewise.
11319 (sinh_test_data): Likewise.
11320 (tan_test_data): Likewise.
11321 (tanh_test_data): Likewise.
11322 (tgamma_test_data): Likewise.
11323 (y0_test_data): Likewise.
11324 (y1_test_data): Likewise.
11325 (yn_test_data): Likewise.
11326
66294491
JM
11327 [BZ #16167]
11328 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11329 argument being NaN and avoid computations with second argument in
11330 that case.
11331 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11332 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11333 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11334
1820b143
CL
113352013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11336
11337 * locale/iso-639.def: Add Chitwani Tharu (the).
11338
714bd261
AS
113392013-11-14 Andreas Schwab <schwab@suse.de>
11340
11341 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11342 word instead of empty string.
11343
7ab44563
AZ
113442013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11345
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11347 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11349 (__fe_nomask_env): Likewise.
11350
e8470ea2
SE
113512013-11-13 Steve Ellcey <sellcey@mips.com>
11352
11353 * benchtests/bench-timing.h: Include time.h.
11354
17c1d9f0
L
113552013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 [BZ #15997]
11358 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11359 to 3.4.0 for x32.
11360 * sysdeps/unix/sysv/linux/configure: Regenerated.
11361
9310c284
JM
113622013-11-13 Joseph Myers <joseph@codesourcery.com>
11363
11364 [BZ #16151]
11365 * stdlib/strtod_l.c (round_and_return): Do not consider
11366 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11367 exponent one less than half the least subnormal exponent.
11368 * stdlib/test-strtod-round-data: Add more tests.
11369 * stdlib/tst-strtod-round.c (tests): Regenerated.
11370
7a2ad8cf
AZ
113712013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11372
11373 [BZ #14143]
11374 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11375 (__fe_mask_env): Likewise.
11376 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11377 libm_hidden_proto and add function prototype.
11378 (__fe_mask_env): Add function prototype.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11380 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11382 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11384 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11385
50727aa7
MS
113862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11387
b2f386c1 11388 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11389 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11390
a615be46
MS
113912013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11392
11393 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11394 of htab_find_slot().
11395
7ddace62
DM
113962013-11-11 David S. Miller <davem@davemloft.net>
11397
11398 [BZ #16150]
11399 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11400 symbol in the non-vis3 case in static builds.
11401 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11402 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11403 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11404 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11405
9182aa67
JK
114062013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11407
11408 [BZ #387]
11409 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11410 it is empty.
11411
450a2e2d
AZ
114122013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11413
b2f386c1
SP
11414 * benchtests/Makefile: Add bench-strtod.
11415 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11416
8ec3f656
AS
114172013-11-11 Andreas Schwab <schwab@suse.de>
11418
11419 [BZ #16153]
11420 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11421 terminating NUL in key length.
11422
76a9b998
AZ
114232013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424
11425 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11426 Add artificial ODP entry for vDSO symbol for PPC64.
11427 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11428 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11429
e4368156
OB
114302013-11-07 Ondřej Bílka <neleai@seznam.cz>
11431
11432 [BZ #15374]
11433 * nss/getent.c (services_keys): Recognize services starting with digit.
11434
8d6bb57c
DM
114352013-11-06 David S. Miller <davem@davemloft.net>
11436
11437 [BZ #15985]
11438 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11439 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11440
e256c421
WN
114412013-11-06 Will Newton <will.newton@linaro.org>
11442
11443 * manual/memory.texi (Malloc Examples): Remove register
11444 keyword from examples.
11445
f6e12daa 114462013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11447
f6e12daa 11448 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11449
9d880655
AS
114502013-11-04 Joseph Myers <joseph@codesourcery.com>
11451
fd2f9486 11452 [BZ #6981]
9d880655
AS
11453 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11454 depending on [__GCC_IEC_559 > 0].
11455 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11456 depending on [__GCC_IEC_559_COMPLEX > 0].
11457
ae129d3c
CL
114582013-11-03 Chris Leonard <cjl@sugarlabs.org>
11459
11460 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11461 to iso-639.def.
11462
4a15c2a4 114632013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11464
11465 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11466
8b35e35d
OB
114672013-11-01 Ondřej Bílka <neleai@seznam.cz>
11468
11469 [BZ #16112]
11470 * malloc/malloc (malloc_info): Do not handle first bin as
11471 special case.
11472
1d70fd6c
CL
114732013-11-01 Chris Leonard <cjl@sugarlabs.org>
11474
11475 * locale/iso-639.def: Add Central Nahuatl (nhn).
11476
8c5c2600
BH
114772013-11-01 Bruno Haible <bruno@clisp.org>
11478
11479 [BZ #7003]
11480 * manual/math.texi (BSD Random): Specify range upper bound as
11481 in POSIX.
11482
da5579c2
CL
114832013-10-31 Chris Leonard <cjl@sugarlabs.org>
11484
11485 * locale/iso-639.def: Add Meadow Mari (mhr).
11486
5d30d853
OB
114872013-10-31 Ondřej Bílka <neleai@seznam.cz>
11488
11489 [BZ #14752], [BZ #15763]
11490 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11491 Validate name.
11492 * rt/tst_shm.c: Add test for escaping directory.
11493
a4966c61
AS
114942013-10-31 Andreas Schwab <schwab@suse.de>
11495
8a43e768 11496 [BZ #15917]
a4966c61
AS
11497 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11498 followed by 'x' as part of digit sequence.
11499 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11500
28d708c4
MAP
115012013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11502
11503 [BZ #16037]
11504 * configure.ac: allow GNU Make 4.0 and greater.
11505 * configure: Regenerated.
11506
a56ee40b
WN
115072013-10-30 Will Newton <will.newton@linaro.org>
11508
11509 [BZ #16038]
11510 * malloc/hooks.c (memalign_check): Limit alignment to the
11511 maximum representable power of two.
11512 * malloc/malloc.c (__libc_memalign): Likewise.
11513 * malloc/tst-memalign.c (do_test): Add test for very
11514 large alignment values.
11515 * malloc/tst-posix_memalign.c (do_test): Likewise.
11516
c6e4925d
OB
115172013-10-30 Ondřej Bílka <neleai@seznam.cz>
11518
11519 [BZ #11087]
11520 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11521 (munmap_chunk): Likewise.
11522 (mremap_chunk): Likewise.
11523
115242013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11525
8a43e768 11526 [BZ #15799]
bbea82f7
OB
11527 * stdlib/div.c (div): Remove obsolete code.
11528 * stdlib/ldiv.c (ldiv): Likewise.
11529 * stdlib/lldiv.c (lldiv): Likewise.
11530
977f4b31
SP
115312013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11532
11533 [BZ #16071]
11534 * nss/nss_files/files-XXX.c (get_contents_ret): New
11535 enumerator.
11536 (get_contents): New function.
11537 (internal_getent): Use it. Expand size of LINEBUFLEN.
11538
cb8a6dbd
MF
115392013-10-30 Mike Frysinger <vapier@gentoo.org>
11540
11541 * configure.in: Moved to ...
11542 * configure.ac: ... here. Change reference to configure.in
11543 to configure.ac.
11544 * sysdeps/arm/preconfigure.ac: ... here.
11545 configure.in to configure.ac.
11546 * sysdeps/gnu/configure.in: Moved to ...
11547 * sysdeps/gnu/configure.ac: ... here.
11548 * sysdeps/i386/configure.in: Moved to ...
11549 * sysdeps/i386/configure.ac: ... here.
11550 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11551 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11552 * sysdeps/mach/configure.in: Moved to ...
11553 * sysdeps/mach/configure.ac: ... here.
11554 * sysdeps/mach/hurd/configure.in: Moved to ...
11555 * sysdeps/mach/hurd/configure.ac: ... here.
11556 * sysdeps/powerpc/configure.in: Moved to ...
11557 * sysdeps/powerpc/configure.ac: ... here.
11558 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11559 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11560 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11561 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11562 * sysdeps/s390/s390-32/configure.in: Moved to ...
11563 * sysdeps/s390/s390-32/configure.ac: ... here.
11564 * sysdeps/s390/s390-64/configure.in: Moved to ...
11565 * sysdeps/s390/s390-64/configure.ac: ... here.
11566 * sysdeps/sh/configure.in: Moved to ...
11567 * sysdeps/sh/configure.ac: ... here.
11568 * sysdeps/sparc/configure.in: Moved to ...
11569 * sysdeps/sparc/configure.ac: ... here.
11570 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11571 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11572 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11573 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11574 * sysdeps/x86_64/configure.in: Moved to ...
11575 * sysdeps/x86_64/configure.ac: ... here.
11576 * sysdeps/x86_64/preconfigure.in: Moved to ...
11577 * sysdeps/x86_64/preconfigure.ac: ... here.
11578 * aclocal.m4: Change reference to configure.in to configure.ac.
11579 * config.h.in: Likewise.
11580 * manual/install.texi: Likewise.
11581 * manual/maint.texi: Likewise.
11582 * Makefile: Likewise.
11583 * malloc/Makefile: Likewise.
11584 * nscd/Makefile: Likewise.
11585 * Makeconfig: Change reference to configure.in and
11586 preconfigure.in to configure.ac and preconfigure.ac
11587 respectively.
11588 * INSTALL: Regenerated.
11589 * configure: Likewise.
11590 * sysdeps/gnu/configure: Likewise.
11591 * sysdeps/i386/configure: Likewise.
11592 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11593 * sysdeps/mach/configure: Likewise.
11594 * sysdeps/mach/hurd/configure: Likewise.
11595 * sysdeps/powerpc/configure: Likewise.
11596 * sysdeps/powerpc/powerpc32/configure: Likewise.
11597 * sysdeps/powerpc/powerpc64/configure: Likewise.
11598 * sysdeps/s390/s390-32/configure: Likewise.
11599 * sysdeps/s390/s390-64/configure: Likewise.
11600 * sysdeps/sh/configure: Likewise.
11601 * sysdeps/sparc/configure: Likewise.
11602 * sysdeps/unix/sysv/linux/configure: Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11604 * sysdeps/x86_64/configure: Likewise.
11605 * sysdeps/x86_64/preconfigure: Likewise.
11606
36a4953a
AS
116072013-10-29 Andreas Schwab <schwab@suse.de>
11608
11609 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11610
c79a1204
SP
116112013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11612
dfa1b402
SP
11613 * benchtests/pow-inputs: Add new inputs.
11614
54f73d9c
SP
11615 * benchtests/exp-inputs: Add new inputs.
11616
c79a1204
SP
11617 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11618 conditional check for return value.
11619 (__cos32): Likewise.
11620
67beb545 116212013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11622
11623 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11624 to provide a boost for large inputs with word alignment.
11625 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11626 implementation based on optimized PPC64 strcpy.
11627 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11628 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11629 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11630 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11631
151659f6
OB
116322013-10-25 Ondřej Bílka <neleai@seznam.cz>
11633
482a077e 11634 [BZ #2801]
151659f6
OB
11635 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11636
10b0f26b
OB
116372013-10-25 Ondřej Bílka <neleai@seznam.cz>
11638
11639 [BZ #14876]
11640 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11641 * time/tst-strptime.c (day_tests): Add testcase.
11642
ca42d35e
OB
116432013-10-25 Ondřej Bílka <neleai@seznam.cz>
11644
482a077e 11645 [BZ #14029]
ca42d35e
OB
11646 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11647
52e6d801
FB
116482013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11649
11650 [BZ #16074]
11651 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11652 MAP_FAILED on error.
11653
7cbcdb36
SP
116542013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11655
11656 [BZ #16072]
11657 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11658 heap for large requests.
11659
894f3f10
AM
116602013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11661
11662 [BZ #9954]
11663 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11664 result if the result has no associated interface.
11665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11666 interface for all 127.X.Y.Z addresses.
11667
b85545a6
CL
116682013-10-24 Chris Leonard <cjl@sugarlabs.org>
11669
11670 * locale/iso-639.def: Add Ligurian (lij)
11671
d1f23d46
OB
116722013-10-21 Ondřej Bílka <neleai@seznam.cz>
11673
11674 [BZ #15825]
11675 * sunrpc/rpc_main.c: Document rpcgen -5.
11676
4db5b08f
MS
116772013-10-19 Michael Stahl <mstahl@redhat.com>
11678
11679 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11680
a471e96a
OB
116812013-10-19 Ondřej Bílka <neleai@seznam.cz>
11682
d1f23d46 11683 [BZ #10278]
a471e96a
OB
11684 * posix/glob.c: Match only directories when trailing slash is present.
11685 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11686 (main): Add testcase.
11687
45c30c61
OB
116882013-10-19 Ondřej Bílka <neleai@seznam.cz>
11689
11690 [BZ #15670]
11691 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11692
484c12fb
CD
116932013-10-18 Carlos O'Donell <carlos@redhat.com>
11694
3d7dc513
CD
11695 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11696 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11697 AUTH_DES and cindex for FIPS 140-2.
11698 (DES Encryption): Add cindex FIPS 46-3.
11699
484c12fb
CD
11700 * locale/locarchive.h (struct locarhandle): Add fname.
11701 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11702 if an optional argument was specified to --list-archive,
11703 otherwise NULL.
11704 * locale/programs/locarchive.c (show_archive_content): Take new
11705 argument fname and pass it via ah.fname to open_archive.
11706 * locale/programs/localedef.h: Update decl.
11707 (open_archive): If AH->fname is non-null, open that file
11708 rather than the default file name, and don't ignore ENOENT.
11709 (create_archive): Set AH.fname to NULL.
11710 (delete_locales_from_archive): Likewise.
11711 (add_locales_to_archive): Likewise.
11712 * locale/programs/locfile.c (write_all_categories): Likewise.
11713
3c8325fb
JM
117142013-10-18 Joseph Myers <joseph@codesourcery.com>
11715 Aldy Hernandez <aldyh@redhat.com>
11716
11717 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11718 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11719 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11720 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11721 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11722 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11723 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11724 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11725 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11726 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11727 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11728 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11729 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11730 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11731 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11732 Likewise.
11733 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11734 Likewise.
11735 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11736 Likewise.
11737 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11738 Likewise.
11739 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11740 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11741 Likewise.
11742 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11743 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11744 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11745 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11746 Likewise.
11747 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11748 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11749 * sysdeps/powerpc/preconfigure: Likewise.
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11751 Likewise.
11752 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11753 Replace contents of file by #include of <fenv_libc.h>.
11754 * sysdeps/powerpc/soft-fp/sfp-machine.h
11755 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11756 and <sys/prctl.h>.
11757 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11758 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11759 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11760 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11761 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11770 Allow copysignl PLT reference to be missing.
11771
5abe0682
RS
117722013-10-18 Richard Sandiford <richard@codesourcery.com>
11773 Joseph Myers <joseph@codesourcery.com
11774
11775 [BZ #15948]
11776 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11777 single character.
11778 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11779
c7738d08
SP
117802013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11781
11782 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11783 * elf/tst-tls1.c: Likewise.
11784 * elf/tst-tls10.h: Likewise.
11785 * elf/tst-tls14.c: Likewise.
11786 * elf/tst-tls2.c: Likewise.
11787 * elf/tst-tls3.c: Likewise.
11788 * elf/tst-tls4.c: Likewise.
11789 * elf/tst-tls5.c: Likewise.
11790 * elf/tst-tls6.c: Likewise.
11791 * elf/tst-tls7.c: Likewise.
11792 * elf/tst-tls8.c: Likewise.
11793 * elf/tst-tls9.c: Likewise.
11794 * elf/tst-tlsmod1.c: Likewise.
11795 * elf/tst-tlsmod13.c: Likewise.
11796 * elf/tst-tlsmod13a.c: Likewise.
11797 * elf/tst-tlsmod14a.c: Likewise.
11798 * elf/tst-tlsmod16a.c: Likewise.
11799 * elf/tst-tlsmod16b.c: Likewise.
11800 * elf/tst-tlsmod2.c: Likewise.
11801 * elf/tst-tlsmod3.c: Likewise.
11802 * elf/tst-tlsmod4.c: Likewise.
11803 * elf/tst-tlsmod5.c: Likewise.
11804 * elf/tst-tlsmod6.c: Likewise.
11805
0bfcf2c7
OB
118062013-10-18 Ondřej Bílka <neleai@seznam.cz>
11807
11808 [BZ #12486]
11809 * malloc/malloc.c: remove checks for statistics.
11810
264aad1e
OB
118112013-10-17 Ondřej Bílka <neleai@seznam.cz>
11812
11813 [BZ #15277]
11814 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11815 * inet/tst-network.c: Add testcase.
11816
b957ced8
AS
118172013-10-17 Andreas Schwab <schwab@suse.de>
11818
11819 [BZ #15218]
11820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11821 to determine canonical name.
11822
c5d5d574
OB
118232013-10-17 Ondřej Bílka <neleai@seznam.cz>
11824
11825 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11826 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11828 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11830 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11831 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11832 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11833 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11834 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11835 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11836 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11838 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11840 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11842 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11843 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11844 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11845 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11849 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11850 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11870 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11874 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11875 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11878 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11883
e5c2c2d0
JM
118842013-10-17 Joseph Myers <joseph@codesourcery.com>
11885
11886 [BZ #16041]
11887 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11888 make result into a quiet NaN.
11889
51ca9e29
JM
118902013-10-16 Joseph Myers <joseph@codesourcery.com>
11891
11892 * soft-fp/adddf3.c: Fix horizontal whitespace.
11893 * soft-fp/addsf3.c: Likewise.
11894 * soft-fp/addtf3.c: Likewise.
11895 * soft-fp/divdf3.c: Likewise.
11896 * soft-fp/divsf3.c: Likewise.
11897 * soft-fp/divtf3.c: Likewise.
11898 * soft-fp/double.h: Likewise.
11899 * soft-fp/eqdf2.c: Likewise.
11900 * soft-fp/eqsf2.c: Likewise.
11901 * soft-fp/eqtf2.c: Likewise.
11902 * soft-fp/extenddftf2.c: Likewise.
11903 * soft-fp/extended.h: Likewise.
11904 * soft-fp/extendsfdf2.c: Likewise.
11905 * soft-fp/extendsftf2.c: Likewise.
11906 * soft-fp/extendxftf2.c: Likewise.
11907 * soft-fp/fixdfdi.c: Likewise.
11908 * soft-fp/fixdfsi.c: Likewise.
11909 * soft-fp/fixdfti.c: Likewise.
11910 * soft-fp/fixsfdi.c: Likewise.
11911 * soft-fp/fixsfsi.c: Likewise.
11912 * soft-fp/fixsfti.c: Likewise.
11913 * soft-fp/fixtfdi.c: Likewise.
11914 * soft-fp/fixtfsi.c: Likewise.
11915 * soft-fp/fixtfti.c: Likewise.
11916 * soft-fp/fixunsdfdi.c: Likewise.
11917 * soft-fp/fixunsdfsi.c: Likewise.
11918 * soft-fp/fixunsdfti.c: Likewise.
11919 * soft-fp/fixunssfdi.c: Likewise.
11920 * soft-fp/fixunssfsi.c: Likewise.
11921 * soft-fp/fixunssfti.c: Likewise.
11922 * soft-fp/fixunstfdi.c: Likewise.
11923 * soft-fp/fixunstfsi.c: Likewise.
11924 * soft-fp/fixunstfti.c: Likewise.
11925 * soft-fp/floatdidf.c: Likewise.
11926 * soft-fp/floatdisf.c: Likewise.
11927 * soft-fp/floatditf.c: Likewise.
11928 * soft-fp/floatsidf.c: Likewise.
11929 * soft-fp/floatsisf.c: Likewise.
11930 * soft-fp/floatsitf.c: Likewise.
11931 * soft-fp/floattidf.c: Likewise.
11932 * soft-fp/floattisf.c: Likewise.
11933 * soft-fp/floattitf.c: Likewise.
11934 * soft-fp/floatundidf.c: Likewise.
11935 * soft-fp/floatundisf.c: Likewise.
11936 * soft-fp/floatunditf.c: Likewise.
11937 * soft-fp/floatunsidf.c: Likewise.
11938 * soft-fp/floatunsisf.c: Likewise.
11939 * soft-fp/floatunsitf.c: Likewise.
11940 * soft-fp/floatuntidf.c: Likewise.
11941 * soft-fp/floatuntisf.c: Likewise.
11942 * soft-fp/floatuntitf.c: Likewise.
11943 * soft-fp/fmadf4.c: Likewise.
11944 * soft-fp/fmasf4.c: Likewise.
11945 * soft-fp/fmatf4.c: Likewise.
11946 * soft-fp/gedf2.c: Likewise.
11947 * soft-fp/gesf2.c: Likewise.
11948 * soft-fp/getf2.c: Likewise.
11949 * soft-fp/ledf2.c: Likewise.
11950 * soft-fp/lesf2.c: Likewise.
11951 * soft-fp/letf2.c: Likewise.
11952 * soft-fp/muldf3.c: Likewise.
11953 * soft-fp/mulsf3.c: Likewise.
11954 * soft-fp/multf3.c: Likewise.
11955 * soft-fp/negdf2.c: Likewise.
11956 * soft-fp/negsf2.c: Likewise.
11957 * soft-fp/negtf2.c: Likewise.
11958 * soft-fp/op-1.h: Likewise.
11959 * soft-fp/op-2.h: Likewise.
11960 * soft-fp/op-4.h: Likewise.
11961 * soft-fp/op-8.h: Likewise.
11962 * soft-fp/op-common.h: Likewise.
11963 * soft-fp/quad.h: Likewise.
11964 * soft-fp/single.h: Likewise.
11965 * soft-fp/soft-fp.h: Likewise.
11966 * soft-fp/sqrtdf2.c: Likewise.
11967 * soft-fp/sqrtsf2.c: Likewise.
11968 * soft-fp/sqrttf2.c: Likewise.
11969 * soft-fp/subdf3.c: Likewise.
11970 * soft-fp/subsf3.c: Likewise.
11971 * soft-fp/subtf3.c: Likewise.
11972 * soft-fp/truncdfsf2.c: Likewise.
11973 * soft-fp/trunctfdf2.c: Likewise.
11974 * soft-fp/trunctfsf2.c: Likewise.
11975 * soft-fp/trunctfxf2.c: Likewise.
11976 * soft-fp/unorddf2.c: Likewise.
11977 * soft-fp/unordsf2.c: Likewise.
11978 * soft-fp/unordtf2.c: Likewise.
11979
9ebb0332
JM
119802013-10-15 Joseph Myers <joseph@codesourcery.com>
11981
11982 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11983 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11984
4b1a6d8b
OB
119852013-10-15 Ondřej Bílka <neleai@seznam.cz>
11986
11987 * elf/dl-libc.c: Clear initfini list after freeing.
11988
1e145589
JM
119892013-10-14 Joseph Myers <joseph@codesourcery.com>
11990
11991 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11992 * soft-fp/addsf3.c: Likewise.
11993 * soft-fp/addtf3.c: Likewise.
11994 * soft-fp/divdf3.c: Likewise.
11995 * soft-fp/divsf3.c: Likewise.
11996 * soft-fp/divtf3.c: Likewise.
11997 * soft-fp/double.h: Likewise.
11998 * soft-fp/eqdf2.c: Likewise.
11999 * soft-fp/eqsf2.c: Likewise.
12000 * soft-fp/eqtf2.c: Likewise.
12001 * soft-fp/extenddftf2.c: Likewise.
12002 * soft-fp/extended.h: Likewise.
12003 * soft-fp/extendsfdf2.c: Likewise.
12004 * soft-fp/extendsftf2.c: Likewise.
12005 * soft-fp/extendxftf2.c: Likewise.
12006 * soft-fp/fixdfdi.c: Likewise.
12007 * soft-fp/fixdfsi.c: Likewise.
12008 * soft-fp/fixdfti.c: Likewise.
12009 * soft-fp/fixsfdi.c: Likewise.
12010 * soft-fp/fixsfsi.c: Likewise.
12011 * soft-fp/fixsfti.c: Likewise.
12012 * soft-fp/fixtfdi.c: Likewise.
12013 * soft-fp/fixtfsi.c: Likewise.
12014 * soft-fp/fixtfti.c: Likewise.
12015 * soft-fp/fixunsdfdi.c: Likewise.
12016 * soft-fp/fixunsdfsi.c: Likewise.
12017 * soft-fp/fixunsdfti.c: Likewise.
12018 * soft-fp/fixunssfdi.c: Likewise.
12019 * soft-fp/fixunssfsi.c: Likewise.
12020 * soft-fp/fixunssfti.c: Likewise.
12021 * soft-fp/fixunstfdi.c: Likewise.
12022 * soft-fp/fixunstfsi.c: Likewise.
12023 * soft-fp/fixunstfti.c: Likewise.
12024 * soft-fp/floatdidf.c: Likewise.
12025 * soft-fp/floatdisf.c: Likewise.
12026 * soft-fp/floatditf.c: Likewise.
12027 * soft-fp/floatsidf.c: Likewise.
12028 * soft-fp/floatsisf.c: Likewise.
12029 * soft-fp/floatsitf.c: Likewise.
12030 * soft-fp/floattidf.c: Likewise.
12031 * soft-fp/floattisf.c: Likewise.
12032 * soft-fp/floattitf.c: Likewise.
12033 * soft-fp/floatundidf.c: Likewise.
12034 * soft-fp/floatundisf.c: Likewise.
12035 * soft-fp/floatunsidf.c: Likewise.
12036 * soft-fp/floatunsisf.c: Likewise.
12037 * soft-fp/floatuntidf.c: Likewise.
12038 * soft-fp/floatuntisf.c: Likewise.
12039 * soft-fp/floatuntitf.c: Likewise.
12040 * soft-fp/fmadf4.c: Likewise.
12041 * soft-fp/fmasf4.c: Likewise.
12042 * soft-fp/fmatf4.c: Likewise.
12043 * soft-fp/gedf2.c: Likewise.
12044 * soft-fp/gesf2.c: Likewise.
12045 * soft-fp/getf2.c: Likewise.
12046 * soft-fp/ledf2.c: Likewise.
12047 * soft-fp/lesf2.c: Likewise.
12048 * soft-fp/letf2.c: Likewise.
12049 * soft-fp/muldf3.c: Likewise.
12050 * soft-fp/mulsf3.c: Likewise.
12051 * soft-fp/multf3.c: Likewise.
12052 * soft-fp/negdf2.c: Likewise.
12053 * soft-fp/negsf2.c: Likewise.
12054 * soft-fp/negtf2.c: Likewise.
12055 * soft-fp/op-1.h: Likewise.
12056 * soft-fp/op-2.h: Likewise.
12057 * soft-fp/op-4.h: Likewise.
12058 * soft-fp/op-8.h: Likewise.
12059 * soft-fp/op-common.h: Likewise.
12060 * soft-fp/quad.h: Likewise.
12061 * soft-fp/single.h: Likewise.
12062 * soft-fp/soft-fp.h: Likewise.
12063 * soft-fp/sqrtdf2.c: Likewise.
12064 * soft-fp/sqrtsf2.c: Likewise.
12065 * soft-fp/sqrttf2.c: Likewise.
12066 * soft-fp/subdf3.c: Likewise.
12067 * soft-fp/subsf3.c: Likewise.
12068 * soft-fp/subtf3.c: Likewise.
12069 * soft-fp/truncdfsf2.c: Likewise.
12070 * soft-fp/trunctfdf2.c: Likewise.
12071 * soft-fp/trunctfsf2.c: Likewise.
12072 * soft-fp/trunctfxf2.c: Likewise.
12073 * soft-fp/unorddf2.c: Likewise.
12074 * soft-fp/unordsf2.c: Likewise.
12075 * soft-fp/unordtf2.c: Likewise.
12076
17c48a60
OB
120772013-10-14 Ondřej Bílka <neleai@seznam.cz>
12078
12079 [BZ #15672]
12080 * misc/error.c (error_tail): Fix possible buffer overflow.
12081
cabba934
OB
120822013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12083
12084 [BZ #13028]
12085 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12086 address.
12087
94bf958a
PM
120882013-10-14 P. J. McDermott <pj@pehjota.net>
12089
12090 [BZ #832]
12091 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12092 testing pipefail option.
12093
71b4dea7
JM
120942013-10-12 Joseph Myers <joseph@codesourcery.com>
12095
12096 * soft-fp/double.h: Indent preprocessor directives inside #if.
12097 * soft-fp/extended.h: Likewise.
12098 * soft-fp/op-2.h: Likewise.
12099 * soft-fp/op-4.h: Likewise.
12100 * soft-fp/op-common.h: Likewise.
12101 * soft-fp/quad.h: Likewise.
12102 * soft-fp/single.h: Likewise.
12103 * soft-fp/soft-fp.h: Likewise.
12104
55602758
YC
121052013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12106
12107 * iconv/iconv_prog.c: Fix typos.
12108 * stdio-common/psiginfo-data.h: Likewise.
12109
9cd83302
RT
121102013-10-12 Reuben Thomas <rrt@sc3d.org>
12111
12112 [BZ #15764]
12113 * locale/setlocale.c: Fix typo.
12114
99fd9f47
JM
121152013-10-12 Joseph Myers <joseph@codesourcery.com>
12116
b7ea74f0
JM
12117 [BZ #16036]
12118 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12119 signaling NaN arguments.
12120 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12121 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12122
8a509447
JM
12123 [BZ #14910]
12124 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12125 unordered operands.
12126 * soft-fp/gesf2.c (__gesf2): Likewise.
12127 * soft-fp/getf2.c (__getf2): Likewise.
12128 * soft-fp/ledf2.c (__ledf2): Likewise.
12129 * soft-fp/lesf2.c (__lesf2): Likewise.
12130 * soft-fp/letf2.c (__letf2): Likewise.
12131
98998e9f
JM
12132 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12133 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12134 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12135 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12136 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12137 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12138 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12139 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12140 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12141 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12142 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12143 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12144 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12145 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12146 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12147 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12148 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12149 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12150 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12151 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12152 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12153 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12154 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12155 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12156 * soft-fp/floattidf.c (__floattidf): Likewise.
12157 * soft-fp/floattisf.c (__floattisf): Likewise.
12158 * soft-fp/floattitf.c (__floattitf): Likewise.
12159 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12160 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12161 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12162 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12163 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12164 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12165 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12166 * soft-fp/gesf2.c (__gesf2): Likewise.
12167 * soft-fp/getf2.c (__getf2): Likewise.
12168 * soft-fp/ledf2.c (__ledf2): Likewise.
12169 * soft-fp/lesf2.c (__lesf2): Likewise.
12170 * soft-fp/letf2.c (__letf2): Likewise.
12171
8edc4a11
JM
12172 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12173 Undefine and redefine.
12174 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12175 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12176 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12177 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12178 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12179 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12180 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12181 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12182 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12183 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12184 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12185 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12186 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12187 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12188 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12189
8399acaf
JM
12190 [BZ #16032]
12191 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12192 without decrementing exponent if mantissa >= that for the
12193 denominator, not >.
12194 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12195 denominator, not >. Decrement exponent in < case instead of
12196 incrementing in >= case.
12197 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12198 without decrementing exponent if mantissa >= that for the
12199 denominator, not >.
12200
99fd9f47
JM
12201 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12202 computing saturated result for unsigned overflow.
12203
10e1cf6b
SP
122042013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12205 Jeff Law <law@redhat.com>
12206
12207 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12208 (atan2Mp): Add systemtap probe marker.
12209 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12210 (__ieee754_log): Add systemtap probe marker.
12211 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12212 (atanMp): Add systemtap probe marker.
12213 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12214 (tanMp): Add systemtap probe marker.
12215 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12216 (__slowexp): Add systemtap probe marker.
12217 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12218 (__slowpow): Add systemtap probe marker.
12219 * manual/probes.texi: Document probes.
12220
3d110c7c
EB
122212013-10-11 Eric Biggers <ebiggers3@gmail.com>
12222
12223 [BZ #15362]
12224 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12225 written.
12226 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12227 written.
12228 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12229 written to buffer but not flushed.
12230 * libio/iofwrite_u.c: Likewise.
12231 * libio/iopadn.c: Return bytes returned even if EOF was
12232 encountered.
12233 * libio/iowpadn.c: Likewise.
12234 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12235 if _IO_padn does not write the whole buffer.
12236 [!COMPILE_WPRINTF] (PAD): Likewise.
12237
75b4202a
DM
122382013-10-10 David S. Miller <davem@davemloft.net>
12239
12240 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12241 directory block.
12242
6c6352e6
JM
122432013-10-10 Joseph Myers <joseph@codesourcery.com>
12244
33b853c3
JM
12245 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12246 instead of FSF address.
12247 * soft-fp/fixdfti.c: Likewise.
12248 * soft-fp/fixsfti.c: Likewise.
12249 * soft-fp/fixtfti.c: Likewise.
12250 * soft-fp/fixunsdfti.c: Likewise.
12251 * soft-fp/fixunssfti.c: Likewise.
12252 * soft-fp/fixunstfti.c: Likewise.
12253 * soft-fp/floattidf.c: Likewise.
12254 * soft-fp/floattisf.c: Likewise.
12255 * soft-fp/floattitf.c: Likewise.
12256 * soft-fp/floatuntidf.c: Likewise.
12257 * soft-fp/floatuntisf.c: Likewise.
12258 * soft-fp/floatuntitf.c: Likewise.
12259 * soft-fp/trunctfxf2.c: Likewise.
12260
6c6352e6
JM
12261 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12262 * soft-fp/fixdfti.c: Likewise.
12263 * soft-fp/fixsfti.c: Likewise.
12264 * soft-fp/fixtfti.c: Likewise.
12265 * soft-fp/fixunsdfti.c: Likewise.
12266 * soft-fp/fixunssfti.c: Likewise.
12267 * soft-fp/fixunstfti.c: Likewise.
12268 * soft-fp/floattidf.c: Likewise.
12269 * soft-fp/floattisf.c: Likewise.
12270 * soft-fp/floattitf.c: Likewise.
12271 * soft-fp/floatuntidf.c: Likewise.
12272 * soft-fp/floatuntisf.c: Likewise.
12273 * soft-fp/floatuntitf.c: Likewise.
12274 * soft-fp/trunctfxf2.c: Likewise.
12275
3bf78b71
DM
122762013-10-10 David S. Miller <davem@davemloft.net>
12277
12278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12279
6f10289e
JM
122802013-10-10 Joseph Myers <joseph@codsourcery.com>
12281
bd878fc0
JM
12282 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12283 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12284 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12285 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12286 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12287 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12288 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12289
6f10289e
JM
12290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12291 for NaNs before doing comparisons on argument.
12292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12293 Likewise.
12294
321e2684
WN
122952013-10-10 Will Newton <will.newton@linaro.org>
12296
12297 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12298 passed to _int_memalign does not overflow.
12299
40fefba1
TR
123002013-10-10 Torvald Riegel <triegel@redhat.com>
12301
12302 * scripts/bench.pl: Add include-sources directive.
12303 * benchtests/README: Update documentation.
12304
2ae21ed2
JM
123052013-10-10 Joseph Myers <joseph@codesourcery.com>
12306
dcc2dd3f
JM
12307 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12308 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12309 instead of FP_INIT_ROUNDMODE.
12310 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12311 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12312
2ae21ed2
JM
12313 [BZ #16034]
12314 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12315 copy class of input value.
12316 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12317 not handle exceptions.
12318 * soft-fp/negsf2.c (__negsf2): Likewise.
12319 * soft-fp/negtf2.c (__negtf2): Likewise.
12320 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12321
cb8f9562
JM
123222013-10-09 Joseph Myers <joseph@codesourcery.com>
12323
12324 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12325 semicolon. From Linux kernel.
12326
5b60c59d
AB
123272013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12328
12329 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12330
b86835ca
YC
123312013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12332
12333 [BZ #156]
12334 * manual/socket.texi: Added statement about buffer
12335 for gethostbyname2_r.
12336
e7044ea7
OB
123372013-10-08 Ondřej Bílka <neleai@seznam.cz>
12338
12339 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12340 Use .p2align directive instead, throughout.
12341 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12342 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12343 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12346 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12347 * sysdeps/x86_64/strchr.S: Likewise.
12348 * sysdeps/x86_64/strrchr.S: Likewise.
12349
09544cbc
SP
123502013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12351
88576635
SP
12352 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12353
e7b2d1dd
SP
12354 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12355
09544cbc
SP
12356 * sysdeps/generic/math_private.h (__mpsin1): Remove
12357 declaration.
12358 (__mpcos1): Likewise.
12359 (__mpsin): New argument __range_reduce.
12360 (__mpcos): Likewise.
12361 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12362 (slow): Use __mpsin and __mpcos.
12363 (slow1): Likewise.
12364 (slow2): Likewise.
12365 (sloww): Likewise.
12366 (sloww1): Likewise.
12367 (sloww2): Likewise.
12368 (bsloww): Likewise.
12369 (bsloww1): Likewise.
12370 (bsloww2): Likewise.
12371 (cslow2): Likewise.
12372 (csloww): Likewise.
12373 (csloww1): Likewise.
12374 (csloww2): Likewise.
12375 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12376 range_reduce. Merge in __mpsin1.
12377 (__mpcos): Likewise.
12378 (__mpsin1): Remove.
12379 (__mpcos1): Likewise.
12380
7602d070
JM
123812013-10-07 Joseph Myers <joseph@codesourcery.com>
12382
12383 * locale/loadlocale.c (_nl_intern_locale_data): Use
12384 LOCFILE_ALIGNED_P.
12385 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12386 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12387 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12388 obstack data is appropriately aligned.
12389 (obstack_int32_grow_fast): Likewise.
12390 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12391 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12392 (add_locale_uint32_array): Likewise.
12393
a357259b
SP
123942013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12395
12396 * benchtests/Makefile: Remove ARGLIST and RET variables.
12397 ($(objpfx)bench-%.c): Pass only function name to the script.
12398 * benchtests/README: Update documentation.
12399 * benchtests/acos-inputs: Add new directives.
12400 * benchtests/acosh-inputs: Likewise.
12401 * benchtests/asin-inputs: Likewise.
12402 * benchtests/asinh-inputs: Likewise.
12403 * benchtests/atan-inputs: Likewise.
12404 * benchtests/atanh-inputs: Likewise.
12405 * benchtests/cos-inputs: Likewise.
12406 * benchtests/cosh-inputs: Likewise.
12407 * benchtests/exp-inputs: Likewise.
12408 * benchtests/log-inputs: Likewise.
12409 * benchtests/pow-inputs: Likewise.
12410 * benchtests/rint-inputs: Likewise.
12411 * benchtests/sin-inputs: Likewise.
12412 * benchtests/sinh-inputs: Likewise.
12413 * benchtests/tan-inputs: Likewise.
12414 * benchtests/tanh-inputs: Likewise.
12415 * scripts/bench.pl: Add support for new directives.
12416
9ec1b13d
AM
124172013-10-07 Alan Modra <amodra@gmail.com>
12418
12419 * README: Fix careless merge.
12420
8b7d57cd
AM
124212013-10-05 Alan Modra <amodra@gmail.com>
12422
12423 * NEWS: Mention powerpc64le support and bugs fixed.
12424 * README: Both big-endian and little-endian powerpc64 supported.
12425
7b7bab13
ST
124262013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12427
57f41c40
AS
12428 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12429 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12430 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12431 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12432
d39baad1
RA
124332013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12434
12435 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12436 match prototype.
12437
cd78f7e7
JM
124382013-10-04 Joseph Myers <joseph@codesourcery.com>
12439
29d73d86
JM
12440 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12441 Move -mhard-float appending from
12442 ports/sysdeps/powerpc/powerpc32/Makefile.
12443 [$(with-fp) = yes] (ASFLAGS): Likewise.
12444 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12445 * sysdeps/powerpc/nofpu: Move directory from
12446 ports/sysdeps/powerpc/nofpu.
12447 * sysdeps/powerpc/soft-fp: Move directory from
12448 ports/sysdeps/powerpc/soft-fp.
12449 * sysdeps/powerpc/powerpc32/405: Move directory from
12450 ports/sysdeps/powerpc/powerpc32/405.
12451 * sysdeps/powerpc/powerpc32/440: Move directory from
12452 ports/sysdeps/powerpc/powerpc32/440.
12453 * sysdeps/powerpc/powerpc32/464: Move directory from
12454 ports/sysdeps/powerpc/powerpc32/464.
12455 * sysdeps/powerpc/powerpc32/476: Move directory from
12456 ports/sysdeps/powerpc/powerpc32/476.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12458 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12460 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12462 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12464 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12466 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12467 * README: Update for powerpc-*-linux-gnu software floating point
12468 support in libc.
12469
e246b347
JM
12470 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12471 case to powerpc/powerpc32*.
12472 * sysdeps/unix/sysv/linux/configure: Regenerated.
12473
89c2003e
JM
12474 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12475 (_FPU_MASK_OM): Define as 0x04.
12476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12478 0x00c10080.
12479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12480 0x0000003c.
12481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12482
cd78f7e7
JM
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12484 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12485 getcontext_e500.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12487 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12488 setcontext_e500.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12490 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12491 and setcontext_e500.
12492
c755294d
CL
124932013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12494
12495 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12496
e16d221c
SP
124972013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12498
12499 * manual/threads.texi (Default Thread Attributes): Fix typo.
12500
215c7d43
WN
125012013-10-04 Will Newton <will.newton@linaro.org>
12502
12503 * malloc/Makefile: Add tst-memalign.
12504 * malloc/tst-memalign.c: New file.
12505
27d0461b
WN
12506 * malloc/tst-posix_memalign.c: Add comments.
12507 (do_test): Add comments and call free on all potentially
12508 allocated pointers. Add space after cast.
12509
1bc92709
WN
12510 * malloc/tst-pvalloc.c: Add comments.
12511 (do_test): Add comments and call free on all potentially
12512 allocated pointers. Remove duplicate check for NULL pointer.
12513 Add space after cast.
12514
66a9be9d
WN
12515 * malloc/tst-valloc.c: Add comments.
12516 (do_test): Add comments and call free on all potentially
12517 allocated pointers. Remove duplicate check for NULL pointer.
12518 Add space after cast.
12519
4cb81307
AM
125202013-10-04 Alan Modra <amodra@gmail.com>
12521
12522 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12523 Use stdint types in rather than __attribute__((mode())).
12524 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12525
f8e3e9f3
AM
125262013-10-04 Alan Modra <amodra@gmail.com>
12527
12528 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12529 Correct handling of unaligned relocs for little-endian.
12530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12531
8f9ebb08
AM
125322013-10-04 Alan Modra <amodra@gmail.com>
12533
12534 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12535 * configure: Regenerate.
12536 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12537 * shlib-versions: Likewise.
12538
0edf96c2
AM
125392013-10-04 Alan Modra <amodra@gmail.com>
12540
12541 * string/tester.c (test_memrchr): Increment reported test cycle.
12542
e0f7a380
AM
125432013-10-04 Alan Modra <amodra@gmail.com>
12544
12545 * string/test-memcpy.c (do_one_test): When reporting errors, print
12546 string address and don't overrun end of string.
12547
466b0393
AM
125482013-10-04 Alan Modra <amodra@gmail.com>
12549
12550 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12551 insrdi. Make better use of reg selection to speed exit slightly.
12552 Schedule entry path a little better. Remove useless "are we done"
12553 checks on entry to main loop. Handle wrapping around zero address.
12554 Correct main loop count. Handle single left-over word from main
12555 loop inline rather than by using loop_small. Remove extra word
12556 case in loop_small caused by wrong loop count. Add little-endian
12557 support.
12558 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12560 cache hint.
12561 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12562 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12563 support. Avoid rlwimi.
12564 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12565
3be87c77
AM
125662013-10-04 Alan Modra <amodra@gmail.com>
12567
12568 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12569 insrdi. Formatting.
3be87c77
AM
12570 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12571 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12572 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12573 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12574 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12576
759cfef3
AM
125772013-10-04 Alan Modra <amodra@gmail.com>
12578
12579 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12580 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12583 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12584 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12586 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12587 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12588 use of regs. Use power7 mtocrf. Tidy function tails.
12589
fe6e95d7
AM
125902013-10-04 Alan Modra <amodra@gmail.com>
12591
12592 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12593 Formatting. Consistently use rXXX register defines or rN defines.
12594 Use early exit labels that avoid restoring unused non-volatile regs.
12595 Make cr field use more consistent with rWORDn compares. Rename
12596 regs used as shift registers for unaligned loop, using rN defines
12597 for short lifetime/multiple use regs.
12598 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12600 addi 1,1,64 to pop stack frame. Simplify return value code.
12601 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12602
664318c3
AM
126032013-10-04 Alan Modra <amodra@gmail.com>
12604
12605 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12606 support. Correct typos, formatting. Optimize tail. Use insrdi
12607 rather than rlwimi.
12608 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12609 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12610 little-endian support. Correct typos.
12611 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12612 rather than rlwimi.
12613 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12614 in loop and entry code to keep "and." results.
12615 (strchr): Add little-endian support. Comment. Move cntlzd
12616 earlier in tail.
12617 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12618
43b84013
AM
126192013-10-04 Alan Modra <amodra@gmail.com>
12620
12621 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12622 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12624 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12625
8a7413f9
AM
126262013-10-04 Alan Modra <amodra@gmail.com>
12627
12628 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12629 (rTMP): Define as r11.
12630 (strcmp): Add little-endian support. Optimise tail.
12631 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12632 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12633 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12634 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12635 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12637 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12638
33ee81de
AM
126392013-10-04 Alan Modra <amodra@gmail.com>
12640
12641 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12642 little-endian support. Remove unnecessary "are we done" tests.
12643 Handle "s" wrapping around zero and extremely large "size".
12644 Correct main loop count. Handle single left-over word from main
12645 loop inline rather than by using small_loop. Correct comments.
12646 Delete "zero" tail, use "end_max" instead.
12647 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12648
db9b4570
AM
126492013-10-04 Alan Modra <amodra@gmail.com>
12650
12651 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12652 support. Don't branch over align.
12653 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12654 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12655 support. Rearrange tmp reg use to suit. Comment.
12656 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12657
f7c399cf
AM
126582013-10-04 Alan Modra <amodra@gmail.com>
12659
12660 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12661
0b2c2ace
AM
126622013-10-04 Alan Modra <amodra@gmail.com>
12663
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12665 conditional form of branch and link when obtaining pc.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12667
02f04a6c
AM
126682013-10-04 Alan Modra <amodra@gmail.com>
12669
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12671 HIWORD/LOWORD.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12674
9b874b2f
AM
126752013-10-04 Alan Modra <amodra@gmail.com>
12676
12677 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12678 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12679 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12680 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12681 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12682 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12683 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12684 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12685 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12686 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12687
be1e5d31
AB
126882013-10-04 Anton Blanchard <anton@au1.ibm.com>
12689 Alistair Popple <alistair@ozlabs.au.ibm.com>
12690 Alan Modra <amodra@gmail.com>
12691
12692 [BZ #15723]
12693 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12694 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12695 _dl_hwcap access for little-endian.
12696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12697 destroy vmx regs when saving unaligned.
12698 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12699 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12700 destroy vmx regs when saving unaligned.
12701
fef13a78
AM
127022013-10-04 Alan Modra <amodra@gmail.com>
12703
12704 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12705 Don't use a union to pack hi/low value.
12706
76a66d51
AB
127072013-10-04 Anton Blanchard <anton@au1.ibm.com>
12708
12709 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12710 for little-endian.
12711 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12713 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12714 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12715 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12716
6a31fe7f
AM
127172013-10-04 Alan Modra <amodra@gmail.com>
12718
12719 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12720 constants to usual value for .cst8 section, and remove redundant
12721 high address load.
12722 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12723 constant for 0x1p52. Load little-endian words of double from
12724 correct stack offsets.
12725
7b88401f
AM
127262013-10-04 Alan Modra <amodra@gmail.com>
12727
12728 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12729 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12730 words of double from correct stack offsets.
12731 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12732 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12733 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12734 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12735 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12736 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12737 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12738 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12739 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12740 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12741 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12742 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12743 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12744 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12745 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12746 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12747 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12748
9c008155
AM
127492013-10-04 Alan Modra <amodra@gmail.com>
12750
12751 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12752 64-bit int/double union.
12753 (_FPU_SETCW): Likewise.
12754 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12755 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12756
da13146d
AM
127572013-10-04 Alan Modra <amodra@gmail.com>
12758
12759 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12760 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12761
603e8410
AM
127622013-10-04 Alan Modra <amodra@gmail.com>
12763
12764 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12765 use vector int constants.
12766 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12767
4a28b3ca
AB
127682013-10-04 Anton Blanchard <anton@au1.ibm.com>
12769
12770 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12771 array with long long.
12772 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12773 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12774 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12775 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12776 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12777 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12778 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12779 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12780 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12781 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12782 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12783 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12784 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12785
2ca85d2b
AB
127862013-10-04 Anton Blanchard <anton@au1.ibm.com>
12787
12788 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12789 (__signbit): Likewise. Correct for little-endian.
12790 (__signbitl): Call __signbit.
12791 (lrint): Correct for little-endian.
12792 (lrintf): Call lrint.
12793
62a728ae
AM
127942013-10-04 Alan Modra <amodra@gmail.com>
12795
12796 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12797 union 32-bit int array member with 64-bit int array.
12798 (t515, tm256): Double rather than long double.
12799 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12800
32c301df
AM
128012013-10-04 Alan Modra <amodra@gmail.com>
12802
12803 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12804 Delete.
12805 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12806 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12807 version of math_ldbl.h.
12808
650ef4bd
AM
128092013-10-04 Alan Modra <amodra@gmail.com>
12810
12811 [BZ #15734], [BZ #15735]
12812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12813 all uses of ieee875 long double macros and unions. Simplify test
12814 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12815 ldbl_extract_mantissa value for ix,iy exponents. Properly
12816 normalize after ldbl_extract_mantissa, and don't add hidden bit
12817 already handled. Don't treat low word of ieee854 mantissa like
12818 low word of IBM long double and mask off bit when testing for
12819 zero.
12820 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12821 all uses of ieee875 long double macros and unions. Simplify tests
12822 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12823 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12824 two1022, instead use their values. Recognise that tests for large
12825 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12827 Rewrite all uses of ieee875 long double macros and unions. Simplify
12828 test for 0.0L and nan. Correct negation.
12829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12830 ieee875 long double macros and unions. Correct output for large
12831 magnitude x. Correct absolute value calculation.
12832 (__erfcl): Likewise.
12833 * math/libm-test.inc: Add tests for errors discovered in IBM long
12834 double versions of fmodl, remainderl, erfl and erfcl.
12835
765714ca
AM
128362013-10-04 Alan Modra <amodra@gmail.com>
12837
12838 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12839 all uses of ieee854 long double macros and unions. Simplify tests
12840 for long doubles that are fully specified by the high double.
12841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12842 Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12844 Remove dead code too.
12845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12846 (__ieee754_ynl): Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12850 Remove dead code too.
12851 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12853 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12855 Simplify.
12856 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12857 Simplify.
12858 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12861 Comment on variable precision.
12862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12863 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12864 Likewise.
12865 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12868 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12869 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12870
4ebd120c
AM
128712013-10-04 Alan Modra <amodra@gmail.com>
12872
12873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12874 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12875 all uses of ieee854 long double macros and unions.
12876 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12877 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12878 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12879 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12880 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12881 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12882 Likewise.
12883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12884 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12885 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12886 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12887 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12888 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12889 Simplify sign and nan test too.
12890 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12891 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12892 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12893 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12894 Likewise.
12895 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12896 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12897 Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12899 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12900 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12901 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12902 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12904
1b6adf88
AM
129052013-10-04 Alan Modra <amodra@gmail.com>
12906
12907 * stdio-common/printf_size.c (__printf_size): Don't use
12908 union ieee854_long_double in fpnum union.
12909 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12910 signbit macro to retrieve sign from long double.
12911 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12912 retrieve sign from long double.
12913 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12914 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12916 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12917 * math/test-misc.c (main): Don't use union ieee854_long_double.
12918
4cf69995
AM
129192013-10-04 Alan Modra <amodra@gmail.com>
12920
12921 [BZ #15680]
12922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12923 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12924 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12925 calculation. Remove unnecessary test for denormal exponent.
12926 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12927 Correct handling of denormals. Avoid undefined shift behaviour.
12928 Correct normalisation of low mantissa when low double is denormal.
12929 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12930 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12931 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12932 Correct normalisation of low mantissa. Test for overflow of high
12933 mantissa and normalise.
12934 (ldbl_nearbyint): Use more readable constant for two52.
12935 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12936 (__mpn_construct_long_double): Fix test for overflow of high
12937 mantissa and correct normalisation. Avoid undefined shift.
12938
9605ca6c
AM
129392013-10-04 Alan Modra <amodra@gmail.com>
12940
12941 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12942 (union ibm_extended_long_double): Define as an array of ieee754_double.
12943 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12944 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12945 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12946 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12950 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12954
975569d0
JM
129552013-10-03 Joseph Myers <joseph@codesourcery.com>
12956
d3d23756
JM
12957 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12958 page size instead of calling getpagesize.
12959
975569d0
JM
12960 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12961 (LOCFILE_ALIGN_MASK): Likewise.
12962 (LOCFILE_ALIGN_UP): Likewise.
12963 (LOCFILE_ALIGNED_P): Likewise.
12964 * locale/programs/ld-collate.c (collate_output): Use the new
12965 macros instead of __alignof__ (int32_t).
12966 * locale/weight.h (findidx): Likewise.
12967
b1fe1f2b
OB
129682013-10-03 Ondřej Bílka <neleai@seznam.cz>
12969
12970 [BZ #431]
12971 * manual/string.texi: Fix strncat and wcsncat.
12972
5f855e35
BM
129732013-10-03 Brooks Moses <bmoses@google.com>
12974
12975 [BZ #15915]
12976 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12977 * Makerules: ...here, and adjust associated comments.
12978
3cef6009
WN
129792013-10-02 Will Newton <will.newton@linaro.org>
12980
12981 * malloc/Makefile: Add tst-pvalloc.
12982 * malloc/tst-pvalloc.c: New file.
12983
7815420b
WN
129842013-10-02 Will Newton <will.newton@linaro.org>
12985
12986 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12987 improve test coverage.
12988
4868b204
WN
129892013-10-02 Will Newton <will.newton@linaro.org>
12990
12991 * malloc/Makefile: Add tst-posix_memalign.
12992 * malloc/tst-posix_memalign.c: New file.
12993
29c793b3
EB
129942013-10-01 Eric Blake <eblake@redhat.com>
12995
12996 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12997 Use __THROWNL rather than __THROW on static functions.
12998
fd967522
PM
129992013-09-30 Petr Machata <pmachata@redhat.com>
13000
13001 * elf/elf.h (R_AARCH64_ABS16): New macro.
13002 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13003 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13004 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13005 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13006 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13007 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13008 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13009 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13010 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13011 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13012 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13013 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13014 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13015 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13016 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13017 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13018 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13019 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13020 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13021 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13022 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13023 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13024 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13025 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13026 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13027 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13028 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13029 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13030 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13031 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13032 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13033 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13034 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13035 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13036 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13037 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13038 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13039 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13040 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13041 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13042 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13043 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13044 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13045 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13046 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13047 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13048 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13049 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13050 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13051 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13052 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13053 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13054 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13055 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13056 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13057 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13058 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13059 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13060 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13061 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13062 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13063 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13064 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13065 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13066 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13067 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13068 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13069 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13070 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13071 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13072 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13073 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13074 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13075 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13076 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13077 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13078 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13079 (R_AARCH64_TLSDESC_LDR): Likewise.
13080 (R_AARCH64_TLSDESC_ADD): Likewise.
13081 (R_AARCH64_TLSDESC_CALL): Likewise.
13082
b2179107
AS
130832013-09-30 Andreas Schwab <schwab@suse.de>
13084
13085 [BZ #15048]
13086 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13087 the nss database lookup.
13088 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13090
47f28d0a
MF
130912013-09-28 Mike Frysinger <vapier@gentoo.org>
13092
13093 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13094
130952013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
13096
13097 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13098 ${Bash-specific parameter/pattern/string} parameter expansion.
13099 * sysdeps/unix/make-syscalls.sh: Likewise.
13100
f4518a17
KK
131012013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13102
13103 * sysdeps/sh/stackguard-macros.h: New file.
13104
dc1a95c7
OB
131052013-09-26 Ondřej Bílka <neleai@seznam.cz>
13106
13107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13109 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13110 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13111 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13112 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13113
5ebbff8f
AZ
131142013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13115
13116 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13117 Fix thread ID register.
13118
4fd2cf9f
JM
131192013-09-25 Joseph Myers <joseph@codesourcery.com>
13120
13121 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13122 [POSIX || UNIX98]: Require rather than permitting all symbols from
13123 <time.h>.
13124 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13125 element of struct sched_param.
13126 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13127 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13128 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13129 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13130 constant.
13131
12c22bc4
OL
131322013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13133
13134 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13135 argument calculation.
13136
a03d8ea7
JM
131372013-09-24 Joseph Myers <joseph@codesourcery.com>
13138
13139 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13140 Expect macro.
13141 [POSIX] (pthread_attr_t): Do not require type.
13142 [POSIX] (pthread_cond_t): Likewise.
13143 [POSIX] (pthread_condattr_t): Likewise.
13144 [POSIX] (pthread_key_t): Likewise.
13145 [POSIX] (pthread_mutex_t): Likewise.
13146 [POSIX] (pthread_mutexattr_t): Likewise.
13147 [POSIX] (pthread_once_t): Likewise.
13148 [POSIX] (pthread_t): Likewise.
13149 [POSIX-based standards] (pthread_atfork): Expect function.
13150
6055173a
JM
131512013-09-24 Joseph Myers <joseph@codesourcery.com>
13152 Richard Sandiford <richard@codesourcery.com>
13153
13154 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13155 (swap_endianness_p): New extern variable.
13156 (set_big_endian): New inline function.
13157 (maybe_swap_uint32): Likewise.
13158 (maybe_swap_uint32_array): Likewise.
13159 (maybe_swap_uint32_obstack): Likewise.
13160 * locale/programs/locfile.c: Include <stdbool.h>.
13161 (swap_endianness_p): New variable.
13162 (add_locale_uint32): Call maybe_swap_uint32.
13163 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13164 (write_locale_data): Call maybe_swap_uint32_array.
13165 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13166 maybe_swap_uint32.
13167 (obstack_int32_grow_fast): Likewise.
13168 (output_weightwc): Call maybe_swap_uint32_obstack.
13169 (collate_output): Likewise.
13170 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13171 (OPT_LITTLE_ENDIAN): Likewise.
13172 (options): Add --little-endian and --big-endian options.
13173 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13174 * locale/programs/locarchive.c: Include "locfile.h".
13175 (GET): New macro.
13176 (SET): Likewise.
13177 (INC): Likewise.
13178 (create_archive): Use the new macros to access fields of
13179 structures directly mapped from or written to locale archives.
13180 (oldlocrecentcmp): Likewise.
13181 (enlarge_archive): Likewise.
13182 (insert_name): Likewise.
13183 (add_alias): Likewise.
13184 (add_locale): Likewise.
13185 (delete_locales_from_archive): Likewise.
13186 (show_archive_content): Likewise.
13187 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13188 locale data.
13189
39bf0bb4
RM
131902013-09-24 Roland McGrath <roland@hack.frob.com>
13191
13192 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13193 http://www.gnu.org/doc/freemanuals.texi.
13194 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13195
f02eed10
WN
131962013-09-24 Will Newton <will.newton@linaro.org>
13197
13198 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13199 macro.
13200
a3a6c312
JM
132012013-09-23 Joseph Myers <joseph@codesourcery.com>
13202
13203 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13204 unsigned char.
13205
107375ac
MR
132062013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13207
13208 * manual/threads.texi (POSIX Threads): Fix a typo.
13209
141f3a77
SP
132102013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13211
303e567a
SP
13212 [BZ #14547]
13213 * string/tst-strcoll-overflow.c: New test case.
13214 * string/Makefile (xtests): Add tst-strcoll-overflow.
13215 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13216 cache if string sizes may cause integer overflow.
13217
141f3a77
SP
13218 [BZ #14547]
13219 * string/strcoll_l.c (coll_seq): New members rule, idx,
13220 save_idx and back_us.
13221 (get_next_seq_nocache): New function.
13222 (do_compare_nocache): New function.
13223 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13224 when malloc fails.
13225
c61b4d41
CD
132262013-09-23 Carlos O'Donell <carlos@redhat.com>
13227
0b1f8e35
CD
13228 [BZ #15754]
13229 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13230 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13231 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13232
c61b4d41
CD
13233 [BZ #15754]
13234 * elf/Makefile (tests): Add tst-ptrguard1.
13235 (tests-static): Add tst-ptrguard1-static.
13236 (tst-ptrguard1-ARGS): Define.
13237 (tst-ptrguard1-static-ARGS): Define.
13238 * elf/tst-ptrguard1.c: New file.
13239 * elf/tst-ptrguard1-static.c: New file.
13240 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13241 * sysdeps/i386/stackguard-macros.h: Likewise.
13242 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13243 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13244 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13245 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13246 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13247 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13248
132492013-09-23 Hector Marco <hecmargi@upv.es>
13250 Ismael Ripoll <iripoll@disca.upv.es>
13251 Carlos O'Donell <carlos@redhat.com>
13252
13253 [BZ #15754]
13254 * sysdeps/generic/stackguard-macros.h: Define
13255 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13256 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13257 Define __pointer_chk_guard_local.
13258 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13259 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13260
f5f4e7b4
VV
132612013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13262
13263 [BZ #15859]
13264 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13265
5bb43a43
AS
132662013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13267
13268 * include/string.h (__ffs): Declare as hidden.
13269 * string/ffs.c (__ffs): Define as hidden.
13270 * sysdeps/i386/ffs.c (__ffs): Likewise.
13271 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13272 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13273 * sysdeps/s390/ffs.c (__ffs): Likewise.
13274 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13275
3ea5be54
AO
132762013-09-20 Alexandre Oliva <aoliva@redhat.com>
13277
ffb89e53
AO
13278 * NEWS: Mention malloc probes.
13279
322dea08
AO
13280 * malloc/arena.c (new_heap): New memory_heap_new probe.
13281 (grow_heap): New memory_heap_more probe.
13282 (shrink_heap): New memory_heap_less probe.
13283 (heap_trim): New memory_heap_free probe.
13284 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13285 (systrim): New memory_sbrk_less probe.
13286 * manual/probes.texi: Document them.
13287
655673f3
AO
13288 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13289 * manual/probes.texi: Document it.
13290
35fed6f1
AO
13291 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13292 (__libc_realloc): Add memory_realloc_retry probe.
13293 (__libc_memalign): Add memory_memalign_retry probe.
13294 (__libc_valloc): Add memory_valloc_retry probe.
13295 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13296 (__libc_calloc): Add memory_calloc_retry probe.
13297 * manual/probes.texi: Document them.
13298
6999d38c
AO
13299 * malloc/arena.c (get_free_list): Add probe
13300 memory_arena_reuse_free_list.
13301 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13302 and memory_arena_reuse.
13303 (arena_get2) [!PER_THREAD]: Likewise.
13304 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13305 memory_arena_reuse_realloc.
13306 * manual/probes.texi: Document them.
13307
0653427f
AO
13308 * malloc/malloc.c (__libc_free): Add
13309 memory_mallopt_free_dyn_thresholds probe.
13310 (__libc_mallopt): Add multiple memory_mallopt probes.
13311 * manual/probes.texi: Document them.
13312
3ea5be54
AO
13313 * malloc/malloc.c: Include stap-probe.h.
13314 (__libc_mallopt): Add memory_mallopt probe.
13315 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13316 * manual/probes.texi: New.
13317 * manual/Makefile (chapters): Add probes.
13318 * manual/threads.texi: Set next node.
13319
e35696c3 133202013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13321
e35696c3
CL
13322 [BZ #15963, #13985]
13323 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13324 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13325 Add `Chinese' to `nan' entry name.
13326
4aafb73c
SP
133272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13328
13329 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13330 (POLYNOMIAL): Likewise.
13331 (TAYLOR_SINCOS): Likewise.
13332 (TAYLOR_SLOW): Likewise.
13333 (__sin): Use TAYLOR_SINCOS.
13334 (__cos): Likewise.
13335 (slow): Use TAYLOR_SLOW.
13336 (sloww): Likewise.
13337 (bsloww): Likewise.
13338 (csloww): Likewise.
13339
d84f25c7
LD
133402013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13341
13342 * stdlib/strtod_l.c: Fix buffer overrun.
13343
5eea0404
SP
133442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13345
7849ff93
SP
13346 * benchtests/Makefile (bench): Add sincos.
13347 * benchtests/bench-sincos.c: New file.
13348
cfa3c886
SP
13349 * math/libm-test.inc (cos_test_data): New test inputs.
13350 (sin_test_data): Likewise.
13351
b348e1e3
SP
13352 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13353 macro.
13354 (__sin): Use it.
13355 (__cos): Likewise.
13356 (slow1): Likewise.
13357 (slow2): Likewise.
13358 (sloww1): Likewise.
13359 (sloww2): Likewise.
13360 (bsloww1): Likewise.
13361 (bsloww2): Likewise.
13362 (cslow2): Likewise.
13363 (csloww1): Likewise.
13364 (csloww2): Likewise.
13365
6cce25f8
SP
13366 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13367 function.
13368 (__sin): Use it.
13369 (__cos): Likewise.
13370
5eea0404
SP
13371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13372 gotos.
13373 (__cos): Likewise.
13374
9c21573c
MR
133752013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13376
13377 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13378 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13379 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13380 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13381 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13382 * elf/cache.c (print_entry): Handle the new cache flags.
13383
24d22e65
JM
133842013-09-18 Joseph Myers <joseph@codesourcery.com>
13385 Aldy Hernandez <aldyh@redhat.com>
13386
13387 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13388 Change condition to [_SOFT_FLOAT].
13389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13401 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13404 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13405 declaration.
13406
d13ef066
JM
134072013-09-18 Joseph Myers <joseph@codesourcery.com>
13408
2e071de0
JM
13409 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13410 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13411 (__longjmp): Use LOAD_GP to load saved GPRs.
13412 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13413 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13414 (__sigsetjmp): Use SAVE_GP to save GPRs.
13415
d13ef066
JM
13416 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13417 Do not append -msoft-float.
13418 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13419
97a0650b
SP
134202013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13421
13422 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13423
11ca09e9
JM
134242013-09-17 Joseph Myers <joseph@codesourcery.com>
13425
13426 [BZ #15966]
13427 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13428 (_FPU_GETCW): Use initial "__" on variable and field names but not
13429 on macro parameter name.
13430 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13431 parentheses around reference to macro parameter.
13432
08ffcf34
RS
134332013-09-13 Richard Sandiford <richard@codesourcery.com>
13434
13435 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13436 prototype.
13437 (ctype_startup): Use uint32_t in cast and sizeof for
13438 ctype->charnames.
13439
ae7080d3
JL
134402013-09-11 Jia Liu <proljc@gmail.com>
13441
13442 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13443 __daddr_t_defined.
13444 [__FreeBSD__]: Likewise.
13445
5905e7b3
OB
134462013-09-11 Ondřej Bílka <neleai@seznam.cz>
13447
13448 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13449 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13450 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13451 (strchr): Remove __strchr_sse42 ifunc selection.
13452 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13453 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13454
b987c776
WN
134552013-09-11 Will Newton <will.newton@linaro.org>
13456
13457 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13458 parameter to RES. Remove hardcoded 1000 value.
13459 * benchtests/bench-skeleton.c (main): Pass RES parameter
13460 to TIMING_INIT and multiply result by 1000.
13461
ddf985af
AZ
134622013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13463
13464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13465
ffdd3181
AS
134662013-09-11 Andreas Schwab <schwab@suse.de>
13467
13468 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13469 if not defined.
13470 (O_TMPFILE) [__USE_GNU]: Define.
13471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13472 Define.
13473
b73ed247
WN
134742013-09-11 Will Newton <will.newton@linaro.org>
13475
13476 [BZ #15857]
13477 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13478 does not overflow.
13479
55e17aad
WN
134802013-09-11 Will Newton <will.newton@linaro.org>
13481
13482 [BZ #15856]
13483 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13484 does not overflow.
13485
1159a193
WN
134862013-09-11 Will Newton <will.newton@linaro.org>
13487
13488 [BZ #15855]
13489 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13490 does not overflow.
13491
5905e7b3 134922013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13493
13494 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13495 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13499
cdfc721b
AM
135002013-09-10 Allan McRae <allan@archlinux.org>
13501
aa04af00
AM
13502 [BZ #15748]
13503 * manual/arith.texi (Parsing of Floats): Clarify
13504 cross-reference.
13505
cdfc721b
AM
13506 [BZ #15849]
13507 * manual/install.texi (Running make install): Mention
13508 --enable-pt-chown.
13509 * INSTALL: Regenerated.
13510
95e7cf29
MR
135112013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13512
13513 * csu/init-first.c (_init): Remove the !SHARED condition around
13514 FPU control word initialization.
13515 * elf/dl-support.c (_dl_fpu_control): New variable.
13516 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13517 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13518 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13519 * math/test-fpucw-static.c: New file.
13520 * math/test-fpucw-ieee.c: New file.
13521 * math/test-fpucw-ieee-static.c: New file.
13522 * math/Makefile (tests): Add `test-fpucw-ieee' and
13523 `$(tests-static)'.
13524 (tests-static): New variable.
13525 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13526 dependency to...
13527 [($(build-shared),yes)]
13528 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13529 ... this.
13530 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13531 New dependency.
13532
83e43bf0
AM
135332013-09-09 Allan McRae <allan@archlinux.org>
13534
a9f5ce09
AM
13535 [BZ #15939]
13536 * manual/string.texi (Collation Functions): Fix typo in
13537 strcoll example.
13538 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13539
34829bc2
AM
13540 [BZ #15893]
13541 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13542
3932737d
AM
13543 [BZ #15892]
13544 * libio/memstream.c (open_memstream): Fix memory leak.
13545 * libio/wmemstream.c (open_wmemstream): Likewise.
13546
83e43bf0
AM
13547 [BZ #15895]
13548 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13549
0c66b8e9
WN
135502013-09-09 Will Newton <will.newton@linaro.org>
13551
13552 * malloc/Makefile: Add tst-realloc to tests.
13553 * malloc/tst-realloc.c: New file.
13554
f6b00fd1
AM
135552013-09-09 Allan McRae <allan@archlinux.org>
13556
13557 [BZ #15844]
13558 * COPYING: Update from GNU website to fix FSF address.
13559 * COPYING.LIB: Likewise.
13560
eec55e16
DM
135612013-09-06 David S. Miller <davem@davemloft.net>
13562
13563 * po/zh_TW.po: Update Chinese (traditional) translation from
13564 translation project.
13565
1ecbb381
RS
135662013-09-06 Richard Sandiford <richard@codesourcery.com>
13567 Joseph Myers <joseph@codesourcery.com>
13568
13569 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13570 "localeinfo.h".
13571 (obstack_chunk_alloc): New macro.
13572 (obstack_chunk_free): Likewise.
13573 (record_offset): New function.
13574 (init_locale_data): Likewise.
13575 (align_locale_data): Likewise.
13576 (add_locale_empty): Likewise.
13577 (add_locale_raw_data): Likewise.
13578 (add_locale_raw_obstack): Likewise.
13579 (add_locale_string): Likewise.
13580 (add_locale_wstring): Likewise.
13581 (add_locale_uint32): Likewise.
13582 (add_locale_uint32_array): Likewise.
13583 (add_locale_char): Likewise.
13584 (start_locale_structure): Likewise.
13585 (end_locale_structure): Likewise.
13586 (start_locale_prelude): Likewise.
13587 (end_locale_prelude): Likewise.
13588 (write_locale_data): Take locale_file structure rather than an
13589 iovec.
13590 * locale/programs/locfile.h: Include "obstack.h".
13591 (struct locale_file): Change to store locale file contents instead
13592 of header.
13593 (init_locale_data): New prototype.
13594 (align_locale_data): Likewise.
13595 (add_locale_empty): Likewise.
13596 (add_locale_raw_data): Likewise.
13597 (add_locale_raw_obstack): Likewise.
13598 (add_locale_string): Likewise.
13599 (add_locale_wstring): Likewise.
13600 (add_locale_uint32): Likewise.
13601 (add_locale_uint32_array): Likewise.
13602 (add_locale_char): Likewise.
13603 (start_locale_structure): Likewise.
13604 (end_locale_structure): Likewise.
13605 (start_locale_prelude): Likewise.
13606 (end_locale_prelude): Likewise.
13607 (write_locale_data): Update prototype.
13608 * locale/programs/3level.h (struct TABLE): Remove result field.
13609 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13610 Use new locale_file interface.
13611 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13612 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13613 * locale/programs/ld-address.c (address_output): Use new
13614 locale_file interface.
13615 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13616 NO_ADD_LOCALE.
13617 (collate_finish): Don't call collseq_table_finalize.
13618 (collate_output): Use new locale_file interface.
13619 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13620 in file.
13621 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13622 (TABLE): Move defines earlier in file.
13623 (ELEMENT): Likewise.
13624 (DEFAULT): Likewise.
13625 (wctrans_table_add): Move macro and inline function earlier in
13626 file.
13627 (struct wctype_table): Move type earlier in file.
13628 (add_locale_wctype_table): New static prototype.
13629 (struct locale_ctype_t): Use logical types instead of struct iovec
13630 pointers for members.
13631 (ctype_output): Use new locale_file interface.
13632 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13633 new locale_file interface.
13634 (allocate_arrays): Update for use of new locale_file interface.
13635 * locale/programs/ld-identification.c (identification_output): Use
13636 new locale_file interface.
13637 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13638 * locale/programs/ld-messages.c (messages_output): Likewise.
13639 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13640 * locale/programs/ld-name.c (name_output): Likewise.
13641 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13642 * locale/programs/ld-paper.c (paper_output): Likewise.
13643 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13644 * locale/programs/ld-time.c (time_output): Likewise.
13645
e029e2e5
AZ
136462013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13647
13648 * benchtests/Makefile: Add memrchr benchmark.
13649 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13650 benchmark as memrchr.
13651 * benchtests/bench-memrchr-ifunc.c: New file.
13652 * benchtests/bench-memrchr.c: New file.
13653
bbf6e8e4
WN
136542013-09-06 Will Newton <will.newton@linaro.org>
13655
13656 * benchtests/Makefile (string-bench): Add memcpy.
13657
6c82a2f8
CD
136582013-09-05 Carlos O'Donell <carlos@redhat.com>
13659 Cong Wang <amwang@redhat.com>
13660
e732c5f0 13661 [BZ #15850]
6c82a2f8
CD
13662 * sysdeps/unix/sysv/linux/bits/in.h
13663 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13664 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13665 before __USE_KERNEL_IPV6_DEFS uses.
13666 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13667 IPPROTO_BEETPH.
13668 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13669 sockaddr_in6, or ipv6_mreq.
13670
5430fc65
AZ
136712013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13672
13673 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13674 memory access for final bytes in some large inputs.
13675 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13676
4660856c
AZ
136772013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13678
13679 * string/test-memrchr.c: New file.
13680 * string/test-memrchr-ifunc.c: New file.
13681 * string/Makefile: Add new memrchr testcase.
13682
bb8ea713
MF
136832013-09-05 Mike Frysinger <vapier@gentoo.org>
13684
13685 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13686 fanotify_init returns EPERM.
13687
b92a20b5
JM
136882013-09-04 Joseph Myers <joseph@codesourcery.com>
13689
13690 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13691 errors.
13692 (top level): Treat second token from macro or constant entries for
13693 allowed headers as allowed.
13694 * include/complex.h: Condition internal declarations on
13695 [!_ISOMAC].
13696 * include/fenv.h: Condition include of <stdbool.h> and internal
13697 declarations on [!_ISOMAC].
7447ccd9
CL
13698
136992013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13700
3e181dda 13701 [BZ #15923]
7447ccd9
CL
13702 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13703
3f2e46a4
JM
137042013-09-04 Joseph Myers <joseph@codesourcery.com>
13705
13706 * configure.in (--enable-versioning): Remove configure option.
13707 (libc_cv_asm_symver_directive): Remove configure test.
13708 (libc_cv_ld_version_script_option): Likewise.
13709 (VERSIONING): Remove variable and AC_SUBST.
13710 (DO_VERSIONING): Remove AC_DEFINE.
13711 * configure: Regenerated.
13712 * config.h.in (DO_VERSIONING): Remove macro.
13713 * Makerules [$(versioning) = yes]: Change conditionals to
13714 [$(build-shared) = yes].
13715 * config.make.in (versioning): Remove variable.
13716 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13717 [$(build-shared) = yes].
13718 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13719 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13720 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13721 [$(build-shared) = yes].
13722 * extra-lib.mk [$(versioning) = yes]: Likewise.
13723 * hurd/Makefile [$(versioning) = yes]: Likewise.
13724 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13725 [SHARED].
13726 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13727 [SHARED].
13728 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13729 [SHARED && !NO_HIDDEN].
13730 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13731 [SHARED].
13732 [SHARED && DO_VERSIONING]: Likewise..
13733 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13734 [$(build-shared) = yes].
13735 * manual/install.texi (--disable-versioning): Remove
13736 documentation.
13737 * INSTALL: Regenerated.
13738 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13739 to [SHARED].
13740 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13741 [$(build-shared) = yes].
13742 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13743 * sysdeps/i386/i686/multiarch/strstr-c.c
13744 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13745 [SHARED && !NO_HIDDEN].
13746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13747 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13748 * sysdeps/powerpc/powerpc32/dl-machine.c
13749 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13750 * sysdeps/powerpc/powerpc32/sysdep.h
13751 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13752 to [SHARED && PIC && !NO_HIDDEN].
13753 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13754 conditional to [SHARED].
13755
44558701
WN
137562013-09-04 Will Newton <will.newton@linaro.org>
13757
13758 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13759 * benchtests/bench-string.h: Include bench-timing.h instead
13760 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13761 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13762 call to HP_TIMING_DIFF_INIT.
13763 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13764 instead of hp-timing.h macros.
13765 * benchtests/bench-memchr.c: Likewise.
13766 * benchtests/bench-memcmp.c: Likewise.
13767 * benchtests/bench-memcpy.c: Likewise.
13768 * benchtests/bench-memmem.c: Likewise.
13769 * benchtests/bench-memmove.c: Likewise.
13770 * benchtests/bench-memset.c: Likewise.
13771 * benchtests/bench-rawmemchr.c: Likewise.
13772 * benchtests/bench-strcasecmp.c: Likewise.
13773 * benchtests/bench-strcasestr.c: Likewise.
13774 * benchtests/bench-strcat.c: Likewise.
13775 * benchtests/bench-strchr.c: Likewise.
13776 * benchtests/bench-strcmp.c: Likewise.
13777 * benchtests/bench-strcpy.c: Likewise.
13778 * benchtests/bench-strcpy_chk.c: Likewise.
13779 * benchtests/bench-strlen.c: Likewise.
13780 * benchtests/bench-strncasecmp.c: Likewise.
13781 * benchtests/bench-strncat.c: Likewise.
13782 * benchtests/bench-strncmp.c: Likewise.
13783 * benchtests/bench-strncpy.c: Likewise.
13784 * benchtests/bench-strnlen.c: Likewise.
13785 * benchtests/bench-strpbrk.c: Likewise.
13786 * benchtests/bench-strrchr.c: Likewise.
13787 * benchtests/bench-strspn.c: Likewise.
13788 * benchtests/bench-strstr.c: Likewise.
13789
cae16d66
WN
137902013-09-04 Will Newton <will.newton@linaro.org>
13791
13792 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13793
ffa3cd7f
JM
137942013-09-03 Joseph Myers <joseph@codesourcery.com>
13795
13796 [BZ #15427]
13797 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13798 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13799 * math/libm-test.inc (lgamma_test_data): Add more tests.
13800 * sysdeps/i386/fpu/libm-test-ulps: Update.
13801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13802
8f02859f
OB
138032013-09-03 Ondřej Bílka <neleai@seznam.cz>
13804
13805 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13807 Add ifunc.
13808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13809 Add strcmp-sse2-unaligned
13810 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13811
18d43716
MF
138122013-09-02 Mike Frysinger <vapier@gentoo.org>
13813
13814 * Versions.def (libc): Add GLIBC_2.19.
13815
ac444012
MF
138162013-09-02 Mike Frysinger <vapier@gentoo.org>
13817
13818 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13819 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13820
b7835e32
JM
138212013-09-02 Joseph Myers <joseph@codesourcery.com>
13822
13823 [BZ #14155]
13824 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13825 intermediate calculations in recurrence.
13826 (__ieee754_ynf): Likewise.
13827 * math/libm-test.inc (jn_test_data): Do not allow spurious
13828 underflow exception. Add more tests.
13829 (yn_test_data): Add more tests.
13830 * sysdeps/i386/fpu/libm-test-ulps: Update.
13831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13832
8220f4f0
OB
138332013-09-02 Ondřej Bílka <neleai@seznam.cz>
13834
13835 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13836
f24a6d08
OB
138372013-08-30 Ondřej Bílka <neleai@seznam.cz>
13838
13839 * csu/init-first.c: Fix then/than typos.
13840 * locale/programs/ld-collate.c: Likewise.
13841 * locale/programs/linereader.h: Likewise.
13842 * manual/charset.texi: Likewise.
13843 * manual/filesys.texi: Likewise.
13844 * manual/stdio.texi: Likewise.
13845 * manual/string.texi: Likewise.
13846 * stdlib/fmtmsg.c: Likewise.
13847 * sysdeps/i386/stpncpy.S: Likewise.
13848 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13849 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13852
382466e0
OB
138532013-08-30 Ondřej Bílka <neleai@seznam.cz>
13854
13855 * elf/dl-open.c: Fix typos.
13856 * iconvdata/gbbig5.c: Likewise.
13857 * iconvdata/iso-2022-jp.c: Likewise.
13858 * iconv/gconv_int.h: Likewise.
13859 * iconv/loop.c: Likewise.
13860 * nis/rpcsvc/nis.h: Likewise.
13861 * resolv/ns_name.c: Likewise.
13862 * stdio-common/vfscanf.c: Likewise.
13863 * streams/stropts.h: Likewise.
13864 * sunrpc/rpc_thread.c: Likewise.
13865 * sysdeps/i386/strpbrk.S: Likewise.
13866 * sysdeps/ieee754/k_standard.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13869 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13870 * sysdeps/mach/hurd/profil.c: Likewise.
13871 * sysdeps/s390/dl-procinfo.h: Likewise.
13872 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13873 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13874 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13875 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13876 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13877
0186c6e9
OB
138782013-08-30 Ondřej Bílka <neleai@seznam.cz>
13879
13880 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13882
d4e16af1
OB
138832013-08-29 Ondřej Bílka <neleai@seznam.cz>
13884
13885 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13886 aix specific files.
13887 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13888 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13889 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13890 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13891 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13892 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13893 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13894 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13895
88335980
TS
138962013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13897 Roland McGrath <roland@hack.frob.com>
13898
13899 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13900 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13901
ed479b02
ST
139022013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13903
13904 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13905 __executable_start symbol instead of _start.
13906
f1cc4c86
TS
139072013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13908
d821f07c
TS
13909 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13910 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13911 Move macros to...
13912 * sysdeps/gnu/ldsodefs.h: ... this new file.
13913
c54290cf
TS
13914 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13915 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13916 instead of ELFOSABI_LINUX.
13917
0007fc9b 13918 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13919 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13920 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13921 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13922 Likewise.
13923 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13924 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13926 Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13928 (ibm_extended_long_double): Add ieee_nan member.
13929 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13930 (do_test): New function.
13931
f1cc4c86
TS
13932 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13933 TEST_TRUNC.
13934 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13935 functions, renamed from truncdfsf_test, trunctfsf_test,
13936 trunctfdf_test.
13937 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13938 functions.
13939 (do_test): Run all these.
13940
6f65e668
OB
139412013-08-29 Ondřej Bílka <neleai@seznam.cz>
13942
13943 * argp/argp-help.c: Fix typos.
13944 * argp/argp-parse.c: Likewise.
13945 * debug/backtracesyms.c: Likewise.
13946 * elf/elf.h: Likewise.
13947 * malloc/malloc.c: Likewise.
13948 * nis/nis_print.c: Likewise.
13949 * resolv/res_comp.c: Likewise.
13950 * stdlib/stdlib.h: Likewise.
13951 * sunrpc/clnt_tcp.c: Likewise.
13952 * sunrpc/clnt_udp.c: Likewise.
13953 * sunrpc/clnt_unix.c: Likewise.
13954 * sysdeps/unix/bsd/ptsname.c: Likewise.
13955 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13958 Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13960 Likewise.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13962 Likewise.
6f65e668
OB
13963 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13964
3a309239
SP
139652013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13966
13967 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13969
3b813b29
MF
139702013-08-27 Mike Frysinger <vapier@gentoo.org>
13971
13972 [BZ #15897]
13973 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13974 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13975 ($(objpfx)bug-dl-leaf): New rule.
13976 ($(objpfx)bug-dl-leaf.so): Likewise.
13977 ($(objpfx)bug-dl-leaf.out): Likewise.
13978 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13979 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13980 * dlfcn/bug-dl-leaf.c: New test.
13981 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13982 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13983 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13984 (dlclose): Likewise.
13985 (dlmopen): Likewise.
13986
8cc3269f
RM
139872013-08-27 Roland McGrath <roland@hack.frob.com>
13988
7f9d0034
RM
13989 * include/netdb.h [!_ISOMAC]:
13990 Don't include <tls.h>.
13991 (h_errno, __libc_h_errno): Move declaration and macros out of
13992 [_LIBC_REENTRANT].
13993
fb431262
RM
13994 * include/resolv.h [_RESOLV_H_]:
13995 Don't include <tls.h>.
13996 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13997 * resolv/res_libc.c: Don't include <tls.h>.
13998 (_res): Use __attribute__ ((nocommon)) in place of
13999 __attribute__ ((section (".bss"))).
14000
bd81123a
RM
14001 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14002 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14003
c4e42566
RM
14004 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14005
f890a59b
RM
14006 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14007 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14008
14009 * resolv/res_mkquery.c: Include <sys/time.h>.
14010
5d1f0a09
RM
14011 * inet/ifreq.c: Moved to ...
14012 * sysdeps/unix/ifreq.c: ... here.
14013 * inet/ifreq.c: New file, true stub version.
14014
6fcf28b3
RM
14015 * socket/sa_len.c: New file.
14016 * socket/Makefile (aux): Add it.
14017 * sysdeps/unix/sysv/linux/Makefile
14018 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14019 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14020 and #include <socket/sa_len.c>.
14021 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14022 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14023
e041fb8b
RM
14024 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14025 * bits/socket.h: ... here.
14026
8cc3269f
RM
14027 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14028 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14029 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14030
5d228a43
AS
140312013-08-27 Andreas Schwab <schwab@suse.de>
14032
45b8accc
AS
14033 [BZ #15736]
14034 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14035 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14036 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14037 * string/test-strcasecmp.c (test_main): Run tests in several
14038 locales.
14039 * string/test-strncasecmp.c (test_main): Likewise.
14040
5d228a43
AS
14041 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14042 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14043 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14045 (__strncasecmp_ssse3) [PIC]: Likewise.
14046
59d112a4
RM
140472013-08-26 Roland McGrath <roland@hack.frob.com>
14048
53234cc3
RM
14049 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14050
59d112a4
RM
14051 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14052 instead of explicitly declaring xdecrypt.
14053 * nis/nss_nis/nis-publickey.c: Likewise.
14054
595aba70
SP
140552013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14056
14057 [BZ #15890]
14058 * nscd/aicache.c: Include res_hconf.h.
14059 (addhstaiX): Initialize res_hconf.
14060
ffabd393
AS
140612013-08-26 Andreas Schwab <schwab@suse.de>
14062
14063 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14064 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14065
e0a69f5c
SP
140662013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14067
14068 * nscd/aicache.c (addhstaiX): Fix indentation.
14069
8c12f01d
MF
140702013-08-25 Mike Frysinger <vapier@gentoo.org>
14071
14072 * configure.ac: Quote $build_pt_chown test.
14073 * configure: Regenerated.
14074
8fe89494
JM
140752013-08-23 Joseph Myers <joseph@codesourcery.com>
14076
14077 [BZ #15532]
14078 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14079 * math/s_cexpf.c (__cexpf): Likewise.
14080 * math/s_cexpl.c (__cexpl): Likewise.
14081 * math/libm-test.inc (cexp_test_data): Correct expected return
14082 value for NaN + i0. Add another test.
14083
75b181d6
DM
140842013-08-22 David S. Miller <davem@davemloft.net>
14085
14086 * po/ca.po: Update Catalan translation from translation project.
936241e4 14087 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 14088
acd06bb1
JM
140892013-08-21 Joseph Myers <joseph@codesourcery.com>
14090
14091 [BZ #15797]
14092 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14093 is infinite, not alongside NaN test.
14094 * math/s_fdimf.c (__fdimf): Likewise.
14095 * math/s_fdiml.c (__fdiml): Likewise.
14096 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14097 errno is unchanged.
14098
c0c3f78a
OB
140992013-08-21 Ondřej Bílka <neleai@seznam.cz>
14100
14101 * argp/argp-help.c: Fix typos.
14102 * crypt/speeds.c: Likewise.
14103 * csu/check_fds.c: Likewise.
14104 * elf/dl-load.c: Likewise.
14105 * elf/dl-open.c: Likewise.
14106 * elf/reldep3.c: Likewise.
14107 * elf/reldep.c: Likewise.
14108 * elf/sprof.c: Likewise.
14109 * iconv/iconv_charmap.c: Likewise.
14110 * iconv/skeleton.c: Likewise.
14111 * iconv/strtab.c: Likewise.
14112 * io/lockf64.c: Likewise.
14113 * libio/libioP.h: Likewise.
14114 * resolv/gai_notify.c: Likewise.
14115 * resolv/ns_name.c: Likewise.
14116 * resolv/ns_samedomain.c: Likewise.
14117 * resolv/res_send.c: Likewise.
14118 * stdlib/random.c: Likewise.
14119 * sunrpc/rpc/xdr.h: Likewise.
14120 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14121 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14122 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14123 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14124 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14125 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14127 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14128 * sysdeps/mach/hurd/check_fds.c: Likewise.
14129 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14130 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14132 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14133 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14134 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14135 * sysdeps/pthread/aio_notify.c: Likewise.
14136 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14137 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14138 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14140 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14141
46ed1038
LD
141422013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14143
14144 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14145 version if bit_Slow_SSE4_2 is set.
14146 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14147 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14148
d400dcac
AZ
141492013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14150
14151 [BZ #15867]
14152 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14153 trampoline stack frame information.
14154 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14156 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14157 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14158 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14159 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14160 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14161 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14162 sa_flags value.
14163 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14164 interrupting a syscall and set with option SA_SIGINFO.
14165
42c8fdd8
JM
141662013-08-20 Joseph Myers <joseph@codesourcery.com>
14167
c980f2f4
JM
14168 [BZ #15531]
14169 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14170 argument is infinite.
14171 * math/s_cprojf.c (__cprojf): Likewise.
14172 * math/s_cprojl.c (__cprojl): Likewise.
14173 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14174 * math/libm-test.inc (cproj_test_data): Add more tests.
14175
0716c4fc
JM
14176 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14177
42c8fdd8
JM
14178 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14179 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14180 size. Use __ffs to determine corresponding shift.
14181
b31469d0
JM
141822013-08-20 Joseph Myers <joseph@codesourcery.com>
14183 Roland McGrath <roland@hack.frob.com>
14184
14185 * Makefile (INSTALL): Remove trailing blank lines from output of
14186 makeinfo.
14187
4e39af6e
AK
141882013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14189
14190 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14191 Align 32 bit compat elf_greg to 8 bytes.
14192
f315524e
AA
141932013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14194
14195 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14196
1326ba1a
SP
141972013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14198
14199 * string/strcoll_l.c (coll_seq): New structure.
14200 (get_next_seq_cached): New function.
14201 (get_next_seq): New function.
14202 (do_compare): New function.
14203 (STRCOLL): Use GNU style definition. Simplify implementation
14204 by using get_next_seq, get_next_seq_cached and do_compare.
14205
91ce4085
FW
142062013-08-16 Florian Weimer <fweimer@redhat.com>
14207
14208 [BZ #14699]
14209 CVE-2013-4237
14210 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14211 member.
14212 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14213 member.
14214 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14215 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14216 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14217 conditional.
14218 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14219 GETDENTS_64BIT_ALIGNED.
14220 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14221 * manual/filesys.texi (Reading/Closing Directory): Document
14222 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14223 strongly.
14224 * manual/conf.texi (Limits for Files): Add portability note to
14225 NAME_MAX, PATH_MAX.
14226 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14227
ca0a6bc4
AS
142282013-08-13 Andreas Schwab <schwab@suse.de>
14229
14230 [BZ #15749]
14231 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14232 of fabs.
14233 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14234 LDBL_MAX_EXP >= 16384]: Add tests for it.
14235
6c1fd795
DM
142362013-08-12 David S. Miller <davem@davemloft.net>
14237
14238 * version.h (RELEASE): Set to "development".
14239 (VERSION): Set to "2.18.90".
14240 * NEWS: Add 2.19 section.
14241
31ad488d
DM
142422013-08-03 David S. Miller <davem@davemloft.net>
14243
14244 * po/ko.po: Update Korean translation from translation project.
14245
db24e684
DM
142462013-08-01 David S. Miller <davem@davemloft.net>
14247
14248 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14249 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14250 Bilka.
14251
f723285b
DM
142522013-07-30 David S. Miller <davem@davemloft.net>
14253
14254 * po/fr.po: Update French translation from translation project.
14255
3cbc52db
DM
142562013-07-28 David S. Miller <davem@davemloft.net>
14257
30bbc0cc
DM
14258 * po/cs.po: Update Czech translation from translation project.
14259
3cbc52db
DM
14260 * po/sv.po: Update Swedish translation from translation project.
14261
d492e6d0
DM
142622013-07-27 David S. Miller <davem@davemloft.net>
14263
f1a7f492
DM
14264 * po/eo.po: Update Esperanto translation from translation project.
14265
90e62a4a
DM
14266 * po/vi.po: Update Vietnamese translation from translation project.
14267
d492e6d0
DM
14268 * po/de.po: Update German translation from translation project.
14269
d4baa62d
DM
142702013-07-26 David S. Miller <davem@davemloft.net>
14271
641aa7b4
DM
14272 * po/bg.po: Update Bulgarian translation from translation project.
14273
d4baa62d
DM
14274 * po/nl.po: Update Dutch translation from translation project.
14275 * po/pl.po: Update Polish translation from translation project.
14276 * po/ru.po: Update Russian translation from translation project.
14277
61a9dcb9
DM
142782013-07-24 David S. Miller <davem@davemloft.net>
14279
14280 * po/libc.pot: Update.
14281
7b1f8b58
AZ
142822013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14283
14284 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14285 variable page size.
14286 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14287 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14288 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14289
a8fc7a03
AK
142902013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14291
14292 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14293
e4608715
CD
142942013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14295 Andreas Schwab <schwab@suse.de>
14296 Roland McGrath <roland@hack.frob.com>
14297 Joseph Myers <joseph@codesourcery.com>
14298 Carlos O'Donell <carlos@redhat.com>
14299
14300 [BZ #15755]
14301 * config.h.in: Define HAVE_PT_CHOWN.
14302 * config.make.in (build-pt-chown): New variable.
14303 * configure.in (--enable-pt_chown): New configure option.
14304 * configure: Regenerate.
14305 * login/Makefile: Include Makeconfig. Build pt_chown only if
14306 build-pt-chown is enabled.
14307 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14308 pt_chown to fix pty ownership.
14309 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14310 CLOSE_ALL_FDS.
14311 * manual/install.texi (Configuring and compiling): Mention
14312 --enable-pt_chown. Add @findex for grantpt.
14313 * INSTALL: Regenerate.
14314
da2d62df
DM
143152013-07-20 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14318 difference between 32-bit and 64-bit.
14319
d7e06450
CD
143202013-07-15 Carlos O'Donell <carlos@redhat.com>
14321
14322 [BZ #15711]
14323 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14324 Avoid system header dependency with -ffreestanding.
14325 ($(objpfx)bits/syscall%d): Likewise.
14326
f959cfd7
DM
143272013-07-13 David S. Miller <davem@davemloft.net>
14328
14329 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14330 underflows from atanl/atan2l due to bug 15319.
14331 (casinh_test_data): Likewise.
14332
c61f8513
DM
143332013-07-07 David S. Miller <davem@davemloft.net>
14334
14335 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14336
72c90ed0
JA
143372013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14338
14339 * sysdeps/i386/fpu/libm-test-ulps: Update.
14340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14341
52dfbe13
SP
143422013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14343
14344 * configure.in (--enable-lock-elision): Fix message text.
14345 * INSTALL: Regenerate.
14346 * configure: Regenerate.
14347
3f169543
AZ
143482013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14349
14350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14351
521c6785
AJ
143522013-07-03 Andreas Jaeger <aj@suse.de>
14353
14354 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14355 define.
14356 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14357 (ptrace_peeksiginfo_args): Add.
14358 (__ptrace_peeksiginfo_flags): Add.
14359 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14360 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14361 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14362
d2cc15cb
AM
143632013-07-03 Allan McRae <allan@archlinux.org>
14364
14365 * sysdeps/i386/fpu/libm-test-ulps: Update.
14366
3aaeeca7
DM
143672013-07-02 David S. Miller <davem@davemloft.net>
14368
14369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14370
5314ed1a
MT
143712013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14372
14373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14374
67338156
JM
143752013-07-02 Joseph Myers <joseph@codesourcery.com>
14376
14377 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14379
1717da59
AK
143802013-07-02 Andi Kleen <ak@linux.intel.com>
14381
14382 * config.h.in (ENABLE_LOCK_ELISION): Add.
14383 * configure.in (--enable-lock-elision): Add option.
14384 * manual/install.texi: Document --enable lock elision.
14385 * configure: Regenerate
14386 * INSTALL: Regenerate.
14387
1c81621c
L
143882013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14389
14390 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14391 SSE4.2 strcasecmp for libc.a.
14392 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14393
77f01ab5
JM
143942013-07-02 Joseph Myers <joseph@codesourcery.com>
14395
14396 [BZ #13304]
14397 * soft-fp/op-common.h (_FP_FMA): New macro.
14398 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14399 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14400 (_FP_MUL_MEAT_1_imm): ... here.
14401 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14402 (_FP_MUL_MEAT_1_wide): ... here.
14403 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14404 (_FP_MUL_MEAT_1_hard): ... here.
14405 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14406 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14407 (_FP_MUL_MEAT_2_wide): ... here.
14408 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14409 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14410 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14411 (_FP_MUL_MEAT_2_gmp): ... here.
14412 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14413 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14414 (_FP_MUL_MEAT_4_wide): ... here.
14415 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14416 (_FP_MUL_MEAT_4_gmp): ... here.
14417 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14418 (_FP_WFRACBITS_DW_S): Likewise.
14419 (_FP_WFRACXBITS_DW_S): Likewise.
14420 (_FP_HIGHBIT_DW_S): Likewise.
14421 (FP_FMA_S): Likewise.
14422 (_FP_FRAC_HIGH_DW_S): Likewise.
14423 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14424 (_FP_WFRACBITS_DW_D): Likewise.
14425 (_FP_WFRACXBITS_DW_D): Likewise.
14426 (_FP_HIGHBIT_DW_D): Likewise.
14427 (FP_FMA_D): Likewise.
14428 (_FP_FRAC_HIGH_DW_D): Likewise.
14429 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14430 (_FP_WFRACBITS_DW_E): Likewise.
14431 (_FP_WFRACXBITS_DW_E): Likewise.
14432 (_FP_HIGHBIT_DW_E): Likewise.
14433 (FP_FMA_E): Likewise.
14434 (_FP_FRAC_HIGH_DW_E): Likewise.
14435 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14436 (_FP_WFRACBITS_DW_Q): Likewise.
14437 (_FP_WFRACXBITS_DW_Q): Likewise.
14438 (_FP_HIGHBIT_DW_Q): Likewise.
14439 (FP_FMA_Q): Likewise.
14440 (_FP_FRAC_HIGH_DW_Q): Likewise.
14441 * soft-fp/fmasf4.c: New file.
14442 * soft-fp/fmadf4.c: Likewise.
14443 * soft-fp/fmatf4.c: Likewise.
14444
6308fd9a
LD
144452013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14446
14447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14448 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14449 Silvermont.
14450 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14451 macro.
14452 (index_Slow_SSE4_2): Likewise.
14453 (index_Prefer_PMINUB_for_stringop): Likewise.
14454 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14455 bit_Slow_SSE4_2 is set.
14456 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14457 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14458
89cd9569
RA
144592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14460
14461 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14462 rtld_global._dl_hwcap2.
14463 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14464 POWER8.
14465 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14466 POWER8 feature descriptions defined in _dl_hwcap2.
14467 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14468 string handling for POWER8 feature bits.
14469 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14470 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14471 _dl_powerpc_cap_flags.
14472 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14473 * sysdeps/powerpc/rtld-global-offsets.sym
14474 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14475 _dl_hwcap2 in the rtld_global_ro structure.
14476
1ae8bfe0
RA
144772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14478
14479 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14480 hardware capabilities in support of AT_HWCAP2.
14481 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14482 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14483 GLRO(dl_hwcap2).
14484 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14485 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14486 explicitly the unknown a_type display mechanism is used.
14487 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14488 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14489 struct member.
14490 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14491 to macro prototype for AT_HWCAP2 support.
14492 * sysdeps/i386/dl-procinfo.h: Likewise.
14493 * sysdeps/s390/dl-procinfo.h: Likewise.
14494 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14495 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14496 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14497 return -1 for unknown a_type display fallback.
14498 * sysdeps/sparc/dl-procinfo.h: Likewise.
14499 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14500 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14501
8fbec010
JM
145022013-06-28 Joseph Myers <joseph@codesourcery.com>
14503
14504 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14505 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14506
0432680e
PY
145072013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14508
14509 [BZ #12492]
14510 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14511 mprotect making __stack_prot writable.
14512
ce61a2ad
NF
145132013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14514 Joseph Myers <joseph@codesourcery.com>
14515
14516 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14517 as being properly aligned.
14518
f91f1c0f
MR
145192013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14520
3d0f5d0c
MR
14521 * dlfcn/modstatic5.c: New file.
14522 * dlfcn/tststatic5.c: New file.
14523 * dlfcn/Makefile (tests): Add tststatic5.
14524 (tests-static): Likewise.
14525 (modules-names): Add modstatic5.
14526 (tststatic5-ENV): New variable.
14527 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14528
f91f1c0f
MR
14529 [BZ #15022]
14530 * elf/dl-support.c (_dl_main_map): New variable.
14531 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14532 (_dl_nns, _dl_load_adds): Set to 1.
14533 (_dl_initial_searchlist): Refer to _dl_main_map.
14534 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14535 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14536 call to _dl_get_origin.
14537 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14538 around call_map.
14539 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14540 * dlfcn/modstatic3.c: New file.
14541 * dlfcn/tststatic3.c: New file.
14542 * dlfcn/tststatic4.c: New file.
14543 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14544 (tests-static): Likewise.
14545 (modules-names): Add modstatic3.
14546 (tststatic3-ENV, tststatic4-ENV): New variables.
14547 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14548 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14549
cbe7d24b
JM
145502013-06-26 Joseph Myers <joseph@codesourcery.com>
14551
14552 * configure.in (CC): Require GCC version 4.4 or later.
14553 * configure: Regenerated.
14554 * manual/install.texi (Tools for Compilation): Update GCC version
14555 requirement.
14556 * INSTALL: Regenerated.
14557
11b8a0e1
LD
145582013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14559
14560 [BZ #15674]
bb5bb87c
L
14561 * string/test-memcmp.c (check2): New.
14562 (main): Call check2.
14563
11b8a0e1
LD
14564 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14565
b0037103
MR
145662013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14567
14568 [BZ #15022]
14569 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14570 over to...
14571 (dl_open_worker) [!SHARED]: ... here.
14572
c18c701d
RA
145732013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14574
14575 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14576
1d17fa5f
RH
145772013-06-25 Richard Henderson <rth@redhat.com>
14578
14579 * locale/programs/locarchive.c: Include <libc-internal.h>
14580
8fcb833a
JM
145812013-06-25 Joseph Myers <joseph@codesourcery.com>
14582
14583 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14584 trailing whitespace removed.
14585
17db6e8d
MF
145862013-06-24 Mike Frysinger <vapier@gentoo.org>
14587
14588 [BZ #10283]
17db6e8d
MF
14589 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14590 * locale/programs/locarchive.c: Include libc-mmap.h.
14591 (prepare_address_space): Take two new outputs (the mmap base and len).
14592 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14593 values.
14594 (create_archive): Declare new mmap base and len values for
14595 prepare_address_space, and store the result in ah.
14596 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14597 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14598 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14599 Declare new mmap base and len values for
14600 prepare_address_space, and store the result in new_ah.
14601 (open_archive): Declare new mmap base and len values for
14602 prepare_address_space, and store the result in ah.
14603 (close_archive): If ah->mmap_base is not NULL, use that and
14604 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14605 * sysdeps/generic/libc-mmap.h: New file.
14606
d605071e
MF
146072013-06-24 Mike Frysinger <vapier@gentoo.org>
14608
14609 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14610 (ALIGN_UP): Likewise.
14611 (PTR_ALIGN_DOWN): Likewise.
14612 (PTR_ALIGN_UP): Likewise.
14613
2f063a6e
RA
146142013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14615
14616 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14617 entry mapped to PPC_PLATFORM_POWER8.
14618 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14619 POWER8.
14620 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14621 (_dl_string_platform): Add case for exporting platform position for
14622 POWER8.
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14624 search path to sysdeps/powerpc/powerpc32/power8 directory.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14626 search path to sysdeps/powerpc/powerpc64/power8 directory.
14627 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14628 power7 directories.
14629 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14630 power7 directories.
14631
a31ee4b3
SP
146322013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14633
a74ca98f
SP
14634 * INSTALL: Regenerate.
14635
a31ee4b3
SP
14636 * nscd/connections.c (nscd_init): Fix comment.
14637
695c378f
JM
146382013-06-22 Joseph Myers <joseph@codesourcery.com>
14639
d8412221
JM
14640 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14641
695c378f
JM
14642 [BZ #15667]
14643 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14644 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14645
d1d54715
MR
146462013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14647
14648 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14649 DL_DST_REQ_STATIC.
14650 (DL_DST_REQ_STATIC): Remove macro.
14651
8fdda7af
JM
146522013-06-21 Joseph Myers <joseph@codesourcery.com>
14653
14654 [BZ #7006]
14655 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14656 with a shift of 0 bits.
14657
f3bc5e5a
MR
146582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14659
14660 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14661 $(tststatic-ENV).
14662
be09e8c9
KK
146632013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14664
14665 [BZ #15655]
14666 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14667
85c2e611
AZ
146682013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14669
14670 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14671 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14672 accepts -fno-tree-loop-distribute-patterns.
14673 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14674 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14675 recursive call.
14676 * string/memset.c (memset): Likewise.
14677 * string/test-memmove.c (simple_memmove): Disable loop transformation
14678 to library calls.
14679 * string/test-memset.c (simple_memset): Likewise.
14680 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14681 * benchtests/bench-memset.c (simple_memset): Likewise.
14682 * configure: Regenerated.
14683
c91e0825
JM
146842013-06-20 Joseph Myers <joseph@codesourcery.com>
14685
b8c792af
JM
14686 * math/test-misc.c (main): Ignore fesetround failure when failures
14687 of subsequent rounding tests would be ignored.
14688
c91e0825
JM
14689 [BZ #15654]
14690 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14691 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14692 * math/fegetenv.c (__fegetenv): Return 0.
14693 * math/fegetexcept.c (fegetexcept): Return 0.
14694 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14695 FE_TONEAREST.
14696 * math/feholdexcpt.c (feholdexcept): Return 0.
14697 * math/fesetenv.c (__fesetenv): Return 0.
14698 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14699 argument FE_TONEAREST.
14700 * math/feupdateenv.c (__feupdateenv): Return 0.
14701 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14702
bfcacbde
RM
147032013-06-18 Roland McGrath <roland@hack.frob.com>
14704
14705 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14706 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14707 ($(objpfx)rtld-%.os rules): Use them.
14708
e55a9b25
AZ
147092013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14710
14711 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14712 fields.
14713
346d65b3
RM
147142013-06-17 Roland McGrath <roland@hack.frob.com>
14715
12086fb4
RM
14716 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14717 length of target pattern, then descending length of dependency pattern.
14718 * configure.in (AWK): Require gawk 3.1.2 or newer.
14719 * manual/install.texi (Tools for Compilation): Say that we do.
14720 * configure: Regenerated.
14721
346d65b3
RM
14722 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14723 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14724 * scripts/sysd-rules.awk: ... this new script.
14725 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14726 than a glob-style pattern.
14727
1a846317
JM
147282013-06-17 Joseph Myers <joseph@codesourcery.com>
14729
14730 * math/test-misc.c (main): Do not treat incorrectly rounded
14731 conversions as failure unless ROUNDING_TESTS passes.
14732
8fc75e6f
JM
147332013-06-15 Joseph Myers <joseph@codesourcery.com>
14734
3711a167
JM
14735 [BZ #15631]
14736 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14737 restore exception state around main square root computation, then
14738 check for inexactness explicitly.
14739
8fc75e6f
JM
14740 * math/libm-test.inc (fma_test_data): Add another test.
14741
61dd6208
SP
147422013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14743
adf23d2c
SP
14744 * manual/threads.texi (Non-POSIX Extensions): New document
14745 node. Document pthread_getattr_default_np and
14746 pthread_setattr_default_np.
14747
61dd6208
SP
14748 * Versions.def (libpthread): Add GLIBC_2.18.
14749 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14751 Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14753 Likewise.
14754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14755 Likewise.
14756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14757 Likewise.
14758 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14759 Likewise.
14760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14761 Likewise.
14762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14763 Likewise.
14764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14765 Likewise.
14766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14767 Likewise.
14768
d086fc7b
LD
147692013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14770
14771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14772 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14773
747ef469
SP
147742013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14775 H.J. Lu <hjl.tools@gmail.com>
14776
14777 [BZ #15627]
14778 * sysdeps/x86_64/rtld-memset.c: Remove file.
14779 * sysdeps/x86_64/rtld-memset.S: New file.
14780
1b2feed2
JM
147812013-06-14 Joseph Myers <joseph@codesourcery.com>
14782
14783 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14784 (test_in_one_mode): Take arguments for whether the rounding mode
14785 is supported for each floating-point type.
14786 (do_test): Pass new arguments to test_in_one_mode using
14787 ROUNDING_TESTS.
14788
a58ad3f8
RM
147892013-06-13 Roland McGrath <roland@hack.frob.com>
14790
14791 * posix/tst-waitid.c (do_test): Distinguish different instances of
14792 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14793 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14794 before entering the kernel for waitpid.
14795
c204ab28
SP
147962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14797
14798 * NEWS: Fix note on clock function precision. Text by Roland
14799 McGrath.
14800
f4a29fba
RM
148012013-06-13 Roland McGrath <roland@hack.frob.com>
14802
14803 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14804 it into place only when and if the sanity check passes.
14805
1f24b9ad
JM
148062013-06-13 Joseph Myers <joseph@codesourcery.com>
14807
14808 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14809 output for whether conversion result is exact. Take argument
14810 indicating whether type is IBM long double.
14811 (round_for_all): Change need_exact field to ibm_ld.
14812 * stdlib/tst-strtod-round.c (struct exactness): New type.
14813 (struct test): Change bool ld_ok field to struct exactness exact.
14814 (TEST): Update all definitions for change to field.
14815 (tests): Regenerate array contents.
14816 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14817 field value. Check for IBM long double here.
14818 (do_test): Update calls to test_in_one_mode.
14819
58206c68
SP
148202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14821
14822 [BZ #12515]
14823 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14824 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14825
2d6f4c5b 148262013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14827
14828 [BZ #15605]
14829 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14830 generated by the compiler on loop optimizations.
14831 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14832 general definitions.
14833
94f2c076
JM
148342013-06-12 Joseph Myers <joseph@codesourcery.com>
14835
14836 * math/bug-nextafter.c: Include <math-tests.h>.
14837 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14838 the relevant type.
14839 * math/bug-nexttoward.c: Include <math-tests.h>.
14840 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14841 the relevant type.
14842 * math/test-misc.c: Include <math-tests.h>.
14843 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14844 the relevant type.
14845
e0e50a0a
AJ
148462013-06-12 Andreas Jaeger <aj@suse.de>
14847
14848 * po/ia.po: Update Interlingua translation from translation
14849 project.
14850
25061094
SP
148512013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14852
14853 * include/fenv.h: Include stdbool.h.
14854 (struct rm_ctx): New structure.
14855 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14856 Define macro.
14857 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14858 (SET_RESTORE_ROUNDF): Likewise.
14859 (SET_RESTORE_ROUNDL): Likewise.
14860 (SET_RESTORE_ROUND_NOEX): Likewise.
14861 (SET_RESTORE_ROUND_NOEXF): Likewise.
14862 (SET_RESTORE_ROUND_NOEXL): Likewise.
14863 (SET_RESTORE_ROUND_53BIT): Likewise.
14864 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14865 (libc_feresetround_noexf_ctx): Likewise.
14866 (libc_feresetround_noexl_ctx): Likewise.
14867 (libc_feholdsetround_53bit_ctx): Likewise.
14868 (libc_feresetround_53bit_ctx): Likewise.
14869 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14870 (libc_feholdexcept_setround_sse_ctx): New function.
14871 (libc_fesetenv_sse_ctx): Likewise.
14872 (libc_feupdateenv_sse_ctx): Likewise.
14873 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14874 (libc_feholdexcept_setround_387_ctx): Likewise.
14875 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14876 (libc_feholdsetround_387_prec_ctx): Likewise.
14877 (libc_feholdsetround_387_ctx): Likewise.
14878 (libc_feholdsetround_387_53bit_ctx): Likewise.
14879 (libc_feholdsetround_sse_ctx): Likewise.
14880 (libc_feresetround_sse_ctx): Likewise.
14881 (libc_feresetround_387_ctx): Likewise.
14882 (libc_feupdateenv_387_ctx): Likewise.
14883 (libc_feholdexcept_setroundf_ctx): Define macro.
14884 (libc_fesetenvf_ctx): Likewise.
14885 (libc_feupdateenvf_ctx): Likewise.
14886 (libc_feholdsetroundf_ctx): Likewise.
14887 (libc_feresetroundf_ctx): Likewise.
14888 (libc_feholdexcept_setround_ctx): Likewise.
14889 (libc_fesetenv_ctx): Likewise.
14890 (libc_feupdateenv_ctx): Likewise.
14891 (libc_feholdsetround_ctx): Likewise.
14892 (libc_feresetround_ctx): Likewise.
14893 (libc_feholdexcept_setroundl_ctx): Likewise.
14894 (libc_feupdateenvl_ctx): Likewise.
14895 (libc_feholdsetroundl_ctx): Likewise.
14896 (libc_feresetroundl_ctx): Likewise.
14897 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14898 (libc_feresetround_53bit_ctx): Likewise.
14899
59b30555
SP
149002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14901
14902 * locale/iso-639.def: Convert to UTF-8.
14903
f1d73d30
JM
149042013-06-11 Joseph Myers <joseph@codesourcery.com>
14905
14906 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14907 (EXCEPTION_TESTS_double): Likewise.
14908 (EXCEPTION_TESTS_long_double): Likewise.
14909 (EXCEPTION_TESTS): Likewise.
14910 * math/libm-test.inc (test_exceptions): Only test exceptions if
14911 EXCEPTION_TESTS (FLOAT).
14912
94aca5e7
SP
149132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14914
14915 * benchtests/Makefile (string-bench): Add strcpy_chk and
14916 stpcpy_chk.
14917 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14918 * benchtests/bench-stpcpy_chk.c: New file.
14919 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14920 * benchtests/bench-strcpy_chk.c: New file.
14921 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14922 code.
14923 (do_test): Likewise.
14924
fac0c5f2
RA
149252013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14926
14927 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14928 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14929 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14930 with tabs where appropriate.
14931 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14932 dl-procinfo.h.
14933 [PPC_PLATFORM_PPC440]: Likewise.
14934 [PPC_PLATFORM_PPC464]: Likewise.
14935 [PPC_PLATFORM_PPC476]: Likewise.
14936 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14937 ppc464, and ppc476 platform strings merging from ports/
14938 dl-procinfo.h.
14939
f22bc486
AS
149402013-06-11 Andreas Schwab <schwab@suse.de>
14941
14942 [BZ #14991]
14943 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14944 (from_ucs4_idx): Regenerate.
14945 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14946 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14947 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14948 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14949 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14950 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14951 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14952 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14953 from FROM_LOOP and TO_LOOP specific macros.
14954 (BODY): Handle combining characters.
14955 * iconvdata/BIG5HKSCS.irreversible: Update.
14956 * iconvdata/BIG5HKSCS.precomposed: New file.
14957 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14958 characters.
14959 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14960
c1f75dc3
SP
149612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14962
4eacded2
SP
14963 * include/sys/time.h: Fix indentation and add copyright header.
14964
fec799f8
SP
14965 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14966 (do_test): Likewise.
14967 * string/test-memchr.c (do_one_test): Likewise.
14968 (do_test): Likewise.
14969 * string/test-memcmp.c (do_one_test): Likewise.
14970 (do_test): Likewise.
14971 * string/test-memcpy.c (do_one_test): Likewise.
14972 (do_test): Likewise.
14973 * string/test-memmem.c (do_one_test): Likewise.
14974 (do_test): Likewise.
14975 (do_random_tests): Likewise.
14976 * string/test-memmove.c (do_one_test): Likewise.
14977 (do_test): Likewise.
14978 * string/test-memset.c (do_one_test): Likewise.
14979 (do_test): Likewise.
14980 * string/test-rawmemchr.c (do_one_test): Likewise.
14981 (do_test): Likewise.
14982 * string/test-strcasecmp.c (do_one_test): Likewise.
14983 (do_test): Likewise.
14984 * string/test-strcasestr.c (do_one_test): Likewise.
14985 (do_test): Likewise.
14986 * string/test-strcat.c (do_one_test): Likewise.
14987 (do_test): Likewise.
14988 * string/test-strchr.c (do_one_test): Likewise.
14989 (do_test): Likewise.
14990 * string/test-strcmp.c (do_one_test): Likewise.
14991 (do_test): Likewise.
14992 * string/test-strcpy.c (do_one_test): Likewise.
14993 (do_test): Likewise.
14994 * string/test-string.h: Likewise.
14995 (test_init): Likewise.
14996 * string/test-strlen.c (do_one_test): Likewise.
14997 (do_test): Likewise.
14998 * string/test-strncasecmp.c (do_one_test): Likewise.
14999 (do_test): Likewise.
15000 * string/test-strncat.c (do_one_test): Likewise.
15001 (do_test): Likewise.
15002 * string/test-strncmp.c (do_one_test): Likewise.
15003 (do_test_limit): Likewise.
15004 (do_test): Likewise.
15005 * string/test-strncpy.c (do_one_test): Likewise.
15006 (do_test): Likewise.
15007 * string/test-strnlen.c (do_one_test): Likewise.
15008 (do_test): Likewise.
15009 * string/test-strpbrk.c (do_one_test): Likewise.
15010 (do_test): Likewise.
15011 * string/test-strrchr.c (do_one_test): Likewise.
15012 (do_test): Likewise.
15013 * string/test-strspn.c (do_one_test): Likewise.
15014 (do_test): Likewise.
15015 * string/test-strstr.c (do_one_test): Likewise.
15016 (do_test): Likewise.
15017
97020474
SP
15018 * benchtests/Makefile (string-bench): Add string benchmarks.
15019 * benchtests/bench-bcopy-ifunc.c: New file.
15020 * benchtests/bench-bcopy.c: New file.
15021 * benchtests/bench-bzero-ifunc.c: New file.
15022 * benchtests/bench-bzero.c: New file.
15023 * benchtests/bench-memccpy-ifunc.c: New file.
15024 * benchtests/bench-memccpy.c: New file.
15025 * benchtests/bench-memchr-ifunc.c: New file.
15026 * benchtests/bench-memchr.c: New file.
15027 * benchtests/bench-memcmp-ifunc.c: New file.
15028 * benchtests/bench-memcmp.c: New file.
15029 * benchtests/bench-memmem-ifunc.c: New file.
15030 * benchtests/bench-memmem.c: New file.
15031 * benchtests/bench-memmove-ifunc.c: New file.
15032 * benchtests/bench-memmove.c: New file.
15033 * benchtests/bench-mempcpy-ifunc.c: New file.
15034 * benchtests/bench-mempcpy.c: New file.
15035 * benchtests/bench-memset-ifunc.c: New file.
15036 * benchtests/bench-memset.c: New file.
15037 * benchtests/bench-rawmemchr-ifunc.c: New file.
15038 * benchtests/bench-rawmemchr.c: New file.
15039 * benchtests/bench-stpcpy-ifunc.c: New file.
15040 * benchtests/bench-stpcpy.c: New file.
15041 * benchtests/bench-stpncpy-ifunc.c: New file.
15042 * benchtests/bench-stpncpy.c: New file.
15043 * benchtests/bench-strcasecmp-ifunc.c: New file.
15044 * benchtests/bench-strcasecmp.c: New file.
15045 * benchtests/bench-strcasestr-ifunc.c: New file.
15046 * benchtests/bench-strcasestr.c: New file.
15047 * benchtests/bench-strcat-ifunc.c: New file.
15048 * benchtests/bench-strcat.c: New file.
15049 * benchtests/bench-strchr-ifunc.c: New file.
15050 * benchtests/bench-strchr.c: New file.
15051 * benchtests/bench-strchrnul-ifunc.c: New file.
15052 * benchtests/bench-strchrnul.c: New file.
15053 * benchtests/bench-strcmp-ifunc.c: New file.
15054 * benchtests/bench-strcmp.c: New file.
15055 * benchtests/bench-strcpy-ifunc.c: New file.
15056 * benchtests/bench-strcpy.c: New file.
15057 * benchtests/bench-strcspn-ifunc.c: New file.
15058 * benchtests/bench-strcspn.c: New file.
15059 * benchtests/bench-strlen-ifunc.c: New file.
15060 * benchtests/bench-strlen.c: New file.
15061 * benchtests/bench-strncasecmp-ifunc.c: New file.
15062 * benchtests/bench-strncasecmp.c: New file.
15063 * benchtests/bench-strncat-ifunc.c: New file.
15064 * benchtests/bench-strncat.c: New file.
15065 * benchtests/bench-strncmp-ifunc.c: New file.
15066 * benchtests/bench-strncmp.c: New file.
15067 * benchtests/bench-strncpy-ifunc.c: New file.
15068 * benchtests/bench-strncpy.c: New file.
15069 * benchtests/bench-strnlen-ifunc.c: New file.
15070 * benchtests/bench-strnlen.c: New file.
15071 * benchtests/bench-strpbrk-ifunc.c: New file.
15072 * benchtests/bench-strpbrk.c: New file.
15073 * benchtests/bench-strrchr-ifunc.c: New file.
15074 * benchtests/bench-strrchr.c: New file.
15075 * benchtests/bench-strspn-ifunc.c: New file.
15076 * benchtests/bench-strspn.c: New file.
15077 * benchtests/bench-strstr-ifunc.c: New file.
15078 * benchtests/bench-strstr.c: New file.
15079
c1f75dc3
SP
15080 * benchtests/Makefile: Disable parallel execution of targets.
15081 (string-bench): Add memcpy.
15082 (benchset): New variable to store a list of benchmark sets.
15083 (bench-func): Renamed from bench.
15084 (bench-set): New target.
15085 (bench): Depend on bench-func and bench-set.
15086 * benchtests/README: Add section on benchmark sets.
15087 * benchtests/bench-memcpy-ifunc.c: New file.
15088 * benchtests/bench-memcpy.c: New file.
15089 * benchtests/bench-string.h: New file.
15090
50fd745b
AS
150912013-06-11 Andreas Schwab <schwab@suse.de>
15092
15093 [BZ #15577]
15094 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15095 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15096 values in the triple.
15097 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15098 terminator in the group key.
15099
3ee7e9fe
AJ
151002013-06-11 Andreas Jaeger <aj@suse.de>
15101
15102 * po/zh_TW.po: Update Chinese (traditional) translation from
15103 translation project.
15104
89fb6835
SP
151052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15106
15107 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15108 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15109 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15110 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15111 (clock_getcpuclockid): Likewise.
15112 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15113 Add weak_alias and libc_hidden_def.
15114 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15115 * rt/clock_gettime.c (clock_gettime): Rename to
15116 __clock_gettime. Add weak_alias and libc_hidden_def.
15117 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15118 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15119 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15120 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15121 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15122 Likewise.
15123 * rt/clock_settime.c (clock_settime): Rename to
15124 __clock_settime. Add weak_alias and libc_hidden_def.
15125 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15126
0efa6f8b
JM
151272013-06-10 Joseph Myers <joseph@codesourcery.com>
15128
b8c61b4b
JM
15129 * mach/err_boot.sub: Remove trailing whitespace.
15130 * mach/err_ipc.sub: Likewise.
15131 * mach/err_mach.sub: Likewise.
15132
0efa6f8b
JM
15133 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15134 (ROUNDING_TESTS_double): Likewise.
15135 (ROUNDING_TESTS_long_double): Likewise.
15136 (ROUNDING_TESTS): Likewise.
15137 * math/libm-test.inc: Include <math-tests.h>.
15138 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15139 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15140 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15141 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15142
50b818bf
SP
151432013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15144
15145 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15146 of assigning.
15147
60d2f8f3
JM
151482013-06-08 Joseph Myers <joseph@codesourcery.com>
15149
4902d2c3
JM
15150 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15151 otherwise empty TRANS lines.
15152 * sysdeps/gnu/errlist.c: Regenerated.
15153
60d2f8f3
JM
15154 * catgets/gencat.c (error_print): Use (void) in function
15155 definition.
15156 * crypt/crypt_util.c (__init_des): Likewise.
15157 * crypt/speeds.c (Stop): Likewise.
15158 (main): Likewise.
15159 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15160 * inet/ruserpass.c (token): Likewise.
15161 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15162 * intl/localealias.c (extend_alias_table): Likewise.
15163 * intl/plural-exp.c (init_germanic_plural): Likewise.
15164 * libio/fcloseall.c (__fcloseall): Likewise.
15165 * libio/genops.c (_IO_flush_all): Likewise.
15166 (_IO_flush_all_linebuffered): Likewise.
15167 (_IO_cleanup): Likewise.
15168 (_IO_iter_begin): Likewise.
15169 (_IO_iter_end): Likewise.
15170 (_IO_list_lock): Likewise.
15171 (_IO_list_unlock): Likewise.
15172 (_IO_list_resetlock): Likewise.
15173 * libio/getchar.c (getchar): Likewise.
15174 * libio/getchar_u.c (getchar_unlocked): Likewise.
15175 * libio/getwchar.c (getwchar): Likewise.
15176 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15177 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15178 * login/getpt.c (__getpt): Likewise.
15179 * login/tst-utmp.c (main): Likewise.
15180 * malloc/hooks.c (__malloc_check_init): Likewise.
15181 * malloc/malloc.c (__malloc_stats): Likewise.
15182 * malloc/mtrace.c (tr_break): Likewise.
15183 (mtrace): Likewise.
15184 (muntrace): Likewise.
15185 * misc/fstab.c (endfsent): Likewise.
15186 * misc/getclktck.c (__getclktck): Likewise.
15187 * misc/getdtsz.c (__getdtablesize): Likewise.
15188 * misc/gethostid.c (gethostid): Likewise.
15189 * misc/getpagesize.c (__getpagesize): Likewise.
15190 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15191 (__get_nprocs): Likewise.
15192 (__get_phys_pages): Likewise.
15193 (__get_avphys_pages): Likewise.
15194 * misc/getttyent.c (getttyent): Likewise.
15195 (setttyent): Likewise.
15196 (endttyent): Likewise.
15197 * misc/getusershell.c (getusershell): Likewise.
15198 (endusershell): Likewise.
15199 (setusershell): Likewise.
15200 (initshells): Likewise.
15201 * misc/hsearch.c (__hdestroy): Likewise.
15202 * misc/sync.c (sync): Likewise.
15203 * misc/syslog.c (closelog_internal): Likewise.
15204 (closelog): Likewise.
15205 * misc/ttyslot.c (ttyslot): Likewise.
15206 * misc/vhangup.c (vhangup): Likewise.
15207 * posix/fork.c (__fork): Likewise.
15208 * posix/getegid.c (__getegid): Likewise.
15209 * posix/geteuid.c (__geteuid): Likewise.
15210 * posix/getgid.c (__getgid): Likewise.
15211 * posix/getpid.c (__getpid): Likewise.
15212 * posix/getppid.c (__getppid): Likewise.
15213 * posix/getuid.c (__getuid): Likewise.
15214 * posix/pause.c (pause): Likewise.
15215 * posix/setpgrp.c (setpgrp): Likewise.
15216 * posix/setsid.c (__setsid): Likewise.
15217 * posix/test-vfork.c (noop): Likewise.
15218 * resolv/gethnamaddr.c (_endhtent): Likewise.
15219 (_gethtent): Likewise.
15220 (ht_endhostent): Likewise.
15221 (gethostent): Likewise.
15222 (dns_service): Likewise.
15223 * stdlib/drand48.c (drand48): Likewise.
15224 * stdlib/lrand48.c (lrand48): Likewise.
15225 * stdlib/mrand48.c (mrand48): Likewise.
15226 * stdlib/rand.c (rand): Likewise.
15227 * stdlib/random.c (__random): Likewise.
15228 * stdlib/setenv.c (clearenv): Likewise.
15229 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15230 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15231 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15232 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15233 (__get_nprocs): Likewise.
15234 (__get_phys_pages): Likewise.
15235 (__get_avphys_pages): Likewise.
15236 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15237 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15238 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15239 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15240 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15241 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15242 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15243 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15244 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15245 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15246 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15247 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15248 * sysdeps/posix/clock.c (clock): Likewise.
15249 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15250 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15251 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15252 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15253 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15255 (__get_nprocs_conf): Likewise.
15256 (__get_phys_pages): Likewise.
15257 (__get_avphys_pages): Likewise.
15258 * time/clock.c (clock): Likewise.
15259 * time/tzset.c (__tzname_max): Likewise.
15260
2e09a79a
JM
152612013-06-07 Joseph Myers <joseph@codesourcery.com>
15262
15263 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15264 (__bswap_32): Do not use "register".
15265 * crypt/crypt.c (_ufc_doit_r): Likewise.
15266 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15267 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15268 * gmon/gmon.c (__monstartup): Likewise.
15269 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15270 * hurd/hurdmalloc.c (more_memory): Likewise.
15271 (malloc): Likewise.
15272 (free): Likewise.
15273 (realloc): Likewise.
15274 (malloc_fork_prepare): Likewise.
15275 (malloc_fork_parent): Likewise.
15276 (malloc_fork_child): Likewise.
15277 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15278 (_svcauth_des): Likewise.
15279 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15280 * inet/inet_net.c (inet_network): Likewise.
15281 * inet/inet_netof.c (inet_netof): Likewise.
15282 * inet/rcmd.c (__validuser2_sa): Likewise.
15283 * io/fts.c (fts_open): Likewise.
15284 (fts_load): Likewise.
15285 (fts_close): Likewise.
15286 (fts_read): Likewise.
15287 (fts_children): Likewise.
15288 (fts_build): Likewise.
15289 (fts_stat): Likewise.
15290 (fts_sort): Likewise.
15291 (fts_alloc): Likewise.
15292 (fts_lfree): Likewise.
15293 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15294 (_IO_file_xsgetn): Likewise.
15295 (_IO_file_xsgetn_mmap): Likewise.
15296 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15297 (_IO_cookie_write): Likewise.
15298 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15299 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15300 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15301 * malloc/obstack.c (_obstack_begin): Likewise.
15302 (_obstack_begin_1): Likewise.
15303 (_obstack_newchunk): Likewise.
15304 (_obstack_allocated_p): Likewise.
15305 (obstack_free): Likewise.
15306 (_obstack_memory_used): Likewise.
15307 * misc/getttyent.c (getttynam): Likewise.
15308 (getttyent): Likewise.
15309 (skip): Likewise.
15310 (value): Likewise.
15311 * misc/getusershell.c (initshells): Likewise.
15312 * misc/syslog.c (__vsyslog_chk): Likewise.
15313 * misc/ttyslot.c (ttyslot): Likewise.
15314 * nis/nis_hash.c (__nis_hash): Likewise.
15315 * posix/fnmatch_loop.c (FCT): Likewise.
15316 * posix/getconf.c (print_all): Likewise.
15317 (main): Likewise.
15318 * posix/getopt.c (exchange): Likewise.
15319 * posix/glob.c (globfree): Likewise.
15320 (prefix_array): Likewise.
15321 (__glob_pattern_type): Likewise.
15322 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15323 (NS_GET32): Likewise.
15324 (NS_PUT16): Likewise.
15325 (NS_PUT32): Likewise.
15326 * resolv/gethnamaddr.c (getanswer): Likewise.
15327 (gethostbyname2): Likewise.
15328 (gethostbyaddr): Likewise.
15329 (_gethtent): Likewise.
15330 (_gethtbyname2): Likewise.
15331 (_gethtbyaddr): Likewise.
15332 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15333 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15334 * resolv/res_init.c (__res_vinit): Likewise.
15335 (net_mask): Likewise.
15336 * resolv/res_mkquery.c (outchar): Likewise.
15337 (PRINT): Likewise.
15338 * stdio-common/printf_fp.c (outchar): Likewise.
15339 (PRINT): Likewise.
15340 * stdio-common/printf_fphex.c (outchar): Likewise.
15341 (PRINT): Likewise.
15342 * stdio-common/printf_size.c (outchar): Likewise.
15343 (PRINT): Likewise.
15344 * stdio-common/test_rdwr.c (main): Likewise.
15345 * stdio-common/tfformat.c (matches): Likewise.
15346 * stdio-common/vfprintf.c (outchar): Likewise.
15347 (printf_unknown): Likewise.
15348 (buffered_vfprintf): Likewise.
15349 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15350 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15351 (ReadFile): Likewise.
15352 * stdlib/qsort.c (SWAP): Likewise.
15353 (_quicksort): Likewise.
15354 * stdlib/setenv.c (__add_to_environ): Likewise.
15355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15356 * stdlib/strtol_l.c (__strtol_l): Likewise.
15357 * stdlib/tst-strtod.c (main): Likewise.
15358 * stdlib/tst-strtol.c (main): Likewise.
15359 * stdlib/tst-strtoll.c (main): Likewise.
15360 * string/bits/string2.h (__strcmp_cc): Likewise.
15361 (__strcmp_cg): Likewise.
15362 (__strcspn_c1): Likewise.
15363 (__strcspn_c2): Likewise.
15364 (__strcspn_c3): Likewise.
15365 (__strspn_c1): Likewise.
15366 (__strspn_c2): Likewise.
15367 (__strspn_c3): Likewise.
15368 (__strsep_1c): Likewise.
15369 (__strsep_2c): Likewise.
15370 (__strsep_3c): Likewise.
15371 * string/memccpy.c (__memccpy): Likewise.
15372 * string/stpcpy.c (__stpcpy): Likewise.
15373 * string/strcmp.c (strcmp): Likewise.
15374 * string/strrchr.c (strrchr): Likewise.
15375 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15376 Likewise.
15377 * sysdeps/mach/hurd/getcwd.c
15378 (_hurd_canonicalize_directory_name_internal): Likewise.
15379 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15380 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15381 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15382 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15383 Likewise, in both definitions.
15384 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15385 definitions.
15386 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15387 64] (__bswap_64): Likewise.
15388 * time/test_time.c (main): Likewise.
15389 * time/tzfile.c (__tzfile_read): Likewise.
15390 (__tzfile_compute): Likewise.
15391 * time/tzset.c (__tzset_parse_tz): Likewise.
15392 (tzset_internal): Likewise.
15393 (compute_change): Likewise.
15394 * wcsmbs/wcscat.c (__wcscat): Likewise.
15395 * wcsmbs/wcschr.c (wcschr): Likewise.
15396 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15397 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15398 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15399 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15400 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15401 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15402 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15403 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15404 * wcsmbs/wmemset.c (wmemset): Likewise.
15405
9e54314b
JM
154062013-06-06 Joseph Myers <joseph@codesourcery.com>
15407
15408 * scripts/config.guess: Update to version 2013-05-16.
15409 * scripts/config.sub: Update to version 2013-04-24.
15410 * scripts/install-sh: Update to version 2011-11-20.07.
15411 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15412 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15413
350635a5
OB
154142013-06-06 Ondřej Bílka <neleai@seznam.cz>
15415
15416 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15417 * elf/sln.c: Likewise.
15418 * hurd/hurd/ioctl.h: Likewise.
15419 * hurd/hurdmalloc.c: Likewise.
15420 * hurd/xattr.c: Likewise.
15421 * include/shlib-compat.h: Likewise.
15422 * inet/ruserpass.c: Likewise.
15423 * libio/iofgets_u.c: Likewise.
15424 * libio/iofgetws_u.c: Likewise.
15425 * locale/programs/ld-identification.c: Likewise.
15426 * locale/programs/ld-time.c: Likewise.
15427 * mach/msg-destroy.c: Likewise.
15428 * nss/nss_files/files-netgrp.c: Likewise.
15429 * resolv/res_data.c: Likewise.
15430 * soft-fp/op-1.h: Likewise.
15431 * soft-fp/op-2.h: Likewise.
15432 * soft-fp/op-4.h: Likewise.
15433 * soft-fp/op-common.h: Likewise.
15434 * stdio-common/printf_fphex.c: Likewise.
15435 * stdlib/strtod_l.c: Likewise.
15436 * sunrpc/rpc/clnt.h: Likewise.
15437 * sysdeps/generic/framestate.c: Likewise.
15438 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15439 * sysdeps/i386/bsd-setjmp.S: Likewise.
15440 * sysdeps/i386/__longjmp.S: Likewise.
15441 * sysdeps/i386/setjmp.S: Likewise.
15442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15443 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15458 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15460 * sysdeps/ieee754/support.c: Likewise.
15461 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15462 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15463 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15464 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15465 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15466 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15467 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15468 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15469 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15470 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15471 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15472 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15473 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15474 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15475 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15476 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15477 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15479
44a988af
OB
154802013-06-05 Ondřej Bílka <neleai@seznam.cz>
15481
25506f09 15482 * posix/transbug.c: Remove executable mode.
44a988af 15483
9c84384c
JM
154842013-06-05 Joseph Myers <joseph@codesourcery.com>
15485
15486 * crypt/speeds.c: Remove trailing whitespace.
15487 * dlfcn/default.c: Likewise.
15488 * elf/ifuncdep2.c: Likewise.
15489 * elf/ifuncmain1.c: Likewise.
15490 * elf/ifuncmain1vis.c: Likewise.
15491 * elf/testobj.h: Likewise.
15492 * elf/tst-stackguard1.c: Likewise.
15493 * gmon/sys/gmon.h: Likewise.
15494 * hurd/hurdmsg.c: Likewise.
15495 * hurd/new-fd.c: Likewise.
15496 * hurd/ports-get.c: Likewise.
15497 * iconvdata/ibm1008_420.c: Likewise.
15498 * inet/tst-getni1.c: Likewise.
15499 * inet/tst-getni2.c: Likewise.
15500 * libio/ioungetc.c: Likewise.
15501 * libio/wfiledoalloc.c: Likewise.
15502 * manual/libm-err-tab.pl: Likewise.
15503 * math/w_dremf.c: Likewise.
15504 * misc/ftruncate.c: Likewise.
15505 * posix/bug-glob2.c: Likewise.
15506 * posix/tst-pcre.c: Likewise.
15507 * posix/wait4.c: Likewise.
15508 * resolv/README: Likewise.
15509 * resolv/res_debug.h: Likewise.
15510 * resolv/tst-inet_ntop.c: Likewise.
15511 * setjmp/bug269-setjmp.c: Likewise.
15512 * soft-fp/extended.h: Likewise.
15513 * soft-fp/op-1.h: Likewise.
15514 * soft-fp/op-2.h: Likewise.
15515 * soft-fp/op-4.h: Likewise.
15516 * soft-fp/op-8.h: Likewise.
15517 * soft-fp/testit.c: Likewise.
15518 * stdio-common/bug16.c: Likewise.
15519 * stdlib/random.c: Likewise.
15520 * sunrpc/rpcsvc/rquota.x: Likewise.
15521 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15522 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15523 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15524 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15525 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15526 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15527 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15528 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15529 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15530 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15531 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15548 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15550 * sysdeps/ieee754/s_lib_version.c: Likewise.
15551 * sysdeps/mach/hurd/check_fds.c: Likewise.
15552 * sysdeps/mach/hurd/getsockname.c: Likewise.
15553 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15554 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15555 * sysdeps/powerpc/bits/link.h: Likewise.
15556 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15557 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15558 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15559 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15560 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15561 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15562 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15563 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15564 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15565 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15566 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15567 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15568 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15569 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15570 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15571 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15573 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15574 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15575 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15576 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15577 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15578 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15579 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15580 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15583 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15586 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15588 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15589 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15590 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15591 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15592 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15593 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15594 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15595 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15596 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15597 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15598 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15599 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15600 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15601 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15602 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15603 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15604 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15605 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15608 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15609 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15610 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15611 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15612 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15613 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15614 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15615 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15616 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15617 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15618 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15619 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15620 * sysdeps/powerpc/sysdep.h: Likewise.
15621 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15622 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15623 * sysdeps/sh/dl-trampoline.S: Likewise.
15624 * sysdeps/sh/memset.S: Likewise.
15625 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15626 * sysdeps/sh/strlen.S: Likewise.
15627 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15628 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15629 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15630 * sysdeps/sparc/sparc32/rem.S: Likewise.
15631 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15632 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15633 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15634 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15635 * sysdeps/sparc/sparc32/urem.S: Likewise.
15636 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15637 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15638 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15639 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15640 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15641 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15642 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15643 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15644 * sysdeps/unix/bsd/times.c: Likewise.
15645 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15646 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15650 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15651 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15652 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15653 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15654 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15655 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15656 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15657 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15658 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15659 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15660 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15661 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15662 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15663 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15664 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15665 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15666 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15667 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15668 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15669 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15670 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15671 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15672 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15673 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15674 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15675 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15676 * sysdeps/x86_64/strcspn.S: Likewise.
15677
869378a5
RA
156782013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15679
15680 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15681 generated file. Regenerate properly from gen-translit.pl.
15682 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15683 locale/C-translit.h.
15684
840e2943
AS
156852013-06-05 Andreas Schwab <schwab@suse.de>
15686
15687 [BZ #15100]
15688 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15689 week as 6 instead of -1.
15690 * time/tst-strptime.c (day_tests): Add test case.
15691
4c60cb0c
SP
156922013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15693
15694 * sysdeps/generic/math_private.h
15695 (libc_feholdexcept_setround_53bit): Replace with
15696 libc_feholdsetround_53bit.
15697 (libc_feupdateenv_53bit): Replace with
15698 libc_feresetround_53bit.
15699 (SET_RESTORE_ROUND_53BIT): Adjust.
15700
d180203e
SP
157012013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15702
96df079a
SP
15703 * string/test-strchrnul.c: Add copyright header.
15704
d180203e
SP
15705 * posix/tst-getaddrinfo4.c: Increase test timeout.
15706
8b0ccb2d
CD
157072013-06-03 Carlos O'Donell <carlos@redhat.com>
15708
15709 [BZ #15536]
15710 * math/libm-test.inc (MAX_EXP): Remove
15711 (MIN_EXP): Define.
15712 (ulp): Use MIN_EXP - MANT_DIG.
15713 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15714
3b3c4d40
CD
157152013-05-31 Carlos O'Donell <carlos@redhat.com>
15716
15717 * po/be.po: Revert last change.
15718 * po/zh_CN.po: Likewise.
15719 * po/header.pot: Likewise.
15720
fab7ce3f
JM
157212013-05-31 Joseph Myers <joseph@codesourcery.com>
15722
15723 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15724 link-libc-deps to empty as target-specific variable.
15725 * Makerules (link-libc-args): New variable.
15726 (libc-for-link): Likewise.
15727 (link-libc-deps): Likewise.
15728 (lib%.so): Depend on $(link-libc-deps). Link with
15729 $(link-libc-args).
15730 (build-module): Link with $(link-libc-args).
15731 (build-module-asneeded): Likewise.
15732 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15733 list of objects.
15734 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15735 target-specific variable.
15736 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15737 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15738 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15739 libc.
15740 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15741 libc and ld.so.
15742 ($(objpfx)libpcprofile.so): Likewise.
15743 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15744 libc_nonshared.a.
15745 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15746 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15747 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15748 $(link-libc-deps).
15749 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15750 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15751 * login/Makefile ($(objpfx)libutil.so): Likewise.
15752 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15753 * math/Makefile ($(objpfx)libm.so): Likewise.
15754 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15755 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15756 variable instead of depending directly on libc.
15757 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15758 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15759 $(link-libc-deps).
15760 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15761 libc.
15762 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15763 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15764 ($(objpfx)libanl.so): Likewise.
15765 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15766 ld.so.
15767 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15768 $(link-libc-deps).
15769 * sysdeps/i386/fpu/Makefile: Remove file.
15770 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15771 ($(objpfx)libm.so): Remove dependency on ld.so.
15772
eca5920c
PF
157732013-05-30 Patsy Franklin <pfrankli@redhat.com>
15774
15775 [BZ # 15553]
15776 * nis/yp_xdr.c (XDRMAXNAME): Define.
15777 (XDRMAXRECORD): Define.
15778 (xdr_domainname): Use XDRMAXNAME.
15779 (xdr_mapname): Likewise.
15780 (xdr_peername): Likewise.
15781 (xdr_keydat): Use XDRMAXRECORD.
15782 (xdr_valdat): Likewise.
15783
157842013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15785
15786 [BZ #14256]
15787 * manual/errno.texi (ESTALE): Update to account for more than
15788 just NFS file systems.
15789 * sysdeps/gnu/errlist.c: Regenerated.
15790
b9375348
SP
157912013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15792
15793 [BZ #15465]
15794 * elf/Makefile (tests): Add tst-null-argv.
15795 (modules-names): Add tst-null-argv-lib.
15796 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15797 (tst-null-argv-ENV): Set environment for tst-null-argv.
15798 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15799 (RTLD_PROGNAME): New macro.
15800 * elf/tst-null-argv.c: New test case.
15801 * elf/tst-null-argv-lib.c: Library for test case.
15802 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15803 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15804 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15805 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15806 * elf/dl-init.c (call_init): Likewise.
15807 (_dl_init): Likewise.
15808 * elf/dl-load.c (print_search_path): Likewise.
15809 (_dl_map_object): Likewise.
15810 * elf/dl-lookup.c (do_lookup_x): Likewise.
15811 (add_dependency): Likewise.
15812 (_dl_lookup_symbol_x): Likewise.
15813 (_dl_debug_bindings): Likewise.
15814 * elf/dl-open.c (_dl_show_scope): Likewise.
15815 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15816 * elf/dl-version.c (match_symbol): Likewise.
15817 (_dl_check_map_versions): Likewise.
15818 * elf/rtld.c (dl_main): Likewise.
15819 (print_unresolved): Use RTLD_PROGNAME.
15820 (print_missing_version): Likewise.
15821 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15822 (elf_machine_rela): Likewise.
15823 * sysdeps/powerpc/powerpc32/dl-machine.c
15824 (__process_machine_rela): Likewise.
15825 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15826 Likewise.
15827 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15828 Likewise.
15829 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15830 Likewise.
15831 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15833 Likewise.
15834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15835 Likewise.
15836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15837
8a9f20c8
CD
158382013-05-28 Carlos O'Donell <carlos@redhat.com>
15839
15840 * po/be.po: Add descriptive title.
15841 * po/zh_CN.po: Likewise.
15842 * po/header.pot: Likewise.
15843
0e60d68e
MF
158442013-05-28 Mike Frysinger <vapier@gentoo.org>
15845
15846 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15847 error message.
15848 (enlarge_archive): Likewise.
15849
56b672e9
BN
158502013-05-28 Ben North <ben@redfrontdoor.org>
15851
15852 * manual/arith.texi (frexp): It is the magnitude of the return
15853 value which lies in [0.5, 1), not the return value itself.
15854
5e056687
AZ
158552013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15856
15857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15858
2b66ef5d
TS
158592013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15860
528c2405
TS
15861 * stdio-common/bug26.c (main): Correct fscanf template.
15862
07b4c13d
TS
15863 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15864 declare _dl_skip_args.
15865
ec9dd97c
TS
15866 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15867 Don't declare.
15868
2b66ef5d
TS
15869 * manual/platform.texi: Add missing @end deftypefun.
15870
4f8dfe27
JM
158712013-05-24 Joseph Myers <joseph@codesourcery.com>
15872
0323d086
JM
15873 [BZ #15529]
15874 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15875 bit of mantissa of 2^16382.
15876 * math/libm-test.inc (hypot_test_data): Add more tests.
15877
dd4259b9
JM
15878 * math/libm-test.inc: Add drem and pow10 to list of tested
15879 functions.
15880 (pow10_test): New function.
15881 (drem_test): Likewise.
15882 (drem_test_tonearest): Likewise.
15883 (drem_test_towardzero): Likewise.
15884 (drem_test_downward): Likewise.
15885 (drem_test_upward): Likewise.
15886 (main): Call the new functions.
15887
4f8dfe27
JM
15888 * math/libm-test.inc (finite_test_data): Remove.
15889 (finite_test): Run tests from isfinite_test_data.
15890 (gamma_test_data): Remove.
15891 (gamma_test): Run tests from lgamma_test_data.
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15894
d116b7c4
AZ
158952013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15896
15897 * manual/platform.texi: Add PowerPC PPR function set documentation.
15898 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15899 implementation.
15900
e96e3767
CD
159012013-05-24 Carlos O'Donell <carlos@redhat.com>
15902
15903 * math/libm-test.inc (MAX_EXP): Define.
15904 (ULPDIFF): Define.
15905 (ulp): New function.
15906 (check_float_internal): Use ULPDIFF.
15907 (cpow_test): Disable failing test.
15908 (check_ulp): Test ulp() implemetnation.
15909 (main): Call check_ulp before starting tests.
15910
b679a606
JM
159112013-05-24 Joseph Myers <joseph@codesourcery.com>
15912
e8bdba36
JM
15913 * math/gen-libm-test.pl (generate_testfile): Do not handle
15914 START_DATA and END_DATA.
15915 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15916 END_DATA.
15917 (acos_tonearest_test_data): Likewise.
15918 (acos_towardzero_test_data): Likewise.
15919 (acos_downward_test_data): Likewise.
15920 (acos_upward_test_data): Likewise.
15921 (acosh_test_data): Likewise.
15922 (asin_test_data): Likewise.
15923 (asin_tonearest_test_data): Likewise.
15924 (asin_towardzero_test_data): Likewise.
15925 (asin_downward_test_data): Likewise.
15926 (asin_upward_test_data): Likewise.
15927 (asinh_test_data): Likewise.
15928 (atan_test_data): Likewise.
15929 (atanh_test_data): Likewise.
15930 (atan2_test_data): Likewise.
15931 (cabs_test_data): Likewise.
15932 (cacos_test_data): Likewise.
15933 (cacosh_test_data): Likewise.
15934 (carg_test_data): Likewise.
15935 (casin_test_data): Likewise.
15936 (casinh_test_data): Likewise.
15937 (catan_test_data): Likewise.
15938 (catanh_test_data): Likewise.
15939 (cbrt_test_data): Likewise.
15940 (ccos_test_data): Likewise.
15941 (ccosh_test_data): Likewise.
15942 (ceil_test_data): Likewise.
15943 (cexp_test_data): Likewise.
15944 (cimag_test_data): Likewise.
15945 (clog_test_data): Likewise.
15946 (clog10_test_data): Likewise.
15947 (conj_test_data): Likewise.
15948 (copysign_test_data): Likewise.
15949 (cos_test_data): Likewise.
15950 (cos_tonearest_test_data): Likewise.
15951 (cos_towardzero_test_data): Likewise.
15952 (cos_downward_test_data): Likewise.
15953 (cos_upward_test_data): Likewise.
15954 (cosh_test_data): Likewise.
15955 (cosh_tonearest_test_data): Likewise.
15956 (cosh_towardzero_test_data): Likewise.
15957 (cosh_downward_test_data): Likewise.
15958 (cosh_upward_test_data): Likewise.
15959 (cpow_test_data): Likewise.
15960 (cproj_test_data): Likewise.
15961 (creal_test_data): Likewise.
15962 (csin_test_data): Likewise.
15963 (csinh_test_data): Likewise.
15964 (csqrt_test_data): Likewise.
15965 (ctan_test_data): Likewise.
15966 (ctan_tonearest_test_data): Likewise.
15967 (ctan_towardzero_test_data): Likewise.
15968 (ctan_downward_test_data): Likewise.
15969 (ctan_upward_test_data): Likewise.
15970 (ctanh_test_data): Likewise.
15971 (ctanh_tonearest_test_data): Likewise.
15972 (ctanh_towardzero_test_data): Likewise.
15973 (ctanh_downward_test_data): Likewise.
15974 (ctanh_upward_test_data): Likewise.
15975 (erf_test_data): Likewise.
15976 (erfc_test_data): Likewise.
15977 (exp_test_data): Likewise.
15978 (exp_tonearest_test_data): Likewise.
15979 (exp_towardzero_test_data): Likewise.
15980 (exp_downward_test_data): Likewise.
15981 (exp_upward_test_data): Likewise.
15982 (exp10_test_data): Likewise.
15983 (exp2_test_data): Likewise.
15984 (expm1_test_data): Likewise.
15985 (fabs_test_data): Likewise.
15986 (fdim_test_data): Likewise.
15987 (finite_test_data): Likewise.
15988 (floor_test_data): Likewise.
15989 (fma_test_data): Likewise.
15990 (fma_towardzero_test_data): Likewise.
15991 (fma_downward_test_data): Likewise.
15992 (fma_upward_test_data): Likewise.
15993 (fmax_test_data): Likewise.
15994 (fmin_test_data): Likewise.
15995 (fmod_test_data): Likewise.
15996 (fpclassify_test_data): Likewise.
15997 (frexp_test_data): Likewise.
15998 (gamma_test_data): Likewise.
15999 (hypot_test_data): Likewise.
16000 (ilogb_test_data): Likewise.
16001 (isfinite_test_data): Likewise.
16002 (isgreater_test_data): Likewise.
16003 (isgreaterequal_test_data): Likewise.
16004 (isinf_test_data): Likewise.
16005 (isless_test_data): Likewise.
16006 (islessequal_test_data): Likewise.
16007 (islessgreater_test_data): Likewise.
16008 (isnan_test_data): Likewise.
16009 (isnormal_test_data): Likewise.
16010 (issignaling_test_data): Likewise.
16011 (isunordered_test_data): Likewise.
16012 (j0_test_data): Likewise.
16013 (j1_test_data): Likewise.
16014 (jn_test_data): Likewise.
16015 (ldexp_test_data): Likewise.
16016 (lgamma_test_data): Likewise.
16017 (lrint_test_data): Likewise.
16018 (lrint_tonearest_test_data): Likewise.
16019 (lrint_towardzero_test_data): Likewise.
16020 (lrint_downward_test_data): Likewise.
16021 (lrint_upward_test_data): Likewise.
16022 (llrint_test_data): Likewise.
16023 (llrint_tonearest_test_data): Likewise.
16024 (llrint_towardzero_test_data): Likewise.
16025 (llrint_downward_test_data): Likewise.
16026 (llrint_upward_test_data): Likewise.
16027 (log_test_data): Likewise.
16028 (log10_test_data): Likewise.
16029 (log1p_test_data): Likewise.
16030 (log2_test_data): Likewise.
16031 (logb_test_data): Likewise.
16032 (logb_downward_test_data): Likewise.
16033 (lround_test_data): Likewise.
16034 (llround_test_data): Likewise.
16035 (modf_test_data): Likewise.
16036 (nearbyint_test_data): Likewise.
16037 (nextafter_test_data): Likewise.
16038 (nexttoward_test_data): Likewise.
16039 (pow_test_data): Likewise.
16040 (pow_tonearest_test_data): Likewise.
16041 (pow_towardzero_test_data): Likewise.
16042 (pow_downward_test_data): Likewise.
16043 (pow_upward_test_data): Likewise.
16044 (remainder_test_data): Likewise.
16045 (remainder_tonearest_test_data): Likewise.
16046 (remainder_towardzero_test_data): Likewise.
16047 (remainder_downward_test_data): Likewise.
16048 (remainder_upward_test_data): Likewise.
16049 (remquo_test_data): Likewise.
16050 (rint_test_data): Likewise.
16051 (rint_tonearest_test_data): Likewise.
16052 (rint_towardzero_test_data): Likewise.
16053 (rint_downward_test_data): Likewise.
16054 (rint_upward_test_data): Likewise.
16055 (round_test_data): Likewise.
16056 (scalb_test_data): Likewise.
16057 (scalbn_test_data): Likewise.
16058 (scalbln_test_data): Likewise.
16059 (signbit_test_data): Likewise.
16060 (sin_test_data): Likewise.
16061 (sin_tonearest_test_data): Likewise.
16062 (sin_towardzero_test_data): Likewise.
16063 (sin_downward_test_data): Likewise.
16064 (sin_upward_test_data): Likewise.
16065 (sincos_test_data): Likewise.
16066 (sinh_test_data): Likewise.
16067 (sinh_tonearest_test_data): Likewise.
16068 (sinh_towardzero_test_data): Likewise.
16069 (sinh_downward_test_data): Likewise.
16070 (sinh_upward_test_data): Likewise.
16071 (sqrt_test_data): Likewise.
16072 (tan_test_data): Likewise.
16073 (tan_tonearest_test_data): Likewise.
16074 (tan_towardzero_test_data): Likewise.
16075 (tan_downward_test_data): Likewise.
16076 (tan_upward_test_data): Likewise.
16077 (tanh_test_data): Likewise.
16078 (tgamma_test_data): Likewise.
16079 (trunc_test_data): Likewise.
16080 (y0_test_data): Likewise.
16081 (y1_test_data): Likewise.
16082 (yn_test_data): Likewise.
16083 (significand_test_data): Likewise.
16084
b679a606
JM
16085 * math/gen-libm-test.pl (@functions): Remove variable.
16086 (generate_testfile): Don't handle START and END lines.
16087 * math/libm-test.inc (START): New macro.
16088 (END): Likewise.
16089 (END_COMPLEX): Likewise.
16090 (acos_test): Use END macro without arguments.
16091 (acos_test_tonearest): Likewise.
16092 (acos_test_towardzero): Likewise.
16093 (acos_test_downward): Likewise.
16094 (acos_test_upward): Likewise.
16095 (acosh_test): Likewise.
16096 (asin_test): Likewise.
16097 (asin_test_tonearest): Likewise.
16098 (asin_test_towardzero): Likewise.
16099 (asin_test_downward): Likewise.
16100 (asin_test_upward): Likewise.
16101 (asinh_test): Likewise.
16102 (atan_test): Likewise.
16103 (atanh_test): Likewise.
16104 (atan2_test): Likewise.
16105 (cabs_test): Likewise.
16106 (cacos_test): Use END_COMPLEX macro without arguments.
16107 (cacosh_test): Likewise.
16108 (carg_test): Use END macro without arguments.
16109 (casin_test): Use END_COMPLEX macro without arguments.
16110 (casinh_test): Likewise.
16111 (catan_test): Likewise.
16112 (catanh_test): Likewise.
16113 (cbrt_test): Use END macro without arguments.
16114 (ccos_test): Use END_COMPLEX macro without arguments.
16115 (ccosh_test): Likewise.
16116 (ceil_test): Use END macro without arguments.
16117 (cexp_test): Use END_COMPLEX macro without arguments.
16118 (cimag_test): Use END macro without arguments.
16119 (clog_test): Use END_COMPLEX macro without arguments.
16120 (clog10_test): Likewise.
16121 (conj_test): Likewise.
16122 (copysign_test): Use END macro without arguments.
16123 (cos_test): Likewise.
16124 (cos_test_tonearest): Likewise.
16125 (cos_test_towardzero): Likewise.
16126 (cos_test_downward): Likewise.
16127 (cos_test_upward): Likewise.
16128 (cosh_test): Likewise.
16129 (cosh_test_tonearest): Likewise.
16130 (cosh_test_towardzero): Likewise.
16131 (cosh_test_downward): Likewise.
16132 (cosh_test_upward): Likewise.
16133 (cpow_test): Use END_COMPLEX macro without arguments.
16134 (cproj_test): Likewise.
16135 (creal_test): Use END macro without arguments.
16136 (csin_test): Use END_COMPLEX macro without arguments.
16137 (csinh_test): Likewise.
16138 (csqrt_test): Likewise.
16139 (ctan_test): Likewise.
16140 (ctan_test_tonearest): Likewise.
16141 (ctan_test_towardzero): Likewise.
16142 (ctan_test_downward): Likewise.
16143 (ctan_test_upward): Likewise.
16144 (ctanh_test): Likewise.
16145 (ctanh_test_tonearest): Likewise.
16146 (ctanh_test_towardzero): Likewise.
16147 (ctanh_test_downward): Likewise.
16148 (ctanh_test_upward): Likewise.
16149 (erf_test): Use END macro without arguments.
16150 (erfc_test): Likewise.
16151 (exp_test): Likewise.
16152 (exp_test_tonearest): Likewise.
16153 (exp_test_towardzero): Likewise.
16154 (exp_test_downward): Likewise.
16155 (exp_test_upward): Likewise.
16156 (exp10_test): Likewise.
16157 (exp2_test): Likewise.
16158 (expm1_test): Likewise.
16159 (fabs_test): Likewise.
16160 (fdim_test): Likewise.
16161 (finite_test): Likewise.
16162 (floor_test): Likewise.
16163 (fma_test): Likewise.
16164 (fma_test_towardzero): Likewise.
16165 (fma_test_downward): Likewise.
16166 (fma_test_upward): Likewise.
16167 (fmax_test): Likewise.
16168 (fmin_test): Likewise.
16169 (fmod_test): Likewise.
16170 (fpclassify_test): Likewise.
16171 (frexp_test): Likewise.
16172 (gamma_test): Likewise.
16173 (hypot_test): Likewise.
16174 (ilogb_test): Likewise.
16175 (isfinite_test): Likewise.
16176 (isgreater_test): Likewise.
16177 (isgreaterequal_test): Likewise.
16178 (isinf_test): Likewise.
16179 (isless_test): Likewise.
16180 (islessequal_test): Likewise.
16181 (islessgreater_test): Likewise.
16182 (isnan_test): Likewise.
16183 (isnormal_test): Likewise.
16184 (issignaling_test): Likewise.
16185 (isunordered_test): Likewise.
16186 (j0_test): Likewise.
16187 (j1_test): Likewise.
16188 (jn_test): Likewise.
16189 (ldexp_test): Likewise.
16190 (lgamma_test): Likewise.
16191 (lrint_test): Likewise.
16192 (lrint_test_tonearest): Likewise.
16193 (lrint_test_towardzero): Likewise.
16194 (lrint_test_downward): Likewise.
16195 (lrint_test_upward): Likewise.
16196 (llrint_test): Likewise.
16197 (llrint_test_tonearest): Likewise.
16198 (llrint_test_towardzero): Likewise.
16199 (llrint_test_downward): Likewise.
16200 (llrint_test_upward): Likewise.
16201 (log_test): Likewise.
16202 (log10_test): Likewise.
16203 (log1p_test): Likewise.
16204 (log2_test): Likewise.
16205 (logb_test): Likewise.
16206 (logb_test_downward): Likewise.
16207 (lround_test): Likewise.
16208 (llround_test): Likewise.
16209 (modf_test): Likewise.
16210 (nearbyint_test): Likewise.
16211 (nextafter_test): Likewise.
16212 (nexttoward_test): Likewise.
16213 (pow_test): Likewise.
16214 (pow_test_tonearest): Likewise.
16215 (pow_test_towardzero): Likewise.
16216 (pow_test_downward): Likewise.
16217 (pow_test_upward): Likewise.
16218 (remainder_test): Likewise.
16219 (remainder_test_tonearest): Likewise.
16220 (remainder_test_towardzero): Likewise.
16221 (remainder_test_downward): Likewise.
16222 (remainder_test_upward): Likewise.
16223 (remquo_test): Likewise.
16224 (rint_test): Likewise.
16225 (rint_test_tonearest): Likewise.
16226 (rint_test_towardzero): Likewise.
16227 (rint_test_downward): Likewise.
16228 (rint_test_upward): Likewise.
16229 (round_test): Likewise.
16230 (scalb_test): Likewise.
16231 (scalbn_test): Likewise.
16232 (scalbln_test): Likewise.
16233 (signbit_test): Likewise.
16234 (sin_test): Likewise.
16235 (sin_test_tonearest): Likewise.
16236 (sin_test_towardzero): Likewise.
16237 (sin_test_downward): Likewise.
16238 (sin_test_upward): Likewise.
16239 (sincos_test): Likewise.
16240 (sinh_test): Likewise.
16241 (sinh_test_tonearest): Likewise.
16242 (sinh_test_towardzero): Likewise.
16243 (sinh_test_downward): Likewise.
16244 (sinh_test_upward): Likewise.
16245 (sqrt_test): Likewise.
16246 (tan_test): Likewise.
16247 (tan_test_tonearest): Likewise.
16248 (tan_test_towardzero): Likewise.
16249 (tan_test_downward): Likewise.
16250 (tan_test_upward): Likewise.
16251 (tanh_test): Likewise.
16252 (tgamma_test): Likewise.
16253 (trunc_test): Likewise.
16254 (y0_test): Likewise.
16255 (y1_test): Likewise.
16256 (yn_test): Likewise.
16257 (significand_test): Likewise.
16258
bae143d2
OB
162592013-05-24 Ondřej Bílka <neleai@seznam.cz>
16260
16261 [BZ #15381]
16262 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16263
9323d39b
EM
162642013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16265
d4ea44a0 16266 [BZ #14894]
9323d39b
EM
16267 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16268 __ppc_mdoio and __ppc_mdoom.
16269 * manual/platform.texi: Document new functions __ppc_yield,
16270 __ppc_mdoio and __ppc_mdoom.
16271
13e23af7
CD
162722013-05-22 Carlos O'Donell <carlos@redhat.com>
16273
16274 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16275 (main): Mention "tls" pseudo-hwcap is legacy.
16276 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16277
351fe550
JM
162782013-05-22 Joseph Myers <joseph@codesourcery.com>
16279
16280 * math/gen-libm-test.pl (parse_args): Output only string of
16281 arguments as text for test name, not full call or descriptions of
16282 tests for extra outputs.
16283 (generate_testfile): Do not pass function name to parse_args.
16284 Generate this_func variable from START.
16285 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16286 field to arg_str.
16287 (struct test_ff_f_data): Likewise.
16288 (test_ff_f_data_nexttoward): Likewise.
16289 (struct test_fi_f_data): Likewise.
16290 (struct test_fl_f_data): Likewise.
16291 (struct test_if_f_data): Likewise.
16292 (struct test_fff_f_data): Likewise.
16293 (struct test_c_f_data): Likewise.
16294 (struct test_f_f1_data): Likewise. Remove field extra_name.
16295 (struct test_fF_f1_data): Likewise.
16296 (struct test_ffI_f1_data): Likewise.
16297 (struct test_c_c_data): Rename test_name field to arg_str.
16298 (struct test_cc_c_data): Likewise.
16299 (struct test_f_i_data): Likewise.
16300 (struct test_ff_i_data): Likewise.
16301 (struct test_f_l_data): Likewise.
16302 (struct test_f_L_data): Likewise.
16303 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16304 and extra2_name.
16305 (COMMON_TEST_SETUP): New macro.
16306 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16307 (COMMON_TEST_CLEANUP): Likewise.
16308 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16309 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16310 macros.
16311 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16312 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16313 macros.
16314 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16315 (RUN_TEST_fff_f): Take argument string. Call new setup and
16316 cleanup macros.
16317 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16318 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16319 macros.
16320 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16321 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16322 macros.
16323 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16324 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16325 cleanup macros.
16326 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16327 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16328 cleanup macros.
16329 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16330 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16331 cleanup macros.
16332 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16333 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16334 macros.
16335 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16336 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16337 macros.
16338 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16339 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16340 macros.
16341 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16342 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16343 cleanup macros.
16344 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16345 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16346 cleanup macros.
16347 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16348 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16349 macros.
16350 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16351 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16352 cleanup macros.
16353 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16354 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16355 macros.
16356 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16357 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16358 macros.
16359 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16360 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16361 cleanup macros.
16362 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16363
85118d4d
EBM
163642013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16365
16366 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16367 to _sifields.sigfault.
16368 (si_addr_lsb): Define new macro.
16369 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16371 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16372
7a44c18f
CD
163732013-05-03 Carlos O'Donell <carlos at redhat.com>
16374
16375 [BZ #15441]
16376 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16377 returns -1.
16378 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16379 null return -1.
16380 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16381 loading the domain.
16382
b50a7181
JM
163832013-05-22 Joseph Myers <joseph@codesourcery.com>
16384
16385 * math/gen-libm-test.pl (parse_args): Do not include expected
16386 result in test name.
16387 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16389 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16390 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16391 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16393
051063c8
SP
163942013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16395
3ce9e010
SP
16396 * benchtests/Makefile: Sort function entries.
16397
051063c8
SP
16398 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16399 tanh, asinh, acosh, atanh.
16400 * benchtests/acos-inputs: New file.
16401 * benchtests/acosh-inputs: New file.
16402 * benchtests/asin-inputs: New file.
16403 * benchtests/asinh-inputs: New file.
16404 * benchtests/atanh-inputs: New file.
16405 * benchtests/cosh-inputs: New file.
16406 * benchtests/log-inputs: New file.
16407 * benchtests/sinh-inputs: New file.
16408 * benchtests/tanh-inputs: New file.
16409
47c22455
DL
164102013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16411
16412 [BZ #15339]
16413 * posix/tst-getaddrinfo4.c: New test.
16414 * posix/Makefile (tests): Add it.
16415
3d04f5db
SP
164162013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16417
16418 [BZ #15339]
16419 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16420 when no services were used.
16421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16422 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16423
d5dd6189
AS
164242013-05-21 Andreas Schwab <schwab@suse.de>
16425
16426 [BZ #15014]
16427 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16428 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16429 successful.
16430 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16431 redundant variable declarations and reallocation of buffer when
16432 parsing as IPv6 address. Always set NSS status when called from
16433 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16434 buffer too small. Correct computation of needed size.
16435 * nss/Makefile (tests): Add test-digits-dots.
16436 * nss/test-digits-dots.c: New test.
16437
fef94eab
SP
164382013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16439
16440 * benchtests/Makefile: Remove instructions for adding
16441 benchmark tests.
16442 * benchtests/README: New file to explain how to execute and
16443 enhance the benchmark tests.
16444
e39adf43
AS
164452013-05-21 Andreas Schwab <schwab@suse.de>
16446
16447 [BZ #15493]
16448 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16449 * setjmp/tst-sigsetjmp.c: New test.
16450
b2b671b6
OB
164512013-05-20 Ondřej Bílka <neleai@seznam.cz>
16452
16453 * sysdeps/x86_64/memset.S (memset): New implementation.
16454 (__bzero): Likewise.
16455 (__memset_tail): New function.
16456
2d48b41c
OB
164572013-05-20 Ondřej Bílka <neleai@seznam.cz>
16458
16459 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16460 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16461 __memcpy_sse2_unaligned ifunc selection.
16462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16463 Add memcpy-sse2-unaligned.S.
16464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16465 Add: __memcpy_sse2_unaligned.
16466
f16cc3eb
JM
164672013-05-19 Joseph Myers <joseph@codesourcery.com>
16468
3e694268
JM
16469 [BZ #15490]
16470 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16471 math_force_eval before restoring floating-point envrionment.
16472 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16473 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16474 Likewise.
16475 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16476 <math_private.h>.
16477 (__nearbyintl): Use math_force_eval before restoring
16478 floating-point environment.
16479 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16480
db62a907
JM
16481 * math/gen-libm-test.pl (special_functions): Remove.
16482 (parse_args): Don't handle TEST_extra. Handle functions with no
16483 return value.
16484 * math/libm-test.inc (struct test_sincos_data): Replace with
16485 struct test_fFF_11_data.
16486 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16487 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16488 (sincos_test_data): Change element type to struct
16489 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16490 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16491 RUN_TEST_LOOP_sincos.
16492 * math/README.libm-test: Don't mention special handling of
16493 individual functions.
16494 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16495 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16496 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16497 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16498 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16500
f16cc3eb
JM
16501 * math/gen-libm-test.pl (get_variable): Remove function.
16502 (parse_args): Don't show pointer parameters to call in test
16503 names. Use "extra output N" in test names for extra outputs
16504 rather than naming variables.
16505
3779b5b6
JM
165062013-05-18 Joseph Myers <joseph@codesourcery.com>
16507
2ee094ff
JM
16508 [BZ #15488]
16509 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16510 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16511 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16512 double tests.
16513 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16514 disable.
16515 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16516 check_long_double.
16517
3779b5b6
JM
16518 * math/gen-libm-test.pl (@tests): Remove variable.
16519 ($count): Likewise.
16520 (new_test): Remove function.
16521 (show_exceptions): New function.
16522 (special_functions): Use show_exceptions instead of new_test.
16523 (parse_args): Likewise.
16524 (generate_testfile): Pass only function name in generated call to
16525 print_max_error or print_complex_max_error.
16526 (get_ulps): Do not handle complex tests specially.
16527 (output_test): Rename to ...
16528 (get_all_ulps_for_test): ... this. Return a string rather than
16529 printing to a file. Require ulps to be present.
16530 (output_ulps): Generate arrays rather than #defines.
16531 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16532 (struct ulp_data): New type.
16533 (BUILD_COMPLEX_ULP): Remove macro.
16534 (compare_ulp_data): New function.
16535 (find_ulps): Likewise.
16536 (find_test_ulps): Likewise.
16537 (find_function_ulps): Likewise.
16538 (find_complex_function_ulps): Likewise.
16539 (print_max_error): Determine allowed ulps using
16540 find_function_ulps.
16541 (print_complex_max_error): Determine allowed ulps using
16542 find_complex_function_ulps.
16543 (check_float_internal): Determine max ulps using find_test_ulps.
16544 (check_float): Do not take max_ulp parameter. Update call to
16545 check_float_internal.
16546 (check_complex): Likewise.
16547 (check_int): Do not take max_ulp parameter.
16548 (check_long): Likewise.
16549 (check_bool): Likewise.
16550 (check_longlong): Likewise.
16551 (struct test_f_f_data): Remove max_ulp field.
16552 (struct test_ff_f_data): Likewise.
16553 (struct test_ff_f_data_nexttoward): Likewise.
16554 (struct test_fi_f_data): Likewise.
16555 (struct test_fl_f_data): Likewise.
16556 (struct test_if_f_data): Likewise.
16557 (struct test_fff_f_data): Likewise.
16558 (struct test_c_f_data): Likewise.
16559 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16560 (struct test_fF_f1_data): Likewise.
16561 (struct test_ffI_f1_data): Likewise.
16562 (struct test_c_c_data): Remove max_ulp field.
16563 (struct test_cc_c_data): Likewise.
16564 (struct test_f_i_data): Likewise.
16565 (struct test_ff_i_data): Likewise.
16566 (struct test_f_l_data): Likewise.
16567 (struct test_f_L_data): Likewise.
16568 (struct test_sincos_data): Likewise.
16569 (RUN_TEST_f_f): Do not handle ulps.
16570 (RUN_TEST_LOOP_f_f): Likewise.
16571 (RUN_TEST_2_f): Likewise.
16572 (RUN_TEST_LOOP_2_f): Likewise.
16573 (RUN_TEST_fff_f): Likewise.
16574 (RUN_TEST_LOOP_fff_f): Likewise.
16575 (RUN_TEST_c_f): Likewise.
16576 (RUN_TEST_LOOP_c_f): Likewise.
16577 (RUN_TEST_f_f1): Likewise.
16578 (RUN_TEST_LOOP_f_f1): Likewise.
16579 (RUN_TEST_fF_f1): Likewise.
16580 (RUN_TEST_LOOP_fF_f1): Likewise.
16581 (RUN_TEST_fI_f1): Likewise.
16582 (RUN_TEST_LOOP_fI_f1): Likewise.
16583 (RUN_TEST_ffI_f1): Likewise.
16584 (RUN_TEST_LOOP_ffI_f1): Likewise.
16585 (RUN_TEST_c_c): Likewise.
16586 (RUN_TEST_LOOP_c_c): Likewise.
16587 (RUN_TEST_cc_c): Likewise.
16588 (RUN_TEST_LOOP_cc_c): Likewise.
16589 (RUN_TEST_f_i): Likewise.
16590 (RUN_TEST_LOOP_f_i): Likewise.
16591 (RUN_TEST_f_i_tg): Likewise.
16592 (RUN_TEST_LOOP_f_i_tg): Likewise.
16593 (RUN_TEST_ff_i_tg): Likewise.
16594 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16595 (RUN_TEST_f_b): Likewise.
16596 (RUN_TEST_LOOP_f_b): Likewise.
16597 (RUN_TEST_f_b_tg): Likewise.
16598 (RUN_TEST_LOOP_f_b_tg): Likewise.
16599 (RUN_TEST_f_l): Likewise.
16600 (RUN_TEST_LOOP_f_l): Likewise.
16601 (RUN_TEST_f_L): Likewise.
16602 (RUN_TEST_LOOP_f_L): Likewise.
16603 (RUN_TEST_sincos): Likewise.
16604 (RUN_TEST_LOOP_sincos): Likewise.
16605
8269107f
JM
166062013-05-17 Joseph Myers <joseph@codesourcery.com>
16607
bb38759d
JM
16608 [BZ #15480]
16609 [BZ #15485]
16610 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16611 main case of finite arguments, set rounding mode to FE_TONEAREST
16612 and discard exceptions.
16613 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16614 exceptions.
16615 (remainder_tonearest_test_data): New variable.
16616 (remainder_test_tonearest): New function.
16617 (remainder_towardzero_test_data): New variable.
16618 (remainder_test_towardzero): New function.
16619 (remainder_downward_test_data): New variable.
16620 (remainder_test_downward): New function.
16621 (remainder_upward_test_data): New variable.
16622 (remainder_test_upward): New function.
16623 (main): Call the new test functions.
16624
a00bdcf0
JM
16625 * math/libm-test.inc (struct test_f_f1_data): Remove field
16626 extra_init.
16627 (struct test_fF_f1_data): Likewise.
16628 (struct test_ffI_f1_data): Likewise.
16629 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16630 based on value of EXTRA_EXPECTED.
16631 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16632 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16633 EXTRA_VAR based on value of EXTRA_EXPECTED.
16634 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16635 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16636 EXTRA_VAR based on value of EXTRA_EXPECTED.
16637 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16638 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16639 EXTRA_VAR based on value of EXTRA_EXPECTED.
16640 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16641 * math/gen-libm-test.pl (parse_args): Don't output initializers
16642 for extra output values.
16643
de407f79
JM
16644 * math/libm-test.inc (check_int): Expect result to be exactly
16645 equal to expected value and do not handle ulps.
16646 (check_long): Likewise.
16647 (check_longlong): Likewise.
16648
8269107f
JM
16649 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16650 exceptions.
16651 (cimag_test_data): Likewise.
16652 (conj_test_data): Likewise.
16653 (copysign_test_data): Likewise.
16654 (cproj_test_data): Likewise.
16655 (creal_test_data): Likewise.
16656 (fabs_test_data): Likewise.
16657 (fdim_test_data): Likewise.
16658 (finite_test_data): Likewise.
16659 (floor_test_data): Likewise.
16660 (fmax_test_data): Likewise.
16661 (fmin_test_data): Likewise.
16662 (fmod_test_data): Likewise.
16663 (fpclassify_test_data): Likewise.
16664 (frexp_test_data): Likewise.
16665 (ilogb_test_data): Likewise.
16666 (isfinite_test_data): Likewise.
16667 (isgreater_test_data): Likewise.
16668 (isgreaterequal_test_data): Likewise.
16669 (isinf_test_data): Likewise.
16670 (isless_test_data): Likewise.
16671 (islessequal_test_data): Likewise.
16672 (islessgreater_test_data): Likewise.
16673 (isnan_test_data): Likewise.
16674 (isnormal_test_data): Likewise.
16675 (issignaling_test_data): Likewise.
16676 (isunordered_test_data): Likewise.
16677 (ldexp_test_data): Likewise.
16678 (lrint_test_data): Likewise.
16679 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16680 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16681 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16682 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16683 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16684 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16685 test input.
16686 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16687 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16688 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16689 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16690 that test input.
16691 (lrint_downward_test_data): Test for "inexact" exceptions.
16692 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16693 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16694 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16695 test input.
16696 (lrint_upward_test_data): Test for "inexact" exceptions.
16697 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16698 test input.
16699 (llrint_test_data): Test for "inexact" exceptions.
16700 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16701 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16702 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16703 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16704 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16705 (llrint_downward_test_data): Test for "inexact" exceptions.
16706 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16707 (llrint_upward_test_data): Test for "inexact" exceptions.
16708 (logb_test_data): Likewise.
16709 (logb_downward_test_data): Likewise.
16710 (nextafter_test_data): Likewise.
16711 (nexttoward_test_data): Likewise.
16712 (remainder_test_data): Likewise.
16713 (remquo_test_data): Likewise.
16714 (scalbn_test_data): Likewise.
16715 (scalbln_test_data): Likewise.
16716 (signbit_test_data): Likewise.
16717 (sqrt_test_data): Likewise.
16718 (significand_test_data): Likewise.
16719
48a18de1
SP
167202013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16721
16722 [BZ #15424]
16723 * benchtests/bench-modf.c (struct args): Mark arg0 as
16724 volatile.
16725 * scripts/bench.pl: Mark members of struct args as volatile.
16726
13d3b41a
AZ
167272013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16728
68191c1d 16729 [BZ # 15497]
13d3b41a
AZ
16730 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16731 negative infinity on POWER6 or lower.
16732 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16733
2848b105
MR
167342013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16735
16736 [BZ #15442]
16737 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16738 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16739 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16740 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16741 (_FP_SETQNAN): New macro.
16742 (_FP_SETQNAN_SEMIRAW): Likewise.
16743 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16744 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16745 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16746 (FP_EXTEND): Use _FP_FRAC_SNANP.
16747 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16748 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16749 into account.
16750 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16751 New macro.
16752 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16753 Likewise.
16754
323e5cb7
JM
167552013-05-16 Joseph Myers <joseph@codesourcery.com>
16756
c58b274f
JM
16757 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16758 with DIVIDE_BY_ZERO_EXCEPTION.
16759 (gamma_test_data): Likewise.
16760 (lgamma_test_data): Likewise.
16761 (log_test_data): Likewise.
16762 (log10_test_data): Likewise.
16763 (log2_test_data): Likewise.
16764 (tgamma_test_data): Likewise.
16765
0ab34904
JM
16766 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16767 (acos_test_tonearest): Likewise.
16768 (acos_test_towardzero): Likewise.
16769 (acos_test_downward): Likewise.
16770 (acos_test_upward): Likewise.
16771 (acosh_test): Likewise.
16772 (asin_test): Likewise.
16773 (asin_test_tonearest): Likewise.
16774 (asin_test_towardzero): Likewise.
16775 (asin_test_downward): Likewise.
16776 (asin_test_upward): Likewise.
16777 (asinh_test): Likewise.
16778 (atan_test): Likewise.
16779 (atanh_test): Likewise.
16780 (atan2_test): Likewise.
16781 (cabs_test): Likewise.
16782 (cacos_test): Likewise.
16783 (cacosh_test): Likewise.
16784 (casin_test): Likewise.
16785 (casinh_test): Likewise.
16786 (catan_test): Likewise.
16787 (catanh_test): Likewise.
16788 (cbrt_test): Likewise.
16789 (ccos_test): Likewise.
16790 (ccosh_test): Likewise.
16791 (cexp_test): Likewise.
16792 (clog_test): Likewise.
16793 (clog10_test): Likewise.
16794 (cos_test): Likewise.
16795 (cos_test_tonearest): Likewise.
16796 (cos_test_towardzero): Likewise.
16797 (cos_test_downward): Likewise.
16798 (cos_test_upward): Likewise.
16799 (cosh_test): Likewise.
16800 (cosh_test_tonearest): Likewise.
16801 (cosh_test_towardzero): Likewise.
16802 (cosh_test_downward): Likewise.
16803 (cosh_test_upward): Likewise.
16804 (cpow_test): Likewise.
16805 (csin_test): Likewise.
16806 (csinh_test): Likewise.
16807 (csqrt_test): Likewise.
16808 (ctan_test): Likewise.
16809 (ctan_test_tonearest): Likewise.
16810 (ctan_test_towardzero): Likewise.
16811 (ctan_test_downward): Likewise.
16812 (ctan_test_upward): Likewise.
16813 (ctanh_test): Likewise.
16814 (ctanh_test_tonearest): Likewise.
16815 (ctanh_test_towardzero): Likewise.
16816 (ctanh_test_downward): Likewise.
16817 (ctanh_test_upward): Likewise.
16818 (erf_test): Likewise.
16819 (erfc_test): Likewise.
16820 (exp_test): Likewise.
16821 (exp_test_tonearest): Likewise.
16822 (exp_test_towardzero): Likewise.
16823 (exp_test_downward): Likewise.
16824 (exp_test_upward): Likewise.
16825 (exp10_test): Likewise.
16826 (exp2_test): Likewise.
16827 (expm1_test): Likewise.
16828 (fmod_test): Likewise.
16829 (gamma_test): Likewise.
16830 (hypot_test): Likewise.
16831 (j0_test): Likewise.
16832 (j1_test): Likewise.
16833 (jn_test): Likewise.
16834 (lgamma_test): Likewise.
16835 (log_test): Likewise.
16836 (log10_test): Likewise.
16837 (log1p_test): Likewise.
16838 (log2_test): Likewise.
16839 (logb_test_downward): Likewise.
16840 (pow_test): Likewise.
16841 (pow_test_tonearest): Likewise.
16842 (pow_test_towardzero): Likewise.
16843 (pow_test_downward): Likewise.
16844 (pow_test_upward): Likewise.
16845 (remainder_test): Likewise.
16846 (remquo_test): Likewise.
16847 (sin_test): Likewise.
16848 (sin_test_tonearest): Likewise.
16849 (sin_test_towardzero): Likewise.
16850 (sin_test_downward): Likewise.
16851 (sin_test_upward): Likewise.
16852 (sincos_test): Likewise.
16853 (sinh_test): Likewise.
16854 (sinh_test_tonearest): Likewise.
16855 (sinh_test_towardzero): Likewise.
16856 (sinh_test_downward): Likewise.
16857 (sinh_test_upward): Likewise.
16858 (sqrt_test): Likewise.
16859 (tan_test): Likewise.
16860 (tan_test_tonearest): Likewise.
16861 (tan_test_towardzero): Likewise.
16862 (tan_test_downward): Likewise.
16863 (tan_test_upward): Likewise.
16864 (tanh_test): Likewise.
16865 (tgamma_test): Likewise.
16866 (y0_test): Likewise.
16867 (y1_test): Likewise.
16868 (yn_test): Likewise.
16869
323e5cb7
JM
16870 * math/gen-libm-test.pl (adjust_arg): Remove function.
16871 (special_function): Remove argument $in_func. Only handle
16872 generating output for tables of tests, not inside functions.
16873 (parse_args): Likewise.
16874 (generate_testfile): Remove variable $in_func. Update call to
16875 parse_args.
16876 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16877 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16878 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16879 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16880 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16881 (MAX_VALUE_INIT): Rename macro to max_value.
16882 (MIN_VALUE_INIT): Rename macro to min_value.
16883 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16884 (plus_zero): Remove variable.
16885 (minus_zero): Likewise.
16886 (plus_infty): Likewise.
16887 (minus_infty): Likewise.
16888 (qnan_value): Likewise.
16889 (max_value): Likewise.
16890 (min_value): Likewise.
16891 (min_subnorm_value): Likewise.
16892
e054f494
RA
168932013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16894
16895 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16896 uint64_t or uint32_t usage.
16897 * crypt/sha256-block.c: Likewise.
16898 * crypt/sha256-crypt.c: Likewise.
16899 * crypt/sha256.c: Likewise.
16900 * crypt/sha512-block.c: Likewise.
16901 * crypt/sha512-crypt.c: Likewise.
16902 * crypt/sha512.c: Likewise.
16903 * debug/backtrace-tst.c: Likewise.
16904 * debug/pcprofiledump.c: Likewise.
16905 * elf/cache.c: Likewise.
16906 * elf/dl-cache.c: Likewise.
16907 * elf/dl-misc.c: Likewise.
16908 * elf/dl-profile.c: Likewise.
16909 * elf/dl-support.c: Likewise.
16910 * elf/ldconfig.c: Likewise.
16911 * elf/sprof.c: Likewise.
16912 * iconv/dummy-repertoire.c: Likewise.
16913 * iconv/iconv_charmap.c: Likewise.
16914 * iconv/skeleton.c: Likewise.
16915 * iconvdata/8bit-generic.c: Likewise.
16916 * iconvdata/cp737.h: Likewise.
16917 * iconvdata/cp775.h: Likewise.
16918 * iconvdata/ibm1008.h: Likewise.
16919 * iconvdata/ibm1025.h: Likewise.
16920 * iconvdata/ibm1046.h: Likewise.
16921 * iconvdata/ibm1097.h: Likewise.
16922 * iconvdata/ibm1112.h: Likewise.
16923 * iconvdata/ibm1122.h: Likewise.
16924 * iconvdata/ibm1123.h: Likewise.
16925 * iconvdata/ibm1124.h: Likewise.
16926 * iconvdata/ibm1129.h: Likewise.
16927 * iconvdata/ibm1130.h: Likewise.
16928 * iconvdata/ibm1132.h: Likewise.
16929 * iconvdata/ibm1133.h: Likewise.
16930 * iconvdata/ibm1137.h: Likewise.
16931 * iconvdata/ibm1140.h: Likewise.
16932 * iconvdata/ibm1141.h: Likewise.
16933 * iconvdata/ibm1142.h: Likewise.
16934 * iconvdata/ibm1143.h: Likewise.
16935 * iconvdata/ibm1144.h: Likewise.
16936 * iconvdata/ibm1145.h: Likewise.
16937 * iconvdata/ibm1146.h: Likewise.
16938 * iconvdata/ibm1147.h: Likewise.
16939 * iconvdata/ibm1148.h: Likewise.
16940 * iconvdata/ibm1149.h: Likewise.
16941 * iconvdata/ibm1153.h: Likewise.
16942 * iconvdata/ibm1154.h: Likewise.
16943 * iconvdata/ibm1155.h: Likewise.
16944 * iconvdata/ibm1156.h: Likewise.
16945 * iconvdata/ibm1157.h: Likewise.
16946 * iconvdata/ibm1158.h: Likewise.
16947 * iconvdata/ibm1160.h: Likewise.
16948 * iconvdata/ibm1161.h: Likewise.
16949 * iconvdata/ibm1162.h: Likewise.
16950 * iconvdata/ibm1163.h: Likewise.
16951 * iconvdata/ibm1164.h: Likewise.
16952 * iconvdata/ibm1166.h: Likewise.
16953 * iconvdata/ibm1167.h: Likewise.
16954 * iconvdata/ibm12712.h: Likewise.
16955 * iconvdata/ibm1390.h: Likewise.
16956 * iconvdata/ibm1399.h: Likewise.
16957 * iconvdata/ibm16804.h: Likewise.
16958 * iconvdata/ibm4517.h: Likewise.
16959 * iconvdata/ibm4899.h: Likewise.
16960 * iconvdata/ibm4909.h: Likewise.
16961 * iconvdata/ibm4971.h: Likewise.
16962 * iconvdata/ibm5347.h: Likewise.
16963 * iconvdata/ibm803.h: Likewise.
16964 * iconvdata/ibm856.h: Likewise.
16965 * iconvdata/ibm901.h: Likewise.
16966 * iconvdata/ibm902.h: Likewise.
16967 * iconvdata/ibm9030.h: Likewise.
16968 * iconvdata/ibm9066.h: Likewise.
16969 * iconvdata/ibm921.h: Likewise.
16970 * iconvdata/ibm922.h: Likewise.
16971 * iconvdata/ibm9448.h: Likewise.
16972 * iconvdata/isiri-3342.h: Likewise.
16973 * iconvdata/jis0201.h: Likewise.
16974 * include/link.h: Likewise.
16975 * include/netdb.h: Likewise.
16976 * inet/check_native.c: Likewise.
16977 * inet/check_pf.c: Likewise.
16978 * inet/getipv4sourcefilter.c: Likewise.
16979 * inet/getnameinfo.c: Likewise.
16980 * inet/getsourcefilter.c: Likewise.
16981 * inet/htonl.c: Likewise.
16982 * inet/setipv4sourcefilter.c: Likewise.
16983 * inet/setsourcefilter.c: Likewise.
16984 * inet/test-inet6_opt.c: Likewise.
16985 * inet/tst-network.c: Likewise.
16986 * locale/C-collate.c: Likewise.
16987 * locale/C-ctype.c: Likewise.
16988 * locale/C-time.c: Likewise.
16989 * locale/C-translit.h: Likewise.
16990 * locale/loadarchive.c: Likewise.
16991 * locale/programs/3level.h: Likewise.
16992 * locale/programs/charmap.c: Likewise.
16993 * locale/programs/charmap.h: Likewise.
16994 * locale/programs/ld-address.c: Likewise.
16995 * locale/programs/ld-collate.c: Likewise.
16996 * locale/programs/ld-ctype.c: Likewise.
16997 * locale/programs/ld-identification.c: Likewise.
16998 * locale/programs/ld-measurement.c: Likewise.
16999 * locale/programs/ld-messages.c: Likewise.
17000 * locale/programs/ld-monetary.c: Likewise.
17001 * locale/programs/ld-name.c: Likewise.
17002 * locale/programs/ld-numeric.c: Likewise.
17003 * locale/programs/ld-paper.c: Likewise.
17004 * locale/programs/ld-telephone.c: Likewise.
17005 * locale/programs/ld-time.c: Likewise.
17006 * locale/programs/linereader.c: Likewise.
17007 * locale/programs/locale.c: Likewise.
17008 * locale/programs/locarchive.c: Likewise.
17009 * locale/programs/locfile.h: Likewise.
17010 * locale/programs/repertoire.c: Likewise.
17011 * locale/programs/simple-hash.c: Likewise.
17012 * locale/programs/simple-hash.h: Likewise.
17013 * malloc/memusage.c: Likewise.
17014 * malloc/memusagestat.c: Likewise.
17015 * nis/nis_defaults.c: Likewise.
17016 * nis/nis_hash.c: Likewise.
17017 * nis/nis_print.c: Likewise.
17018 * nis/nis_xdr.c: Likewise.
17019 * nscd/connections.c: Likewise.
17020 * nscd/hstcache.c: Likewise.
17021 * nscd/nscd_gethst_r.c: Likewise.
17022 * nscd/nscd_getserv_r.c: Likewise.
17023 * nscd/nscd_helper.c: Likewise.
17024 * nscd/servicescache.c: Likewise.
17025 * nss/makedb.c: Likewise.
17026 * nss/nss_db/db-XXX.c: Likewise.
17027 * nss/nss_db/db-initgroups.c: Likewise.
17028 * nss/nss_db/db-netgrp.c: Likewise.
17029 * nss/nss_files/files-network.c: Likewise.
17030 * nss/nss_files/files-parse.c: Likewise.
17031 * posix/bug-regex5.c: Likewise.
17032 * posix/fnmatch_loop.c: Likewise.
17033 * posix/regcomp.c: Likewise.
17034 * posix/regexec.c: Likewise.
17035 * posix/tst-rfc3484-2.c: Likewise.
17036 * posix/tst-rfc3484-3.c: Likewise.
17037 * posix/tst-rfc3484.c: Likewise.
17038 * resolv/nss_dns/dns-canon.c: Likewise.
17039 * resolv/nss_dns/dns-network.c: Likewise.
17040 * resolv/res_init.c: Likewise.
17041 * resolv/res_mkquery.c: Likewise.
17042 * resolv/tst-aton.c: Likewise.
17043 * stdlib/cxa_atexit.c: Likewise.
17044 * stdlib/cxa_finalize.c: Likewise.
17045 * stdlib/gen-fpioconst.c: Likewise.
17046 * stdlib/strtol_l.c: Likewise.
17047 * string/tst-endian.c: Likewise.
17048 * sunrpc/auth_des.c: Likewise.
17049 * sunrpc/clnt_udp.c: Likewise.
17050 * sunrpc/rtime.c: Likewise.
17051 * sunrpc/svcauth_des.c: Likewise.
17052 * sunrpc/xdr.c: Likewise.
17053 * sunrpc/xdr_intXX_t.c: Likewise.
17054 * sunrpc/xdr_rec.c: Likewise.
17055 * sysdeps/generic/ldconfig.h: Likewise.
17056 * sysdeps/generic/ldsodefs.h: Likewise.
17057 * sysdeps/generic/memusage.h: Likewise.
17058 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17061 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17068 * sysdeps/posix/getaddrinfo.c: Likewise.
17069 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17070 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17071 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17072 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17073 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17074 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17075 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17076 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17077 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17078 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17079 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17080 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17081 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17082 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17083 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17084 * sysdeps/x86_64/dl-tls.h: Likewise.
17085 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17086 * time/alt_digit.c: Likewise.
17087 * time/era.c: Likewise.
17088 * wcsmbs/tst-c16c32-1.c: Likewise.
17089
8c75f674
JM
170902013-05-16 Joseph Myers <joseph@codesourcery.com>
17091
17092 * math/libm-test.inc (struct test_sincos_data): New type.
17093 (RUN_TEST_LOOP_sincos): New macro.
17094 (sincos_test_data): New variable.
17095 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17096
e6e49e59
RH
170972013-05-16 Richard Henderson <rth@redhat.com>
17098
17099 * math/atest-exp2.c (LIMB64): New macro.
17100 (CONSTSZ): New macro.
17101 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17102 (hexdig): Move ...
17103 (print_mpn_fp): ... to function scope.
17104 (read_mpn_hex): Remove.
17105 (get_log2): Remove.
17106 (exp2_mpn): Use mp_log2.
17107 (main): Use mp_exp1.
17108
15c7c18d
JM
171092013-05-16 Joseph Myers <joseph@codesourcery.com>
17110
105a07df
JM
17111 * math/libm-test.inc: Remove comment about not testing "inexact"
17112 exceptions.
17113 (INEXACT_EXCEPTION): New macro.
17114 (NO_INEXACT_EXCEPTION): Likewise.
17115 (INVALID_EXCEPTION_OK): Update value.
17116 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17117 (OVERFLOW_EXCEPTION_OK): Likewise.
17118 (UNDERFLOW_EXCEPTION_OK): Likewise.
17119 (IGNORE_ZERO_INF_SIGN): Likewise.
17120 (ERRNO_UNCHANGED): Likewise.
17121 (ERRNO_EDOM): Likewise.
17122 (ERRNO_ERANGE): Likewise.
17123 (test_exceptions): Handle testing "inexact" exceptions.
17124 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17125 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17126 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17127 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17128 INEXACT_EXCEPTION.
17129 (rint_towardzero_test_data): Likewise.
17130 (rint_downward_test_data): Likewise.
17131 (rint_upward_test_data): Likewise.
17132
e9eee333
JM
17133 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17134 with OVERFLOW_EXCEPTION.
17135 (exp10_test_data): Likewise.
17136 (exp2_test_data): Likewise.
17137 (expm1_test_data): Likewise.
17138 (lgamma_test_data): Likewise.
17139 (pow_test_data): Likewise.
17140 (tgamma_test_data): Likewise.
17141 (yn_test_data): Remove duplicate test of overflow.
17142
1c38ff73
JM
17143 * math/libm-test.inc (struct test_cc_c_data): New type.
17144 (RUN_TEST_LOOP_cc_c): New macro.
17145 (cpow_test_data): New variable.
17146 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17147
15c7c18d
JM
17148 * math/libm-test.inc (struct test_f_L_data): New type.
17149 (RUN_TEST_LOOP_f_L): New macro.
17150 (llrint_test_data): New variable.
17151 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17152 (llrint_tonearest_test_data): New variable.
17153 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17154 (llrint_towardzero_test_data): New variable.
17155 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17156 (llrint_downward_test_data): New variable.
17157 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17158 (llrint_upward_test_data): New variable.
17159 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17160 (llround_test_data): New variable.
17161 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17162
f137ff13
PC
171632013-05-13 Peter Collingbourne <pcc@google.com>
17164
17165 * math/atest-exp2.c (get_log2): Remove const attribute.
17166
3608cb24
JM
171672013-05-15 Joseph Myers <joseph@codesourcery.com>
17168
17169 * math/libm-test.inc (struct test_f_l_data): New type.
17170 (RUN_TEST_LOOP_f_l): New macro.
17171 (lrint_test_data): New variable.
17172 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17173 (lrint_tonearest_test_data): New variable.
17174 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17175 (lrint_towardzero_test_data): New variable.
17176 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17177 (lrint_downward_test_data): New variable.
17178 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17179 (lrint_upward_test_data): New variable.
17180 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17181 (lround_test_data): New variable.
17182 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17183
39b1f617
PC
171842013-05-15 Peter Collingbourne <pcc@google.com>
17185
1deff3dc
PC
17186 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17187 (EXTRACT_WORDS64) Use where appropriate.
17188 (INSERT_WORDS64) Likewise.
17189
791f3ba0
PC
17190 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17191 constraints with x constraints.
17192 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17193
39b1f617
PC
17194 * malloc/obstack.c (_obstack_compat): Add initializer.
17195
12fba011
EM
171962013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17197
17198 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17199 si_trapno and add si_addr_lsb to _sifields.sigfault.
17200 (si_trapno): Remove macro.
17201 (si_addr_lsb): Define new macro.
17202 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17203
d369f531
JM
172042013-05-15 Joseph Myers <joseph@codesourcery.com>
17205
b861c6c4
JM
17206 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17207 instead of TEST_f_l.
17208 (llrint_test_tonearest): Likewise.
17209 (llrint_test_towardzero): Likewise.
17210 (llrint_test_downward): Likewise.
17211 (llrint_test_upward): Likewise.
17212 (llround_test): Likewise.
17213
7abeee12
JM
17214 * math/libm-test.inc (struct test_f_i_data): Add comment.
17215 (RUN_TEST_LOOP_f_b): New macro.
17216 (RUN_TEST_LOOP_f_b_tg): Likewise.
17217 (finite_test_data): New variable.
17218 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17219 (isfinite_test_data): New variable.
17220 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17221 (isinf_test_data): New variable.
17222 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17223 (isnan_test_data): New variable.
17224 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17225 (isnormal_test_data): New variable.
17226 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17227 (issignaling_test_data): New variable.
17228 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17229 (signbit_test_data): New variable.
17230 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17231
cbe8c4d3
JM
17232 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17233 with INVALID_EXCEPTION.
17234 (acosh_test_data): Likewise.
17235 (asin_test_data): Likewise.
17236 (atanh_test_data): Likewise.
17237 (fmod_test_data): Likewise.
17238 (log_test_data): Likewise.
17239 (log10_test_data): Likewise.
17240 (log2_test_data): Likewise.
17241 (pow_test_data): Likewise.
17242 (sqrt_test_data): Likewise.
17243 (y0_test_data): Likewise.
17244 (y1_test_data): Likewise.
17245 (yn_test_data): Likewise.
17246
5575c0e5
JM
17247 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17248 function contents.
17249
d369f531
JM
17250 * math/libm-test.inc (struct test_ff_i_data): New type.
17251 (RUN_TEST_LOOP_ff_i_tg): New macro.
17252 (isgreater_test_data): New variable.
17253 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17254 (isgreaterequal_test_data): New variable.
17255 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17256 (isless_test_data): New variable.
17257 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17258 (islessequal_test_data): New variable.
17259 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17260 (islessgreater_test_data): New variable.
17261 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17262 (isunordered_test_data): New variable.
17263 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17264
781fd748
DM
172652013-05-14 David S. Miller <davem@davemloft.net>
17266
17267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17268
87aa21df
JM
172692013-05-14 Joseph Myers <joseph@codesourcery.com>
17270
5e908270
JM
17271 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17272
f71172e5
JM
17273 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17274 extra_test to int.
17275 (struct test_f_i_data): Change type of max_ulp to int.
17276
8cfa635a
JM
17277 * math/libm-test.inc (test_ffI_f1_data): New type.
17278 (RUN_TEST_LOOP_ffI_f1): New macro.
17279 (remquo_test_data): New variable.
17280 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17281
2bcb36b2
JM
17282 * setjmp/tst-setjmp-fp.c: New file.
17283 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17284 (link-libm): New variable.
17285 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17286
acbd839a
JM
17287 * math/libm-test.inc (struct test_f_i_data): New type.
17288 (RUN_TEST_LOOP_f_i): New macro.
17289 (RUN_TEST_LOOP_f_i_tg): Likewise.
17290 (fpclassify_test_data): New variable.
17291 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17292 (ilogb_test_data): New variable.
17293 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17294
e414d745
JM
17295 * math/libm-test.inc (scalbln_test): Correct function name in END
17296 call.
17297
d9c2a0fd
JM
17298 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17299 (RUN_TEST_LOOP_fI_f1): New macro.
17300 (frexp_test_data): New variable.
17301 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17302
9dc9095d
JM
17303 * math/libm-test.inc (struct test_fF_f1_data): New type.
17304 (RUN_TEST_LOOP_fF_f1): New macro.
17305 (modf_test_data): New variable.
17306 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17307
87aa21df
JM
17308 * math/libm-test.inc (struct test_f_f1_data): New type.
17309 (RUN_TEST_LOOP_f_f1): New macro.
17310 (gamma_test_data): New variable.
17311 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17312 (lgamma_test_data): New variable.
17313 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17314
141af660
CD
173152013-05-13 Carlos O'Donell <carlos@redhat.com>
17316
17317 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17318 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17319 (main): Comment "tls" pseudo-hwcap.
17320
6d33265c
JM
173212013-05-13 Joseph Myers <joseph@codesourcery.com>
17322
68fc074c
JM
17323 * math/libm-test.inc (struct test_fl_f_data): New type.
17324 (RUN_TEST_LOOP_fl_f): New variable.
17325 (scalbln_test_data): New variable.
17326 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17327
243216e1
JM
17328 * math/libm-test.inc (struct test_fi_f_data): New type.
17329 (RUN_TEST_LOOP_fi_f): New macro.
17330 (ldexp_test_data): New variable.
17331 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17332 (scalbn_test_data): New variable.
17333 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17334
6a1992e2
JM
17335 * math/libm-test.inc (struct test_c_f_data): New type.
17336 (RUN_TEST_LOOP_c_f): New macro.
17337 (cabs_test_data): New variable.
17338 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17339 (carg_test_data): New variable.
17340 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17341 (cimag_test_data): New variable.
17342 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17343 (creal_test_data): New variable.
17344 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17345
0e400df5
JM
17346 * math/libm-test.inc (struct test_if_f_data): New type.
17347 (RUN_TEST_LOOP_if_f): New macro.
17348 (jn_test_data): New variable.
17349 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17350 (yn_test_data): New variable.
17351 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17352
6d33265c
JM
17353 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17354
f98ece5f
AZ
173552013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17356
17357 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17358 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17359
0f7d347b
SP
173602013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17361
43fe811b
SP
17362 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17363 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17364 (bench-deps): Add bench-timing.h.
17365 * benchtests-bench-skeleton.c: Include bench-timing.h.
17366 (main): Use TIMING_* macros instead of clock_gettime.
17367 * benchtests/bench-timing.h: New file.
17368
0f7d347b
SP
17369 [BZ #14582]
17370 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17371 Renamed from _LIB_VERSION.
17372 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17373
601a3a5f
JM
173742013-05-12 Joseph Myers <joseph@codesourcery.com>
17375
4f184d30
JM
17376 * math/libm-test.inc (struct test_fff_f_data): New type.
17377 (RUN_TEST_LOOP_fff_f): New macro.
17378 (fma_test_data): New variable.
17379 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17380 (fma_towardzero_test_data): New variable.
17381 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17382 (fma_downward_test_data): New variable.
17383 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17384 (fma_upward_test_data): New variable.
17385 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17386
08198877
JM
17387 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17388 (struct test_c_c_data): New type.
17389 (RUN_TEST_LOOP_c_c): New macro.
17390 (cacos_test_data): New variable.
17391 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17392 (cacosh_test_data): New variable.
17393 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17394 (casin_test_data): New variable.
17395 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17396 (casinh_test_data): New variable.
17397 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17398 (catan_test_data): New variable.
17399 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17400 (catanh_test_data): New variable.
17401 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17402 (ccos_test_data): New variable.
17403 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17404 (ccosh_test_data): New variable.
17405 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17406 (cexp_test_data): New variable.
17407 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17408 (clog_test_data): New variable.
17409 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17410 (clog10_test_data): New variable.
17411 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17412 (conj_test_data): New variable.
17413 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17414 (cproj_test_data): New variable.
17415 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17416 (csin_test_data): New variable.
17417 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17418 (csinh_test_data): New variable.
17419 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17420 (csqrt_test_data): New variable.
17421 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17422 (ctan_test_data): New variable.
17423 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17424 (ctan_tonearest_test_data): New variable.
17425 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17426 (ctan_towardzero_test_data): New variable.
17427 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17428 (ctan_downward_test_data): New variable.
17429 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17430 (ctan_upward_test_data): New variable.
17431 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17432 (ctanh_test_data): New variable.
17433 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17434 (ctanh_tonearest_test_data): New variable.
17435 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17436 (ctanh_towardzero_test_data): New variable.
17437 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17438 (ctanh_downward_test_data): New variable.
17439 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17440 (ctanh_upward_test_data): New variable.
17441 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17442 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17443 of BUILD_COMPLEX.
17444
601a3a5f
JM
17445 * math/libm-test.inc (struct test_ff_f_data): New type.
17446 (struct test_ff_f_data_nexttoward): Likewise.
17447 (RUN_TEST_LOOP_2_f): New macro.
17448 (RUN_TEST_LOOP_ff_f): Likewise.
17449 (atan2_test_data): New variable.
17450 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17451 (copysign_test_data): New variable.
17452 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17453 (fdim_test_data): New variable.
17454 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17455 (fmax_test_data): New variable.
17456 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17457 (fmin_test_data): New variable.
17458 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17459 (fmod_test_data): New variable.
17460 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17461 (hypot_test_data): New variable.
17462 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17463 (nextafter_test_data): New variable.
17464 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17465 (nexttoward_test_data): New variable.
17466 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17467 (pow_test_data): New variable.
17468 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17469 (pow_tonearest_test_data): New variable.
17470 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17471 (pow_towardzero_test_data): New variable.
17472 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17473 (pow_downward_test_data): New variable.
17474 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17475 (pow_upward_test_data): New variable.
17476 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17477 (remainder_test_data): New variable.
17478 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17479 (scalb_test_data): New variable.
17480 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17481 * sysdeps/i386/fpu/libm-test-ulps: Update.
17482
74c57478
JM
174832013-05-11 Joseph Myers <joseph@codesourcery.com>
17484
8329e4da
JM
17485 * math/libm-test.inc (fma_test): Use max_value instead of local
17486 variable fltmax.
17487 (nextafter_test): Likewise.
17488
74c57478
JM
17489 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17490 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17491 (acos_downward_test_data): New variable.
17492 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17493 (acos_upward_test_data): New variable.
17494 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17495 (acosh_test_data): New variable.
17496 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17497 (asin_test_data): New variable.
17498 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17499 (asin_tonearest_test_data): New variable.
17500 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17501 (asin_towardzero_test_data): New variable.
17502 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17503 (asin_downward_test_data): New variable.
17504 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17505 (asin_upward_test_data): New variable.
17506 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17507 (asinh_test_data): New variable.
17508 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17509 (atan_test_data): New variable.
17510 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17511 (atanh_test_data): New variable.
17512 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17513 (cbrt_test_data): New variable.
17514 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17515 (ceil_test_data): New variable.
17516 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17517 (cos_test_data): New variable.
17518 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17519 (cos_tonearest_test_data): New variable.
17520 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17521 (cos_towardzero_test_data): New variable.
17522 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17523 (cos_downward_test_data): New variable.
17524 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17525 (cos_upward_test_data): New variable.
17526 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17527 (cosh_test_data): New variable.
17528 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17529 (cosh_tonearest_test_data): New variable.
17530 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17531 (cosh_towardzero_test_data): New variable.
17532 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17533 (cosh_downward_test_data): New variable.
17534 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17535 (cosh_upward_test_data): New variable.
17536 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17537 (erf_test_data): New variable.
17538 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17539 (erfc_test_data): New variable.
17540 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17541 (exp_test_data): New variable.
17542 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17543 (exp_tonearest_test_data): New variable.
17544 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17545 (exp_towardzero_test_data): New variable.
17546 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17547 (exp_downward_test_data): New variable.
17548 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17549 (exp_upward_test_data): New variable.
17550 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17551 (exp10_test_data): New variable.
17552 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17553 (exp2_test_data): New variable.
17554 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17555 (expm1_test_data): New variable.
17556 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17557 (fabs_test_data): New variable.
17558 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17559 (floor_test_data): New variable.
17560 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17561 (j0_test_data): New variable.
17562 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17563 (j1_test_data): New variable.
17564 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17565 (log_test_data): New variable.
17566 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17567 (log10_test_data): New variable.
17568 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17569 (log1p_test_data): New variable.
17570 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17571 (log2_test_data): New variable.
17572 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17573 (logb_test_data): New variable.
17574 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17575 (logb_downward_test_data): New variable.
17576 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17577 (nearbyint_test_data): New variable.
17578 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17579 (rint_test_data): New variable.
17580 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17581 (rint_tonearest_test_data): New variable.
17582 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17583 (rint_towardzero_test_data): New variable.
17584 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17585 (rint_downward_test_data): New variable.
17586 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17587 (rint_upward_test_data): New variable.
17588 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17589 (round_test_data): New variable.
17590 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17591 (sin_test_data): New variable.
17592 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17593 (sin_tonearest_test_data): New variable.
17594 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17595 (sin_towardzero_test_data): New variable.
17596 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17597 (sin_downward_test_data): New variable.
17598 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17599 (sin_upward_test_data): New variable.
17600 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17601 (sinh_test_data): New variable.
17602 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17603 (sinh_tonearest_test_data): New variable.
17604 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17605 (sinh_towardzero_test_data): New variable.
17606 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17607 (sinh_downward_test_data): New variable.
17608 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17609 (sinh_upward_test_data): New variable.
17610 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17611 (sqrt_test_data): New variable.
17612 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17613 (tan_test_data): New variable.
17614 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17615 (tan_tonearest_test_data): New variable.
17616 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17617 (tan_towardzero_test_data): New variable.
17618 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17619 (tan_downward_test_data): New variable.
17620 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17621 (tan_upward_test_data): New variable.
17622 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17623 (tanh_test_data): New variable.
17624 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17625 (tgamma_test_data): New variable.
17626 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17627 (trunc_test_data): New variable.
17628 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17629 (y0_test_data): New variable.
17630 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17631 (y1_test_data): New variable.
17632 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17633 (significand_test_data): New variable.
17634 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17635
7187d844
CG
176362013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17637
17638 [BZ #12387]
17639 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17640
f63fae73
PT
176412013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17642
17643 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17644
8a67a4b3
AJ
176452013-05-10 Andreas Jaeger <aj@suse.de>
17646
17647 [BZ #15448]
17648 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17649 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17650
51df539d
JM
176512013-05-10 Joseph Myers <joseph@codesourcery.com>
17652
17653 * math/gen-libm-test.pl (adjust_arg): New function.
17654 (special_functions): Handle generating output in both functions
17655 and arrays.
17656 (parse_args): Likewise.
17657 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17658 $in_func argument to parse_args.
17659 * math/libm-test.inc (struct test_f_f_data): New type.
17660 (IF_ROUND_INIT_): New macro.
17661 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17662 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17663 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17664 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17665 (ROUND_RESTORE_): Likewise.
17666 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17667 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17668 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17669 (ROUND_RESTORE_FE_UPWARD): Likewise.
17670 (RUN_TEST_LOOP_f_f): New macro.
17671 (acos_test_data): New variable.
17672 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17673 (acos_tonearest_test_data): New variable.
17674 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17675
5c637fe5
SP
176762013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17677
17678 * benchtests/bench-skeleton.c (startup): Fix coding style.
17679
ab2b9461
JM
176802013-05-10 Joseph Myers <joseph@codesourcery.com>
17681
17682 [BZ #6809]
17683 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17684 negative infinity argument.
17685 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17686 negative infinity argument.
17687 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17688 negative infinity argument.
17689 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17690 domain errors.
17691
4c0fe6fe
FW
176922013-05-10 Florian Weimer <fweimer@redhat.com>
17693
17694 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17695 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17696 * iconv/iconv_prog.c (main): Likewise.
17697 * locale/programs/charmap-dir.c (charmap_readdir)
17698 (fopen_uncompressed): Likewise.
17699 * locale/programs/locfile.c (siblings_uncached)
17700 (write_locale_data): Use lstat64 instead of lstat.
17701 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17702 stat.
17703
a3375d29
AJ
177042013-05-10 Andreas Jaeger <aj@suse.de>
17705
17706 [BZ #15395]
17707 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17708 localization.
17709 Include <locale.h>.
17710
36129722
CD
177112013-05-09 Carlos O'Donell <carlos@redhat.com>
17712
17713 * elf/dl-close.c (_dl_close_worker): Add comments.
17714
faa7f811
JM
177152013-05-09 Joseph Myers <joseph@codesourcery.com>
17716
ed41ffef
JM
17717 [BZ #15359]
17718 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17719 high part of pi/2.
17720 (__ieee754_rem_pio2l): Update comments.
17721
d0213cd0
JM
17722 [BZ #15429]
17723 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17724 high part of pi/2.
17725 (__ieee754_rem_pio2l): Update comments.
17726
0d3e777a
JM
17727 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17728 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17729
24f56066
JM
17730 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17731 M_PI_4l.
17732
faa7f811
JM
17733 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17734 (M_PI_34_LOG10El): Likewise.
17735 (M_PI2_LOG10El): Likewise.
17736 (M_PI4_LOG10El): Likewise.
17737 (M_PI_LOG10El): Likewise.
17738
e9a5e0fd
AZ
177392013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17740
17741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17742
d8cd06db
JM
177432013-05-08 Joseph Myers <joseph@codesourcery.com>
17744
a0d9f9d7
JM
17745 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17746 (MINUS_ZERO_INIT): Likewise.
17747 (PLUS_INFTY_INIT): Likewise.
17748 (MINUS_INFTY_INIT): Likewise.
17749 (QNAN_VALUE_INIT): Likewise.
17750 (MAX_VALUE_INIT): Likewise.
17751 (MIN_VALUE_INIT): Likewise.
17752 (MIN_SUBNORM_VALUE_INIT): Likewise.
17753 (plus_zero): Initialize with PLUS_ZERO_INIT.
17754 (minus_zero): Initialize with MINUS_ZERO_INIT.
17755 (plus_infty): Initialize with PLUS_INFTY_INIT.
17756 (minus_infty): Initialize with MINUS_INFTY_INIT.
17757 (qnan_value): Initialize with QNAN_VALUE_INIT.
17758 (max_value): Initialize with MAX_VALUE_INIT.
17759 (min_value): Initialize with MIN_VALUE_INIT.
17760 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17761
ae08db3b
JM
17762 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17763 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17764 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17765 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17766
f44bf14a
JM
17767 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17768 (RUN_TEST_2_f): Likewise.
17769 (RUN_TEST_ff_f): Likewise.
17770 (RUN_TEST_fi_f): Likewise.
17771 (RUN_TEST_fl_f): Likewise.
17772 (RUN_TEST_fff_f): Likewise.
17773 (RUN_TEST_c_f): Likewise.
17774 (RUN_TEST_f_f1): Likewise.
17775 (RUN_TEST_fF_f1): Likewise.
17776 (RUN_TEST_fI_f1): Likewise.
17777 (RUN_TEST_ffI_f1): Likewise.
17778 (RUN_TEST_c_c): Likewise.
17779 (RUN_TEST_cc_c): Likewise.
17780 (RUN_TEST_f_i): Likewise.
17781 (RUN_TEST_f_i_tg): Likewise.
17782 (RUN_TEST_ff_i_tg): Likewise.
17783 (RUN_TEST_f_b): Likewise.
17784 (RUN_TEST_f_b_tg): Likewise.
17785 (RUN_TEST_f_l): Likewise.
17786 (RUN_TEST_f_L): Likewise.
17787 (RUN_TEST_sincos): Likewise.
17788 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17789 whether to show exceptions. Do not include ");\n" in return
17790 value.
17791 (special_functions): Output call to RUN_TEST_sincos instead of
17792 check_float calls. Update calls to new_test.
17793 (parse_args): Output call to single RUN_TEST_* macro instead of
17794 check_* calls and other assignments. Update calls to new_test.
17795
d8cd06db
JM
17796 [BZ #2546]
17797 [BZ #2560]
17798 [BZ #5159]
17799 [BZ #15426]
17800 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17801 input to result for tgamma overflow.
17802 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17803 (gamma_coeff): New variable.
17804 (NCOEFF): New macro.
17805 (gamma_positive): New function.
17806 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17807 underflow here. Use gamma_positive instead of exp (lgamma) for
17808 other arguments.
17809 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17810 (gamma_coeff): New variable.
17811 (NCOEFF): New macro.
17812 (gammaf_positive): New function.
17813 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17814 underflow here. Use gamma_positive instead of exp (lgamma) for
17815 other arguments.
17816 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17817 (gamma_coeff): New variable.
17818 (NCOEFF): New macro.
17819 (gammal_positive): New function.
17820 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17821 underflow here. Use gamma_positive instead of exp (lgamma) for
17822 other arguments.
17823 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17824 (gamma_coeff): New variable.
17825 (NCOEFF): New macro.
17826 (gammal_positive): New function.
17827 (__ieee754_gammal_r): Handle positive infinity, overflow and
17828 underflow here. Handle NaN the same as positive infinity. Remove
17829 check x < 0xffffffff for negative integers. Use gamma_positive
17830 instead of exp (lgamma) for other arguments.
17831 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17832 (gamma_coeff): New variable.
17833 (NCOEFF): New macro.
17834 (gammal_positive): New function.
17835 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17836 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17840 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17841 * sysdeps/generic/math_private.h (__gamma_productf): New
17842 prototype.
17843 (__gamma_product): Likewise.
17844 (__gamma_productl): Likewise.
17845 * math/Makefile (libm-calls): Add gamma_product.
17846 * math/libm-test.inc (tgamma_test): Add more tests.
17847 * sysdeps/i386/fpu/libm-test-ulps: Update.
17848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17849
bb7cf681
OB
178502013-05-08 Ondřej Bílka <neleai@seznam.cz>
17851
17852 * benchtests/bench-skeleton.c (main): Preheat CPU.
17853
ba853947
AJ
178542013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17855
17856 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17857
8347c74c
RM
178582013-05-07 Roland McGrath <roland@hack.frob.com>
17859
17860 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17861 and _dl_skip_args_internal.
17862
e8dd4791
CD
178632013-05-07 Carlos O'Donell <carlos@redhat.com>
17864
17865 * manual/message.texi (Message Translation): Talk about users.
17866 Message to key mapping impacts design.
17867
c7405830
RM
178682013-05-06 Roland McGrath <roland@hack.frob.com>
17869
a9173057
RM
17870 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17871
976e2f03
RM
17872 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17873
9723ffc5
RM
17874 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17875 * sysdeps/wordsize-64/glob64.c: ... here.
17876
962e6658
RM
17877 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17878 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17879 New macros.
17880
ee586a6d
RM
17881 * debug/getlogin_r_chk.c: Moved to ...
17882 * login/getlogin_r_chk.c: ... here.
17883 * debug/Makefile (routines): Move getlogin_r_chk to ...
17884 * login/Makefile (routines): ... here.
17885 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17886 * login/Versions (libc: GLIBC_2.4): ... here.
17887
355f9165
RM
17888 * io/poll.c (__poll): Renamed from poll.
17889 Add libc_hidden_def.
17890 (poll): Define as weak alias.
17891
bd9ffde6
RM
17892 * debug/ptsname_r_chk.c: Moved to ...
17893 * login/ptsname_r_chk.c: ... here.
17894 * debug/Makefile (routines): Move ptsname_r_chk to ...
17895 * login/Makefile (routines): ... here.
17896 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17897 * login/Versions (libc: GLIBC_2.4): ... here.
17898
8fb16a04
RM
17899 * posix/getlogin.c: Moved to ...
17900 * login/getlogin.c: ... here.
17901 * posix/getlogin_r.c: Moved to ...
17902 * login/getlogin_r.c: ... here.
17903 * posix/getlogin_r.c: Moved to ...
17904 * login/getlogin_r.c: ... here.
17905 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17906 * login/Makefile (routines): ... here.
17907 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17908 * login/Versions (libc: GLIBC_2.0): ... here.
17909
b99b892f
RM
17910 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17911 (setrlimit): Define as weak alias.
17912
c7405830
RM
17913 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17914 Call __ names for open, ftruncate, and close.
17915 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17916 (truncate): Define as weak alias.
17917
5bf96de5
JM
179182013-05-06 Joseph Myers <joseph@codesourcery.com>
17919
9ea3513c
JM
17920 * math/gen-libm-test.pl (parse_args): Initialize x before each
17921 test of frexp, modf and remquo.
17922
5bf96de5
JM
17923 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17924 test signgam value.
17925
16e616a7
AZ
179262013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17927
17928 [BZ #15418]
17929 [BZ #15419]
17930 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17931 internal tests.
17932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17933
d5e82754
RM
179342013-05-06 Roland McGrath <roland@hack.frob.com>
17935
17936 * elf/dl-writev.h: New file.
17937 * elf/dl-misc.c: Include it.
17938 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17939 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17940
a7548d41
JM
179412013-05-04 Joseph Myers <joseph@codesourcery.com>
17942
b7dab1e4
JM
17943 * math/libm-test.inc (noXFails): Remove variable.
17944 (noXPasses): Likewise.
17945 (BUILD_COMPLEX_INT): Remove macro.
17946 (print_screen): Remove xfail argument.
17947 (print_screen_max_error): Likewise.
17948 (update_stats): Likewise.
17949 (print_max_error): Likewise. Update calls to other affected
17950 functions.
17951 (print_complex_max_error): Likewise.
17952 (test_single_exception): Update calls to print_screen.
17953 (test_single_errno): Likewise.
17954 (check_float_internal): Remove xfail argument. Update calls to
17955 other affected functions.
17956 (check_float): Likewise.
17957 (check_complex): Likewise.
17958 (check_int): Likewise.
17959 (check_long): Likewise.
17960 (check_bool): Likewise.
17961 (check_longlong): Likewise.
17962 (main): Don't print noXFails and noXPasses.
17963 * math/gen-libm-test.pl (top level): Don't mention expected
17964 failure handling in comment.
17965 (new_test): Don't handle expected failures.
17966 (parse_args): Don't mention expected failure handling in comment.
17967 (generate_testfile): Don't handle expected failures.
17968 (parse_ulps): Likewise.
17969 (print_ulps_file): Likewise.
17970 (get_failure): Remove function.
17971 (output_test): Don't handle expected failures.
17972 * make/README.libm-test: Don't mention expected failure handling.
17973
a7548d41
JM
17974 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17975 (minus_zero): Likewise.
17976 (plus_infty): Likewise.
17977 (minus_infty): Likewise.
17978 (qnan_value): Likewise.
17979 (max_value): Likewise.
17980 (min_value): Likewise.
17981 (min_subnorm_value): Likewise.
17982 (initialize): Do not initialize those variables dynamically.
17983
60bfd54c
RM
179842013-05-03 Roland McGrath <roland@hack.frob.com>
17985
cc0e6ed8
RM
17986 * io/open.c (__open_2): Moved to ...
17987 * io/open_2.c: ... this new file.
17988 * io/open64.c (__open64_2): Moved to ...
17989 * io/open64_2.c: ... this new file.
17990 * io/openat.c (__openat_2): Moved to ...
17991 * io/openat_2.c: ... this new file.
17992 * io/openat64.c (__openat64_2): Moved to ...
17993 * io/openat64_2.c: ... this new file.
17994 * io/Makefile (routines): Add them.
17995 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17996 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17997 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17998 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17999 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18000 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18001 (__openat64): Add hidden_ver.
18002 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18003 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18004
60bfd54c
RM
18005 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18006 Separately conditionalize setting of GLRO(dl_sysinfo) so
18007 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18008 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18009
83e7640f
AZ
180102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18011
18012 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18013 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18014 definition.
18015 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18016 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18017 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18018 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18019 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18020
d5dc2af3
JM
180212013-05-03 Joseph Myers <joseph@codesourcery.com>
18022
c31a5b1e
JM
18023 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18024 test signgam value.
18025
d5dc2af3
JM
18026 * math/libm-test.inc (hypot_test): Do not use
18027 IGNORE_ZERO_INF_SIGN.
18028
164fd39d
AJ
180292013-05-03 Andreas Jaeger <aj@suse.de>
18030
18031 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18032 Linux 3.9.
18033 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18034 (PF_MAX): Adjust for VSOCK change.
18035
8237f48c
AZ
180362013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18037
18038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18039
9df02941
CD
180402013-05-02 Carlos O'Donell <carlos@redhat.com>
18041
18042 [BZ #15264]
18043 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18044 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18045 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18046
d422395e
DM
180472013-05-02 David S. Miller <davem@davemloft.net>
18048
18049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18050
a07c5731
OB
180512013-05-01 Ondřej Bílka <neleai@seznam.cz>
18052
18053 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18054
1324e37f
RM
180552013-05-01 Roland McGrath <roland@hack.frob.com>
18056
18057 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18058
0695940b
RS
180592013-05-01 Richard Smith <richard@metafoo.co.uk>
18060
bb5f27ad 18061 [BZ #14952]
0695940b
RS
18062 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18063 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18064 Use __attribute__ ((__gnu_inline__)).
18065 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18066 Don't use __attribute__ ((__gnu_inline__)).
18067
10de07f5
JM
180682013-05-01 Joseph Myers <joseph@codesourcery.com>
18069
18070 [BZ #15423]
18071 * math/s_catan.c (__catan): Handle small real or imaginary part of
18072 input specially to avoid spurious underflow.
18073 * math/s_catanf.c (__catanf): Likewise.
18074 * math/s_catanh.c (__catanh): Likewise.
18075 * math/s_catanhf.c (__catanhf): Likewise.
18076 * math/s_catanhl.c (__catanhl): Likewise.
18077 * math/s_catanl.c (__catanl): Likewise.
18078 * math/libm-test.inc (catan_test): Add more tests.
18079 (catanh_test): Likewise.
18080 * sysdeps/i386/fpu/libm-test-ulps: Update.
18081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18082
cb4d5414
AZ
180832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18084
18085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18086
caf84319
JM
180872013-04-30 Joseph Myers <joseph@codesourcery.com>
18088
18089 [BZ #15416]
18090 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18091 accurately for denominator in atan2.
18092 * math/s_catanf.c (__catanf): Likewise.
18093 * math/s_catanh.c (__catanh): Likewise.
18094 * math/s_catanhf.c (__catanhf): Likewise.
18095 * math/s_catanhl.c (__catanhl): Likewise.
18096 * math/s_catanl.c (__catanl): Likewise.
18097 * math/libm-test.inc (catan_test): Add more tests.
18098 (catanh_test): Likewise.
18099 * sysdeps/i386/fpu/libm-test-ulps: Update.
18100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18101
d569c6ee
SP
181022013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18103
6dbe713d
SP
18104 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18105
f0ee064b
SP
18106 * benchtests/Makefile (bench): Remove slow benchmarks.
18107 * benchtests/atan-inputs: Add slow benchmark inputs.
18108 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18109 (BENCH_FUNC): Accept variant offset.
18110 (VARIANT): Define.
18111 * benchtests/bench-skeleton.c (main): Run benchmark for each
18112 variant.
18113 * benchtests/cos-inputs: Add slow benchmark inputs.
18114 * benchtests/exp-inputs: Likewise.
18115 * benchtests/pow-inputs: Likewise.
18116 * benchtests/sin-inputs: Likewise.
18117 * benchtests/slowatan-inputs: Remove.
18118 * benchtests/slowatan.c: Remove.
18119 * benchtests/slowcos-inputs: Remove.
18120 * benchtests/slowcos.c: Remove.
18121 * benchtests/slowexp-inputs: Remove.
18122 * benchtests/slowexp.c: Remove.
18123 * benchtests/slowpow-inputs: Remove.
18124 * benchtests/slowpow.c: Remove.
18125 * benchtests/slowsin-inputs: Remove.
18126 * benchtests/slowsin.c: Remove.
18127 * benchtests/slowtan-inputs: Remove.
18128 * benchtests/slowtan.c: Remove.
18129 * benchtests/tan-inputs: Add slow benchmark inputs.
18130 * scripts/bench.pl: Parse comments and directives.
18131
d569c6ee
SP
18132 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18133 in CPPFLAGS.
18134 ($(objpfx)bench-%.c): Remove *-ITER.
18135 * benchtests/bench-modf.c: Remove definition of ITER.
18136 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18137 (main): Loop for DURATION seconds instead of fixed number of
18138 iterations.
18139 * scripts/bench.pl: Don't expect iterations in parameters.
18140
a6a242fe
RM
181412013-04-29 Roland McGrath <roland@hack.frob.com>
18142
18143 * io/fchdir.c (__fchdir): Renamed from fchdir.
18144 (fchdir): Define as weak alias.
18145
f2da7793
JM
181462013-04-29 Joseph Myers <joseph@codesourcery.com>
18147
18148 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18149 (ERRNO_EDOM): Likewise.
18150 (ERRNO_ERANGE): Likewise.
18151 (noErrnoTests): New variable.
18152 (init_max_error): Set errno to 0.
18153 (test_single_errno): New function.
18154 (test_errno): Likewise.
18155 (check_float_internal): Call test_errno. Set errno to 0.
18156 (check_complex): Refer to errno tests in comment.
18157 (check_int): Call test_errno. Set errno to 0.
18158 (check_long): Likewise.
18159 (check_bool): Likewise.
18160 (check_longlong): Likewise.
18161 (cos_test): Use ERRNO_* flags for errno tests instead of
18162 check_int.
18163 (expm1_test): Likewise.
18164 (fmod_test): Likewise.
18165 (ilogb_test): Likewise.
18166 (lgamma_test): Likewise.
18167 (pow_test): Likewise.
18168 (remainder_test): Likewise.
18169 (sin_test): Likewise.
18170 (tan_test): Likewise.
18171 (yn_test): Likewise.
18172 (initialize): Set errno to 0.
18173 (main): Print number of errno tests.
18174 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18175
b1a36ceb
AJ
181762013-04-29 Andreas Jaeger <aj@suse.de>
18177
c3ed8088
AJ
18178 [BZ #15084]
18179 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18180 and RES_USEVC.
18181
f1a24198
AJ
18182 [BZ #15085]
18183 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18184 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18185 unimplemented.
18186
9ce3b2cb
AJ
18187 [BZ #15380]
18188 * stdlib/random.c (__initstate): Return NULL if
18189 __initstate fails.
18190
f1a24198 18191 [BZ #15086]
b1a36ceb
AJ
18192 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18193 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18194 RES_SNGLKUPREOP.
18195
7e7b6f36
AZ
181962013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18197
18198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18199
4d14f449
JM
182002013-04-29 Joseph Myers <joseph@codesourcery.com>
18201
18202 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18203 of individual tests.
18204 (casin_test): Likewise.
18205 (casinh_test): Likewise.
18206
5b4217d7
JM
182072013-04-27 Joseph Myers <joseph@codesourcery.com>
18208
18209 [BZ #15409]
18210 * math/s_catan.c (__catan): Handle arguments with large real or
18211 imaginary part separately without squaring.
18212 * math/s_catanf.c (__catanf): Likewise.
18213 * math/s_catanh.c (__catanh): Likewise.
18214 * math/s_catanhf.c (__catanhf): Likewise.
18215 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18216 and redefine.
18217 (__catanhl): Handle arguments with large real or imaginary part
18218 separately without squaring.
18219 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18220 and redefine.
18221 (__catanl): Handle arguments with large real or imaginary part
18222 separately without squaring.
18223 * math/libm-test.inc (catan_test): Add more tests.
18224 (catanh_test): Likewise.
18225 * sysdeps/i386/fpu/libm-test-ulps: Update.
18226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18227
4220c3ef
AJ
182282013-04-27 Andreas Jaeger <aj@suse.de>
18229
18230 [BZ #15007]
18231 * stdlib/stdlib.h: Update guards for qecvt.
18232 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18233 <stdlib.h>.
18234
4721b2d1
AM
182352013-04-27 Allan McRae <allan@archlinux.org>
18236
18237 * sysdeps/i386/fpu/libm-test-ulps: Update.
18238
f0302940
JM
182392013-04-26 Joseph Myers <joseph@codesourcery.com>
18240
9457fd95
JM
18241 [BZ #15406]
18242 * math/s_catan.c: Include <float.h>.
18243 (__catan): Ensure underflow exception occurs for underflowed
18244 result.
18245 * math/s_catanf.c: Include <float.h>.
18246 (__catanf): Ensure underflow exception occurs for underflowed
18247 result.
18248 * math/s_catanh.c: Include <float.h>.
18249 (__catanh): Ensure underflow exception occurs for underflowed
18250 result.
18251 * math/s_catanhf.c: Include <float.h>.
18252 (__catanhf): Ensure underflow exception occurs for underflowed
18253 result.
18254 * math/s_catanhl.c: Include <float.h>.
18255 (__catanhl): Ensure underflow exception occurs for underflowed
18256 result.
18257 * math/s_catanl.c: Include <float.h>.
18258 (__catanl): Ensure underflow exception occurs for underflowed
18259 result.
18260 * math/libm-test.inc (catan_test): Add more tests.
18261 (catanh_test): Likewise.
18262
f0302940
JM
18263 [BZ #15405]
18264 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18265 underflowed result.
18266 * math/s_ccoshf.c (__ccoshf): Likewise.
18267 * math/s_ccoshl.c (__ccoshl): Likewise.
18268 * math/s_csin.c (__csin): Likewise.
18269 * math/s_csinf.c (__csinf): Likewise.
18270 * math/s_csinh.c (__csinh): Likewise.
18271 * math/s_csinhf.c (__csinhf): Likewise.
18272 * math/s_csinhl.c (__csinhl): Likewise.
18273 * math/s_csinl.c (__csinl): Likewise.
18274 * math/libm-test.inc (ccos_test): Add more tests.
18275 (ccosh_test): Likewise.
18276 (csin_test): Likewise.
18277 (csinh_test): Likewise.
18278
aa630f59
AZ
182792013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18280
18281 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18282 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18283 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18284 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18285 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18286 powerpc/power5+/fpu folders.
18287 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18288
18289
1b835983
MT
182902013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18291
18292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18293
73709b26
JM
182942013-04-25 Joseph Myers <joseph@codesourcery.com>
18295
18296 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18297 additions to variable.
18298 [$(config-machine) = x86_64] (modules-names): Likewise.
18299 ($(objpfx)tst-audit3): Remove dependency.
18300 ($(objpfx)tst-audit3.out): Likewise.
18301 ($(objpfx)tst-audit4): Likewise.
18302 ($(objpfx)tst-audit4.out): Likewise.
18303 ($(objpfx)tst-audit5): Likewise.
18304 ($(objpfx)tst-audit5.out): Likewise.
18305 ($(objpfx)tst-audit6): Likewise.
18306 ($(objpfx)tst-audit6.out): Likewise.
18307 ($(objpfx)tst-audit7): Likewise.
18308 ($(objpfx)tst-audit7.out): Likewise.
18309 (tst-audit3-ENV): Remove variable.
18310 (tst-audit4-ENV): Likewise.
18311 (tst-audit5-ENV): Likewise.
18312 (tst-audit6-ENV): Likewise.
18313 (tst-audit7-ENV): Likewise.
18314 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18315 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18316 addition to variable.
18317 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18318 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18319 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18320 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18321 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18322 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18323 tst-audit3, tst-audit4 and tst-audit5.
18324 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18325 tst-audit6 and tst-audit7.
18326 [$(subdir) = elf] (modules-names): Add audit modules for those
18327 tests.
18328 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18329 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18330 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18331 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18332 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18333 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18334 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18335 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18336 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18337 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18338 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18339 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18340 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18341 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18342 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18343 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18344 Likewise.
18345 [$(subdir) = elf && $(config-cflags-avx) = yes]
18346 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18347 [$(subdir) = elf && $(config-cflags-avx) = yes]
18348 (CFLAGS-tst-auditmod4a.c): Likewise.
18349 [$(subdir) = elf && $(config-cflags-avx) = yes]
18350 (CFLAGS-tst-auditmod4b.c): Likewise.
18351 [$(subdir) = elf && $(config-cflags-avx) = yes]
18352 (CFLAGS-tst-auditmod6b.c): Likewise.
18353 [$(subdir) = elf && $(config-cflags-avx) = yes]
18354 (CFLAGS-tst-auditmod6c.c): Likewise.
18355 [$(subdir) = elf && $(config-cflags-avx) = yes]
18356 (CFLAGS-tst-auditmod7b.c): Likewise.
18357 * elf/tst-audit3.c: Move to ...
18358 * sysdeps/x86_64/tst-audit3.c: ... here.
18359 * elf/tst-audit4.c: Move to ...
18360 * sysdeps/x86_64/tst-audit4.c: ... here.
18361 * elf/tst-audit5.c: Move to ...
18362 * sysdeps/x86_64/tst-audit5.c: ... here.
18363 * elf/tst-audit6.c: Move to ...
18364 * sysdeps/x86_64/tst-audit6.c: ... here.
18365 * elf/tst-audit7.c: Move to ...
18366 * sysdeps/x86_64/tst-audit7.c: ... here.
18367 * elf/tst-auditmod3a.c: Move to ...
18368 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18369 * elf/tst-auditmod3b.c: Move to ...
18370 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18371 * elf/tst-auditmod4a.c: Move to ...
18372 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18373 * elf/tst-auditmod4b.c: Move to ...
18374 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18375 * elf/tst-auditmod5a.c: Move to ...
18376 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18377 * elf/tst-auditmod5b.c: Move to ...
18378 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18379 * elf/tst-auditmod6a.c: Move to ...
18380 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18381 * elf/tst-auditmod6b.c: Move to ...
18382 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18383 * elf/tst-auditmod6c.c: Move to ...
18384 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18385 * elf/tst-auditmod7a.c: Move to ...
18386 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18387 * elf/tst-auditmod7b.c: Move to ...
18388 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18389
1ef74943
PP
183902013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18391
18392 [BZ #15366]
18393 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18394 define unconditionally.
18395 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18396 define unconditionally.
18397 (INT8_C, INT16_C, etc.): Likewise.
18398
93fd48c5
MR
183992013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18400
ae9552cf
MR
18401 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18402 __ehdr_start with hidden visibility.
18403
93fd48c5
MR
18404 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18405
418601aa
CD
184062013-04-24 Carlos O'Donell <carlos@redhat.com>
18407
18408 * math/libm-test.inc (cos_test): Use accurate hex constants.
18409 (sincost_test): Likewise.
18410
2f38fbfe
JM
184112013-04-24 Joseph Myers <joseph@codesourcery.com>
18412
5e221800
JM
18413 * math/libm-test.inc (catan_test): Add more tests.
18414 (catanh_test): Likewise.
18415
77f143fd
JM
18416 * math/s_catanf.c (__catanf): Use suffixed floating-point
18417 constants.
18418 * math/s_catanhf.c (__catanhf): Likewise.
18419 * math/s_catanhl.c (__catanhl): Likewise.
18420 * math/s_catanl.c (__catanl): Likewise.
18421
2f38fbfe
JM
18422 [BZ #15394]
18423 * math/s_catan.c (__catan): Calculate imaginary part of result
18424 with log1p not log unless computing log of number close to 0.
18425 * math/s_catanf.c (__catanf): Likewise.
18426 * math/s_catanl.c (__catanl): Likewise.
18427 * math/s_catanh.c (__catanh): Calculate real part of result with
18428 log1p not log unless computing log of number close to 0.
18429 * math/s_catanhf.c (__catanhf): Likewise.
18430 * math/s_catanhl.c (__catanhl): Likewise.
18431 * math/libm-test.inc (catan_test): Add more tests.
18432 (catanh_test): Likewise.
18433 * sysdeps/i386/fpu/libm-test-ulps: Update.
18434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18435
45d69176
SP
184362013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18437
18438 * benchtests/Makefile: Mention files in which fast and slow
18439 paths of math functions are implemented.
18440
87f51853
RM
184412013-04-23 Roland McGrath <roland@hack.frob.com>
18442
18443 * sysdeps/posix/timespec_get.c: New file.
18444
3c026539
AZ
184452013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18446
18447 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18448 POWER.
18449 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18450 for POWER.
18451 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18452 powerpc/power5/fpu folders.
18453 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18454 * benchtests/Makefile: Add modf testcase.
18455 * benchtests/bench-modf.c: New file: Benchmark test for mo
18456
ff491d14
SP
184572013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18458
18459 [BZ #14888]
18460 * time/Makefile (tests): Add tst-strptime-whitespace.
18461 * time/strptime_l.c (get_number): Use ISSPACE.
18462 (__strptime_internal): Likewise.
18463 * time/tst-strptime-whitespace.c: New test case.
18464
7ed3f4e8
AS
184652013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18466
18467 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18468 member.
18469 (_nss_files_init): Set it here.
18470
5c95f7b6
HC
184712013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18472
18473 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18474 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18475 unsigned.
18476
d34c9158
JBG
184772013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18478
18479 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18480
2169712d
SP
184812013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18482
18483 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18484 size just once.
18485
29c5de99
DM
184862013-04-21 David S. Miller <davem@davemloft.net>
18487
18488 * po/ru.po: Update Russion translation from translation project.
18489
ccdad15d
AC
184902013-04-17 Adam Conrad <adconrad@0c3.net>
18491
18492 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18493 and setfsgid.
18494
0f122b8d
CD
184952013-04-17 Carlos O'Donell <carlos@redhat.com>
18496
5c5b07da 18497 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18498 * configure: Regenerate.
5c5b07da 18499 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18500 Add example to error message.
18501 * sysdeps/i386/configure: Regenerate.
18502
037714dd
SP
185032013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18504
18505 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18506 slowtan.
18507 * benchtests/cos-inputs: New file.
18508 * benchtests/slowcos-inputs: New file.
18509 * benchtests/slowcos.c: New file.
18510 * benchtests/slowtan-inputs: New file.
18511 * benchtests/slowtan.c: New file.
18512 * benchtests/tan-inputs: New file.
18513
e913141d
RM
185142013-04-16 Roland McGrath <roland@hack.frob.com>
18515
18516 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18517 considered kosher.
18518
a2964074
SP
185192013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18520
4856bcd2
SP
18521 * benchtests/Makefile: Include cppflags-iterator.mk to add
18522 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18523
a2964074
SP
18524 * Makefile.in (bench-clean): New target.
18525 * benchtests/Makefile (bench-clean): Likewise.
18526
9fbf9aca
DH
185272013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18528
18529 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18530
207d1e2a
TS
185312013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18532
18533 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18534
306dfba9
AS
185352013-04-15 Andreas Schwab <schwab@suse.de>
18536
18537 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18539 * nscd/pwdcache.c (cache_addpw): Likewise.
18540 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18541 more than recsize.
18542
206a6699
SP
185432013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18544
18545 * benchtests/Makefile (bench): Write all output to
18546 bench-out.tmp together.
18547
0582f6b3
AS
185482013-04-15 Andreas Schwab <schwab@suse.de>
18549
18550 * nscd/nscd.c (main): Don't fork again after closing files.
18551
acb4325f
SP
185522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18553
5cb26d0a
SP
18554 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18555
acb4325f
SP
18556 * benchtests/Rules (bench-deps): Collect dependencies into a
18557 single variable. Add Makefile to dependencies.
18558 ($(objpfx)bench-%.c): Depend on bench-deps.
18559
47792506
RM
185602013-04-12 Roland McGrath <roland@hack.frob.com>
18561 Xavier Roche <roche+kml2@exalead.com>
18562
18563 [BZ #15361]
18564 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18565 just that it's a file descriptor.
18566 * manual/llio.texi (Synchronizing AIO Operations): Update description
18567 for EBADF error from aio_fsync.
18568
8fc1bee5
SP
185692013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18570
18571 * Rules (bench): Move target definition...
18572 * benchtests/Makefile: ... here.
18573
aba5e333
CD
185742013-04-11 Carlos O'Donell <carlos@redhat.com>
18575
18576 * math/libm-test.inc (cos_test): Fix PI/2 test.
18577 (sincos_test): Likewise.
18578 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18579 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18580
273cdee8
AS
185812013-04-11 Andreas Schwab <schwab@suse.de>
18582
6ecec3b6
AS
18583 [BZ #13988]
18584 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18585 accept exponent character only when digits were seen.
18586 * stdio-common/Makefile (tests): Add bug26.
18587 * stdio-common/bug26.c: New file.
18588
273cdee8
AS
18589 [BZ #14293]
18590 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18591 non-freeable.
18592
8da491f5
SP
185932013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18594
01dc6df9
SP
18595 * Makeconfig (rtld-prefix): Define built linker prefix.
18596 * Rules (run-bench): Use it.
18597 * math/Makefile (run-regen-ulps): Likewise.
18598
8da491f5
SP
18599 * Rules (bench): Remove eval.
18600
abe7f530
SP
186012013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18602 Roland McGrath <roland@hack.frob.com>
18603 Ondrej Bilka <neleai@seznam.cz>
18604
18605 [BZ #15346]
18606 * time/getdate.c: Include ctype.h and alloca.h.
18607 (__getdate_r): Trim leading and trailing spaces of input.
18608 * time/tst-getdate.c (tests): Add tests with leading and
18609 trailing spaces.
18610
61c23e62
RM
186112013-04-08 Roland McGrath <roland@hack.frob.com>
18612
18613 [BZ #14280]
18614 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18615 when computing value.
18616
7208a313
CD
186172013-04-06 Carlos O'Donell <carlos@redhat.com>
18618
085b2d41
CD
18619 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18620 Use testrun.sh to run libm tests.
18621
7208a313
CD
18622 [BZ #15309]
18623 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18624
872c0acd
MM
186252013-04-06 Marko Myllynen <myllynen@redhat.com>
18626
18627 [BZ #15264]
18628 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18629
26510bdd
CD
186302013-04-06 Carlos O'Donell <carlos@redhat.com>
18631
18632 * Makefile.in (regen-ulps): New target.
18633 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18634 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18635 [ifneq (no,$(PERL)] (regen-ulps): New target.
18636 [ifeq (no,$(PERL)] (regen-ulps): New target.
18637 * math/libm-test.inc (ulps_file_name): Define.
18638 (output_dir): New variable.
18639 (options): Add "output-dir" option.
18640 (parse_opt): Handle 'o' case.
18641 (main): If output_dir is non-NULL use it as a prefix
18642 otherwise use "".
18643 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18644
a01f19c8
CD
186452013-04-06 Carlos O'Donell <carlos@redhat.com>
18646
18647 [BZ #10060, #10062]
18648 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18649 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18650 fail configure if __sync_val_compare_and_swap is not inlined.
18651 * sysdeps/i386/configure: Regenerate.
18652 * configure.in: Build for i686 when configured for i386.
18653 * configure: Regenerate.
18654 * README: Remove i386 reference.
18655
b7a329a5
CD
186562013-04-06 Carlos O'Donell <carlos@redhat.com>
18657
18658 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18660
bf0f50df
TS
186612013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18662
ee091edf
TS
18663 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18664 (lmsnanval): New variables.
18665 (F): Add conversion tests.
18666 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18667 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18668
a8b792d6
TS
18669 * stdio-common/tstdiomisc.c (F): Properly collect individual
18670 tests' results.
18671
a1cbf437
TS
18672 [BZ #14686, #15336]
18673 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18674 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18675 Instead, use input NaN values or generate a qNaN by arithmetic
18676 operation. Also fix bugs to comply with the standard.
18677 * math/libm-test.inc (remainder_test): Add more tests.
18678
8b43a0c9
TS
18679 [BZ #15335, #15342]
18680 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18682 input NaN values or generate a qNaN by arithmetic operation.
18683
d91da4ce
TS
18684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18685 unreachable code.
18686
bf0f50df
TS
18687 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18688 definitions.
18689
05e166c8
JM
186902013-04-03 Joseph Myers <joseph@codesourcery.com>
18691
18692 [BZ #14478]
18693 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18694 underflowed result.
18695 * math/s_cexpf.c (__cexpf): Likewise.
18696 * math/s_cexpl.c (__cexpl): Likewise.
18697 * math/libm-test.inc (cexp_test): Add more tests.
18698
1cef1b19
AS
186992013-04-03 Andreas Schwab <schwab@suse.de>
18700
18701 [BZ #15330]
18702 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18703 order arrays from heap if bigger than alloca cutoff.
18704
74d87055
TS
187052013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18706
18707 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18708 (SNAN_TESTS_double): Refer to GCC PR56831.
18709 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18710 GCC PR56828.
18711
d755bba4
SP
187122013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18713
90d5d5bb
SP
18714 * Rules (bench): Move bench.out after the run is complete.
18715
73e0cd5d
SP
18716 * Rules (bench): Echo currently running benchmark.
18717
64aabd4b
SP
18718 * benchtests/Makefile (bench): Add atan and slowatan.
18719 * benchtests/atan-inputs: New file.
18720 * benchtests/slowatan-inputs: New file.
18721 * benchtests/slowatan.c: New file.
18722
c871eccd
SP
18723 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18725 its value.
18726
d755bba4
SP
18727 [BZ #15305]
18728 * sysdeps/unix/sysv/linux/kernel-features.h
18729 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18730 __ASSUME_XFS_RESTRICTED_CHOWN.
18731 * sysdeps/unix/sysv/linux/pathconf.c
18732 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18733 Save and restore errno.
18734
52ce4860
JM
187352013-04-02 Joseph Myers <joseph@codesourcery.com>
18736
18737 [BZ #15327]
18738 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18739 arguments using __kernel_casinh.
18740 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18741 arguments using __kernel_casinhf.
18742 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18743 arguments using __kernel_casinhl.
18744 * math/libm-test.inc (cacosh_test): Add more tests.
18745 * sysdeps/i386/fpu/libm-test-ulps: Update.
18746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18747
81f311c2
SP
187482013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18749
e7906a47
SP
18750 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18752
92e3664b
SP
18753 * bench/Makefile (bench): Add sin and slowsin.
18754 * benchtests/sin-inputs: New file.
18755 * benchtests/slowsin-inputs: New file.
18756 * benchtests/slowsin.c: New file.
18757
81f311c2
SP
18758 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18759 (bench): Add slowexp and slowpow.
18760 (exp-ITER): Increase iterations.
18761 (pow-ITER): Likewise.
18762 * benchtests/exp-inputs: Change input.
18763 * benchtests/pow-inputs: Likewise.
18764 * benchtests/slowexp-inputs: New file.
18765 * benchtests/slowexp.c: New file.
18766 * benchtests/slowpow-inputs: New file.
18767 * benchtests/slowpow.c: New file.
18768
ab0f1aa9
AZ
187692013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18770
18771 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18772 instructions.
18773 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18774 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18775 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18776 * benchtests/Makefile: Add rint benchtest.
18777 * benchtests/rint-inputs: Input for rint benchtest.
18778
57267616
TS
187792013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18780
18781 * Versions.def (libm): Add GLIBC_2.18.
18782 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18783 hidden libm prototypes.
18784 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18785 * math/Makefile (libm-calls): Add s_issignaling.
18786 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18787 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18788 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18789 declaration.
18790 * math/math.h [__USE_GNU] (issignaling): New macro.
18791 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18792 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18794 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18797 * manual/arith.texi (issignaling): New section.
18798 * manual/libm-err-tab.pl (@all_functions): Update comment.
18799 * math/gen-libm-test.pl (parse_args): Apply special handling for
18800 issignaling.
18801 * math/libm-test.inc (print_float, issignaling_test): New
18802 functions.
18803 (check_float_internal): Add issignaling checks.
18804 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18805 default definition.
18806 * sysdeps/powerpc/math-tests.h: New file.
18807 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18808 tests.
18809 * math/test-snan.c (TEST_FUNC): Likewise.
18810
6142896d
DM
188112013-03-30 David S. Miller <davem@davemloft.net>
18812
18813 * po/de.po: Update from translation team.
18814
ccc8cadf
JM
188152013-03-30 Joseph Myers <joseph@codesourcery.com>
18816
18817 [BZ #10357]
18818 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18819 imaginary part less than 1.0 and real part less than 0.5
18820 specially.
18821 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18822 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18823 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18824 (cacos_test): Add more tests.
18825 (casin_test): Likewise.
18826 (casinh_test): Likewise.
18827 * sysdeps/i386/fpu/libm-test-ulps: Update.
18828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18829
0f6a8d4b
SP
188302013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18831
0d1029de
SP
18832 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18833 ONE with its value.
18834
c2d94018
SP
18835 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18836 (__pow_mp): Replace ONE and MONE with their values.
18837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18839 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18840 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18841 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18842 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18843
27ec37f1
SP
18844 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18845
a64d7e0e
SP
18846 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18847 (__pow_mp): Replace ZERO and MZERO with their values.
18848 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18849 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18850 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18852 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18853 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18854 (__sqr): Likewise.
18855
d26dd3eb
SP
18856 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18857
0f6a8d4b
SP
18858 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18859
e57b0c61
RM
188602013-03-28 Roland McGrath <roland@hack.frob.com>
18861
18862 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18863 Declare with __attribute__ ((weak)).
18864 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18865 Call __call_tls_dtors only if it's not NULL.
18866
356b3480
RM
188672013-03-28 Roland McGrath <roland@hack.frob.com>
18868
288f7d79
RM
18869 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18870 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18871 magic __ehdr_start linker symbol if it's defined.
18872 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18873 them up here if it was already done.
18874
dc0a0263
RM
18875 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18876 (_dl_aux_init): Use const in cast when setting it.
18877 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18878 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18879 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18880
3d3436ae
RM
18881 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18882 Declare them here.
18883 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18884 * csu/libc-tls.c: Nor here.
18885 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18886
356b3480
RM
18887 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18888 (__libc_message): Never call vsyslog.
18889
b0f1246a
AM
188902013-03-28 Alan Modra <amodra@gmail.com>
18891
18892 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18893 Define as empty.
18894 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18895 Likewise.
18896
fbbe2b9a
AZ
188972013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18898
18899 [BZ #15214]
18900 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18901 underflow.
18902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18903
1728ab37
SP
189042013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18905
7a86be6e
SP
18906 [BZ #15304]
18907 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18908 Don't add gid passed as argument.
18909
1728ab37
SP
18910 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18911
3a7182a1
JM
189122013-03-27 Joseph Myers <joseph@codesourcery.com>
18913
18914 [BZ #15307]
18915 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18916 imaginary part between 1.0 and 1.5 and real part less than 0.5
18917 specially.
18918 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18919 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18920 * math/libm-test.inc (cacos_test): Add more tests.
18921 (casin_test): Likewise.
18922 (casinh_test): Likewise.
18923 * sysdeps/i386/fpu/libm-test-ulps: Update.
18924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925
6f2e90e7
SP
189262013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18927
5739f705
SP
18928 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18929 constants.
18930 (norm): Likewise.
18931 (denorm): Likewise.
18932 (__dbl_mp): Likewise.
18933 (add_magnitudes): Likewise.
18934 (sub_magnitudes): Likewise.
18935 (__add): Likewise.
18936 (__sub): Likewise.
18937 (__mul): Likewise.
18938 (__sqr): Likewise.
18939 (__inv): Likewise.
18940 (__dvd): Likewise.
18941
e375e83d
SP
18942 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18943 commented code.
18944 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18945 (__dubcos): Likewise.
18946 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18947 (__ieee754_acos): Likewise.
18948 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18949 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18950 (__exp1): Likewise.
18951 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18952 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18953 (log1): Likewise.
18954 (my_log2): Likewise.
18955 (checkint): Likewise.
18956 * sysdeps/ieee754/dbl-64/e_remainder.c
18957 (__ieee754_remainder): Likewise.
18958 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18960 (bsloww): Likewise.
18961 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18962
6f2e90e7
SP
18963 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18964 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18965 MANTISSA_STORE_T to store computations on mantissa. Use
18966 macros for rounding and division.
18967 (denorm): Likewise.
18968 (__dbl_mp): Likewise.
18969 (add_magnitudes): Likewise.
18970 (sub_magnitudes): Likewise.
18971 (__mul): Likewise.
18972 (__sqr): Likewise.
18973 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18974 powers of two in terms of TWOPOW macro.
18975 (mp_no): Make type of mantissa as MANTISSA_T.
18976 [!RADIXI]: Define RADIXI.
18977 [!TWO52]: Define TWO52.
18978 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18979
fce14d4e
AZ
189802013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18981
18982 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18983 llroundl symbol when building for PPC32.
18984
9ad027fb
MW
189852013-03-24 Mark H Weaver <mhw@netris.org>
18986
18987 * manual/arith.texi (Normalization Functions): Fix prototypes for
18988 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18989
e42a38dd
AZ
189902013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18991
18992 [BZ #13889]
18993 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18994 high value to check if expl overflow.
18995 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18996 to check for underflow and overflow.
18997 * math/libm-test.inc: Add exp test.
18998
2e0fb521
DL
189992013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19000
19001 [BZ #11120]
19002 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19003 with NOT_IN_libc.
19004
b5784d95
AZ
190052013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19006
19007 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19008 symbol.
19009
5aa4a1a1
TS
190102013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19011
bdef0be7
TS
19012 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19013 wrap blocks consisting of several statements.
19014
5aa4a1a1
TS
19015 * sysdeps/generic/math-tests.h: New file.
19016 * sysdeps/i386/fpu/math-tests.h: Likewise.
19017 * math/test-snan.c: Include it.
19018 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19019
98c48fe5
JM
190202013-03-21 Joseph Myers <joseph@codesourcery.com>
19021
19022 [BZ #15285]
19023 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19024 (__ieee754_j0l): Do not improve calculations using cos of twice
19025 input for inputs above LDBL_MAX / 2.0L.
19026 (__ieee754_y0l): Likewise.
19027 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19028 (__ieee754_j1l): Do not improve calculations using cos of twice
19029 input for inputs above LDBL_MAX / 2.0L.
19030 (__ieee754_y1l): Likewise.
19031 * math/libm-test.inc (j0_test): Add another test.
19032 (j1_test): Likewise.
19033 (y0_test): Likewise.
19034 (y1_test): Likewise.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036
3775a8bc
SP
190372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19038
19039 * Rules ($(objpfx)bench-%.c): Include code from a C source
19040 file.
19041
0a1b2ae6
JM
190422013-03-21 Joseph Myers <joseph@codesourcery.com>
19043
19044 [BZ #15287]
19045 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19046 imaginary part 1.0 and real part less than 0.5 specially.
19047 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19048 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19049 * math/libm-test.inc (cacos_test): Add more tests.
19050 (casin_test): Likewise.
19051 (casinh_test): Likewise.
19052 * sysdeps/i386/fpu/libm-test-ulps: Update.
19053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19054
b33d4ce4
SP
190552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19056
19057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19058 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19059
bef0b507
JM
190602013-03-20 Joseph Myers <joseph@codesourcery.com>
19061
19062 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19063 * config.make.in (config-cflags-sse4): Remove variable.
19064 (config-cflags-avx): Likewise.
19065 (config-cflags-sse2avx): Likewise.
19066 (config-cflags-novzeroupper): Likewise.
19067 (config-asflags-i686): Likewise.
19068 (have-mfma4): Likewise.
19069 (have-as-vis3): Likewise.
19070 (MIG): Likewise.
19071 * configure.in (MIG): Do not AC_SUBST.
19072 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19073 (libc_cv_cc_sse4): Do not AC_SUBST.
19074 (libc_cv_cc_avx): Likewise.
19075 (libc_cv_cc_sse2avx): Likewise.
19076 (libc_cv_cc_novzeroupper): Likewise.
19077 (libc_cv_cc_fma4): Likewise.
19078 (libc_cv_as_i686): Likewise.
19079 (libc_cv_sparc_as_vis3): Likewise.
19080 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19081 LIBC_CONFIG_VAR.
19082 (config-asflags-i686): Likewise.
19083 (config-cflags-avx): Likewise.
19084 (config-cflags-sse2avx): Likewise.
19085 (have-mfma4): Likewise.
19086 (config-cflags-novzeroupper): Likewise.
19087 * sysdeps/mach/configure.in (MIG): Likewise.
19088 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19089 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19090 LIBC_CONFIG_VAR.
19091 (config-cflags-avx): Likewise.
19092 (config-cflags-sse2avx): Likewise.
19093 (have-mfma4): Likewise.
19094 (config-cflags-novzeroupper): Likewise.
19095 * configure: Regenerated.
19096 * sysdeps/i386/configure: Likewise.
19097 * sysdeps/mach/configure: Likewise.
19098 * sysdeps/sparc/configure: Likewise.
19099 * sysdeps/x86_64/configure: Likewise.
19100
912cc4b3
RM
191012013-03-20 Roland McGrath <roland@hack.frob.com>
19102
19103 [BZ #14812]
19104 * locale/programs/localedef.c (options): Put N_ translation marker
19105 on argument names, not just descriptions.
19106
04eed2b0
MS
191072013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19108
19109 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19110
a065ceff
OB
191112013-03-20 Ondřej Bílka <neleai@seznam.cz>
19112
9bb2a810 19113 [BZ #14176]
a065ceff
OB
19114 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19115
a600e5ce
RM
191162013-03-19 Roland McGrath <roland@hack.frob.com>
19117
19118 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19119 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19120 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19121 [!BEFORE_ABORT] (before_abort): New function.
19122 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19123 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19124 (writev_for_fatal): New function.
19125 (WRITEV_FOR_FATAL): New macro; call that.
19126 (backtrace_and_maps): New function.
19127 (BEFORE_ABORT): New macro; call that.
19128 (struct str_list): Type removed.
19129 (__libc_message, __libc_fatal): Functions removed.
19130 Include <sysdeps/posix/libc_fatal.c> instead.
19131
6b18bea6
JM
191322013-03-19 Joseph Myers <joseph@codesourcery.com>
19133
19134 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19135 constants.
19136 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19137 double constants.
19138
aaa8cb4b
AS
191392013-03-19 Andreas Schwab <schwab@suse.de>
19140
44673770
AS
19141 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19142 * sysdeps/gnu/configure: Regenerate.
19143
aaa8cb4b
AS
19144 * configure.in: Substitute libc_cv_rtlddir.
19145 * configure: Regenerate.
19146 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19147 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19148 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19149 * elf/Makefile (install-others, CFLAGS-interp.c)
19150 (ldso_install, common-ldd-rewrite): Likewise.
19151 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19152 $(inst_slibdir)/$(rtld-installed-name).
19153 * scripts/rellns-sh: Add -p option.
19154 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19155 for source.
19156
d3cfc668
SP
191572013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19158
19159 * manual/nptl.texi: Renamed to ...
19160 * manual/threads.texi: ... this.
19161 * manual/Makefile (chapters): Update.
19162
0e2b9cdd
RM
191632013-03-18 Roland McGrath <roland@hack.frob.com>
19164
19165 [BZ #14812]
19166 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19167 on argument names, not just descriptions.
0e2b9cdd
RM
19168 * malloc/memusagestat.c (options): Likewise.
19169 * nss/getent.c (options): Likewise.
63270c24
RM
19170
191712013-03-18 Benno Schulenberg <bensberg@justemail.net>
19172
19173 [BZ #14812]
19174 * iconv/iconv_prog.c (options): Put N_ translation marker
19175 on argument names, not just descriptions.
19176 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19177
b2e1393c
OB
191782013-03-18 Ondrej Bilka <neleai@seznam.cz>
19179
19180 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19181 implementation which is faster on all x86_64 architectures.
19182 Tested on AMD, Intel Nehalem, SNB, IVB.
19183 * sysdeps/x86_64/strnlen.S: Likewise.
19184
19185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19186 Remove all multiarch strlen and strnlen versions.
19187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19188 Remove strlen and strnlen related parts.
19189
19190 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19191 Inline strlen part.
19192 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19193
19194 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19195 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19196 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19197 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19198 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19199 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19200
ec4ff04d
CD
192012013-03-17 Carlos O'Donell <carlos@redhat.com>
19202
19203 * manual/memory.texi (Malloc Tunable Parameters):
19204 Sort parameters alphabetically. Add comments for missing entries.
19205
cd18e90a
DM
192062013-03-17 David S. Miller <davem@davemloft.net>
19207
19208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19209
2a185d32
JM
192102013-03-16 Joseph Myers <joseph@codesourcery.com>
19211
d2f9799e
JM
19212 [BZ #15283]
19213 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19214 for arguments at most half maximum finite value.
19215 * math/libm-test.inc (j0_test): Add more tests.
19216 (j1_test): Likewise.
19217 (y0_test): Likewise.
19218 (y1_test): Likewise.
19219 * sysdeps/i386/fpu/libm-test-ulps: Update.
19220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19221
2a185d32
JM
19222 [BZ #14155]
19223 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19224 1 / x and functions P and Q for arguments above 0x1p256L.
19225 (__ieee754_y0l): Likewise.
19226 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19227 (__ieee754_y1l): Likewise.
19228 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19229 (j1_test): Likewise.
19230 (y0_test): Likewise.
19231 (y1_test): Likewise.
19232
6cbec759
TS
192332013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19234
19235 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19236 variable.
19237
bc16e260
RM
192382013-03-15 Roland McGrath <roland@hack.frob.com>
19239
aefc9b8c
RM
19240 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19241 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19242 zero since it's initialized to EXEC_PAGESIZE.
19243
bc16e260
RM
19244 * sysdeps/unix/sysv/linux/ldsodefs.h
19245 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19246 * sysdeps/generic/ldsodefs.h: ... here.
19247
a57da955
TS
192482013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19249
af00a34d
TS
19250 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19251
495ded2c
TS
19252 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19253 math/test-snan.c.
19254 * math/test-snan.c: Renamed from
19255 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19256 * math/Makefile (tests): Add test-snan.
19257 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19258 test-powerpc-snan.
19259
777b0332
TS
19260 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19261 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19262 functions.
19263 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19264 __builtin_nan family of functions.
19265 * math/libm-test.inc (initialize): Initialize qnan_value with
19266 __builtin_nan family of functions.
19267 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19268 Remove variables.
19269 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19270 Remove functions.
19271 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19272 storage class. Initialize qNaN_var and sNaN_var with
19273 __builtin_nan and __builtin_nans families of functions,
19274 respectively.
19275
64d063b8
TS
19276 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19277 (sqrt_test): Remove duplicate test with qNaN input.
19278 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19279 (round_test, signbit_test, significand_test): Note missing +/-Inf
19280 as well as qNaN tests.
19281
67e971f1
TS
19282 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19283 qNaN_var. Fix a few strings, too.
19284 * math/libm-test.inc (nan_value): Rename to qnan_value.
19285 * math/gen-libm-test.pl (%beautify): Adjust to that.
19286 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19287 * math/test-misc.c (main): Likewise.
19288 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19289 to __qnan_bytes, and __qnan_union, respectively.
19290 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19291 Likewise.
19292 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19293 and lqnanval, respectively.
19294 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19295 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19296 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19297 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19298
64487e12
TS
19299 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19300 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19301 doubles.
19302
e015e27b
TS
19303 * math/test-misc.c (main): Fix copy'n'pastos.
19304 * misc/tst-efgcvt.c (special): Likewise.
19305
a57da955
TS
19306 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19307 Remove declarations.
19308
1e380345
SP
193092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19310
19311 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19312 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19313 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19314 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19315
ef26eece
AZ
193162013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19317
19318 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19319 macro to return vdso values correctly in IFUNC implementations.
19320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19321 Optimization by using IFUNC.
19322
8cfdb7e0
SP
193232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19324 Richard Henderson <rth@redhat.com>
19325 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19326
19327 * Makefile.in (bench): New target.
19328 * NEWS: Mention the benchmark framework.
19329 * Rules (bench): Likewise.
19330 (binaries-bench): Generate binaries for functions to
19331 benchmark.
19332 * benchtests/Makefile: New makefile for benchmark tests.
19333 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19334 programs.
19335 * benchtests/exp-inputs: New input file for EXP function.
19336 * benchtests/pow-inputs: New input file for POW function.
19337 * scripts/bench.pl: New script to generate source files for
19338 benchmark programs.
19339
bcda9880
SP
193402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19341
d22ca8cd
SP
19342 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19343 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19344 computations on mantissa. Use macros for rounding and
19345 division.
19346 (denorm): Likewise.
19347 (__dbl_mp): Likewise.
19348 (add_magnitudes): Likewise.
19349 (sub_magnitudes): Likewise.
19350 (__mul): Likewise.
19351 (__sqr): Likewise.
19352 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19353 powers of two in terms of TWOPOW macro.
19354 (mp_no): Make type of mantissa as MANTISSA_T.
19355 [!RADIXI]: Define RADIXI.
19356 [!TWO52]: Define TWO52.
19357 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19358
bcda9880
SP
19359 * manual/nptl.texi (cindex): Modify threads to pthreads.
19360
06d5adfb
JM
193612013-03-15 Joseph Myers <joseph@codesourcery.com>
19362
19363 * sysdeps/x86_64/preconfigure: Regenerated.
19364
41c7328e
JM
193652013-03-14 Joseph Myers <joseph@codesourcery.com>
19366
19367 [BZ #14155]
19368 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19369 0x1p28 and above.
19370 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19371 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19372 0x1p28 and above.
19373 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19374 * math/libm-test.inc (j0_test): Do not allow one spurious
19375 underflow exception.
19376 (y1_test): Likewise.
19377
e25cfa60
SP
193782013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19379
0409959c
SP
19380 * manual/Makefile (chapters): Add nptl.
19381 * manual/debug.texi (Debugging Support): Add link to Threads
19382 chapter.
19383 * manual/nptl.texi: New file.
19384
e25cfa60
SP
19385 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19386
58a1335e
PB
193872013-03-14 Petr Baudis <pasky@ucw.cz>
19388
19389 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19390 for non-NULL pointer before the memory validity test. Pointed
19391 out by Holger Brunck <holger.brunck@keymile.com>.
19392
9dc7c64f
AS
193932013-03-13 Andreas Schwab <schwab@suse.de>
19394
19395 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19396 instead of .os.
19397
54206aa6
JM
193982013-03-13 Joseph Myers <joseph@codesourcery.com>
19399
19400 * timezone/zic.c: Update from tzcode 2013b.
19401
e98cdb38
CD
194022013-03-12 Carlos O'Donell <carlos@redhat.com>
19403
19404 * manual/install.texi (Configuring and compiling):
19405 Mention i686 and i586.
19406 * INSTALL: Regenerate.
19407
9967e003
RM
194082013-03-12 Roland McGrath <roland@hack.frob.com>
19409
19410 * sysdeps/init_array/elf-init.c: New file.
19411 * csu/elf-init.c
19412 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19413 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19414
19415 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19416 __gmon_start__ as global, but as static with a .preinit_array pointer.
19417 * sysdeps/init_array/gmon-start.c: New file. Use that.
19418 * sysdeps/init_array/crti.S: New file, empty except for comments.
19419 * sysdeps/init_array/crtn.S: Likewise.
19420
e6b5a293 194212013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19422
19423 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19424 definining bcopy.
80f844c9
OB
19425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19426 Remove Prefer_SSE_for_memop.
19427 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19428 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19429 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19431 memset-x86-64.
80f844c9 19432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19433 Remove bzero, memset ifunc support.
80f844c9
OB
19434 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19435 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19436 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19437 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19438
fb6b0fcb
AS
194392013-03-11 Andreas Schwab <schwab@suse.de>
19440
19441 [BZ #15234]
19442 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19443 by SHLIB_COMPAT.
19444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19445 (GLIBC_2.16): Remove pthread_atfork.
19446
3e6bd4b1
PP
194472013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19448
19449 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19450 (ptestcases.h): Likewise.
19451
222d7f00
RM
194522013-03-08 Roland McGrath <roland@hack.frob.com>
19453
19454 * Makeconfig ($(common-objpfx)config.status): Depend on
19455 sysdeps/*/preconfigure{,.in} too.
19456
1ba4f030
JM
194572013-03-08 Joseph Myers <joseph@codesourcery.com>
19458
a222d91a
JM
19459 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19460 (__free_hook): Use void * instead of __malloc_ptr_t.
19461 (__malloc_hook): Likewise.
19462 (__realloc_hook): Likewise.
19463 (__memalign_hook): Likewise.
19464 (__after_morecore_hook): Likewise.
19465 * malloc/arena.c (save_malloc_hook): Likewise.
19466 (save_free_hook): Likewise.
19467 * malloc/hooks.c (malloc_hook_ini): Likewise.
19468 (realloc_hook_ini): Likewise.
19469 (memalign_hook_ini): Likewise.
19470 * malloc/malloc.c (malloc_hook_ini): Likewise.
19471 (realloc_hook_ini): Likewise.
19472 (memalign_hook_ini): Likewise.
19473 (__free_hook): Likewise.
19474 (__malloc_hook): Likewise.
19475 (__realloc_hook): Likewise.
19476 (__memalign_hook): Likewise.
19477 (__libc_malloc): Likewise.
19478 (__libc_free): Likewise.
19479 (__libc_realloc): Likewise.
19480 (__libc_memalign): Likewise.
19481 (__libc_valloc): Likewise.
19482 (__libc_pvalloc): Likewise.
19483 (__libc_calloc): Likewise.
19484 (__posix_memalign): Likewise.
19485 * malloc/morecore.c (__sbrk): Likewise.
19486 (__default_morecore): Likewise.
19487
5cc45e10
JM
19488 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19489
dd54b864
JM
19490 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19491 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19492 __malloc_ptrdiff_t.
19493
1ba4f030
JM
19494 * malloc/malloc.h (__malloc_size_t): Remove macro.
19495 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19496 __malloc_size_t.
19497 (old_memalign_hook): Likewise.
19498 (old_realloc_hook): Likewise.
19499 (struct hdr): Likewise.
19500 (flood): Likewise.
19501 (mallochook): Likewise.
19502 (memalignhook): Likewise.
19503 (reallochook): Likewise.
19504 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19505 (tr_old_realloc_hook): Likewise.
19506 (tr_old_memalign_hook): Likewise.
19507 (tr_mallochook): Likewise.
19508 (tr_reallochook): Likewise.
19509 (tr_memalignhook): Likewise.
19510
edf66e57
AZ
195112013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19512
19513 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19514 default_ldbl_pack and using as default implementation.
19515 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19516 implementation.
19517 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19518 redundant definition.
19519 (ldbl_insert_mantissa): Likewise.
19520 (ldbl_canonicalize): Likewise.
19521 (ldbl_nearbyint): Likewise.
19522 (ldbl_pack): Rename to ldbl_pack_ppc.
19523 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19524 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19525 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19526
6d9145d8
SP
195272013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19528
19529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19530 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19531 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19532 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19535 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19536 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19537
4dd4e157
AJ
195382013-03-07 Andreas Jaeger <aj@suse.de>
19539
19540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19541 bits/mman-linux.h.
19542
adbb8027
SP
195432013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19544
ce544b5b
SP
19545 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19546 Include mpa.h and declare __MPEXP.
19547 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19548 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19549 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19550 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19551 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19552 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19553 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19554
4cc149fd
SP
19555 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19556 (__slowpow): Use long double EXPL and LOGL functions to
19557 compute POW.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19559 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19561 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19562 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19563 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19564
e6ebd4a7
SP
19565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19566 intermediate variable to calculate exponent.
19567 (__sqr): Likewise.
19568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19569 Likewise.
19570 (__sqr): Likewise.
19571
82a9811d
SP
19572 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19573 [!NO__SQR]: Define __sqr.
19574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19575 and NO__SQR. Remove all code except __mul and __sqr. Include
19576 sysdeps/ieee754/dbl-64/mpa.c.
19577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19578
adbb8027
SP
19579 [BZ #12723]
19580 * posix/Makefile (tests): Add tst-pathconf.
19581 * posix/tst-pathconf.c: New test case.
19582 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19583 _PC_PIPE_BUF.
19584 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19585
39120df9
PF
195862013-03-06 Patsy Franklin <pfrankli@redhat.com>
19587
19588 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19589
67525cb8
AJ
195902013-03-06 Andreas Jaeger <aj@suse.de>
19591
664a9ce4
AJ
19592 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19593 definition via __MAP_ANONYMOUS.
19594
8e39047d
AJ
19595 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19596 it's not part of Linux headers.
19597
67525cb8
AJ
19598 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19599 (MAP_HUGE_MASK): Define.
19600
19601 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19602 Define.
19603 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19605 Define.
19606 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19607 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19608 Define.
19609 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19610 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19611 Define.
19612 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19613
19614 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19615 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19616 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19617 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19618 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19619 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19620
19621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19622 Handle f2fs.
19623
19624 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19625 Handle f2fs and efivarfs.
19626
19627 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19628 f2fs.
19629
19630 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19631 (EFIVARFS_MAGIC): Add.
19632 (F2FS_LINK_MAX): Add.
19633
e1b42695
PP
196342013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19635
19636 * stdio-common/vfprintf.c: Replace __builtin_expect with
19637 __glibc_unlikely.
19638
2d67d91a
JM
196392013-03-06 Joseph Myers <joseph@codesourcery.com>
19640
19641 [BZ #13550]
19642 * sysdeps/generic/bp-sym.h: Remove file.
19643 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19644 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19645 <bp-sym.h> and <bp-asm.h>.
19646 (__longjmp): Don't use BP_SYM.
19647 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19648 and <bp-asm.h>.
19649 (memcpy): Don't use BP_SYM.
19650 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19651 <bp-sym.h> and <bp-asm.h>.
19652 (memcpy): Don't use BP_SYM.
19653 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19654 <bp-asm.h>.
19655 (memcpy): Don't use BP_SYM.
19656 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19657 <bp-asm.h>.
19658 (memset): Don't use BP_SYM.
19659 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19660 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19661 (__bzero): Don't use BP_SYM.
19662 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19663 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19664 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19665 <bp-sym.h> and <bp-asm.h>.
19666 (memcmp): Don't use BP_SYM. Remove comment about bounded
19667 pointers.
19668 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19669 <bp-sym.h> and <bp-asm.h>.
19670 (memcpy): Don't use BP_SYM.
19671 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19672 <bp-sym.h> and <bp-asm.h>.
19673 (memset): Don't use BP_SYM.
19674 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19675 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19676 (__bzero): Don't use BP_SYM.
19677 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19678 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19679 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19680 <bp-sym.h> and <bp-asm.h>.
19681 (strncmp): Don't use BP_SYM. Remove comment about bounded
19682 pointers.
19683 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19684 <bp-sym.h> and <bp-asm.h>.
19685 (memcpy): Don't use BP_SYM.
19686 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19687 <bp-sym.h> and <bp-asm.h>.
19688 (memset): Don't use BP_SYM.
19689 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19690 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19691 (__bzero): Don't use BP_SYM.
19692 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19693 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19695 <bp-sym.h> and <bp-asm.h>.
19696 (__memchr): Don't use BP_SYM.
19697 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19698 <bp-sym.h> and <bp-asm.h>.
19699 (memcmp): Don't use BP_SYM. Remove comment about bounded
19700 pointers.
19701 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19702 <bp-sym.h> and <bp-asm.h>.
19703 (memcpy): Don't use BP_SYM.
19704 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19705 <bp-sym.h> and <bp-asm.h>.
19706 (__mempcpy): Don't use BP_SYM.
19707 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19708 <bp-sym.h> and <bp-asm.h>.
19709 (__memrchr): Don't use BP_SYM.
19710 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19711 <bp-sym.h> and <bp-asm.h>.
19712 (memset): Don't use BP_SYM.
19713 (__bzero): Likewise.
19714 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19715 <bp-sym.h> and <bp-asm.h>.
19716 (__rawmemchr): Don't use BP_SYM.
19717 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19718 <bp-sym.h> and <bp-asm.h>.
19719 (__STRCMP): Don't use BP_SYM.
19720 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19721 <bp-sym.h> and <bp-asm.h>.
19722 (strchr): Don't use BP_SYM.
19723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19724 <bp-sym.h> and <bp-asm.h>.
19725 (__strchrnul): Don't use BP_SYM.
19726 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19727 <bp-sym.h> and <bp-asm.h>.
19728 (strlen): Don't use BP_SYM.
19729 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19730 <bp-sym.h> and <bp-asm.h>.
19731 (strncmp): Don't use BP_SYM. Remove comment about bounded
19732 pointers.
19733 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19734 <bp-sym.h> and <bp-asm.h>.
19735 (__strnlen): Don't use BP_SYM.
19736 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19737 <bp-sym.h> and <bp-asm.h>.
19738 (__GI__setjmp): Don't use BP_SYM.
19739 (_setjmp): Likewise.
19740 (__sigsetjmp): Likewise.
19741 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19742 (L(start_addresses)): Don't use BP_SYM.
19743 (_start): Likewise.
19744 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19745 <bp-asm.h>.
19746 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19747 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19748 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19749 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19750 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19751 <bp-asm.h>.
19752 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19753 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19754 about bounded pointers.
19755 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19756 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19757 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19758 <bp-asm.h>.
19759 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19760 about bounded pointers. Remove GKM FIXME comments.
19761 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19762 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19763 <bp-asm.h>.
19764 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19765 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19766 Remove GKM FIXME comments.
19767 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19768 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19769 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19770 <bp-asm.h>.
19771 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19772 about bounded pointers. Remove GKM FIXME comment.
19773 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19774 and <bp-asm.h>.
19775 (strncmp): Don't use BP_SYM. Remove comment about bounded
19776 pointers.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19778 <bp-sym.h> and <bp-asm.h>.
19779 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19781 <bp-sym.h> and <bp-asm.h>.
19782 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19783 comment.
19784
cdcf361f
PP
197852013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19786
19787 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19788 call free(NULL).
19789
3c4a2b15
DM
197902013-03-05 David S. Miller <davem@davemloft.net>
19791
19792 * po/es.po: Update from translation team.
19793
cdcf361f 197942013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19795
19796 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19797 <bits/mman-linux.h>.
19798 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19799 is fine.
19800 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19801 <bits/mman-linux.h> to end of file.
19802 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19803 is fine.
19804 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19805 <bits/mman-linux.h> to end of file.
19806 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19807 is fine.
19808 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19809 <bits/mman-linux.h> to end of file.
19810
19811 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19812 (MCL_CURRENT, MCL_FUTURE): Define here.
19813
5f67c04f
AK
198142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19815
8a4473cc 19816 [BZ #15232]
5f67c04f
AK
19817 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19818 attribute_hidden.
19819 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19820
c3e94a95
AK
198212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19822
19823 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19824 fourth parameter needed for rt_sigprocmask syscall.
19825 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19826 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19827 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19828 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19829 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19830 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19831
cfb6382a
JM
198322013-03-04 Joseph Myers <joseph@codesourcery.com>
19833
19834 [BZ #13550]
19835 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19836 comment about bounded pointers.
19837 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19838 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19839
539d8e01
AJ
198402013-03-04 Andreas Jaeger <aj@suse.de>
19841
19842 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19843 common definitions.
19844
19845 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19846 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19847 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19848 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19849 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19850 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19851
2e167a70 198522013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19853
19854 [BZ #15055]
19855 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19856 __ieee754_sqrl instead of __sqrl.
19857
68508633
JM
198582013-03-01 Joseph Myers <joseph@codesourcery.com>
19859
19860 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19861 * sysdeps/powerpc/fpu_control.h: ... here.
19862 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19863 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19864 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19865 * sysdeps/powerpc/bits/mathinline.h: ... here.
19866
7775448e
RM
198672013-03-01 Roland McGrath <roland@hack.frob.com>
19868
19869 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19870 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19871 to just [NEED_DL_SYSINFO_DSO].
19872 * elf/dl-support.c: Likewise.
19873 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19874 * elf/rtld.c (dl_main): Likewise.
19875 * elf/setup-vdso.h (setup_vdso): Likewise.
19876 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19877 * sysdeps/unix/sysv/linux/dl-sysdep.c
19878 (_dl_discover_osversion): Likewise.
19879
4e9b5995
CD
198802013-03-01 Carlos O'Donell <carlos@redhat.com>
19881
19882 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19883 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19884
e23872c8
SP
198852013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19886
e5c74c63
SP
19887 * NEWS: Mention libm performance improvements and non-x86 PI
19888 futex support.
19889
e23872c8
SP
19890 * csu/libc-start.c (__pthread_initialize_minimal): Change
19891 function arguments.
19892 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19893
b5510883
JM
198942013-02-28 Joseph Myers <joseph@codesourcery.com>
19895
19896 [BZ #13550]
19897 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19898 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19899 <bp-sym.h> and <bp-asm.h>.
19900 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19901 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19902 and <bp-asm.h>.
19903 (memcpy): Don't use BP_SYM.
19904 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19905 <bp-asm.h>.
19906 (__mpn_add_n): Don't use BP_SYM.
19907 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19908 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19909 and <bp-asm.h>.
19910 (__mpn_addmul_1): Don't use BP_SYM.
19911 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19912 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19913 <bp-sym.h>.
19914 (_setjmp): Don't use BP_SYM.
19915 (__novmx_setjmp): Likewise.
19916 (__GI__setjmp): Likewise.
19917 (__vmx_setjmp): Likewise.
19918 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19919 <bp-sym.h>.
19920 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19921 (__bzero): Don't use BP_SYM.
19922 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19923 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19924 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19925 <bp-sym.h> and <bp-asm.h>.
19926 (memcpy): Don't use BP_SYM.
19927 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19928 <bp-sym.h> and <bp-asm.h>.
19929 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19931 <bp-sym.h> and <bp-asm.h>.
19932 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19933 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19934 <bp-asm.h>.
19935 (__mpn_lshift): Don't use BP_SYM.
19936 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19937 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19938 <bp-asm.h>.
19939 (memset): Don't use BP_SYM.
19940 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19941 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19942 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19943 <bp-asm.h>.
19944 (__mpn_mul_1): Don't use BP_SYM.
19945 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19947 <bp-sym.h> and <bp-asm.h>.
19948 (memcmp): Don't use BP_SYM.
19949 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19950 <bp-sym.h> and <bp-asm.h>.
19951 (memcpy): Don't use BP_SYM.
19952 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19953 <bp-sym.h> and <bp-asm.h>.
19954 (memset): Don't use BP_SYM.
19955 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19956 <bp-sym.h> and <bp-asm.h>.
19957 (strncmp): Don't use BP_SYM.
19958 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19959 <bp-sym.h> and <bp-asm.h>.
19960 (memcpy): Don't use BP_SYM.
19961 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19962 <bp-sym.h> and <bp-asm.h>.
19963 (memset): Don't use BP_SYM.
19964 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19965 <bp-sym.h> and <bp-asm.h>.
19966 (__memchr): Don't use BP_SYM.
19967 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19968 <bp-sym.h> and <bp-asm.h>.
19969 (memcmp): Don't use BP_SYM.
19970 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19971 <bp-sym.h> and <bp-asm.h>.
19972 (memcpy): Don't use BP_SYM.
19973 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19974 <bp-sym.h> and <bp-asm.h>.
19975 (__mempcpy): Don't use BP_SYM.
19976 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19977 <bp-sym.h> and <bp-asm.h>.
19978 (__memrchr): Don't use BP_SYM.
19979 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19980 <bp-sym.h> and <bp-asm.h>.
19981 (memset): Don't use BP_SYM.
19982 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19983 <bp-sym.h> and <bp-asm.h>.
19984 (__rawmemchr): Don't use BP_SYM.
19985 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19986 <bp-sym.h> and <bp-asm.h>.
19987 (__STRCMP): Don't use BP_SYM.
19988 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19989 <bp-sym.h> and <bp-asm.h>.
19990 (strchr): Don't use BP_SYM.
19991 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19992 <bp-sym.h> and <bp-asm.h>.
19993 (__strchrnul): Don't use BP_SYM.
19994 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19995 <bp-sym.h> and <bp-asm.h>.
19996 (strlen): Don't use BP_SYM.
19997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19998 <bp-sym.h> and <bp-asm.h>.
19999 (strncmp): Don't use BP_SYM.
20000 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20001 <bp-sym.h> and <bp-asm.h>.
20002 (__strnlen): Don't use BP_SYM.
20003 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20004 <bp-asm.h>.
20005 (__mpn_rshift): Don't use BP_SYM.
20006 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20007 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20008 <bp-sym.h> and <bp-asm.h>.
20009 (__sigsetjmp): Don't use BP_SYM.
20010 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20011 (L(start_addresses)): Don't use BP_SYM.
20012 (_start): Likewise.
20013 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20014 <bp-asm.h>.
20015 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20016 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20017 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20018 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20019 <bp-asm.h>.
20020 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20021 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20022 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20023 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20024 <bp-asm.h>.
20025 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20026 comments.
20027 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20028 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20029 <bp-asm.h>.
20030 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20031 FIXME comments.
20032 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20033 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20034 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20035 <bp-asm.h>.
20036 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20037 comment.
20038 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20039 and <bp-asm.h>.
20040 (strncmp): Don't use BP_SYM,
20041 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20042 <bp-asm.h>.
20043 (__mpn_sub_n): Don't use BP_SYM.
20044 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20045 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20046 and <bp-asm.h>.
20047 (__mpn_submul_1): Don't use BP_SYM.
20048 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20050 <bp-sym.h> and <bp-asm.h>.
20051 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20053 <bp-sym.h> and <bp-asm.h>.
20054 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20055 comment.
20056
8d19fe64
SP
200572013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20058
20059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20060 Use ZK to minimize writes to Z.
20061 (sub_magnitudes): Simplify code a bit.
20062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20063 Use ZK to minimize writes to Z.
20064 (sub_magnitudes): Simplify code a bit.
20065
85bd816a
RM
200662013-02-27 Roland McGrath <roland@hack.frob.com>
20067
20068 * csu/gmon-start.c: Add special exception to license text.
20069
b5977bf2
RH
200702013-02-27 Richard Henderson <rth@redhat.com>
20071
20072 * scripts/config.guess: Update from config.git.
20073 * scripts/config.sub: Likewise.
20074
11d6e2f2
SP
200752013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20076
09c14ed2
SP
20077 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20078
a688864e
SP
20079 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20080
6295157a
SP
20081 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20082
b8de2202
SP
20083 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20084
11d6e2f2
SP
20085 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20086
7e80ddb8
RM
200872013-02-26 Roland McGrath <roland@hack.frob.com>
20088
20089 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20090 [$(build-shared = yes].
7e80ddb8 20091
7da6d9ed
SP
200922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20093
45f05884
SP
20094 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20095 (__mul): Reduce iterations for calculating mantissa.
20096
2236d359
SP
20097 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20098 MPTWO.
20099 (__mpranred): Likewise.
20100
7da6d9ed
SP
20101 [BZ #15160]
20102 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20103 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20104
b7688c42
PE
201052013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20106
20107 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20108 Define __attribute__.
20109
53a5c423
SP
201102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20111
20112 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20113 unused.
20114 * posix/regex_internal.h (__attribute): Remove.
20115 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20116 (re_string_context_at): Likewise.
20117 (bitset_not): Use __attribute__ and mark function as possibly
20118 unused.
20119 (bitset_merge): Likewise.
20120 (bitset_mask): Likewise.
20121 (re_string_char_size_at): Likewise.
20122 (re_string_wchar_at): Likewise.
20123 (re_string_elem_size_at): Likewise.
20124
60f5a8b5
SP
201252013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20126
2a983a2e
SP
20127 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20128 code.
20129 (cc32): Likewise.
20130
e69804d1
SP
20131 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20132 (__acr): Likewise.
20133 (__cpy): Likewise.
20134 (norm): Likewise.
20135 (denorm): Likewise.
20136 (__dbl_mp): Likewise.
20137 (add_magnitudes): Likewise.
20138 (sub_magnitudes): Likewise.
20139 (__mul): Likewise.
20140 (__inv): Likewise.
20141
2f22a1e8
SP
20142 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20143 style.
20144
8930ddc7
SP
20145 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20146 style.
20147
dc60cb11
SP
20148 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20149 code.
20150
60f5a8b5
SP
20151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20152 up changes with default code.
20153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20154 Likewise.
20155
b4d1fd33
AM
201562013-02-24 Allan McRae <allan@archlinux.org>
20157
faf6f8bc
AM
20158 * manual/socket.texi (The Internet Namespace): Order menu items
20159 to match that in the file.
20160
b4d1fd33
AM
20161 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20162 node listing of the info page menu.
20163
2366713d
JM
201642013-02-21 Joseph Myers <joseph@codesourcery.com>
20165
20166 [BZ #13550]
20167 * sysdeps/i386/bp-asm.h: Remove file.
20168 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20169 (PARMS): Do not use macros from bp-asm.h.
20170 (S1): Likewise.
20171 (S2): Likewise.
20172 (SIZE): Likewise.
20173 (__mpn_add_n): Do not use BP_SYM
20174 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20175 "bp-asm.h".
20176 (PARMS): Do not use macros from bp-asm.h.
20177 (S1): Likewise.
20178 (SIZE): Likewise.
20179 (__mpn_addmul_1): Do not use BP_SYM
20180 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20181 "bp-asm.h".
20182 (PARMS): Do not use macros from bp-asm.h.
20183 (SIGMSK): Likewise.
20184 (_setjmp): Likewise. Do not use BP_SYM.
20185 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20186 "bp-asm.h".
20187 (PARMS): Do not use macros from bp-asm.h.
20188 (SIGMSK): Likewise.
20189 (setjmp): Likewise. Do not use BP_SYM.
20190 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20191 "bp-asm.h".
20192 (PARMS): Do not use macros from bp-asm.h.
20193 (__frexp): Do not use BP_SYM.
20194 (frexp): Likewise.
20195 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20196 "bp-asm.h".
20197 (PARMS): Do not use macros from bp-asm.h.
20198 (__frexpf): Do not use BP_SYM.
20199 (frexpf): Likewise.
20200 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20201 "bp-asm.h".
20202 (PARMS): Do not use macros from bp-asm.h.
20203 (__frexpl): Do not use BP_SYM.
20204 (frexpl): Likewise.
20205 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20206 "bp-asm.h".
20207 (PARMS): Do not use macros from bp-asm.h.
20208 (__remquo): Do not use BP_SYM.
20209 (remquo): Likewise.
20210 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20211 "bp-asm.h".
20212 (PARMS): Do not use macros from bp-asm.h.
20213 (__remquof): Do not use BP_SYM.
20214 (remquof): Likewise.
20215 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20216 "bp-asm.h".
20217 (PARMS): Do not use macros from bp-asm.h.
20218 (__remquol): Do not use BP_SYM.
20219 (remquol): Likewise.
20220 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20221 "bp-asm.h".
20222 (PARMS): Do not use macros from bp-asm.h.
20223 (DEST): Likewise.
20224 (SRC): Likewise.
20225 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20226 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20227 "bp-asm.h".
20228 (PARMS): Do not use macros from bp-asm.h.
20229 (strlen): Do not use BP_SYM.
20230 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20231 "bp-asm.h".
20232 (PARMS): Do not use macros from bp-asm.h.
20233 (S1): Likewise.
20234 (S2): Likewise.
20235 (SIZE): Likewise.
20236 (__mpn_add_n): Do not use BP_SYM.
20237 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20238 "bp-asm.h".
20239 (PARMS): Do not use macros from bp-asm.h.
20240 (S1): Likewise.
20241 (SIZE): Likewise.
20242 (__mpn_addmul_1): Do not use BP_SYM.
20243 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20244 weak_alias.
20245 (bzero): Likewise.
20246 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20247 "bp-asm.h".
20248 (PARMS): Do not use macros from bp-asm.h.
20249 (S): Likewise.
20250 (SIZE): Likewise.
20251 (__mpn_lshift): Do not use BP_SYM.
20252 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20253 "bp-asm.h".
20254 (PARMS): Do not use macros from bp-asm.h.
20255 (DEST): Likewise.
20256 (SRC): Likewise.
20257 (LEN): Likewise.
20258 (memcpy): Likewise. Do not use BP_SYM.
20259 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20260 libc_hidden_def and weak_alias.
20261 (mempcpy): Do not use BP_SYM in weak_alias.
20262 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20263 "bp-asm.h".
20264 (PARMS): Do not use macros from bp-asm.h.
20265 (DEST): Likewise.
20266 (LEN): Likewise.
20267 [!BZERO_P] (CHR): Likewise.
20268 (memset): Likewise. Do not use BP_SYM.
20269 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20270 "bp-asm.h".
20271 (PARMS): Do not use macros from bp-asm.h.
20272 (S1): Likewise.
20273 (SIZE): Likewise.
20274 (__mpn_mul_1): Do not use BP_SYM.
20275 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20276 "bp-asm.h".
20277 (PARMS): Do not use macros from bp-asm.h.
20278 (S): Likewise.
20279 (SIZE): Likewise.
20280 (__mpn_rshift): Do not use BP_SYM.
20281 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20282 "bp-asm.h".
20283 (PARMS): Do not use macros from bp-asm.h.
20284 (STR): Likewise.
20285 (CHR): Likewise.
20286 (strchr): Likewise. Do not use BP_SYM.
20287 (index): Do not use BP_SYM in weak_alias.
20288 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20289 "bp-asm.h".
20290 (PARMS): Do not use macros from bp-asm.h.
20291 (DEST): Likewise.
20292 (SRC): Likewise.
20293 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20294 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20295 "bp-asm.h".
20296 (PARMS): Do not use macros from bp-asm.h.
20297 (strlen): Do not use BP_SYM.
20298 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20299 "bp-asm.h".
20300 (PARMS): Do not use macros from bp-asm.h.
20301 (S1): Likewise.
20302 (S2): Likewise.
20303 (SIZE): Likewise.
20304 (__mpn_sub_n): Do not use BP_SYM.
20305 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20306 "bp-asm.h".
20307 (PARMS): Do not use macros from bp-asm.h.
20308 (S1): Likewise.
20309 (SIZE): Likewise.
20310 (__mpn_submul_1): Do not use BP_SYM.
20311 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20312 "bp-asm.h".
20313 (PARMS): Do not use macros from bp-asm.h.
20314 (S1): Likewise.
20315 (S2): Likewise.
20316 (SIZE): Likewise.
20317 (__mpn_add_n): Do not use BP_SYM.
20318 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20319 weak_alias.
20320 (bzero): Likewise.
20321 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20322 "bp-asm.h".
20323 (PARMS): Do not use macros from bp-asm.h.
20324 (BLK2): Likewise.
20325 (LEN): Likewise.
20326 (memcmp): Do not use BP_SYM.
20327 (bcmp): Do not use BP_SYM in weak_alias.
20328 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20329 "bp-asm.h".
20330 (PARMS): Do not use macros from bp-asm.h.
20331 (DEST): Likewise.
20332 (SRC): Likewise.
20333 (LEN): Likewise.
20334 (memcpy): Likewise. Do not use BP_SYM.
20335 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20336 "bp-asm.h".
20337 (PARMS): Do not use macros from bp-asm.h.
20338 (DEST): Likewise.
20339 (SRC): Likewise.
20340 (LEN): Likewise.
20341 (memmove): Likewise. Do not use BP_SYM.
20342 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20343 "bp-asm.h".
20344 (PARMS): Do not use macros from bp-asm.h.
20345 (DEST): Likewise.
20346 (SRC): Likewise.
20347 (LEN): Likewise.
20348 (__mempcpy): Likewise. Do not use BP_SYM.
20349 (mempcpy): Do not use BP_SYM in weak_alias.
20350 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20351 "bp-asm.h".
20352 (PARMS): Do not use macros from bp-asm.h.
20353 (DEST): Likewise.
20354 (LEN): Likewise.
20355 [!BZERO_P] (CHR): Likewise.
20356 (memset): Likewise. Do not use BP_SYM.
20357 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20358 "bp-asm.h".
20359 (PARMS): Do not use macros from bp-asm.h.
20360 (STR2): Likewise.
20361 (strcmp): Do not use BP_SYM.
20362 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20363 "bp-asm.h".
20364 (PARMS): Do not use macros from bp-asm.h.
20365 (STR): Likewise.
20366 (DELIM): Likewise.
20367 [USE_AS_STRTOK_R] (SAVE): Likewise.
20368 (FUNCTION): Likewise. Do not use BP_SYM.
20369 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20370 aliases.
20371 (strtok_r): Likewise.
20372 (__GI___strtok_r): Likewise.
20373 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20374 (PARMS): Do not use macros from bp-asm.h.
20375 (S): Likewise.
20376 (SIZE): Likewise.
20377 (__mpn_lshift): Do not use BP_SYM.
20378 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20379 (PARMS): Do not use macros from bp-asm.h.
20380 (STR): Likewise.
20381 (CHR): Likewise.
20382 (__memchr): Do not use BP_SYM.
20383 (memchr): Do not use BP_SYM in weak_alias.
20384 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20385 (PARMS): Do not use macros from bp-asm.h.
20386 (BLK2): Likewise.
20387 (LEN): Likewise.
20388 (memcmp): Do not use BP_SYM.
20389 (bcmp): Do not use BP_SYM in weak_alias.
20390 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20391 (PARMS): Do not use macros from bp-asm.h.
20392 (S1): Likewise.
20393 (SIZE): Likewise.
20394 (__mpn_mul_1): Do not use BP_SYM.
20395 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20396 "bp-asm.h".
20397 (PARMS): Do not use macros from bp-asm.h.
20398 (STR): Likewise.
20399 (CHR): Likewise.
20400 (__rawmemchr): Do not use BP_SYM.
20401 (rawmemchr): Do not use BP_SYM in weak_alias.
20402 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20403 (PARMS): Do not use macros from bp-asm.h.
20404 (S): Likewise.
20405 (SIZE): Likewise.
20406 (__mpn_rshift): Do not use BP_SYM.
20407 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20408 (PARMS): Do not use macros from bp-asm.h.
20409 (SIGMSK): Likewise.
20410 (__sigsetjmp): Likewise. Do not use BP_SYM.
20411 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20412 (_start): Do not use BP_SYM.
20413 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20414 (PARMS): Do not use macros from bp-asm.h.
20415 (DEST): Likewise.
20416 (SRC): Likewise.
20417 (__stpcpy): Likewise. Do not use BP_SYM.
20418 (stpcpy): Do not use BP_SYM in weak_alias.
20419 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20420 "bp-asm.h".
20421 (PARMS): Do not use macros from bp-asm.h.
20422 (DEST): Likewise.
20423 (SRC): Likewise.
20424 (LEN): Likewise.
20425 (__stpncpy): Likewise. Do not use BP_SYM.
20426 (stpncpy): Do not use BP_SYM in weak_alias.
20427 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20428 (PARMS): Do not use macros from bp-asm.h.
20429 (STR): Likewise.
20430 (CHR): Likewise.
20431 (strchr): Likewise. Do not use BP_SYM.
20432 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20433 "bp-asm.h".
20434 (PARMS): Do not use macros from bp-asm.h.
20435 (STR): Likewise.
20436 (CHR): Likewise.
20437 (__strchrnul): Likewise. Do not use BP_SYM.
20438 (strchrnul): Do not use BP_SYM in weak_alias.
20439 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20440 "bp-asm.h".
20441 (PARMS): Do not use macros from bp-asm.h.
20442 (STOP): Likewise.
20443 (strcspn): Do not use BP_SYM.
20444 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20445 "bp-asm.h".
20446 (PARMS): Do not use macros from bp-asm.h.
20447 (STR): Likewise.
20448 (STOP): Likewise.
20449 (strpbrk): Likewise. Do not use BP_SYM.
20450 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20451 "bp-asm.h".
20452 (PARMS): Do not use macros from bp-asm.h.
20453 (STR): Likewise.
20454 (CHR): Likewise.
20455 (strrchr): Likewise. Do not use BP_SYM.
20456 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20457 (PARMS): Do not use macros from bp-asm.h.
20458 (SKIP): Likewise.
20459 (strspn): Do not use BP_SYM.
20460 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20461 (PARMS): Do not use macros from bp-asm.h.
20462 (STR): Likewise.
20463 (DELIM): Likewise.
20464 (SAVE): Likewise.
20465 (FUNCTION): Likewise. Do not use BP_SYM.
20466 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20467 aliases.
20468 (strtok_r): Likewise.
20469 (__GI___strtok_r): Likewise.
20470 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20471 (PARMS): Do not use macros from bp-asm.h.
20472 (S1): Likewise.
20473 (S2): Likewise.
20474 (SIZE): Likewise.
20475 (__mpn_sub_n): Do not use BP_SYM.
20476 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20477 "bp-asm.h".
20478 (PARMS): Do not use macros from bp-asm.h.
20479 (S1): Likewise.
20480 (SIZE): Likewise.
20481 (__mpn_submul_1): Do not use BP_SYM.
20482 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20483 <bp-sym.h>.
20484 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20485 and <bp-asm.h>.
20486 (PARMS): Do not use macros from bp-asm.h.
20487 (FLAGS): Likewise.
20488 (PTID): Likewise.
20489 (TLS): Likewise.
20490 (CTID): Likewise.
20491 (__clone): Do not use BP_SYM.
20492 (clone): Do not use BP_SYM in weak_alias.
20493 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20494 and <bp-asm.h>.
20495 (PARMS): Do not use macros from bp-asm.h.
20496 (LEN): Likewise.
20497 (__mmap64): Do not use BP_SYM.
20498 (mmap64): Do not use BP_SYM in weak_alias.
20499 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20500 <bp-sym.h> and <bp-asm.h>.
20501 (PARMS): Do not use macros from bp-asm.h.
20502 (__posix_fadvise64_l64): Do not use BP_SYM.
20503 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20504 (PARMS): Do not use macros from bp-asm.h.
20505 (NSOPS): Likewise.
20506 (semtimedop): Do not use BP_SYM.
20507 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20508 and <bp-asm.h>.
20509
582a3cff
AM
205102013-02-21 Allan McRae <allan@archlinux.org>
20511
20512 * manual/message.texi (Charset conversion in gettext):
20513 Move @end statement to beginning of line.
20514
bab8a695
SP
205152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20516
80945231
SP
20517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20518 static.
20519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20520 Likewise.
20521
bab8a695
SP
20522 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20523 (denorm): Likewise.
20524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20526
e21d7aa7
AK
205272013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20528
20529 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20530 tail-call to the resolved function if pltexit isn't needed.
20531
4c7a4263
SP
205322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20533
20534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20535 or Y being zero as being unlikely.
20536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20537 Likewise.
20538
41f49342
CD
205392013-02-20 Carlos O'Donell <carlos@redhat.com>
20540
20541 * manual/nss.texi (System Databases and Name Service Switch):
20542 Remove frobnicate @pxref.
20543
50022a93
TS
205442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20545
20546 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20547 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20548
08cbd996
PM
205492013-02-20 Petr Machata <pmachata@redhat.com>
20550
20551 * elf/elf.h (R_ARM_TARGET1): New macro.
20552 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20553 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20554 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20555 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20556 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20557 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20558 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20559 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20560 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20561 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20562 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20563 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20564 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20565 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20566 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20567 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20568 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20569 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20570 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20571 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20572 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20573 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20574 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20575 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20576 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20577 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20578 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20579 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20580 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20581 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20582 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20583 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20584 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20585 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20586 (R_ARM_THM_GOT_BREL12): Likewise.
20587 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20588 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20589 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20590 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20591 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20592 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20593 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20594 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20595 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20596
c7b275d6
TS
205972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20598
20599 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20600 __attribute_used__ to __attribute__ ((unused)).
20601
20cd7fb3
SP
206022013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20603
20604 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20605 powerpc mpa.c.
20606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20607 comment formatting.
20608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20609
92945b52
JM
206102013-02-19 Joseph Myers <joseph@codesourcery.com>
20611
20612 [BZ #13550]
20613 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20614 Remove macro.
20615 (ENTER): Remove both macro definitions.
20616 (LEAVE): Likewise.
20617 (CHECK_BOUNDS_LOW): Likewise.
20618 (CHECK_BOUNDS_HIGH): Likewise.
20619 (CHECK_BOUNDS_BOTH): Likewise.
20620 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20621 (RETURN_BOUNDED_POINTER): Likewise.
20622 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20623 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20624 (POP_ERRNO_LOCATION_RETURN): Likewise.
20625 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20626 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20627 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20628 macros.
20629 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20630 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20631 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20632 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20633 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20634 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20635 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20636 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20637 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20638 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20639 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20640 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20641 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20642 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20643 removed macros.
20644 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20645 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20646 macros.
20647 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20648 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20649 * sysdeps/i386/i586/memset.S (memset): Likewise.
20650 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20651 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20652 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20653 macros.
20654 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20655 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20656 Change uses of L(2) to L(out).
20657 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20658 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20659 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20660 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20661 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20662 removed macros.
20663 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20664 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20665 macros.
20666 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20667 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20668 (RETURN): Do not use macro LEAVE.
20669 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20670 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20671 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20672 * sysdeps/i386/i686/memset.S (memset): Likewise.
20673 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20674 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20675 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20676 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20677 Likewise.
20678 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20679 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20680 L(1_2) and L(1_3) into L(1).
20681 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20682 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20683 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20684 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20685 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20686 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20687 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20688 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20689 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20690 macros.
20691 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20692 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20693 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20694 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20695 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20696 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20697 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20698 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20699 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20700 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20701 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20702 * sysdeps/i386/strspn.S (strspn): Likewise.
20703 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20704 conditional code.
20705 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20706 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20707 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20708 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20709 L(1_3) into L(1_1).
20710 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20711 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20712 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20713 macros.
20714 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20715
2389741a
JJ
207162013-02-19 Jakub Jelinek <jakub@redhat.com>
20717
20718 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20719 macro.
20720
2016b3cd
SP
207212013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20722
e4f22324
SP
20723 * math/atest-exp.c (exp_mpn): Remove ROUND.
20724 * math/atest-exp2.c (exp_mpn): Likewise.
20725 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20726
2016b3cd
SP
20727 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20728 * stdlib/tst-tls-atexit-lib.c: Likewise.
20729 * stdlib/tst-tls-atexit.c: Likewise.
20730
4be9b544
MF
207312013-02-18 Mike Frysinger <vapier@gentoo.org>
20732
20733 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20734 and __attribute_alloc_size__.
20735
2f62b9ee
MF
207362013-02-18 Mike Frysinger <vapier@gentoo.org>
20737
20738 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20739 __attribute_alloc_size__.
20740 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20741 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20742
6ff444c4
MF
207432013-02-18 Mike Frysinger <vapier@gentoo.org>
20744
20745 * include/programs/xmalloc.h: New file.
20746 * catgets/gencat.c: Include it.
20747 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20748 * elf/pldd.c: Likewise.
20749 * iconv/iconv_charmap.c: Likewise.
20750 * iconv/iconvconfig.c: Likewise.
20751 * iconv/strtab.c: Likewise.
20752 * locale/programs/locale.c: Likewise.
20753 * locale/programs/localedef.h: Likewise.
20754 * locale/programs/simple-hash.c: Likewise.
20755 * nscd/nscd.h: Likewise.
20756 * nss/makedb.c: Likewise.
20757 * sysdeps/generic/ldconfig.h: Likewise.
20758
be179c8a
SP
207592013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20760
ba384f6e
SP
20761 * Versions.def: Add GLIBC_2.18.
20762 * include/link.h (struct link_map): New member l_tls_dtor_count.
20763 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20764 (__call_tls_dtors): Likewise.
20765 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20766 __cxa_thread_atexit_impl.
20767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20768 Likewise.
20769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20770 Likewise.
20771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20772 Likewise.
20773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20774 Likewise.
20775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20777 Likewise.
20778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20779 Likewise.
20780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20782 Likewise.
20783 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20784 (tests): Add test case tst-tls-atexit.
20785 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20786 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20787 (GLIBC_PRIVATE): Add __call_tls_dtors.
20788 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20789 for libstdc++.
20790 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20791 * stdlib/tst-tls-atexit.c: New test case.
20792 * stdlib/tst-tls-atexit-lib.c: New test case.
20793
ffaa74cf 20794 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20795
be179c8a
SP
20796 * elf/Versions (ld): Add _dl_find_dso_for_object.
20797 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20798 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20799 (dl_open_worker): Use _dl_find_dso_for_object.
20800 * elf/dl-sym.c (do_sym): Likewise.
20801 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20802
f78b5caa
AK
208032013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20804
20805 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20806 Syntactic changes only.
20807 (_dl_runtime_profile): Do a tail-call to the resolved function.
20808
29691210
JM
208092013-02-17 Joseph Myers <joseph@codesourcery.com>
20810
20811 [BZ #13550]
20812 * sysdeps/x86_64/bp-asm.h: Remove file.
20813 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20814 <bp-sym.h> and <bp-asm.h>.
20815 (__clone): Do not use BP_SYM.
20816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20817 <bp-sym.h> and <bp-asm.h>.
20818 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20819 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20820 "bp-asm.h".
20821 (_setjmp): Do not use BP_SYM.
20822 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20823 "bp-asm.h".
20824 (setjmp): Do not use BP_SYM.
20825 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20826 libc_hidden_def.
20827 (mempcpy): Do not use BP_SYM in weak_alias.
20828 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20829 "bp-asm.h".
20830 (strchr): Do not use BP_SYM.
20831 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20832 "bp-asm.h".
20833 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20834 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20835 (_start): Do not use BP_SYM.
20836 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20837 "bp-asm.h".
20838 (strcat): Do not use BP_SYM.
20839 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20840 "bp-asm.h".
20841 (STRCMP): Do not use BP_SYM.
20842 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20843 "bp-asm.h".
20844 (STRCPY): Do not use BP_SYM.
20845 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20846 "bp-asm.h".
20847 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20848 "bp-asm.h".
20849 (FUNCTION): Do not use BP_SYM.
20850 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20851 weak_alias.
20852 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20853
f238fd19
AJ
208542013-02-17 Andreas Jaeger <aj@suse.de>
20855
20856 * time/Versions: Sort entries.
20857 * string/Versions: Likewise.
20858 * resolv/Versions: Likewise.
20859 * posix/Versions: Likewise.
20860 * iconv/Versions: Likewise.
20861 * elf/Versions: Likewise.
20862 * wcsmbs/Versions: Likewise.
20863
bd07f23c 208642013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20865
22af19f9
SP
20866 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20867 loop termination condition.
20868
4709fe76
SP
20869 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20870 variable to calculate EZ.
20871 (__sqr): Likewise.
2d0e0f29
SP
20872
20873 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20874 the lower precision input.
20875
daaa7713
JM
208762013-02-15 Joseph Myers <joseph@codesourcery.com>
20877
20878 [BZ #13550]
20879 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20880 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20881 (run-via-rtld-prefix): Do not handle %-bp tests.
20882 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20883 (all-object-suffixes): Remove .ob.
20884 (bppfx): Remove variable.
20885 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20886 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20887 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20888 [$(build-bounded) = yes] (libtype.ob): Likewise.
20889 * Makerules (elide-routines.ob): Remove variable.
20890 (do-tests-clean): Do not handle *-bp.out.
20891 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20892 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20893 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20894 (tests): Do not include $(tests-bp.out).
20895 (xtests): Do not include $(xtests-bp.out).
20896 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20897 [$(build-bounded) = yes] ($(addprefix
20898 $(objpfx),$(binaries-bounded))): Remove rule.
20899 ($(objpfx)%-bp.out): Remove rule.
20900 * config.make.in (build-bounded): Remove variable.
20901 * crypt/Makefile [$(build-bounded) = yes]
20902 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20903 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20904 append to variable.
20905 [$(build-bounded) = yes] (install-lib): Likewise.
20906 [$(build-bounded) = yes] (generated): Likewise.
20907 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20908 Remove rule.
20909 * intl/Makefile [$(build-bounded) = yes]
20910 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20911 * math/Makefile [$(build-bounded) = yes]
20912 ($(tests:%=$(objpfx)%-bp): Likewise.
20913 * misc/Makefile [$(build-bounded) = yes]
20914 ($(objpfx)tst-tsearch-bp): Likewise.
20915 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20916 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20917 Remove dependency.
20918 * string/Makefile (o-objects.ob): Remove variable.
20919 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20920 (CFLAGS-.ob): Remove variable.
20921 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20922 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20923 both definitions of variable.
20924 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20925 (ASFLAGS-.ob): Remove variable.
20926
e97ed6dd
JM
209272013-02-14 Joseph Myers <joseph@codesourcery.com>
20928
2bdd4ca6
JM
20929 [BZ #13550]
20930 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20931 Remove __BOUNDED_POINTERS__ from condition.
20932 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20933 * string/bits/string2.h [!__NO_STRING_INLINES &&
20934 !__BOUNDED_POINTERS__]: Likewise.
20935 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20936 Likewise.
20937 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20938 Remove conditional code.
20939 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20940 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20941 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20942 condition.
20943
e97ed6dd
JM
20944 [BZ #13550]
20945 * csu/libc-start.c: Do not include <bp-sym.h>.
20946 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20947 * elf/dl-open.c: Do not include <bp-sym.h>.
20948 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20949 * math/fegetenv.c: Do not include <bp-sym.h>.
20950 (fegetenv): Do not use BP_SYM in versioned symbols.
20951 * nptl/sysdeps/pthread/bits/libc-lockP.h
20952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20953 <bp-sym.h>.
20954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20955 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20957 (__pthread_mutex_destroy): Likewise.
20958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20959 (__pthread_mutex_lock): Likewise.
20960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20961 (__pthread_mutex_trylock): Likewise.
20962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20963 (__pthread_mutex_unlock): Likewise.
20964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20965 (__pthread_mutexattr_init): Likewise.
20966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20967 (__pthread_mutexattr_destroy): Likewise.
20968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20969 (__pthread_mutexattr_settype): Likewise.
20970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20971 (__pthread_rwlock_init): Likewise.
20972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20973 (__pthread_rwlock_destroy): Likewise.
20974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20975 (__pthread_rwlock_rdlock): Likewise.
20976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20977 (__pthread_rwlock_tryrdlock): Likewise.
20978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20979 (__pthread_rwlock_wrlock): Likewise.
20980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20981 (__pthread_rwlock_trywrlock): Likewise.
20982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20983 (__pthread_rwlock_unlock): Likewise.
20984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20985 (__pthread_key_create): Likewise.
20986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20987 (__pthread_setspecific): Likewise.
20988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20989 (__pthread_getspecific): Likewise.
20990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20991 Likewise.
20992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20993 (_pthread_cleanup_push_defer): Likewise.
20994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20995 (_pthread_cleanup_pop_restore): Likewise.
20996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20997 (pthread_setcancelstate): Likewise.
20998 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20999 <bp-sym.h>.
21000 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21001 (memchr): Do not use BP_SYM in weak_alias.
21002 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21003 (fegetenv): Do not use BP_SYM in versioned symbols.
21004 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21005 (fesetenv): Do not use BP_SYM in versioned symbols.
21006 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21007 (feupdateenv): Do not use BP_SYM in versioned symbols.
21008 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21009 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21010 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21011 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21012 (open64): Do not use BP_SYM in weak_alias.
21013 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21014 (fegetenv): Do not use BP_SYM in versioned symbols.
21015 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21016 (fesetenv): Do not use BP_SYM in versioned symbols.
21017 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21018 (feupdateenv): Do not use BP_SYM in versioned symbols.
21019 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21020 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21021 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21022 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21023 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21024 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21025 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21026 <bp-sym.h>.
21027 (__libc_start_main): Do not use BP_SYM.
21028
d6752ccd
SP
210292013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21030
cb57ce60
SP
21031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21032 redundant return line.
21033 (norm): Likewise.
21034 (denorm): Likewise.
21035 (dbl_mp): Likewise.
21036 (sub_magnitudes): Likewise.
21037 (__add): Likewise.
21038 (__sub): Likewise.
21039 (__mul): Likewise.
21040 (__inv): Likewise.
21041 (__dvd): Likewise.
21042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21043 (norm): Likewise.
21044 (denorm): Likewise.
21045 (dbl_mp): Likewise.
21046 (sub_magnitudes): Likewise.
21047 (__add): Likewise.
21048 (__sub): Likewise.
21049 (__mul): Likewise.
21050 (__inv): Likewise.
21051 (__dvd): Likewise.
21052
f414520d
SP
21053 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21054 instead of __mul.
21055 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21056 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21057 (cc32): Likewise.
21058
d6752ccd
SP
21059 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21060 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21062 of __mul for squares.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21064 function
21065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21066 Likewise.
21067 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21068 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21069
70d9946a
JM
210702013-02-13 Joseph Myers <joseph@codesourcery.com>
21071
21072 [BZ #13550]
21073 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21074 code.
21075 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21076 prototype or function definition. Rename ubp_* variables and
21077 parameters. Remove argv definitions conditional on
21078 [__BOUNDED_POINTERS__].
21079 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21080 * elf/dl-runtime.c (_dl_fixup): Likewise.
21081 * include/set-hooks.h (RUN_HOOK): Likewise.
21082 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21083 definition.
21084 * string/strcpy.c (strcpy): Do not use __unbounded.
21085 * sysdeps/generic/frame.h (struct layout): Likewise.
21086 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21087 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21088 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21089 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21090 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21091 (__backtrace): Likewise.
21092 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21093 use __ptrvalue.
21094 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21095 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21096 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21097 Likewise.
21098 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21099 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21100 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21101 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21102 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21103 Do not use __unbounded.
21104 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21105 Rename __unboundedrlimits parameter to rlimits in prototype.
21106 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21107 Do not use __unbounded.
21108 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21109 not use __ptrvalue.
21110 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21111 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21112 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21113 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21114 __ptrvalue or __unbounded.
21115 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21116 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21117 use __unbounded.
21118 (__new_msgctl): Do not use __ptrvalue.
21119 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21120 __unbounded.
21121 (__libc_msgrcv): Do not use __ptrvalue.
21122 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21123 startup_info): Do not use __unbounded.
21124 (__libc_start_main): Likewise. Rename ubp_* variables and
21125 parameters. Remove argv definitions conditional on
21126 [__BOUNDED_POINTERS__].
21127 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21128 __ptrvalue.
21129 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21130 use __unbounded.
21131 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21132 or __ptrvalue.
21133 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21134 use __unbounded.
21135 (__new_shmctl): Do not use __ptrvalue.
21136 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21137 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21138 Likewise.
21139 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21140 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21141 (__libc_sigaction): Likewise.
21142 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21143 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21144 Likewise.
21145 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21146
cc7834d6
OB
211472013-02-13 Ondřej Bílka <neleai@seznam.cz>
21148
ffb1ec7b 21149 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21150
21151 * string/mempcpy.c: Implement by calling memcpy.
21152
bdf02814
SP
211532013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21154
c2af38aa
SP
21155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21156
4e92d59e
SP
21157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21158 evaluation.
21159
909279a5
SP
21160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21161 values in the mantissa.
21162
bdf02814
SP
21163 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21164 minimize writes to Z.
21165 (sub_magnitudes): Simplify code a bit.
21166
cd525923
RM
211672013-02-12 Roland McGrath <roland@hack.frob.com>
21168
21169 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21170 from the message. The linker prefixes all warnings with that already.
21171
7e2f0d2d
AS
211722013-02-12 Andreas Schwab <schwab@suse.de>
21173
a445af0b
AS
21174 [BZ #15078]
21175 * posix/regexec.c (extend_buffers): Add parameter min_len.
21176 (check_matching): Pass minimum needed length.
21177 (clean_state_log_if_needed): Likewise.
21178 (get_subexp): Likewise.
21179 * posix/Makefile (tests): Add bug-regex34.
21180 (bug-regex34-ENV): Define.
21181 * posix/bug-regex34.c: New file.
21182
7e2f0d2d
AS
21183 [BZ #11561]
21184 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21185 elements compare against the byte sequence of it, not its name.
21186 * posix/Makefile (tests): Add bug-regex35.
21187 (bug-regex35-ENV): Define.
21188 * posix/bug-regex35.c: New file.
21189
a175b684
TV
211902013-02-11 Tom de Vries <tom@codesourcery.com>
21191
21192 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21193 comment.
21194 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21195 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21196 (CHECK_EOL): Add undef.
21197
310998fe 211982013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21199
21200 * bits/stdlib-bsearch.h: New file.
21201 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21202 * stdlib/stdlib.h: Likewise.
41eda41d 21203
8ded91fb
RM
212042013-02-11 Roland McGrath <roland@hack.frob.com>
21205
21206 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21207 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21208 declaration.
21209 * manual/search.texi (Array Search Function): Add missing const in
21210 lfind prototype.
21211 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21212 declaration to use rlim_t.
21213 (Basic Scheduling Functions): Remove erroneous const from
21214 sched_getparam prototype. Remove erroneous * from
21215 sched_get_priority_max and sched_get_priority_min prototypes.
21216 (Resource Usage): Fix summary @comment on vtimes to refer to
21217 sys/vtimes.h rather than vtimes.h.
21218 Add missing *s in vtimes prototype.
21219 (Limits on Resources): Fix ulimit prototype to return long int.
21220 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21221 prototypes to use long int rather than double.
21222 (BSD Random): Fix initstate and setstate to use char *, not void *.
21223 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21224 prototype to make second argument 'struct aiocb64 *const[]'.
21225 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21226 (Status of AIO Operations): Remove erroneous const in aio_return and
21227 aio_return64 prototypes.
21228 (Synchronizing I/O): Fix sync prototype to return void.
21229 * manual/startup.texi (Suboptions): Remove an erroneous const in
21230 getsubopt prototype.
21231 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21232 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21233 use size_t rather than int.
21234 (Scanning All Users): Likewise for getpwent_r.
21235 (Setting Groups): Add missing const to setgroups prototype.
21236 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21237 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21238 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21239 'const void *' rather than 'const char *'.
21240 (Host Address Functions): Likewise for inet_ntop.
21241 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21242 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21243 ssize_t for return value.
21244 (Sending Data): Likewise for send, sendto, sendmsg.
21245 (Socket Option Functions): Add a missing const in setsockopt prototype.
21246 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21247 use wchar_t for the argument.
21248 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21249 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21250 take no arguments.
21251 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21252 double/float/long double for second argument.
21253 Fix return types of significand, significandf, significandl.
21254 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21255 argument in fchmod prototype.
21256 (File Owner): Use uid_t and gid_t in fchown prototype.
21257 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21258 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21259 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21260 use 'const struct dirent **' as argument types to CMP function pointer
21261 argument.
21262 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21263 (File Times): Fix summary magic @comment for struct utimbuf and utime
21264 to refer to utime.h, not time.h.
21265 * manual/string.texi (Argz Functions): Add missing const in
21266 argz_extract and argz_next prototypes.
21267 (Finding Tokens in a String): Likewise for basename.
21268 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21269 (Copying and Concatenation): Fix typo in wmemmove prototype.
21270 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21271 (Signal Stack): Remove erroneous const in sigstack prototype.
21272 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21273 prototype.
21274 (Simple Calendar Time): Likewise for stime.
21275 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21276 prototype.
21277 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21278 say sys/sysctl.h instead.
21279 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21280 and vsyslog prototypes.
21281
fe77fe6d
TV
212822013-02-11 Tom de Vries <tom@codesourcery.com>
21283
21284 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21285 Remove.
21286
3a09b620
RM
212872013-02-11 Roland McGrath <roland@hack.frob.com>
21288
21289 * misc/sys/mman.h: Fix typo in mremap comment.
21290
550a0b89
RM
212912013-02-08 Roland McGrath <roland@hack.frob.com>
21292
21293 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21294 the '\0' terminator.
21295
a2da1673
JM
212962013-02-08 Joseph Myers <joseph@codesourcery.com>
21297
21298 [BZ #13550]
21299 * debug/segfault.c: Don't include <bp-checks.h>.
21300 * sysdeps/generic/bp-checks.h: Remove file.
21301 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21302 (__GETDENTS): Don't use CHECK_N.
21303 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21304 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21305 (__getgroups): Don't use CHECK_N.
21306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21307 (setgroups): Don't use CHECK_N.
21308 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21309 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21310 (__libc_msgrcv): Don't use CHECK_N.
21311 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21312 (__libc_msgsnd): Don't use CHECK_N.
21313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21314 <bp-checks.h>.
21315 (__libc_pread): Don't use CHECK_N.
21316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21317 include <bp-checks.h>.
21318 (__libc_pread64): Don't use CHECK_N.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21320 include <bp-checks.h>.
21321 (__libc_pwrite): Don't use CHECK_N.
21322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21323 include <bp-checks.h>.
21324 (__libc_pwrite64): Don't use CHECK_N.
21325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21326 <bp-checks.h>.
21327 (__libc_pread): Don't use CHECK_N.
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21329 include <bp-checks.h>.
21330 (__libc_pread64): Don't use CHECK_N.
21331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21332 include <bp-checks.h>.
21333 (__libc_pwrite): Don't use CHECK_N.
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21335 include <bp-checks.h>.
21336 (__libc_pwrite64): Don't use CHECK_N.
21337 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21338 (do_pread): Don't use CHECK_N.
21339 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21340 (do_pread64): Don't use CHECK_N.
21341 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21342 (do_pwrite): Don't use CHECK_N.
21343 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21344 (do_pwrite64): Don't use CHECK_N.
21345 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21346 (__libc_readv): Don't use CHECK_N.
21347 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21348 (semop): Don't use CHECK_N.
21349 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21350 <bp-checks.h>.
21351 (semtimedop): Don't use CHECK_N.
21352 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21353 (__libc_pread): Don't use CHECK_N.
21354 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21355 <bp-checks.h>.
21356 (__libc_pread64): Don't use CHECK_N.
21357 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21358 <bp-checks.h>.
21359 (__libc_pwrite): Don't use CHECK_N.
21360 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21361 <bp-checks.h>.
21362 (__libc_pwrite64): Don't use CHECK_N.
21363 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21364 <bp-checks.h>.
21365 (__libc_msgrcv): Don't use CHECK_N.
21366 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21367 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21368 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21369 (__libc_writev): Don't use CHECK_N.
21370
b84660a8
RM
213712013-02-08 Roland McGrath <roland@hack.frob.com>
21372
7f3e75f8
RM
21373 * string/strcpy.c: Removed unused variable.
21374
b84660a8
RM
21375 * Makeconfig (+sysdep-includes): Define with := rather than =.
21376 Use an existing include/ subdir of each sysdeps dir before it.
21377
471514d3
CD
213782013-02-08 Carlos O'Donell <carlos@redhat.com>
21379
21380 * nscd/connection.c (register_traced_file): Comment function.
21381 [HAVE_INOTIFY] (union __inev): Define.
21382 [HAVE_INOTIFY] (inotify_check_files): New function.
21383 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21384 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21385 clear_db_cache.
21386 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21387
b2d3c3be
CD
213882013-02-08 Carlos O'Donell <carlos@redhat.com>
21389
21390 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21391 loaded if not already and that a failure is permanent.
21392
b39949d2
CD
213932013-02-08 Carlos O'Donell <carlos@redhat.com>
21394
ddacd1db 21395 [BZ #15006]
b39949d2
CD
21396 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21397 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21398
b2c9eff4
JM
213992013-02-08 Joseph Myers <joseph@codesourcery.com>
21400
f3aae3f3
JM
21401 [BZ #13550]
21402 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21403 (CHECK_1_NULL_OK): Likewise.
21404 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21405 (__fxstat): Do not use CHECK_1.
21406 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21407 <bp-checks.h>.
21408 (___fxstat64): Do not use CHECK_1.
21409 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21410 <bp-checks.h>.
21411 (__fxstatat): Do not use CHECK_1.
21412 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21413 <bp-checks.h>.
21414 (__fxstatat64): Do not use CHECK_1.
21415 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21416 <bp-checks.h>.
21417 (__fxstat): Do not use CHECK_1.
21418 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21419 <bp-checks.h>.
21420 (__fxstatat): Do not use CHECK_1.
21421 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21422 <bp-checks.h>.
21423 (__getresgid): Do not use CHECK_1.
21424 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21425 <bp-checks.h>.
21426 (__getresuid): Do not use CHECK_1.
21427 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21428 <bp-checks.h>.
21429 (__lxstat): Do not use CHECK_1.
21430 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21431 <bp-checks.h>.
21432 (__old_msgctl): Do not use CHECK_1.
21433 (__new_msgctl): Likewise.
21434 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21435 <bp-checks.h>.
21436 (__new_setrlimit): Do not use CHECK_1.
21437 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21438 <bp-checks.h>.
21439 (__old_shmctl): Do not use CHECK_1.
21440 (__new_shmctl): Likewise.
21441 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21442 <bp-checks.h>.
21443 (__xstat): Do not use CHECK_1.
21444 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21445 (__lxstat): Do not use CHECK_1.
21446 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21447 <bp-checks.h>.
21448 (___lxstat64): Do not use CHECK_1.
21449 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21450 (__old_msgctl): Do not use CHECK_1.
21451 (__new_msgctl): Likewise.
21452 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21453 <bp-checks.h>.
21454 (__gettimeofday): Do not use CHECK_1.
21455 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21456 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21457 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21458 <bp-checks.h>.
21459 (__gettimeofday): Do not use CHECK_1.
21460 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21461 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21462 (__new_shmctl): Do not use CHECK_1.
21463 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21464 <bp-checks.h>.
21465 (do_sigtimedwait): Do not use CHECK_1.
21466 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21467 <bp-checks.h>.
21468 (do_sigwaitinfo): Do not use CHECK_1.
21469 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21470 <bp-checks.h>.
21471 (msgctl): Do not use CHECK_1.
21472 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21473 <bp-checks.h>.
21474 (shmctl): Do not use CHECK_1.
21475 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21476 (ustat): Do not use CHECK_1.
21477 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21478 <bp-checks.h>.
21479 (__fxstat): Do not use CHECK_1.
21480 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21481 <bp-checks.h>.
21482 (__fxstatat): Do not use CHECK_1.
21483 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21484 <bp-checks.h>.
21485 (__lxstat): Do not use CHECK_1.
21486 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21487 <bp-checks.h>.
21488 (__xstat): Do not use CHECK_1.
21489 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21490 (__xstat): Do not use CHECK_1.
21491 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21492 (___xstat64): Do not use CHECK_1.
21493
b2c9eff4
JM
21494 [BZ #13550]
21495 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21496 definitions.
21497 (CHECK_BOUNDS_HIGH): Likewise.
21498 * string/strcpy.c: Do not include <bp-checks.h>.
21499 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21500
f1d70dad
RM
215012013-02-07 Roland McGrath <roland@hack.frob.com>
21502
21503 * nscd/nscd-client.h (__nscd_drop_map_ref):
21504 Add __attribute__ ((unused)).
21505 * nis/nss-nisplus.h (niserr2nss): Likewise.
21506
21507 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21508 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21509
21510 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21511 Remove inline keyword.
21512 * include/rounding-mode.h (round_away): Likewise.
21513 * libio/wfileops.c (adjust_wide_data): Likewise.
21514 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21515 (__m128i_strloadu_tolower): Likewise.
21516 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21517 (__m128i_strloadu_tolower): Likewise.
21518 * time/mktime.c (ydhms_diff): Likewise.
21519 * locale/elem-hash.h (elem_hash): Likewise.
21520 * locale/setlocale.c (setdata): Likewise.
21521 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21522 (re_string_wchar_at): Likewise.
21523 (bitset_not, bitset_merge, bitset_mask): Likewise.
21524 [!(__GNUC__ > 3)] (inline): Remove macro.
21525 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21526 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21527 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21528 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21529 * string/memcmp.c (memcmp_bytes): Likewise.
21530 * locale/programs/locarchive.c (compute_hashval): Likewise.
21531 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21532 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21533 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21534 * nss/getent.c (print_rpc, print_protocols): Likewise.
21535 (print_passwd, print_group, print_aliases): Likewise.
21536 * nis/nss-nisplus.h (niserr2nss): Likewise.
21537 * nscd/connections.c (restart_p): Likewise.
21538 Change return type to bool.
21539
eab55bfb
RM
215402013-02-05 Roland McGrath <roland@hack.frob.com>
21541
7bd642f5
RM
21542 * Makeconfig (all-Depend-files): Add existing
21543 $(sorted-subdirs:=/Depend) files.
21544 (all-subdirs): Remove nss.
21545 * sysdeps/unix/inet/Subdirs: Add it here instead.
21546 * hesiod/Depend: New file.
21547
573c29b2
RM
21548 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21549 instead of calling alloca.
21550
b2e25af0
RM
21551 * io/lseek.c (__lseek): Rename to __libc_lseek.
21552 Define __lseek as an alias.
21553
eab55bfb
RM
21554 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21555
9a0d1941
CD
215562013-02-04 Carlos O'Donell <carlos@redhat.com>
21557
21558 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21559 else clause and remove check for non-standard endianness.
21560
b83bbec4
DM
215612013-02-04 David S. Miller <davem@davemloft.net>
21562
21563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21564
6277fdab
JM
215652013-02-04 Joseph Myers <joseph@codesourcery.com>
21566
21567 [BZ #13550]
21568 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21569 (__ubp_memchr): Remove prototype.
21570 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21571 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21572 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21573 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21574 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21575 Remove alias.
21576 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21577 (__ubp_memchr): Likewise.
21578 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21579 (__ubp_memchr): Likewise.
21580 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21581 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21582 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21583 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21584 CHECK_STRING.
21585 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21586 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21587 (__getcwd): Do not use CHECK_STRING.
21588 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21589 <bp-checks.h>.
21590 (__real_chown): Do not use CHECK_STRING.
21591 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21592 <bp-checks.h>.
21593 (fchownat): Do not use CHECK_STRING.
21594 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21595 CHECK_STRING.
21596 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21597 <bp-checks.h>.
21598 (__lchown): Do not use CHECK_STRING.
21599 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21600 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21601 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21602 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21604 include <bp-checks.h>.
21605 (truncate64): Do not use CHECK_STRING.
21606 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21607 <bp-checks.h>.
21608 (__real_chown): Do not use CHECK_STRING.
21609 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21610 <bp-checks.h>.
21611 (__lchown): Do not use CHECK_STRING.
21612 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21613 <bp-checks.h>.
21614 (__chown): Do not use CHECK_STRING.
21615 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21616 <bp-checks.h>.
21617 (truncate64): Do not use CHECK_STRING.
21618 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21619 Likewise.
21620 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21621 (__xmknod): Do not use CHECK_STRING.
21622 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21623 <bp-checks.h>.
21624 (__xmknodat): Do not use CHECK_STRING.
21625 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21626 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21627
903ae060
AS
216282013-02-04 Andreas Schwab <schwab@suse.de>
21629
21630 [BZ #14142]
21631 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21632 * include/netdb.h: Likewise for h_errno.
21633 * elf/tst-stackguard1.c: Include <tls.h>.
21634
542f9466
JK
216352013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21636
21637 * elf/link.h (struct link_map): Extend the l_addr comment.
21638 * include/link.h (struct link_map): Likewise.
21639
e782a927
JM
216402013-02-01 Joseph Myers <joseph@codesourcery.com>
21641
21642 [BZ #13550]
21643 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21644 (BOUNDED_1): Remove macro.
21645 * debug/backtrace.c: Don't include <bp-checks.h>.
21646 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21647 (__backtrace): Likewise.
21648 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21649 <bp-checks.h>.
21650 (__backtrace): Don't use BOUNDED_1.
21651 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21652 <bp-checks.h>.
21653 (__backtrace): Don't use BOUNDED_1.
21654 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21655 (__backtrace): Don't use BOUNDED_1.
21656 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21657 (shmat): Don't use BOUNDED_N.
21658
8cf28c5e
JM
216592013-01-31 Joseph Myers <joseph@codesourcery.com>
21660
3a7ac8a0
JM
21661 [BZ #13550]
21662 * sysdeps/generic/bp-start.h: Remove file.
21663 * csu/libc-start.c: Don't include <bp-start.h>.
21664 (LIBC_START_MAIN): Set up __environ directly instead of using
21665 INIT_ARGV_and_ENVIRON.
21666 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21667 <bp-start.h>.
21668
f3499f95
JM
21669 [BZ #13550]
21670 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21671 definitions.
21672 (CHECK_FCNTL): Likewise.
21673 (CHECK_N_PAGES): Likewise.
21674
32a45bea
JM
21675 [BZ #13550]
21676 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21677 definitions.
21678 (CHECK_SIGSET_NULL_OK): Likewise.
21679 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21680 <bp-checks.h>.
21681 (sigpending): Don't use CHECK_SIGSET.
21682 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21683 <bp-checks.h>.
21684 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21685 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21686 <bp-checks.h>.
21687 (do_sigsuspend): Don't use CHECK_SIGSET.
21688 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21689 use CHECK_SIGSET.
21690 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21691 (do_sigwait): Don't use CHECK_SIGSET.
21692 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21693 use CHECK_SIGSET.
21694 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21695 include <bp-checks.h>.
21696 (sigpending): Don't use CHECK_SIGSET.
21697 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21698 include <bp-checks.h>.
21699 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21700 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21701 <bp-checks.h>.
21702 (sigpending): Don't use CHECK_SIGSET.
21703 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21704 <bp-checks.h>.
21705 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21706
2e8a5c8c
JM
21707 [BZ #13550]
21708 * sysdeps/generic/bp-semctl.h: Remove file.
21709 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21710 <bp-checks.h> and <bp-semctl.h>.
21711 (__old_semctl): Don't use CHECK_SEMCTL.
21712 (__new_semctl): Likewise.
21713 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21714 and <bp-semctl.h>.
21715 (__old_semctl): Don't use CHECK_SEMCTL.
21716 (__new_semctl): Likewise.
21717 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21718 <bp-checks.h> and <bp-semctl.h>.
21719 (__old_semctl): Don't use CHECK_SEMCTL.
21720 (__new_semctl): Likewise.
21721 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21722 <bp-checks.h> and <bp-semctl.h>.
21723 (semctl): Don't use CHECK_SEMCTL.
21724
c2d54929
JM
21725 [BZ #13550]
21726 * Makerules (elide-bp-thunks): Remove variable.
21727 (elide-routines.oS): Don't use $(elide-bp-thunks).
21728 (elide-routines.os): Likewise.
21729 (elide-routines.o): Likewise.
21730 (elide-routines.op): Likewise.
21731 (elide-routines.og): Likewise.
21732 (objects): Don't use $(bp-thunks).
21733 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21734 include.
21735 (common-generated): Do not add s-proto-bp.d.
21736 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21737 (int): Likewise.
21738 (typ): Likewise.
21739 Do not generate makefile rules for bounded-pointer thunks.
21740 * sysdeps/generic/bp-thunks.h: Remove file.
21741 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21742 * sysdeps/unix/s-proto-bp.S: Likewise.
21743
8cf28c5e
JM
21744 [BZ #15062]
21745 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21746 parts of result separately when argument is not close to line from
21747 -i to i and one part of argument is small.
21748 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21749 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21750 * math/libm-test.inc (cacos_test): Add more tests.
21751 (casin_test): Likewise.
21752 (casinh_test): Likewise.
21753 * sysdeps/i386/fpu/libm-test-ulps: Update.
21754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21755
c4e33b8d
DM
217562013-01-31 David S. Miller <davem@davemloft.net>
21757
21758 * po/de.po: Update from translation team.
21759
3b60b421
MK
217602013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21761
21762 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21763
bb931195
TS
217642013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21765
b5a5da23
TS
21766 * configure.in (_AC_PROG_CC_C89): New definition.
21767 * configure: Regenerate.
21768
bb931195
TS
21769 * configure.in (AC_PROG_CPP): New definition.
21770 * configure: Regenerate.
21771
8c53a12c
JM
217722013-01-23 Joseph Myers <joseph@codesourcery.com>
21773
21774 * debug/tst-backtrace.h: New file.
21775 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21776 (ret): Remove variable.
21777 (x): Likewise.
21778 (FAIL): Remove macro.
21779 (NO_INLINE): Likewise.
21780 (fn1): Use match function instead of strstr.
21781 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21782 (ret): Remove variable.
21783 (x): Likewise.
21784 (FAIL): Remove macro.
21785 (NO_INLINE): Likewise.
21786 (fn): Use match function instead of strstr.
21787 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21788 (ret): Remove variable.
21789 (x): Likewise.
21790 (FAIL): Remove macro.
21791 (NO_INLINE): Likewise.
21792 (handle_signal): Use match function instead of strstr.
21793 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21794 (ret): Remove variable.
21795 (x): Likewise.
21796 (FAIL): Remove macro.
21797 (NO_INLINE): Likewise.
21798 (handle_signal): Use match function instead of strstr.
21799
4858fa2a
RM
218002013-01-23 Roland McGrath <roland@hack.frob.com>
21801
21802 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21803
bae8e7f5
DM
218042013-01-23 David S. Miller <davem@davemloft.net>
21805
21806 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21807 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21808 argument of CAS if possible.
21809 * sysdeps/sparc/sparc64/bits/atomic.h
21810 (__arch_compare_and_exchange_val_32_acq): Likewise.
21811 (__arch_compare_and_exchange_val_64_acq): Likewise.
21812
9cbbc4ae
PT
218132013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21814
21815 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21816 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21817 Include <limits.h>.
67b3f58c 21818 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21819
5655a0b5
AC
218202013-01-23 Adam Conrad <adconrad@0c3.net>
21821
21822 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21823 (LDFLAGS-tst-array5): Likewise.
21824
052aff95
JM
218252013-01-23 Joseph Myers <joseph@codesourcery.com>
21826
21827 [BZ #15036]
21828 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21829 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21830 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21831 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21832
7c1e01aa
DM
218332013-01-21 David S. Miller <davem@davemloft.net>
21834
21835 * sysdeps/sparc/backtrace.c: New file.
21836 * sysdeps/sparc/sparc32/backtrace.h: New file.
21837 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21838 * sysdeps/sparc/sparc64/backtrace.h: New file.
21839 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21840 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21841 -funwind-tables.
21842
ab087e0a
AS
218432013-01-21 Andreas Schwab <schwab@suse.de>
21844
21845 [BZ #15020]
21846 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21847 closed its stdout.
21848
ed689c2f
AS
218492013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21850
21851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21852 "mpa2.h".
21853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21854
31d470ac
JM
218552013-01-18 Joseph Myers <joseph@codesourcery.com>
21856 Mark Mitchell <mark@codesourcery.com>
21857 Tom de Vries <tom@codesourcery.com>
21858 Paul Pluzhnikov <ppluzhnikov@google.com>
21859
21860 * debug/tst-backtrace2.c: New file.
21861 * debug/tst-backtrace3.c: Likewise.
21862 * debug/tst-backtrace4.c: Likewise.
21863 * debug/tst-backtrace5.c: Likewise.
21864 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21865 (CFLAGS-tst-backtrace3.c): Likewise.
21866 (CFLAGS-tst-backtrace4.c): Likewise.
21867 (CFLAGS-tst-backtrace5.c): Likewise.
21868 (LDFLAGS-tst-backtrace2): Likewise.
21869 (LDFLAGS-tst-backtrace3): Likewise.
21870 (LDFLAGS-tst-backtrace4): Likewise.
21871 (LDFLAGS-tst-backtrace5): Likewise.
21872 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21873 tst-backtrace4 and tst-backtrace5.
21874
90567f30 218752013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21876 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21877
21878 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21879 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21880 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21881 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21883 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21884 "+r" and remove output regs list as redundant. Add explicit inline
21885 asm to specify register of return val to work around compiler codegen
21886 bug. Remove (int) cast on return value. Add return type parameter to
21887 use in macro so that this macro does not truncate return value for
21888 64-bit values.
21889 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21890 pass to INTERNAL_VSYSCALL_NCS.
21891 (INLINE_VSYSCALL): Add 'long int' as return type to
21892 INTERNAL_VSYSCALL_NCS macro invocation.
21893 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21894 INTERNAL_VSYSCALL_NCS macro invocation.
21895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21896
d3b9ea61
SP
218972013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21898
0b57daeb
SP
21899 [BZ #14496]
21900 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21901 Fix application of SIMD FP exception mask.
21902
caa99d06
SP
21903 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21904 mp_no from a power of two.
21905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21906 __mpexp_twomm1. Use __pow_mp.
21907
d3b9ea61
SP
21908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21909 multiplication.
21910
1dbaee3c
DM
219112013-01-17 David S. Miller <davem@davemloft.net>
21912
21913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21914
728d7b43
JM
219152013-01-17 Joseph Myers <joseph@codesourcery.com>
21916
21917 [BZ #15023]
21918 * include/complex.h: Condition contents on [!_COMPLEX_H].
21919 (__kernel_casinhf): New prototype.
21920 (__kernel_casinh): Likewise.
21921 (__kernel_casinhl): Likewise.
21922 * math/Makefile (libm_calls): Add k_casinh.
21923 * math/k_casinh.c: New file.
21924 * math/k_casinhf.c: Likewise.
21925 * math/k_casinhl.c: Likewise.
21926 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21927 finite nonzero arguments.
21928 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21929 finite nonzero arguments.
21930 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21931 finite nonzero arguments.
21932 * math/s_casinh.c: Do not include <float.h>.
21933 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21934 * math/s_casinhf.c: Do not include <float.h>.
21935 (__casinhf): Move code for finite nonzero arguments to
21936 k_casinhf.c.
21937 * math/s_casinhl.c: Do not include <float.h>.
21938 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21939 redefine.
21940 (__casinhl): Move code for finite nonzero arguments to
21941 k_casinhl.c.
21942 * math/libm-test.inc (cacos_test): Add more tests.
21943 * sysdeps/i386/fpu/libm-test-ulps: Update.
21944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21945
2a26ef3a
PT
219462013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21947
21948 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21949 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21950 [!HAVE_MREMAP]: Remove [defined linux] case.
21951 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21952
a897655d
SP
219532013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21954
21955 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21956
881ebe89 219572013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21958
21959 * elf/elf.h (R_386_SIZE32): New relocation.
21960 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21961 R_386_SIZE32.
21962 (elf_machine_rela): Likewise.
21963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21964 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21965
59981e9b
JM
219662013-01-17 Joseph Myers <joseph@codesourcery.com>
21967
21968 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21969 (FP_FAST_FMA): Do not define.
21970 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21971 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21972 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21973 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21974 !_SOFT_FLOAT]: Likewise.
21975 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21976 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21977 value.
21978 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21979 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21980 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21981 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21982 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21983 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21984 file.
21985
cfa8054f
AS
219862013-01-16 Andreas Schwab <schwab@suse.de>
21987
21988 [BZ #14327]
21989 * include/stdlib.h (__mktemp): Add declaration.
21990 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21991 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21992
dd930cc5
SP
219932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21994
881ebe89
SP
21995 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21996 definitions.
21997 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21998 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21999 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22000 definitions here.
22001 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22002 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22003 definitions.
22004 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22005 and ONE.
22006 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22007 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22008 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22009 definitions.
22010 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22011 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22012 definitions.
22013 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22014
dd930cc5
SP
22015 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22016
c19a9f89
DM
220172013-01-15 David S. Miller <davem@davemloft.net>
22018
1aa61767
DM
22019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22020 trunc{,f} to libm-sysdep_routes.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22023 file.
22024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22026 file.
22027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22028 file.
22029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22031 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22032 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22033 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22034 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22035 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22036 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22037
c42d5e98
DM
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22039 nearbyint{,f} to libm-sysdep_routes.
22040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22042 New file.
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22044 file.
22045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22046 New file.
22047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22048 file.
22049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22051 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22052 file.
22053 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22054 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22055 file.
22056 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22057 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22058 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22059
c19a9f89
DM
22060 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22061 libc_feholdexcept and libc_fesetenv.
22062
357679d2
MF
220632013-01-15 Mike Frysinger <vapier@gentoo.org>
22064
22065 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22066
65a82e3d
DM
220672013-01-14 David S. Miller <davem@davemloft.net>
22068
8b954ab9
DM
22069 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22070 (SPARC_ASM_VIS2_IFUNC): Likewise.
22071 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22073 use of 'siam' instruction.
22074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22075 Likewise.
22076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22077 Likewise.
22078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22079 Likewise.
22080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22085 file.
22086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22087 file.
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22089 file.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22091 file.
22092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22097 new VIS2 routines.
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22101 Likewise.
22102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22107 routines to libm-sysdep_routines.
22108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22109
65a82e3d
DM
22110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22111 fdim/fdimf to libm-sysdep_routines.
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22113 file.
22114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22116 file.
22117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22120 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22121 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22122 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22123 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22124
e34ab705
SP
221252013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22126
2a91b573
SP
22127 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22128 to optimize copies.
22129
1066a534
SP
22130 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22133
e34ab705
SP
22134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22135 local variable MPTWO.
22136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22137 Likewise.
22138
aba5e596
MF
221392013-01-13 Mike Frysinger <vapier@gentoo.org>
22140
22141 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22142 GLOB_NOESCAPE.
22143
e557e9e5
MF
221442013-01-13 Mike Frysinger <vapier@gentoo.org>
22145
22146 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22147
0428cec9
MF
221482013-01-13 Mike Frysinger <vapier@gentoo.org>
22149
22150 * manual/pattern.texi (glob_t): Document gl_flags.
22151 (glob64_t): Likewise.
22152
8794a964
DM
221532013-01-11 David S. Miller <davem@davemloft.net>
22154
66438c3f
RM
22155 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22156 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22157 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22158 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22159 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22160 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22161 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22162 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22163 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22164 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22165 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22166 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22167 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22168
4ae4244d
DM
22169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22170 sparc V9 rather than using V8 code.
22171 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22172 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22173
8794a964
DM
22174 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22175 Move to...
22176 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22177 Here.
22178
6270516e
RM
221792013-01-11 Roland McGrath <roland@hack.frob.com>
22180
22181 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22182 not in the main loop.
22183 * configure: Regenerated.
22184
6a57d931
JM
221852013-01-11 Joseph Myers <joseph@codesourcery.com>
22186
22187 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22188 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22189 to just #else.
22190 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22191 [!__GLIBC_HAVE_LONG_LONG] case.
22192 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22193 condition to just #else.
22194 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22195 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22196 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22197 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22198 unconditional.
22199 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22200 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22201 #elif condition to just #else.
22202 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22203 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22204 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22205 #elif condition to just #else.
22206
0e8529e9
SE
222072013-01-11 Steve Ellcey <sellcey@mips.com>
22208
22209 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22210 (EF_MIPS_ARCH_64): Fix value.
22211 (EF_MIPS_ARCH_32R2): New.
22212 (EF_MIPS_ARCH_64R2): New.
22213
740b3dbe
L
222142013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22215
22216 * Makeconfig (+link-pie-before-libc): New.
22217 (+link-pie-after-libc): Likewise.
22218 (+link-pie-tests): Likewise.
22219 (+link-pie): Rewritten.
22220 (link-before-libc): Remove $(config-LDFLAGS).
22221 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22222 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22223 (config-LDFLAGS): Renamed to ...
22224 (rtld-LDFLAGS): This.
22225 (rtld-tests-LDFLAGS): New macro.
22226 (link-libc-rpath-link): Likewise.
22227 (link-libc-tests-rpath-link): Likewise.
22228 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22229 (link-libc): Prepand $(link-libc-rpath-link).
22230 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22231 (test-program-prefix): New macro.
22232 (test-via-rtld-prefix): Likewise.
22233 (test-program-cmd): Likewise.
22234 (host-test-program-cmd): Likewise.
22235 * Makefile ($(common-objpfx)testrun.sh): Replace
22236 $(run-program-prefix) with $(test-program-prefix).
22237 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22238 $(rtld-LDFLAGS).
22239 ($(common-objpfx)shlib.lds): Likewise.
22240 (build-module-helper): Likewise.
22241 ($(common-objpfx)format.lds): Likewise.
22242 * Rules (binaries-pie-tests): New.
22243 (binaries-pie-notests): Likewise.
22244 (binaries-pie): Rewritten.
22245 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22246 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22247 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22248 (make-test-out): Replace $(host-built-program-cmd) with
22249 $(host-test-program-cmd).
22250 * config.make.in (build-hardcoded-path-in-tests): New variable.
22251 * configure.in (--enable-hardcoded-path-in-tests): New configure
22252 option.
22253 (hardcoded_path_in_tests): New AC_SUBST.
22254 * configure: Regenerated.
22255 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22256 $(built-program-cmd) with $(test-program-cmd).
22257 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22258 (test_program_cmd): This.
22259 * elf/Makefile ($(objpfx)order.out): Run test with
22260 $(test-program-prefix).
22261 ($(objpfx)order2.out): Likewise.
22262 ($(objpfx)tst-initorder.out): Likewise.
22263 ($(objpfx)tst-initorder2.out): Likewise.
22264 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22265 $(test-program-cmd).
22266 ($(objpfx)tst-array1-static.out): Likewise.
22267 ($(objpfx)tst-array2.out): Likewise.
22268 ($(objpfx)tst-array3.out): Likewise.
22269 ($(objpfx)tst-array4.out): Likewise.
22270 ($(objpfx)tst-array5.out): Likewise.
22271 ($(objpfx)tst-array5-static.out): Likewise.
22272 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22273 $(test-program-cmd).
22274 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22275 $(run-program-prefix) with $(test-program-prefix).
22276 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22277 (test_program_prefix): This.
22278 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22279 $(run-program-prefix) with $(test-program-prefix).
22280 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22281 (test_program_prefix): This.
22282 * iconvdata/tst-tables.sh: Likewise.
22283 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22284 $(run-program-prefix) with $(test-program-prefix).
22285 ($(objpfx)tst-translit.out): Likewise.
22286 ($(objpfx)tst-gettext2.out): Likewise.
22287 ($(objpfx)tst-gettext4.out): Likewise.
22288 ($(objpfx)tst-gettext6.out): Likewise.
22289 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22290 (test_program_prefix): This.
22291 * intl/tst-gettext2.sh: Likewise.
22292 * intl/tst-gettext4.sh Likewise.
22293 * intl/tst-gettext6.sh: Likewise.
22294 * intl/tst-translit.sh: Likewise.
22295 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22296 with $(test-program-cmd).
22297 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22298 $(run-program-prefix) with $(test-program-prefix).
22299 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22300 (test_program_prefix): This.
22301 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22302 $(run-program-prefix) with $(test-program-prefix).
22303 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22304 (test_program_prefix): This.
22305 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22306 * posix/Makefile ($(objpfx)globtest.out): Replace
22307 $(run-via-rtld-prefix) and $(test-wrapper) with
22308 $(test-program-prefix) and $(test-via-rtld-prefix).
22309 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22310 $(test-program-prefix).
22311 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22312 $(host-test-program-cmd).
22313 (tst-spawn-ARGS): Likewise.
22314 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22315 $(test-program-prefix).
22316 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22317 (test_via_rtld_prefix): This.
22318 (test_wrapper): Renamed to ...
22319 (test_program_prefix): This.
22320 (run_program_prefix): Replaced by test_program_prefix.
22321 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22322 (test_program_prefix): This.
22323 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22324 with $(host-test-program-cmd).
22325 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22326 $(run-program-prefix) with $(test-program-prefix).
22327 ($(objpfx)tst-printf.out): Likewise.
22328 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22329 $(test-program-cmd).
22330 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22331 (test_program_prefix): This.
22332 * stdio-common/tst-unbputc.sh: Likewise.
22333 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22334 $(run-program-prefix) with $(test-program-prefix).
22335 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22336 (test_program_prefix): This.
22337 * string/Makefile ($(objpfx)tst-svc.out): Replace
22338 $(built-program-cmd) with $(test-program-cmd).
22339
c6fe55cf
AJ
223402013-01-11 Andreas Jaeger <aj@suse.de>
22341
22342 [BZ #15003]
22343 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22344 value. Sync with Linux 3.7.
22345
9e6919c8
DM
223462013-01-10 David S. Miller <davem@davemloft.net>
22347
22348 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22349 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22350 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22351
1c9f1a02
RM
223522013-01-10 Roland McGrath <roland@hack.frob.com>
22353
22354 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22355 never set.
22356 * configure: Regenerated.
22357
b9de2dde
DM
223582013-01-10 David S. Miller <davem@davemloft.net>
22359
22360 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22361 sparc V9 rather than using V8 code.
22362 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22363 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22364
e7f68ef4
RM
223652013-01-10 Roland McGrath <roland@hack.frob.com>
22366
22367 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22368 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22369 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22370 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22371 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22372 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22373 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22374 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22375 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22376 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22377 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22378 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22379 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22380 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22381 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22382 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22383 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22384 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22385 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22386 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22387 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22388 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22389 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22390 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22391 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22392 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22393 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22394
5a47cc9c
DM
223952013-01-10 David S. Miller <davem@davemloft.net>
22396
22397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22398
4cf8f209
L
223992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22400
22401 * posix/Makefile (tests-static): New variable.
22402 (tests): Add $(tests-static).
22403 (tst-exec-static-ARGS): New variable.
22404 (tst-spawn-static-ARGS): Likewise.
22405 * posix/tst-exec-static.c: New file.
22406 * posix/tst-spawn-static.c: Likewise.
22407 * posix/tst-exec.c: Support run directly.
22408 * posix/tst-spawn.c: Likewise.
22409
fed0faa1
JM
224102013-01-10 Joseph Myers <joseph@codesourcery.com>
22411
828beb13
JM
22412 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22413 long.
22414 * math/bits/mathcalls.h (llrint): Likewise.
22415 (llround): Likewise.
22416 * stdlib/stdlib.h (struct drand48_data): Likewise.
22417 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22418 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22419 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22420 Likewise.
22421 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22422 Likewise.
22423 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22424 (elf_greg_t): Likewise.
22425 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22426 (__jmp_buf): Likewise.
22427 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22428 definitions.
22429 (llrint): Likewise, for all definitions.
22430 (llrintl): Likewise.
22431
fed0faa1
JM
22432 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22433 Remove [__GNUC__] condition.
22434 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22435 condition to just [__USE_ISOC99].
22436 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22437
1a20cb20
L
224382013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22439
22440 [BZ #14200]
22441 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22442 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22443 defined.
22444 (_POSIX_V6_ILP32_OFF32): Likewise.
22445 (_XBS5_ILP32_OFF32): Likewise.
22446 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22447 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22448
751b85f7
SP
224492013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22450
7490eb81
SP
22451 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22452
751b85f7
SP
22453 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22454 doubles __mpexp_twomm1. Adjust usage.
22455 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22456 Remove.
22457
988197f0
AS
224582013-01-10 Andreas Schwab <schwab@suse.de>
22459
22460 [BZ #14964]
22461 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22462 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22463
e83d7298
DM
224642013-01-09 David S. Miller <davem@davemloft.net>
22465
034ed64b 22466 [BZ #15003]
57f41c40
AS
22467 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22468 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22469 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22470 (TCP_FASTOPEN): Define.
e83d7298
DM
22471 (tcp_repair_opt): New structure.
22472 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22473 enum values.
57f41c40
AS
22474 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22475 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22476 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22477 (tcp_cookie_transactions): New structure.
22478
d5e0b9bd
AB
224792013-01-09 Anton Blanchard <anton@samba.org>
22480
22481 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22482 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22483 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22484 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22485
0c07e3ea
JM
224862013-01-09 Joseph Myers <joseph@codesourcery.com>
22487
22488 * include/features.h (__USE_ANSI): Remove.
22489
232f7002
RM
224902013-01-09 Roland McGrath <roland@hack.frob.com>
22491
ad98e30c
RM
22492 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22493
232f7002
RM
22494 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22495
950c99ca
SP
224962013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22497
b5792741
SP
22498 * sysdeps/s390/fpu/libm-test-ulps: Update.
22499
47cf2278
SP
22500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22501
950c99ca
SP
22502 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22503 (__acr): Likewise.
22504 (__cpy): Likewise.
22505 (norm): Likewise.
22506 (denorm): Likewise.
22507 (__mp_dbl): Likewise.
22508 (__dbl_mp): Likewise.
22509 (add_magnitudes): Likewise.
22510 (sub_magnitudes): Likewise.
22511 (__add): Likewise.
22512 (__sub): Likewise.
22513 (__mul): Likewise.
22514 (__inv): Likewise.
22515 (__dvd): Likewise.
22516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22517 (__acr): Likewise.
22518 (__cpy): Likewise.
22519 (norm): Likewise.
22520 (denorm): Likewise.
22521 (__mp_dbl): Likewise.
22522 (__dbl_mp): Likewise.
22523 (add_magnitudes): Likewise.
22524 (sub_magnitudes): Likewise.
22525 (__add): Likewise.
22526 (__sub): Likewise.
22527 (__mul): Likewise.
22528 (__inv): Likewise.
22529 (__dvd): Likewise.
22530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22531 (__acr): Likewise.
22532 (__cpy): Likewise.
22533 (norm): Likewise.
22534 (denorm): Likewise.
22535 (__mp_dbl): Likewise.
22536 (__dbl_mp): Likewise.
22537 (add_magnitudes): Likewise.
22538 (sub_magnitudes): Likewise.
22539 (__add): Likewise.
22540 (__sub): Likewise.
22541 (__mul): Likewise.
22542 (__inv): Likewise.
22543 (__dvd): Likewise.
22544
eede9df9
JM
225452013-01-08 Joseph Myers <joseph@codesourcery.com>
22546
22547 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22548 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22549 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22550 2 && __USE_EXTERN_INLINES]: Likewise.
22551
c40ea3d9
AJ
225522013-01-08 Andreas Jaeger <aj@suse.de>
22553
22554 [BZ# 14985]
22555 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22556 Remove.
22557 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22558 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22559
2ccdea26
AB
225602013-01-07 Anton Blanchard <anton@samba.org>
22561
22562 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22563 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22564 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22565 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22566 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22567 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22568 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22569 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22571 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22572 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22573 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22574 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22575 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22576 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22577 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22578 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22579 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22580 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22581 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22582 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22583 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22584 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22585 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22586 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22587 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22588 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22589 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22590 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22591 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22592 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22594 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22595 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22596 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22598 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22599 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22600 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22601 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22602 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22604 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22605
a9708fed
JM
226062013-01-07 Joseph Myers <joseph@codesourcery.com>
22607
375607b9
JM
22608 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22609 (__MALLOC_PMT): Likewise.
22610 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22611 [__GNUC__], only on [_LIBC].
22612 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22613 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22614 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22615 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22616 forward declaration.
22617 (realloc_hook_ini): Likewise.
22618 (memalign_hook_ini): Likewise.
22619 (__libc_memalign): Do not use __MALLOC_PMT in variable
22620 declaration.
22621 (__libc_valloc): Likewise.
22622 (__libc_pvalloc): Likewise.
22623 (__libc_calloc): Likewise.
22624 (__posix_memalign): Likewise.
22625
a9708fed
JM
22626 [BZ #14996]
22627 * math/s_casinh.c: Include <float.h>.
22628 (__casinh): Do not do computation with squaring and square root
22629 for large arguments.
22630 * math/s_casinhf.c: Include <float.h>.
22631 (__casinhf): Do not do computation with squaring and square root
22632 for large arguments.
22633 * math/s_casinhl.c: Include <float.h>.
22634 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22635 (__casinhl): Do not do computation with squaring and square root
22636 for large arguments.
22637 * math/libm-test.inc (casin_test): Add more tests.
22638 (casinh_test): Likewise.
22639 * sysdeps/i386/fpu/libm-test-ulps: Update.
22640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22641
afec409a
L
226422013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22643
22644 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22645 (__x86_64_raw_data_cache_size): Likewise.
22646 (__x86_64_data_cache_size_half): Likewise.
22647 (__x86_64_raw_data_cache_size_half): Likewise.
22648 (__x86_64_shared_cache_size): Likewise.
22649 (__x86_64_raw_shared_cache_size): Likewise.
22650 (__x86_64_shared_cache_size_half): Likewise.
22651 (__x86_64_raw_shared_cache_size_half): Likewise.
22652 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22653 to ...
22654 (__x86_data_cache_size): This.
22655 (__x86_64_raw_data_cache_size): Renamed to ...
22656 (__x86_raw_data_cache_size): This.
22657 (__x86_64_data_cache_size_half): Renamed to ...
22658 (__x86_data_cache_size_half): This.
22659 (__x86_64_raw_data_cache_size_half): Renamed to ...
22660 (__x86_raw_data_cache_size_half): This.
22661 (__x86_64_shared_cache_size): Renamed to ...
22662 (__x86_shared_cache_size): This.
22663 (__x86_64_raw_shared_cache_size): Renamed to ...
22664 (__x86_raw_shared_cache_size): This.
22665 (__x86_64_shared_cache_size_half): Renamed to ...
22666 (__x86_shared_cache_size_half): This.
22667 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22668 (__x86_raw_shared_cache_size_half): This.
22669 * sysdeps/x86_64/memcpy.S: Updated.
22670 * sysdeps/x86_64/memset.S: Likewise.
22671 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22672 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22673 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22674
0b3986d0
DM
226752013-01-04 David S. Miller <davem@davemloft.net>
22676
22677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22678
e47686e9
AS
226792013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22680
d643bac1
AS
22681 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22682 1 to avoid redefinition warning.
22683 (__USE_GNU): Don't define.
22684 (init_signaling_nan): Protoize.
22685
e47686e9
AS
22686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22687
b18decba
SP
226882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22689
fffb407f
SP
22690 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22692 (__cpymn): Likewise.
22693 (norm): Remove commented code.
22694 (denorm): Likewise.
22695 (__mp_dbl): Likewise.
22696 (__inv): Likewise.
22697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22698 (__cpymn): Likewise.
22699 (norm): Remove commented code.
22700 (denorm): Likewise.
22701 (__mp_dbl): Likewise.
22702 (__inv): Likewise.
22703
b18decba
SP
22704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22705 mp_no value for 1.0 and 2.0.
22706 (norm): Use RADIXI instead of radixi.d.
22707 (denorm): Likewise.
22708 (__mul): Use 0.0 instead of zero.d.
22709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22710 mp_no value for 1.0 and 2.0.
22711 (norm): Use RADIXI instead of radixi.d.
22712 (denorm): Likewise.
22713 (__mul): Use 0.0 instead of zero.d.
22714
cdc1c96f
JM
227152013-01-04 Joseph Myers <joseph@codesourcery.com>
22716
22717 [BZ #14994]
22718 * math/s_casinh.c (__casinh): Reduce finite argument to first
22719 quadrant then set signs of results at the end.
22720 * math/s_casinhf.c (__casinhf): Likewise.
22721 * math/s_casinhl.c (__casinhl): Likewise.
22722 * math/libm-test.inc (casin_test): Add more tests.
22723 (casinh_test): Likewise.
22724 * sysdeps/i386/fpu/libm-test-ulps: Update.
22725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22726
302913e1
SP
227272013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22728
6420d207
SP
22729 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22730
a9e48ab4
SP
22731 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22732
b7837264
SP
22733 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22734 declarations.
22735 (denorm): Likewise.
22736 (__mp_dbl): Likewise.
22737 (__inv): Likewise.
22738
f8af25d2
SP
22739 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22740 and adjust the header comment.
22741
302913e1
SP
22742 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22743 variable name from declaration.
22744
5d7dd1ca
L
227452013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22746
22747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22748 Initialize COMMON_CPUID_INDEX_7 element.
22749 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22750 (CPUID_RTM): Likewise.
22751 (HAS_RTM): Likewise.
22752 (COMMON_CPUID_INDEX_7): New enum.
22753
2f5f40f4
AS
227542013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22755
22756 [BZ #14981]
22757 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22758 size is zero, record memory as freed.
22759
4056f4a0
AJ
227602013-01-03 Andreas Jaeger <aj@suse.de>
22761
22762 * po/ia.po: Add new Interlingua translation.
22763
ab15736f 227642012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22765
22766 * locale/programs/localedef.c: Fix description of '--posix' flag.
22767
568035b7
JM
227682013-01-02 Joseph Myers <joseph@codesourcery.com>
22769
e6898b8d
JM
22770 * NEWS: Update dates in second copyright notice.
22771 * README: Update copyright dates in example.
22772 * manual/libc.texinfo: Update copyright dates.
22773 * scripts/test-installation.pl: Update copyright date in --version
22774 output.
22775
0e2f9562
JM
22776 * hurd/ctty-input.c: Fix copyright notice formatting.
22777 * hurd/ctty-output.c: Likewise.
22778 * hurd/dtable.c: Likewise.
22779 * hurd/hurd-raise.c: Likewise.
22780 * hurd/hurdprio.c: Likewise.
22781 * hurd/msgportdemux.c: Likewise.
22782 * misc/sys/file.h: Likewise.
22783 * misc/sys/ioctl.h: Likewise.
22784 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22785 * sysdeps/mach/hurd/chdir.c: Likewise.
22786 * sysdeps/mach/hurd/fchdir.c: Likewise.
22787 * sysdeps/mach/hurd/rename.c: Likewise.
22788 * sysdeps/mach/hurd/rmdir.c: Likewise.
22789 * sysdeps/mach/hurd/seekdir.c: Likewise.
22790 * sysdeps/mach/hurd/setsid.c: Likewise.
22791 * sysdeps/posix/wait3.c: Likewise.
22792
568035b7
JM
22793 * All files with FSF copyright notices: Update copyright dates
22794 using scripts/update-copyrights.
22795 * intl/plural.c: Regenerated.
22796 * locale/programs/charmap-kw.h: Likewise.
22797 * locale/programs/locfile-kw.h: Likewise.
22798
da08f647
SP
227992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22800
0f5477af
SP
22801 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22802 four values.
22803
44e0d4c2
SP
22804 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22805 calculation loop and add branch prediction.
22806
4d55b4e5
SP
22807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22808 check access beyond bounds of m1np.
22809
da08f647
SP
22810 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22811 MPTWO.
22812 (__inv): Remove local variable MPTWO to use the global
22813 constant.
22814 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22815 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22816 variable MPTWO.
22817 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22818 MP3HALFS static const.
22819
8e051029
DM
228202013-01-01 David S. Miller <davem@davemloft.net>
22821
22822 * po/ca.po: Update from translation team.
22823
f4cf5f2d
JM
228242013-01-01 Joseph Myers <joseph@codesourcery.com>
22825
22826 * scripts/update-copyrights: New file.
22827 * Makeconfig: Reformat copyright notice.
22828 * ctype/ctype.h: Likewise.
22829 * debug/swprintf_chk.c: Likewise.
22830 * elf/dl-cache.c: Likewise.
22831 * elf/dl-debug.c: Likewise.
22832 * elf/dl-object.c: Likewise.
22833 * grp/initgroups.c: Likewise.
22834 * hurd/Makefile: Likewise.
22835 * hurd/hurd/signal.h: Likewise.
22836 * hurd/hurdfault.c: Likewise.
22837 * hurd/hurdioctl.c: Likewise.
22838 * hurd/hurdlookup.c: Likewise.
22839 * hurd/intr-msg.c: Likewise.
22840 * iconv/gconv_open.c: Likewise.
22841 * libio/swprintf.c: Likewise.
22842 * locale/lc-ctype.c: Likewise.
22843 * locale/nl_langinfo.c: Likewise.
22844 * mach/Machrules: Likewise.
22845 * mach/Makefile: Likewise.
22846 * malloc/obstack.h: Likewise.
22847 * manual/Makefile: Likewise.
22848 * manual/tsort.awk: Likewise.
22849 * misc/bits/stab.def: Likewise.
22850 * nis/nis_print_group_entry.c: Likewise.
22851 * nis/nis_table.c: Likewise.
22852 * nis/nss_compat/compat-pwd.c: Likewise.
22853 * nis/nss_compat/compat-spwd.c: Likewise.
22854 * po/Makefile: Likewise.
22855 * posix/fnmatch.c: Likewise.
22856 * posix/regex.h: Likewise.
22857 * resolv/Makefile: Likewise.
22858 * resolv/nss_dns/dns-network.c: Likewise.
22859 * resolv/res_hconf.c: Likewise.
22860 * scripts/gen-sorted.awk: Likewise.
22861 * soft-fp/soft-fp.h: Likewise.
22862 * stdio-common/printf.h: Likewise.
22863 * stdlib/monetary.h: Likewise.
22864 * stdlib/random.c: Likewise.
22865 * stdlib/random_r.c: Likewise.
22866 * sysdeps/generic/Makefile: Likewise.
22867 * sysdeps/gnu/Makefile: Likewise.
22868 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22874 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22875 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22876 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22879 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22880 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22882 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22883 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22884 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22885 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22889 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22896 * sysdeps/mach/hurd/errnos.awk: Likewise.
22897 * sysdeps/mach/hurd/fork.c: Likewise.
22898 * sysdeps/mach/hurd/getcwd.c: Likewise.
22899 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22900 * sysdeps/mach/hurd/mmap.c: Likewise.
22901 * sysdeps/mach/hurd/utimes.c: Likewise.
22902 * sysdeps/mach/hurd/xmknod.c: Likewise.
22903 * sysdeps/posix/profil.c: Likewise.
22904 * sysdeps/posix/readdir_r.c: Likewise.
22905 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22906 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22907 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22908 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22910 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22911 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22912 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22914 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22915 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22916 * sysdeps/pthread/lio_listio.c: Likewise.
22917 * sysdeps/sparc/dl-procinfo.h: Likewise.
22918 * sysdeps/unix/i386/sysdep.S: Likewise.
22919 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22920 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22921 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22922 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22924 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22925 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22926 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22927 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22928 * sysdeps/wordsize-32/divdi3.c: Likewise.
22929 * time/sys/time.h: Likewise.
22930 * wcsmbs/Makefile: Likewise.
22931
0549fbba
DM
229322013-01-01 David S. Miller <davem@davemloft.net>
22933
a141f1a7
DM
22934 * po/fr.po: Update from translation team.
22935
0549fbba
DM
22936 * catgets/gencat.c: Update copyright year.
22937 * csu/version.c: Likewise.
22938 * debug/catchsegv.sh: Likewise.
22939 * debug/pcprofiledump.c: Likewise.
22940 * debug/xtrace.sh: Likewise.
22941 * elf/ldconfig.c: Likewise.
22942 * elf/ldd.bash.in: Likewise.
22943 * elf/pldd.c: Likewise.
22944 * elf/sotruss.ksh: Likewise.
22945 * elf/sprof.c: Likewise.
22946 * iconv/iconv_prog.c: Likewise.
22947 * iconv/iconvconfig.c: Likewise.
22948 * locale/programs/locale.c: Likewise.
22949 * locale/programs/localedef.c: Likewise.
22950 * login/programs/pt_chown.c: Likewise.
22951 * malloc/memusage.sh: Likewise.
22952 * malloc/memusagestat.c: Likewise.
22953 * malloc/mtrace.pl: Likewise.
22954 * nscd/nscd.c: Likewise.
22955 * nss/getent.c: Likewise.
22956 * nss/makedb.c: Likewise.
22957 * posix/getconf.c: Likewise.
22958
18ea052c
SP
229592012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22960
22961 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22962 numbers.
22963
9c89fca6
MF
229642012-12-30 Mike Frysinger <vapier@gentoo.org>
22965
22966 * math/bits/mathcalls.h (modf): Use __nonnull.
22967
085ec079
SP
229682012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22969
22970 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22971 (split): Use macro CN instead of the bare value.
22972 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22973 could be used.
22974 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22975 instead of the bare value.
22976 (power1): Likewise.
22977
6d9f97e1
SP
229782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22979
d63f73be
SP
22980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22981 __ATAN_TWOM.
22982 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22983
6d9f97e1
SP
22984 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22985 their values.
22986 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22987 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22988 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22989 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22990
4c4febf5
AJ
229912012-12-28 Andreas Jaeger <aj@suse.de>
22992
af5843ef
AJ
22993 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22994 values are from Linux 3.7.
22995
4c4febf5
AJ
22996 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22997 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22998
99136f82
SP
229992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23000
2f216c3c 23001 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23002 TRUE case.
23003
99136f82
SP
23004 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23005 (norm): Likewise.
23006 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23007 variables with preprocessor constants.
23008 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23009 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23010 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23011
7fffbdff
BH
230122012-12-27 Bruno Haible <bruno@clisp.org>
23013
23014 [BZ #14317]
23015 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23016 only if needed.
23017
b76eb5f0
SP
230182012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23019
31a7fe5c
SP
23020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23021 and use variable directly.
23022 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23023
b76eb5f0
SP
23024 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23025 MPONE.
23026 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23027 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23028 variable MPONE.
23029 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23031 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23032 include directive. Remove local variable MPONE.
23033 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23034 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23035 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23036
2c8bfe7d
DM
230372012-12-25 David S. Miller <davem@davemloft.net>
23038
23039 * version.h (RELEASE): Set to "development".
23040 (VERSION): Set to "2.17.90".
23041 * NEWS: Add 2.18 section.
23042
147d03b0
DM
230432012-12-21 David S. Miller <davem@davemloft.net>
23044
23045 * po/hr.po: Update from translation team.
23046
a8ebb2b9
AK
230472012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23048
23049 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23050
95b4f1b6
SE
230512012-12-19 Steve Ellcey <sellcey@mips.com>
23052
b2d94007 23053 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23054
cedb2a90
MS
230552012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23056
23057 * manual/contrib.texi (Contributors): Spelling correction.
23058
bbf527d6
DM
230592012-12-15 David S. Miller <davem@davemloft.net>
23060
23061 * po/ru.po: Update from translation team.
23062
bc38c906
DM
230632012-12-13 David S. Miller <davem@davemloft.net>
23064
85429b1a
DM
23065 * NEWS: Mention IFUNC testsuite enhancements.
23066
d283e353
DM
23067 * po/pl.po: Update from translation team.
23068 * po/bg.po: Likewise.
23069
bc38c906
DM
23070 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23071 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23072
a181b0d7
DM
230732012-12-11 David S. Miller <davem@davemloft.net>
23074
4641d57e
DM
23075 * po/sv.po: Update from translation team.
23076
f7bc6495
DM
23077 * po/vi.po: Update from translation team.
23078
6fc9048f
DM
23079 * po/cs.po: Update from translation team.
23080
a181b0d7
DM
23081 * po/de.po: Update from translation team.
23082 * po/eo.po: Likewise.
23083 * po/nl.po: Likewise.
23084
f70bfe80
SP
230852012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23086
3c8b4190
SP
23087 [BZ #14246]
23088 * manual/argp.texi (Argp Helper Functions): Move node to follow
23089 Argp Parsing State.
23090
f70bfe80
SP
23091 [BZ #14872]
23092 * manual/conf.texi (Limits on File System Capacity): Mention if
23093 terminating null is included in the max size.
23094
188f0adf
AJ
230952012-12-10 Andreas Jaeger <aj@suse.de>
23096
23097 * po/cs.po: Update from translation team.
23098
56e7d3ad
SP
230992012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23100
23101 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23102 void pointer and cast to uintptr_t.
23103 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23104 path.
23105 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23106 * sysdeps/s390/s390-64/memset.S: Likewise.
23107
76f2d2ea 231082012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23109
23110 [BZ #14833]
23111 * menual/message.texi (Message Translation): Fix typos.
23112 (Helper programs for gettext): Likewise.
23113
67cbf9a2
AS
231142012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23115
23116 [BZ #14898]
23117 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23118 Change to -1.
23119
682d0e9a
DM
231202012-12-07 David S. Miller <davem@davemloft.net>
23121
23122 * po/libc.pot: Update.
23123
573cd484
RH
231242012-12-07 Richard Henderson <rth@redhat.com>
23125
7e9da188 23126 [BZ #10114]
573cd484
RH
23127 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23128 normal/normal case to before the switch.
23129 (_FP_DIV): Likewise.
23130
e933a943
MF
231312012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23132 Mike Frysinger <vapier@gentoo.org>
23133
23134 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23135 check for __NR_fadvise64_64.
23136
82123268
CM
231372012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23138
23139 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23140 0, not just to plain "0" as a statement.
23141 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23142 with cw.
23143
d9814526
JM
231442012-12-06 Joseph Myers <joseph@codesourcery.com>
23145
23146 * NEWS: Use sourceware.org in Bugzilla URL.
23147
7728c574
SP
231482012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23149
f16946dd
SP
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23151 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23152
5704bbcb
SP
23153 * stdio-common/tst-put-error.c (do_test): Add newline to the
23154 padded test to ensure flush.
23155
17aa0516
JL
231562012-12-05 Jeff Law <law@redhat.com>
23157
23158 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23159
363313b5
JM
231602012-12-05 Joseph Myers <joseph@codesourcery.com>
23161
effbd42a
JM
23162 * README: Don't refer to ports add-on as distributed separately.
23163 Mention AArch64 in list of systems supported in the ports add-on.
23164
87600365
JM
23165 * LICENSES: Add more non-FSF copyright and license notices.
23166
a0d7066a
JM
23167 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23168 ((unused)).
23169
66ca5a5b
JM
23170 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23171
363313b5
JM
23172 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23173 10000 as width of padded output.
23174
b37984ad
JM
231752012-12-04 Joseph Myers <joseph@codesourcery.com>
23176
9003570a
JM
23177 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23178
b37984ad
JM
23179 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23180 variable LX with __attribute__ ((unused)).
23181 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23182 Likewise.
23183 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23184 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23185 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23186 with __attribute__ ((unused)).
23187
c8df52ec
DM
231882012-12-04 David S. Miller <davem@abraco.davemloft.net>
23189
23190 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23191
b3b099af
JM
231922012-12-04 Joseph Myers <joseph@codesourcery.com>
23193
c33aa6e3
JM
23194 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23195 (CFLAGS-nldbl-acos.c): New variable.
23196 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23197 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23198 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23199 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23200 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23201 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23202 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23203 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23204 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23205 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23206 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23207 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23208 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23209 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23210 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23211 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23212 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23213 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23214 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23215 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23216 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23217 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23218 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23219 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23220 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23221 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23222 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23223 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23224 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23225 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23226 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23227 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23228 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23229 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23230 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23231 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23232 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23233 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23234 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23235 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23236 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23237 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23238 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23239 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23240 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23241 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23242 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23243 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23244 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23245 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23246 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23247 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23248 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23249 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23250 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23251 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23252 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23253 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23254 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23255 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23256 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23257 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23258 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23259 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23260 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23261 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23262 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23263 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23264 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23265 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23266 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23267 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23268 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23269 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23270 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23271 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23272 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23273 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23274 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23275 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23276 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23277 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23278 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23279 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23280 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23281 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23282 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23283 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23284 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23285 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23286 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23287 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23288 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23289 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23290 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23291 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23292 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23293
20f0018d
JM
23294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23295 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23296
b3b099af
JM
23297 [BZ #14914]
23298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23299 whole low double instead of just low 47 bits when splitting values
23300 into two parts.
23301
029264d1
AM
233022012-12-03 Allan McRae <allan@archlinux.org>
23303
23304 * manual/stdio.texi (Predefined Printf Handlers): Remove
23305 @hsep and @vsep usage.
23306
c9d6789e
MF
233072012-12-03 Mike Frysinger <vapier@gentoo.org>
23308
23309 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23310 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23311
4b7634a5
JL
233122012-12-03 Jeff Law <law@redhat.com>
23313
23314 * time/sys/time.h (settimeofday): Do not mark TV argument
23315 as __nonnull.
23316
eb6cbd24
MF
233172012-12-01 Mike Frysinger <vapier@gentoo.org>
23318
23319 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23320 when currently writing and seek to current position when not.
23321 * libio/Makefile (tests): Remove bug-fclose1.
23322 * libio/bug-fclose1.c: Delete.
23323
f638872a
JM
233242012-12-01 Joseph Myers <joseph@codesourcery.com>
23325
23326 * manual/arith.texi (feenableexcept): Fix typo.
23327 (fedisableexcept): Likewise.
23328
48085d14
RM
233292012-11-30 Roland McGrath <roland@hack.frob.com>
23330
23331 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23332 second, differently-typed declaration, rather than a cast.
23333
1a538b9f
SP
233342012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23335
23336 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23337 * include/rpc/svc.h: ... here.
23338
d07f2ff1 233392012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23340
23341 [BZ #13013]
23342 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23343 depending n and resplen2 to catch cases where answer
23344 equals answerp2.
23345
c93ec1f0
CD
233462012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23347
23348 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23349 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23350
37db69de
MF
233512012-11-29 Mike Frysinger <vapier@gentoo.org>
23352
23353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23354
e10c4e4f
RM
233552012-11-29 Roland McGrath <roland@hack.frob.com>
23356
23357 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23358
2af1b328
JL
233592012-11-28 Jeff Law <law@redhat.com>
23360
23361 [BZ #13761]
23362 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23363 dataset_temporary. Track alloca usage into alloca_used.
23364 If dataset is large allocate and release it via malloc/free.
23365
111db5b1
FW
233662012-06-04 Florian Weimer <fweimer@redhat.com>
23367
f06cc227 23368 [BZ #14197]
111db5b1
FW
23369 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23370
dd694abd
DM
233712012-11-28 David S. Miller <davem@davemloft.net>
23372
23373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23374
9984dd01
JM
233752012-11-28 Joseph Myers <joseph@codesourcery.com>
23376
23377 [BZ #14803]
23378 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23379 of pi/2 rounded to nearest to 64 bits.
23380 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23381 nearest to 64 bits.
23382 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23383 bits.
23384
14bc93a9
JL
233852012-11-28 Jeff Law <law@redhat.com>
23386 Martin Osvald <mosvald@redhat.com>
23387
23388 [BZ #14889]
23389 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23390 * sunrpc/svc.c: Include time.h.
23391 (__svc_accept_failed): New function.
23392 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23393 any reason other than EINTR, call __svc_accept_failed.
23394 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23395 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23396
e3c6aa3a
AS
233972012-11-28 Andreas Schwab <schwab@suse.de>
23398
23399 * scripts/abilist.awk: Also handle indirect functions in .opd
23400 section.
23401
1bead169
JM
234022012-11-28 Joseph Myers <joseph@codesourcery.com>
23403
23404 [BZ #13881]
23405 * sysdeps/x86/fpu/powl_helper.c: New file.
23406 * sysdeps/x86/fpu/Makefile: Likewise.
23407 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23408 (p3): New object.
23409 (__ieee754_powl): Use __powl_helper for finite arguments except
23410 integer exponents below 8.
23411 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23412 (p3): New object.
23413 (__ieee754_powl): Use __powl_helper for finite arguments except
23414 integer exponents below 8.
23415 * math/libm-test.inc (pow_test): Add more tests and enable some
23416 previously disabled tests.
23417 * sysdeps/i386/fpu/libm-test-ulps: Update.
23418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23419
0817d63d
SP
234202012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23421 Carlos O'Donell <carlos_odonell@mentor.com>
23422
23423 * nss/makedb.c (is_prime): Assert that input is odd and greater
23424 than 4. Note that fact in a comment too.
23425 (next_prime): Add 4 to input.
23426
de2fd463
SP
234272012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23428
23429 [BZ #11741]
23430 * libio/Makefile (tests): Add test case tst-fwrite-error.
23431 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23432 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23433 * libio/tst-fwrite-error.c: New test case.
23434
c515fb51
L
234352012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23436
23437 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23438 before casting to void *.
23439 * include/libc-internal.h (__pointer_type): New macro.
23440 (__integer_if_pointer_type_sub): Likewise.
23441 (__integer_if_pointer_type): Likewise.
23442 (cast_to_integer): Likewise.
23443 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23444 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23445 before casting to atomic64_t.
23446 (atomic_exchange_acq): Likewise.
23447 (__arch_exchange_and_add_body): Likewise.
23448 (__arch_add_body): Likewise.
23449 (atomic_add_negative): Likewise.
23450 (atomic_add_zero): Likewise.
23451
4cf77aa9
JM
234522012-11-26 Joseph Myers <joseph@codesourcery.com>
23453
23454 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23455 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23456 (add_fdes): Likewise.
23457 (linear_search_fdes): Likewise.
23458 (binary_search_unencoded_fdes): Likewise.
23459
d260b3b4
AS
234602012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23461
23462 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23463
67060746
AC
234642012-11-24 Adam Conrad <adconrad@0c3.net>
23465
23466 * configure.in: Autodetect C++ header directories.
23467 * configure: Regenerated.
23468
800938a1
MF
234692012-11-23 Mike Frysinger <vapier@gentoo.org>
23470
23471 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23472
4e6e34e6
AS
234732012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23474
23475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23476
7c7feb47
JM
234772012-11-22 Joseph Myers <joseph@codesourcery.com>
23478
7184dcdf
JM
23479 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23480 LDBL_MANT_DIG == 106]: Disable some tests.
23481 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23482 Likewise.
23483 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23484 Likewise.
23485
0a42601f
JM
23486 [BZ #14871]
23487 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23488 input for small inputs. Return +/- pi/2 for large inputs.
23489 * math/libm-test.inc (atan_test): Add more tests.
23490
79c9b9fe
JM
23491 * sysdeps/generic/unwind-dw2-fde-glibc.c
23492 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23493 __attribute__ ((unused)).
23494
c60d3bf2
JM
23495 [BZ #14645]
23496 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23497 x * y if x and y are nonzero and z is zero.
23498
ef1e0867
JM
23499 [BZ #14811]
23500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23501 nonzero exponents with absolute value below 0x1p-117 to +/-
23502 0x1p-117.
23503
1468ded3
JM
23504 [BZ #14869]
23505 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23506 up arguments below 2**-450, not just those below 2**-500.
23507 * math/libm-test.inc (hypot_test): Add another test.
23508
8e27e3cc
JM
23509 [BZ #14868]
23510 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23511 Return a+b for ratio over 2**120, not 2**60.
23512 * math/libm-test.inc (hypot_test): Add another test.
23513
c9c0279b
JM
23514 * math/libm-test.inc (clog_test): Use
23515 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23516 (clog10_test): Likewise.
23517
7c7feb47
JM
23518 [BZ #6778]
23519 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23520
fff1530e
AS
235212012-11-22 Andreas Schwab <schwab@suse.de>
23522
23523 * sysdeps/i386/fpu/libm-test-ulps: Update.
23524
94558d30
PT
235252012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23526
23527 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23528 printf output with newline.
23529
7e1be741
L
235302012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23531
6bfea974
L
23532 [BZ #14865]
23533 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23534 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23535 -z nodlopen, -z initfirst and -z execstack support.
23536 * configure: Regenerated.
23537
7e1be741
L
23538 * elf/elf.h (DF_1_NODIRECT): New macro.
23539 (DF_1_IGNMULDEF): Likewise.
23540 (DF_1_NOKSYMS): Likewise.
23541 (DF_1_NOHDR): Likewise.
23542 (DF_1_EDITED): Likewise.
23543 (DF_1_NORELOC): Likewise.
23544 (DF_1_SYMINTPOSE): Likewise.
23545 (DF_1_GLOBAUDIT): Likewise.
23546 (DF_1_SINGLETON): Likewise.
23547 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23548 DT_1_SUPPORTED_MASK bits.
23549 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23550
105ce2ce
CD
235512012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23552
23553 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23554
123be9de
TS
235552012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23556
d072f3f7
TS
23557 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23558 macro.
23559
123be9de
TS
23560 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23561 (sendmmsg): Move declarations...
23562 * socket/sys/socket.h: ... here.
23563 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23564 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23565 include it from...
23566 * socket/recvmmsg.c: ... this new file.
23567 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23568 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23569 definition of __sendmmsg hidden.
23570 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23571 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23572 Move ENOSYS stub into and include it from...
23573 * socket/sendmmsg.c: ... this new file.
23574 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23575 (sysdep_routines): Move recvmmsg and sendmmsg...
23576 * socket/Makefile (routines): ... here.
23577 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23578 (GLIBC_PRIVATE): Add __sendmmsg.
23579 * include/sys/socket.h (__sendmmsg): Add declarations.
23580 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23581 sendmmsg.
23582
cf9a5d18
JM
235832012-11-20 Joseph Myers <joseph@codesourcery.com>
23584
23585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23586 variable I1 with __attribute__ ((unused)).
23587 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23588
ecd4caf9
JM
235892012-11-19 Joseph Myers <joseph@codesourcery.com>
23590
be14d48f
JM
23591 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23592 DUMMY variables with __attribute__ ((unused)).
23593
ecd4caf9
JM
23594 * bits/byteswap.h: Include <bits/types.h>.
23595 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23596
986cab95
PT
235972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23598
23599 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23600 string_t. Do not manually set errno.
23601 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23602 length with __strnlen. Make sure to both set errno and return it on
23603 failure.
23604
6d33cc9d
DM
236052012-11-19 David S. Miller <davem@davemloft.net>
23606
23607 With help from Joseph Myers.
23608 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23609 very large arguments properly.
23610 * math/libm-test.inc (atan_test): New tests.
23611 (atan2_test): New tests.
23612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23614
ee663277
JM
236152012-11-19 Joseph Myers <joseph@codesourcery.com>
23616
877f2d8e
JM
23617 [BZ #14856]
23618 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23619 Define to 3.
23620
116fc08a
JM
23621 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23622 [POSIX] (EADDRNOTAVAIL): Likewise.
23623 [POSIX] (EAFNOSUPPORT): Likewise.
23624 [POSIX] (EALREADY): Likewise.
23625 [POSIX] (ECONNABORTED): Likewise.
23626 [POSIX] (ECONNREFUSED): Likewise.
23627 [POSIX] (ECONNRESET): Likewise.
23628 [POSIX] (EDESTADDRREQ): Likewise.
23629 [POSIX] (EDQUOT): Likewise.
23630 [POSIX] (EHOSTUNREACH): Likewise.
23631 [POSIX] (EIDRM): Likewise.
23632 [POSIX] (EISCONN): Likewise.
23633 [POSIX] (ELOOP): Likewise.
23634 [POSIX] (EMULTIHOP): Likewise.
23635 [POSIX] (ENETDOWN): Likewise.
23636 [POSIX] (ENETUNREACH): Likewise.
23637 [POSIX] (ENOBUFS): Likewise.
23638 [POSIX] (ENODATA): Likewise.
23639 [POSIX] (ENOLINK): Likewise.
23640 [POSIX] (ENOMSG): Likewise.
23641 [POSIX] (ENOPROTOOPT): Likewise.
23642 [POSIX] (ENOSR): Likewise.
23643 [POSIX] (ENOSTR): Likewise.
23644 [POSIX] (ENOTCONN): Likewise.
23645 [POSIX] (ENOTSOCK): Likewise.
23646 [POSIX] (EOPNOTSUPP): Likewise.
23647 [POSIX] (EOVERFLOW): Likewise.
23648 [POSIX] (EPROTO): Likewise.
23649 [POSIX] (EPROTONOSUPPORT): Likewise.
23650 [POSIX] (EPROTOTYPE): Likewise.
23651 [POSIX] (ESTALE): Likewise.
23652 [POSIX] (ETIME): Likewise.
23653 [POSIX] (ETXTBSY): Likewise.
23654 [POSIX] (EWOULDBLOCK): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23656 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23657 [POSIX] (SEEK_CUR): Likewise.
23658 [POSIX] (SEEK_END): Likewise.
23659 [POSIX || UNIX98] (mode_t): Do not require.
23660 [POSIX] (off_t): Likewise.
23661 [POSIX] (pid_t): Likewise.
23662 [POSIX] (sys/stat.h): Do not allow header.
23663 [POSIX] (unistd.h): Likewise.
23664 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23665 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23666 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23667 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23668 require.
23669 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23670 sigevent): Specify elements.
23671 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23672 entry.
23673 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23674 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23675
a483863f
JM
23676 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23677 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23678 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23679 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23680 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23681 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23682 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23683 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23684 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23685 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23686 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23687 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23688 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23689 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23690 Likewise.
23691 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23692 Likewise.
23693 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23694 Likewise.
23695 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23696 Likewise.
23697 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23698 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23699 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23700 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23701 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23702 Specify lower bound on value.
23703 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23704 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23705 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23706 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23707 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23708 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23709 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23710 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23711 value.
23712 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23713 as optional.
23714 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23715 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23716 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23717 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23718 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23719 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23720 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23721 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23722 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23723 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23724 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23725 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23726 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23727 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23728 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23729 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23730 entry.
23731 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23732 optional.
23733 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23734 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23735 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23736 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23737 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23738 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23739 Likewise.
23740 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23741 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23742 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23743 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23744 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23745 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23746 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23747 as optional.
23748 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23749 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23750 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23751 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23752 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23753 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23754 specify as optional.
23755 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23756 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23757 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23758 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23759 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23760 [XPG3] (NL_LANGMAX): Likewise.
23761 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23762 [POSIX || XPG3] (NL_NMAX): Likewise.
23763 [POSIX || XPG3] (NL_SETMAX): Likewise.
23764 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23765 [XPG3] (NZERO): Likewise.
23766 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23767 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23768 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23769 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23770 (REG_ERANGE): Expect.
23771 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23772 optional-constant.
23773 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23774 Use (void) in prototype.
23775 [POSIX] (*_t): Allow.
23776 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23777 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23778 (WRDE_BADVAL): Expect.
23779
5ba924e3
JM
23780 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23781 expect.
23782 [XPG3 || XPG4] (O_RSYNC): Likewise.
23783 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23784 Likewise.
23785 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23786 [XPG3 || XPG4] (sigqueue): Likewise.
23787 [XPG3 || XPG4] (sigtimedwait): Likewise.
23788 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23789 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23790 [XPG3 || XPG4] (vsnprintf): Likewise.
23791 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23792 Likewise.
23793 [XPG3 || XPG4] (blksize_t): Likewise.
23794 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23795 Likewise.
23796 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23797 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23798 [XPG3 || XPG4] (struct itimerspec): Likewise.
23799 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23800 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23801 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23802 [XPG3 || XPG4] (clockid_t): Likewise.
23803 [XPG3 || XPG4] (timer_t): Likewise.
23804 [XPG3 || XPG4] (clock_getres): Likewise.
23805 [XPG3 || XPG4] (clock_gettime): Likewise.
23806 [XPG3 || XPG4] (clock_settime): Likewise.
23807 [XPG3 || XPG4] (nanosleep): Likewise.
23808 [XPG3 || XPG4] (timer_create): Likewise.
23809 [XPG3 || XPG4] (timer_delete): Likewise.
23810 [XPG3 || XPG4] (timer_gettime): Likewise.
23811 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23812 [XPG3 || XPG4] (timer_settime): Likewise.
23813 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23814 [XPG3 || XPG4] (getlogin_r): Likewise.
23815 [XPG3 || XPG4] (pread): Likewise.
23816 [XPG3 || XPG4] (pthread_atfork): Likewise.
23817 [XPG3 || XPG4] (pwrite): Likewise.
23818
ee663277
JM
23819 [BZ #14835]
23820 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23821 <bits/siginfo.h>.
23822
942caa16
PT
238232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23824
e19af380
PT
23825 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23826 finalizing MALLSTREAM.
23827
942caa16
PT
23828 * sysdeps/mach/hurd/syncfs.c: New file.
23829
cfde9b46
SP
238302012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23831
23832 [BZ #14719]
23833 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23834 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23835 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23836 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23837 (_nss_dns_gethostbyname4_r): Likewise.
23838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23839 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23840
f6da27e5
PH
238412012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23842
23843 [BZ #13763]
23844 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23845
6665d4a2
SM
238462012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23847
1f51ee92
SM
23848 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23849 * elf/cache.c (print_entry): Print ",AArch64" for
23850 FLAG_AARCH64_LIB64
23851
6665d4a2
SM
23852 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23853 * elf/cache.c (print_entry): Print ",hard-float" for
23854 FLAG_ARM_LIBHF.
23855
05b227bd
DM
238562012-11-18 David S. Miller <davem@davemloft.net>
23857
23858 With help from Joseph Myers.
23859 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23860 cutoff to 2**-13.
23861 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23862 cutoff to 2**-25.
23863 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23864 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23865 small.
23866 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23867 * math/libm-test.inc (y0_test): New tests.
23868 (y1_test): New tests.
23869 * sysdeps/i386/fpu/libm-test-ulps: Update.
23870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23872
786b0b67
AS
238732012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23874
23875 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23876 64-bit targets.
23877 * configure: Regenerated.
23878
8e18b86d
DM
238792012-11-17 David S. Miller <davem@davemloft.net>
23880
23881 [BZ #14811]
23882 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23883 nonzero exponents with absolute value below 0x1p-128 to +/-
23884 0x1p-128.
23885
531f1ae0
JM
238862012-11-17 Joseph Myers <joseph@codesourcery.com>
23887
12df29e2
JM
23888 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23889
150dc1a0
JM
23890 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23891
531f1ae0
JM
23892 * posix/getconf-speclist.c: New file.
23893 * posix/posix-envs.def: Likewise.
23894 * posix/confstr.c (START_ENV_GROUP): New macro.
23895 (END_ENV_GROUP): Likewise.
23896 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23897 (KNOWN_PRESENT_ENV_STRING): Likewise.
23898 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23899 (UNKNOWN_ENVIRONMENT): Likewise.
23900 (confstr): Include posix-envs.def instead of handling
23901 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23902 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23903 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23904 (END_ENV_GROUP): Likewise.
23905 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23906 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23907 (UNKNOWN_ENVIRONMENT): Likewise.
23908 (__sysconf): Include posix-envs.def instead of handling associated
23909 cases directly here.
23910 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23911 preprocessing getconf-speclist.c rather than running getconf or
23912 generating empty file.
23913
a93f9cbc
PT
239142012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23915
23916 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23917
d64d9f87
AL
239182012-11-16 Andrej Lajovic <natrij@gmail.com>
23919
23920 [BZ #14672]
23921 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23922
447885eb
DM
239232012-11-16 David S. Miller <davem@davemloft.net>
23924
23925 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23926 smaller than LDBL_EPSILON/2.0L, just return xm1.
23927
bcbf9830
L
239282012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23929
23930 * elf/tst-array1.c (init): Set constructor priority to 1000.
23931 (fini): Set destructor priority to 1000.
23932 * elf/tst-array2dep.c: Likewise.
23933
2b766585
SP
239342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23935
23936 [BZ #11741]
23937 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23938 (_IO_new_file_xsputn): Also return EOF if none of the input
23939 data was written when overflow failed.
23940 * libio/iopadn.c (_IO_padn): Likewise.
23941 * libio/iowpadn.c (_IO_wpadn): Likewise.
23942 * stdio-common/tst-put-error.c: Add copyright notice.
23943 (do_test): Add case for printing padded string.
23944 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23945 _IO_padn returned error.
23946 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23947 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23948 return EOF.
23949
b1848fde
SP
239502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23951
23952 * libio/libioP.h: Add comment note that the references to C++
23953 bits are now obsolete.
23954
2fd89785
MS
239552012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23956
23957 * math/libm-test.inc (check_complex): Use asprintf.
23958
e3ea5409
JM
239592012-11-14 Joseph Myers <joseph@codesourcery.com>
23960
23961 * debug/pcprofiledump.c (print_version): Update copyright year.
23962 * malloc/memusagestat.c (print_version): Likewise.
23963
2e64d265
L
239642012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23965
23966 [BZ #14831]
23967 * elf/Makefile (tests): Add tst-audit8.
23968 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23969 ($(objpfx)tst-audit8.out): New target.
23970 (tst-audit8-ENV): New variable.
23971 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23972 audit if l_reloc_result is NULL.
23973 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23974 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23975 * elf/tst-audit8.c: New file.
23976
c485e4d2
MS
239772012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23978
23979 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23980 * misc/Makefile (CFLAGS-select.c): Define.
23981 * posix/Makefile (CFLAGS-pause.c): Define.
23982
3a0d900a
DM
239832012-11-13 David S. Miller <davem@davemloft.net>
23984
23985 * crypt/Makefile: Move test targets after toplevel Rules
23986 inclusion. Grab any necessary sysdep routines when linking.
23987 * crypt/md5.c (md5_process_block): Remove define, we will always
23988 name it __md5_process_block.
23989 (md5_finish_ctx): Update md5_process_block call.
23990 (md5_stream): Likewise.
23991 (md5_process_bytes): Likewise.
23992 (md5_process_block): Rename to __md5_process_block and move to ...
23993 * crypt/md5-block.c: ... here.
23994 * crypt/sha256.c (sha256_process_block): Move to ...
23995 * crypt/sha256-block.c: ... here.
23996 * crypt/sha512.c (sha512_process_block): Move to ...
23997 * crypt/sha512-block.c: ... here.
23998 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23999 path.
24000 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24001 * sysdeps/sparc/sparc64/multiarch/Makefile
24002 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24003 crypt subdir.
24004 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24005 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24006 multiarch changes.
24007 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24008 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24009 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24010 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24011 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24012 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24013 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24014 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24015 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24016 file.
24017 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24018 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24019 file.
24020 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24021
8ca89318
JM
240222012-11-13 Joseph Myers <joseph@codesourcery.com>
24023
e27d476a
JM
24024 * timezone/tzselect.ksh: Update from tzcode git revision
24025 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24026 * timezone/zdump.c: Likewise.
24027 * timezone/zic.c: Likewise.
24028 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24029 in TZVERSION setting, not $(PKGVERSION).
24030 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24031 REPORT_BUGS_TO settings.
24032
8ca89318
JM
24033 [BZ #14838]
24034 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24035 macro.
24036
47594329
MS
240372012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24038
24039 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24040 detection to immediately after _FP_ROUND().
24041 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24042 bits are 0.
24043
640ac3f1
DM
240442012-11-11 David S. Miller <davem@davemloft.net>
24045
24046 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24047 inttypes.h
24048 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24049 __close rather than their public counterparts.
24050
3d2577bb
JM
240512012-11-10 Joseph Myers <joseph@codesourcery.com>
24052
24053 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24054 file.
24055 [UNIX98] (sem_timedwait): Do not expect.
24056 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24057 [XPG4 || UNIX98] (sockatmark): Do not expect.
24058 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24059 (clock_getcpuclockid): Do not expect.
24060 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24061 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24062 Do not expect.
24063 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24064 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24065 [UNIX98] (vwscanf): Likewise.
24066 [UNIX98] (vswscanf): Likewise.
24067
fb1ae1ee
JM
240682012-11-09 Joseph Myers <joseph@codesourcery.com>
24069
9ec6f8bd
JM
24070 * timezone/version.h: Remove file.
24071 * timezone/README: Do not refer to version.h.
24072 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24073 $(objpfx)version.h.
24074 ($(objpfx)zdump.o): Likewise.
c3f81911 24075 ($(objpfx)version.h): New target.
9ec6f8bd 24076
0aa8f8a1
JM
24077 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24078 2012i.
24079 * timezone/README: Don't mention modification to tzselect.ksh.
24080 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24081 work on unmodified tzselect.ksh. Substitute version numbers in
24082 tzselect.ksh.
24083
4e87147f
JM
24084 * Makefile (format-me): Remove.
24085 (INSTALL): Adjust indentation. Use commands directly instead of
24086 using $(format-me).
24087
8b748aed
JM
24088 * aclocal.m4 (ACX_PKGVERSION): New macro.
24089 (ACX_BUGURL): Likewise.
24090 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24091 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24092 (REPORT_BUGS_TO): Likewise.
24093 * configure: Regenerated.
24094 * config.h.in (PKGVERSION): New macro.
24095 (REPORT_BUGS_TO): Likewise.
24096 * config.make.in (PKGVERSION): New variable.
24097 (PKGVERSION_TEXI): Likewise.
24098 (REPORT_BUGS_TO): Likewise.
24099 (REPORT_BUGS_TEXI): Likewise.
24100 * Makefile (format-me): Use -I$(common-objpfx)manual.
24101 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24102 ($(common-objpfx)manual/%): New target.
24103 (manual/%): Remove target.
24104 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24105 (print_version): Use PKGVERSION.
24106 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24107 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24108 and REPORT_BUGS_TO.
24109 ($(objpfx)xtrace): Likewise.
24110 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24111 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24112 (print_version): Use PKGVERSION.
24113 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24114 (do_version): Use PKGVERSION.
24115 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24116 REPORT_BUGS_TO.
24117 (common-ldd-rewrite): Likewise.
24118 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24119 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24120 (print_version): Use PKGVERSION.
24121 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24122 * elf/pldd.c (argp_program_bug_address): Remove variable.
24123 (more_help): New function.
24124 (argp): Use more_help.
24125 (print_version): Use PKGVERSION.
24126 * elf/sln.c (main): Use PKGVERSION.
24127 (usage): Use REPORT_BUGS_TO.
24128 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24129 (top level): Use PKGVERSION.
24130 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24131 (print_version): Use PKGVERSION.
24132 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24133 (print_version): Use PKGVERSION.
24134 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24135 (print_version): Use PKGVERSION.
24136 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24137 (print_version): Use PKGVERSION.
24138 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24139 (print_version): Use PKGVERSION.
24140 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24141 (print_version): Use PKGVERSION.
24142 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24143 and BUGURL.
24144 ($(objpfx)memusage): Likewise.
24145 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24146 (do_version): Use PKGVERSION.
24147 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24148 (print_version): Use PKGVERSION.
24149 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24150 ($PKGVERSION): New variable.
24151 ($REPORT_BUGS_TO): Likewise.
24152 (usage): Use $REPORT_BUGS_TO.
24153 (top level): Use $PKGVERSION.
24154 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24155 ($(objpfx)pkgvers.texi): New rule.
24156 ($(objpfx)stamp-pkgvers): Likewise.
24157 * manual/install.texi: Include pkgvers.texi.
24158 (--with-pkgversion): Document new configure option.
24159 (--with-bugurl): Likewise.
24160 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24161 than necessarily for this particular distribution. Use
24162 REPORT_BUGS_TO for where to report bugs.
24163 * INSTALL: Regenerated.
24164 * manual/libc.texinfo: Include pkgvers.texi.
24165 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24166 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24167 (print_version): Use PKGVERSION.
24168 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24169 (print_version): Use PKGVERSION.
24170 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24171 (print_version): Use PKGVERSION.
24172 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24173 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24174 macro.
24175 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24176 (print_version): Use PKGVERSION.
24177 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24178 (print_version): Use PKGVERSION.
24179 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24180 and PKGVERSION.
24181
92e4b6a9
JM
24182 * timezone/checktab.awk: Update from tzcode 2012i.
24183 * timezone/ialloc.c: Likewise.
24184 * timezone/private.h: Likewise.
24185 * timezone/scheck.c: Likewise.
24186 * timezone/tzfile.h: Likewise.
24187 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24188 (TZVERSION): Hardcode tzcode version number.
24189 * timezone/zdump.c: Update from tzcode 2012i.
24190 * timezone/zic.c: Likewise.
24191 * timezone/version.h: New file.
24192 * timezone/README: Describe version.h. Update upstream location.
24193
9bde902c
JM
24194 [BZ #14824]
24195 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24196 (mktemp): Enable declaration.
24197 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24199 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24201 Likewise.
24202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24203 Likewise.
24204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24205 Likewise.
24206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24207 Likewise.
24208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24209 Likewise.
24210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24211 Likewise.
24212
fb1ae1ee
JM
24213 [BZ #14821]
24214 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24215 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24216 for copies of such integer values.
24217 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24218 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24219
2c1adbcb
AJ
242202012-11-09 Andreas Jaeger <aj@suse.de>
24221
24222 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24223 definitions and declarations that are provided by
24224 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24225
d0f8457e
AK
242262012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24227
3a235abb 24228 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24229 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24230 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24231 definition.
24232
57241e26
MS
242332012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24234
24235 * elf/elf.h: Update comment before AArch64 relocations.
24236
60e8270d
DM
242372012-11-07 David S. Miller <davem@davemloft.net>
24238
24239 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24240 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24241 (__start_context): Declare.
24242 (__makecontext_ret): Delete.
24243 (__makecontext): Hook up __start_context instead of
24244 __makecontext_ret.
24245 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24246 (sysdep_routines): Add __start_context when in stdlib.
24247
0fbb0fbc
JM
242482012-11-07 Joseph Myers <joseph@codesourcery.com>
24249
24250 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24251 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24252 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24253 hardcoded "nm".
24254 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24255 (READELF): New variable. Use it instead of hardcoded "readelf".
24256
eb48db7e
L
242572012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24258
24259 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24260 * sysdeps/x86/Makefile: Here.
24261 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24262 * sysdeps/x86/tst-xmmymm.sh: This.
24263
05bcf62a
JM
242642012-11-07 Joseph Myers <joseph@codesourcery.com>
24265
c4b6cf53
JM
24266 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24267 expectations.
24268 [UNIX98] (pthread_barrier_t): Do not expect.
24269 [UNIX98] (pthread_barrierattr_t): Likewise.
24270 [UNIX98] (pthread_spinlock_t): Likewise.
24271 [UNIX98] (pthread_barrier_destroy): Likewise.
24272 [UNIX98] (pthread_barrier_init): Likewise.
24273 [UNIX98] (pthread_barrier_wait): Likewise.
24274 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24275 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24276 [UNIX98] (pthread_barrierattr_init): Likewise.
24277 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24278 [UNIX98] (pthread_getcpuclockid): Likewise.
24279 [UNIX98] (pthread_mutex_timedlock): Likewise.
24280 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24281 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24282 [UNIX98] (pthread_sigmask): Likewise.
24283 [UNIX98] (pthread_spin_destroy): Likewise.
24284 [UNIX98] (pthread_spin_init): Likewise.
24285 [UNIX98] (pthread_spin_lock): Likewise.
24286 [UNIX98] (pthread_spin_trylock): Likewise.
24287 [UNIX98] (pthread_spin_unlock): Likewise.
24288 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24289 Do not expect.
24290 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24291 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24292 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24293 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24294 [XPG3 || XPG4] (pthread_key_t): Likewise.
24295 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24296 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24297 [XPG3 || XPG4] (pthread_once_t): Likewise.
24298 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24299 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24300 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24301 [XPG3 || XPG4] (pthread_t): Likewise.
24302
cbe6e120
JM
24303 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24304 not expect.
24305 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24306
1b126443
JM
24307 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24308 Change function return type to int.
24309
b961a573
JM
24310 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24311 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24312 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24313 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24314 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24315 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24316 [!POSIX] (posix_madvise): Likewise.
24317 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24318 && !UNIX98].
24319 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24320 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24321 (mode_t): Likewise.
24322 (posix_mem_offset): Likewise.
24323 (posix_typed_mem_get_info): Likewise.
24324 (posix_typed_mem_open): Likewise.
24325
9e188909
JM
24326 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24327 Change condition to [XOPEN2K8].
24328
05bcf62a
JM
24329 * conform/conformtest.pl: Preprocess allow-header data with -x c
24330 instead of from stdin.
24331 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24332 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24333 [C99-based standards] (cerfc): Likewise.
24334 [C99-based standards] (cexp2): Likewise.
24335 [C99-based standards] (cexpm1): Likewise.
24336 [C99-based standards] (clog10): Likewise.
24337 [C99-based standards] (clog1p): Likewise.
24338 [C99-based standards] (clog2): Likewise.
24339 [C99-based standards] (clgamma): Likewise.
24340 [C99-based standards] (ctgamma): Likewise.
24341 [C99-based standards] (cerff): Likewise.
24342 [C99-based standards] (cerfcf): Likewise.
24343 [C99-based standards] (cexp2f): Likewise.
24344 [C99-based standards] (cexpm1f): Likewise.
24345 [C99-based standards] (clog10f): Likewise.
24346 [C99-based standards] (clog1pf): Likewise.
24347 [C99-based standards] (clog2f): Likewise.
24348 [C99-based standards] (clgammaf): Likewise.
24349 [C99-based standards] (ctgammaf): Likewise.
24350 [C99-based standards] (cerfl): Likewise.
24351 [C99-based standards] (cerfcl): Likewise.
24352 [C99-based standards] (cexp2l): Likewise.
24353 [C99-based standards] (cexpm1l): Likewise.
24354 [C99-based standards] (clog10l): Likewise.
24355 [C99-based standards] (clog1pl): Likewise.
24356 [C99-based standards] (clog2l): Likewise.
24357 [C99-based standards] (clgammal): Likewise.
24358 [C99-based standards] (ctgammal): Likewise.
24359 * conform/data/inttypes.h-data [C99-based standards]: Include
24360 stdint.h-data. Remove all expectations for stdint.h contents.
24361 [C99-based standards] (PRI*): Do not allow.
24362 [C99-based standards] (SCN*): Likewise.
24363 [C99-based standards] (*_t): Likewise.
24364 [C99-based-standards] (PRId8): Expect macro.
24365 [C99-based-standards] (PRIi8): Likewise.
24366 [C99-based-standards] (PRIo8): Likewise.
24367 [C99-based-standards] (PRIu8): Likewise.
24368 [C99-based-standards] (PRIx8): Likewise.
24369 [C99-based-standards] (PRIX8): Likewise.
24370 [C99-based-standards] (SCNd8): Likewise.
24371 [C99-based-standards] (SCNi8): Likewise.
24372 [C99-based-standards] (SCNo8): Likewise.
24373 [C99-based-standards] (SCNu8): Likewise.
24374 [C99-based-standards] (SCNx8): Likewise.
24375 [C99-based-standards] (PRIdLEAST8): Likewise.
24376 [C99-based-standards] (PRIiLEAST8): Likewise.
24377 [C99-based-standards] (PRIoLEAST8): Likewise.
24378 [C99-based-standards] (PRIuLEAST8): Likewise.
24379 [C99-based-standards] (PRIxLEAST8): Likewise.
24380 [C99-based-standards] (PRIXLEAST8): Likewise.
24381 [C99-based-standards] (SCNdLEAST8): Likewise.
24382 [C99-based-standards] (SCNiLEAST8): Likewise.
24383 [C99-based-standards] (SCNoLEAST8): Likewise.
24384 [C99-based-standards] (SCNuLEAST8): Likewise.
24385 [C99-based-standards] (SCNxLEAST8): Likewise.
24386 [C99-based-standards] (PRIdFAST8): Likewise.
24387 [C99-based-standards] (PRIiFAST8): Likewise.
24388 [C99-based-standards] (PRIoFAST8): Likewise.
24389 [C99-based-standards] (PRIuFAST8): Likewise.
24390 [C99-based-standards] (PRIxFAST8): Likewise.
24391 [C99-based-standards] (PRIXFAST8): Likewise.
24392 [C99-based-standards] (SCNdFAST8): Likewise.
24393 [C99-based-standards] (SCNiFAST8): Likewise.
24394 [C99-based-standards] (SCNoFAST8): Likewise.
24395 [C99-based-standards] (SCNuFAST8): Likewise.
24396 [C99-based-standards] (SCNxFAST8): Likewise.
24397 [C99-based-standards] (PRId16): Likewise.
24398 [C99-based-standards] (PRIi16): Likewise.
24399 [C99-based-standards] (PRIo16): Likewise.
24400 [C99-based-standards] (PRIu16): Likewise.
24401 [C99-based-standards] (PRIx16): Likewise.
24402 [C99-based-standards] (PRIX16): Likewise.
24403 [C99-based-standards] (SCNd16): Likewise.
24404 [C99-based-standards] (SCNi16): Likewise.
24405 [C99-based-standards] (SCNo16): Likewise.
24406 [C99-based-standards] (SCNu16): Likewise.
24407 [C99-based-standards] (SCNx16): Likewise.
24408 [C99-based-standards] (PRIdLEAST16): Likewise.
24409 [C99-based-standards] (PRIiLEAST16): Likewise.
24410 [C99-based-standards] (PRIoLEAST16): Likewise.
24411 [C99-based-standards] (PRIuLEAST16): Likewise.
24412 [C99-based-standards] (PRIxLEAST16): Likewise.
24413 [C99-based-standards] (PRIXLEAST16): Likewise.
24414 [C99-based-standards] (SCNdLEAST16): Likewise.
24415 [C99-based-standards] (SCNiLEAST16): Likewise.
24416 [C99-based-standards] (SCNoLEAST16): Likewise.
24417 [C99-based-standards] (SCNuLEAST16): Likewise.
24418 [C99-based-standards] (SCNxLEAST16): Likewise.
24419 [C99-based-standards] (PRIdFAST16): Likewise.
24420 [C99-based-standards] (PRIiFAST16): Likewise.
24421 [C99-based-standards] (PRIoFAST16): Likewise.
24422 [C99-based-standards] (PRIuFAST16): Likewise.
24423 [C99-based-standards] (PRIxFAST16): Likewise.
24424 [C99-based-standards] (PRIXFAST16): Likewise.
24425 [C99-based-standards] (SCNdFAST16): Likewise.
24426 [C99-based-standards] (SCNiFAST16): Likewise.
24427 [C99-based-standards] (SCNoFAST16): Likewise.
24428 [C99-based-standards] (SCNuFAST16): Likewise.
24429 [C99-based-standards] (SCNxFAST16): Likewise.
24430 [C99-based-standards] (PRId32): Likewise.
24431 [C99-based-standards] (PRIi32): Likewise.
24432 [C99-based-standards] (PRIo32): Likewise.
24433 [C99-based-standards] (PRIu32): Likewise.
24434 [C99-based-standards] (PRIx32): Likewise.
24435 [C99-based-standards] (PRIX32): Likewise.
24436 [C99-based-standards] (SCNd32): Likewise.
24437 [C99-based-standards] (SCNi32): Likewise.
24438 [C99-based-standards] (SCNo32): Likewise.
24439 [C99-based-standards] (SCNu32): Likewise.
24440 [C99-based-standards] (SCNx32): Likewise.
24441 [C99-based-standards] (PRIdLEAST32): Likewise.
24442 [C99-based-standards] (PRIiLEAST32): Likewise.
24443 [C99-based-standards] (PRIoLEAST32): Likewise.
24444 [C99-based-standards] (PRIuLEAST32): Likewise.
24445 [C99-based-standards] (PRIxLEAST32): Likewise.
24446 [C99-based-standards] (PRIXLEAST32): Likewise.
24447 [C99-based-standards] (SCNdLEAST32): Likewise.
24448 [C99-based-standards] (SCNiLEAST32): Likewise.
24449 [C99-based-standards] (SCNoLEAST32): Likewise.
24450 [C99-based-standards] (SCNuLEAST32): Likewise.
24451 [C99-based-standards] (SCNxLEAST32): Likewise.
24452 [C99-based-standards] (PRIdFAST32): Likewise.
24453 [C99-based-standards] (PRIiFAST32): Likewise.
24454 [C99-based-standards] (PRIoFAST32): Likewise.
24455 [C99-based-standards] (PRIuFAST32): Likewise.
24456 [C99-based-standards] (PRIxFAST32): Likewise.
24457 [C99-based-standards] (PRIXFAST32): Likewise.
24458 [C99-based-standards] (SCNdFAST32): Likewise.
24459 [C99-based-standards] (SCNiFAST32): Likewise.
24460 [C99-based-standards] (SCNoFAST32): Likewise.
24461 [C99-based-standards] (SCNuFAST32): Likewise.
24462 [C99-based-standards] (SCNxFAST32): Likewise.
24463 [C99-based-standards] (PRId64): Likewise.
24464 [C99-based-standards] (PRIi64): Likewise.
24465 [C99-based-standards] (PRIo64): Likewise.
24466 [C99-based-standards] (PRIu64): Likewise.
24467 [C99-based-standards] (PRIx64): Likewise.
24468 [C99-based-standards] (PRIX64): Likewise.
24469 [C99-based-standards] (SCNd64): Likewise.
24470 [C99-based-standards] (SCNi64): Likewise.
24471 [C99-based-standards] (SCNo64): Likewise.
24472 [C99-based-standards] (SCNu64): Likewise.
24473 [C99-based-standards] (SCNx64): Likewise.
24474 [C99-based-standards] (PRIdLEAST64): Likewise.
24475 [C99-based-standards] (PRIiLEAST64): Likewise.
24476 [C99-based-standards] (PRIoLEAST64): Likewise.
24477 [C99-based-standards] (PRIuLEAST64): Likewise.
24478 [C99-based-standards] (PRIxLEAST64): Likewise.
24479 [C99-based-standards] (PRIXLEAST64): Likewise.
24480 [C99-based-standards] (SCNdLEAST64): Likewise.
24481 [C99-based-standards] (SCNiLEAST64): Likewise.
24482 [C99-based-standards] (SCNoLEAST64): Likewise.
24483 [C99-based-standards] (SCNuLEAST64): Likewise.
24484 [C99-based-standards] (SCNxLEAST64): Likewise.
24485 [C99-based-standards] (PRIdFAST64): Likewise.
24486 [C99-based-standards] (PRIiFAST64): Likewise.
24487 [C99-based-standards] (PRIoFAST64): Likewise.
24488 [C99-based-standards] (PRIuFAST64): Likewise.
24489 [C99-based-standards] (PRIxFAST64): Likewise.
24490 [C99-based-standards] (PRIXFAST64): Likewise.
24491 [C99-based-standards] (SCNdFAST64): Likewise.
24492 [C99-based-standards] (SCNiFAST64): Likewise.
24493 [C99-based-standards] (SCNoFAST64): Likewise.
24494 [C99-based-standards] (SCNuFAST64): Likewise.
24495 [C99-based-standards] (SCNxFAST64): Likewise.
24496 [C99-based-standards] (PRIdMAX): Likewise.
24497 [C99-based-standards] (PRIiMAX): Likewise.
24498 [C99-based-standards] (PRIoMAX): Likewise.
24499 [C99-based-standards] (PRIuMAX): Likewise.
24500 [C99-based-standards] (PRIxMAX): Likewise.
24501 [C99-based-standards] (PRIXMAX): Likewise.
24502 [C99-based-standards] (SCNdMAX): Likewise.
24503 [C99-based-standards] (SCNiMAX): Likewise.
24504 [C99-based-standards] (SCNoMAX): Likewise.
24505 [C99-based-standards] (SCNuMAX): Likewise.
24506 [C99-based-standards] (SCNxMAX): Likewise.
24507 [C99-based-standards] (PRIdPTR): Likewise.
24508 [C99-based-standards] (PRIiPTR): Likewise.
24509 [C99-based-standards] (PRIoPTR): Likewise.
24510 [C99-based-standards] (PRIuPTR): Likewise.
24511 [C99-based-standards] (PRIxPTR): Likewise.
24512 [C99-based-standards] (PRIXPTR): Likewise.
24513 [C99-based-standards] (SCNdPTR): Likewise.
24514 [C99-based-standards] (SCNiPTR): Likewise.
24515 [C99-based-standards] (SCNoPTR): Likewise.
24516 [C99-based-standards] (SCNuPTR): Likewise.
24517 [C99-based-standards] (SCNxPTR): Likewise.
24518 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24519 allow.
24520 * conform/data/stdint.h-data: Update comments to clarify
24521 requirements.
24522 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24523 type.
24524 [C99-based standards] (INT8_MAX): Likewise.
24525 [C99-based standards] (INT16_MIN): Likewise.
24526 [C99-based standards] (INT16_MAX): Likewise.
24527 [C99-based standards] (INT32_MIN): Likewise.
24528 [C99-based standards] (INT32_MAX): Likewise.
24529 [C99-based standards] (INT64_MIN): Likewise.
24530 [C99-based standards] (INT64_MAX): Likewise.
24531 [C99-based standards] (UINT8_MAX): Likewise.
24532 [C99-based standards] (UINT16_MAX): Likewise.
24533 [C99-based standards] (UINT32_MAX): Likewise.
24534 [C99-based standards] (UINT64_MAX): Likewise.
24535 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24536 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24537 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24538 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24539 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24540 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24541 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24542 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24543 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24544 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24545 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24546 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24547 [C99-based standards] (INT_FAST8_MIN): Likewise.
24548 [C99-based standards] (INT_FAST8_MAX): Likewise.
24549 [C99-based standards] (INT_FAST16_MIN): Likewise.
24550 [C99-based standards] (INT_FAST16_MAX): Likewise.
24551 [C99-based standards] (INT_FAST32_MIN): Likewise.
24552 [C99-based standards] (INT_FAST32_MAX): Likewise.
24553 [C99-based standards] (INT_FAST64_MIN): Likewise.
24554 [C99-based standards] (INT_FAST64_MAX): Likewise.
24555 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24556 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24557 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24558 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24559 [C99-based standards] (INTPTR_MIN): Likewise.
24560 [C99-based standards] (INTPTR_MAX): Likewise.
24561 [C99-based standards] (UINTPTR_MAX): Likewise.
24562 [C99-based standards] (INTMAX_MIN): Likewise.
24563 [C99-based standards] (INTMAX_MAX): Likewise.
24564 [C99-based standards] (UINTMAX_MAX): Likewise.
24565 [C99-based standards] (PTRDIFF_MIN): Likewise.
24566 [C99-based standards] (PTRDIFF_MAX): Likewise.
24567 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24568 [C99-based standards] (SIZE_MAX): Likewise.
24569 [C99-based standards] (WCHAR_MAX): Likewise.
24570 [C99-based standards] (WINT_MAX): Likewise.
24571 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24572 constraint on value.
24573 [C99-based standards] (WCHAR_MIN): Likewise.
24574 [C99-based standards] (WINT_MIN): Likewise.
24575 [C99-based standards] (*_t): Allow.
24576 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24577 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24578 Include math.h-data and complex.h-data. Remove all expectations
24579 of math.h and complex.h contents.
24580 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24581 at end of line.
24582 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24583 (struct tm): Expect tag.
24584 [C99-based-standards] (wcstof): Expect function.
24585 [C99-based-standards] (wcstold): Likewise.
24586 [C99-based-standards] (wcstoll): Likewise.
24587 [C99-based-standards] (wcstoull): Likewise.
24588 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24589 macro-int-constant. Specify type.
24590 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24591 constraint on value.
24592 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24593 Specify type.
24594 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24595 Specify value.
24596 [ISO C standards]: Do not allow headers.
24597 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24598 wcs[abcdefghijklmnopqrstuvwxyz]*.
24599 [ISO C standards] (*_t): Do not allow.
24600 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24601 Expect function.
24602 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24603 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24604 Specify type.
24605 [ISO C standards]: Do not allow headers.
24606 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24607 is[abcdefghijklmnopqrstuvwxyz]*.
24608 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24609 to[abcdefghijklmnopqrstuvwxyz]*.
24610 [ISO C standards] (*_t): Do not allow.
24611 * conform/data/stdalign.h-data: New file.
24612 * conform/data/stdbool.h-data: Likewise.
24613 * conform/data/stdnoreturn.h-data: Likewise.
24614
7514feb8
RM
246152012-11-07 Roland McGrath <roland@hack.frob.com>
24616
24617 [BZ #14815]
24618 * manual/filesys.texi (Directory Entries): Typo fix.
24619 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24620
19b2ecfc
MS
246212012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24622
24623 * elf/elf.h (EM_AARCH64): New macro.
24624 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24625 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24626 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24627 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24628 (R_AARCH64_TLSDESC): Likewise.
24629 (NT_ARM_TLS): Likewise.
24630 (NT_ARM_HW_BREAK): Likewise.
24631 (NT_ARM_HW_WATCH): Likewise.
24632
60e235ee
JM
246332012-11-07 Joseph Myers <joseph@codesourcery.com>
24634
24635 [BZ #14811]
24636 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24637 (__ieee754_powl): Saturate nonzero exponents with absolute value
24638 below 0x1p-79 to +/- 0x1p-79.
24639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24640 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24641 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24642 nonzero exponents with absolute value below 0x1p-32 to +/-
24643 0x1p-32.
24644 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24645 (__ieee754_powl): Saturate nonzero exponents with absolute value
24646 below 0x1p-79 to +/- 0x1p-79.
24647 * math/libm-test.inc (pow_test): Add more tests.
24648
0ab234b7
AK
246492012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24650
24651 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24652 _dl_s390_cap_flags with kernel. Increase string length.
24653 (_dl_s390_platforms): Add z196 and zEC12.
24654
45832f74
JM
246552012-11-07 Joseph Myers <joseph@codesourcery.com>
24656
24657 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24658 Change XOPEN21K to XOPEN2K.
24659
19218757
MK
246602012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24661
24662 * string/memmove.c: Use memcpy when possible.
24663
c5f45721
AJ
246642012-11-06 Andreas Jaeger <aj@suse.de>
24665
24666 * po/eo.po: Update from translation team.
24667
82477c28
JM
246682012-11-06 Joseph Myers <joseph@codesourcery.com>
24669
24670 [BZ #14793]
24671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24672 exponent and small x and y exponents, scale x or y up. Increase
24673 by 2 the exponent used in scaling up.
24674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24676 * math/libm-test.inc (fma_test): Add more tests.
24677 (fma_test_towardzero): Likewise.
24678 (fma_test_downward): Likewise.
24679 (fma_test_upward): Likewise.
24680
99252c8c
JM
246812012-11-05 Joseph Myers <joseph@codesourcery.com>
24682
acfa885f
JM
24683 [BZ #14805]
24684 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24685 fenv_t *.
24686
99252c8c
JM
24687 [BZ #14801]
24688 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24689 namespace for names of struct fields.
24690 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24691 fenv_t fields.
24692 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24693 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24694
d6d98dea
ST
246952012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24696
24697 [BZ #3665]
24698 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24699
e10bb107
TS
247002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24701
24702 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24703 PTR_DEMANGLE.
24704
24705 [BZ #5246]
24706 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24707 PTR_DEMANGLE.
24708
a0c2940d
JM
247092012-11-04 Joseph Myers <joseph@codesourcery.com>
24710
24711 [BZ #14797]
24712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24713 definitely overflow as x * y not x * y + z.
24714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24716 * math/libm-test.inc (fma_test): Add more tests.
24717 (fma_test_towardzero): Likewise.
24718 (fma_test_downward): Likewise.
24719 (fma_test_upward): Likewise.
24720
b830319d
TS
247212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24722
24723 [BZ #157]
24724
24725 * include/stub-tag.h: Remove file.
24726 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24727 '#include' of it.
24728 * manual/maint.texi (Porting): Don't reference it.
24729 * Makerules ($(objpfx)stubs): Likewise.
24730 * dirent/closedir.c: Don't include <stub-tag.h>.
24731 * dirent/dirfd.c: Likewise.
24732 * dirent/fdopendir.c: Likewise.
24733 * dirent/getdents.c: Likewise.
24734 * dirent/getdents64.c: Likewise.
24735 * dirent/opendir.c: Likewise.
24736 * dirent/readdir.c: Likewise.
24737 * dirent/readdir64.c: Likewise.
24738 * dirent/readdir64_r.c: Likewise.
24739 * dirent/readdir_r.c: Likewise.
24740 * dirent/rewinddir.c: Likewise.
24741 * dirent/seekdir.c: Likewise.
24742 * dirent/telldir.c: Likewise.
24743 * gmon/profil.c: Likewise.
24744 * grp/setgroups.c: Likewise.
24745 * inet/if_index.c: Likewise.
24746 * io/access.c: Likewise.
24747 * io/chdir.c: Likewise.
24748 * io/chmod.c: Likewise.
24749 * io/chown.c: Likewise.
24750 * io/close.c: Likewise.
24751 * io/dup.c: Likewise.
24752 * io/dup2.c: Likewise.
24753 * io/dup3.c: Likewise.
24754 * io/euidaccess.c: Likewise.
24755 * io/faccessat.c: Likewise.
24756 * io/fchdir.c: Likewise.
24757 * io/fchmod.c: Likewise.
24758 * io/fchmodat.c: Likewise.
24759 * io/fchown.c: Likewise.
24760 * io/fchownat.c: Likewise.
24761 * io/fcntl.c: Likewise.
24762 * io/flock.c: Likewise.
24763 * io/fstatfs.c: Likewise.
24764 * io/fstatfs64.c: Likewise.
24765 * io/fstatvfs.c: Likewise.
24766 * io/fstatvfs64.c: Likewise.
24767 * io/futimens.c: Likewise.
24768 * io/fxstat.c: Likewise.
24769 * io/fxstat64.c: Likewise.
24770 * io/fxstatat.c: Likewise.
24771 * io/fxstatat64.c: Likewise.
24772 * io/getcwd.c: Likewise.
24773 * io/isatty.c: Likewise.
24774 * io/lchmod.c: Likewise.
24775 * io/lchown.c: Likewise.
24776 * io/link.c: Likewise.
24777 * io/linkat.c: Likewise.
24778 * io/lseek.c: Likewise.
24779 * io/lseek64.c: Likewise.
24780 * io/lxstat64.c: Likewise.
24781 * io/mkdir.c: Likewise.
24782 * io/mkdirat.c: Likewise.
24783 * io/mkfifo.c: Likewise.
24784 * io/mkfifoat.c: Likewise.
24785 * io/open.c: Likewise.
24786 * io/open64.c: Likewise.
24787 * io/openat.c: Likewise.
24788 * io/openat64.c: Likewise.
24789 * io/pipe.c: Likewise.
24790 * io/pipe2.c: Likewise.
24791 * io/poll.c: Likewise.
24792 * io/posix_fadvise.c: Likewise.
24793 * io/posix_fadvise64.c: Likewise.
24794 * io/posix_fallocate.c: Likewise.
24795 * io/posix_fallocate64.c: Likewise.
24796 * io/read.c: Likewise.
24797 * io/readlink.c: Likewise.
24798 * io/readlinkat.c: Likewise.
24799 * io/rmdir.c: Likewise.
24800 * io/sendfile.c: Likewise.
24801 * io/sendfile64.c: Likewise.
24802 * io/statfs.c: Likewise.
24803 * io/statfs64.c: Likewise.
24804 * io/statvfs.c: Likewise.
24805 * io/statvfs64.c: Likewise.
24806 * io/symlink.c: Likewise.
24807 * io/symlinkat.c: Likewise.
24808 * io/ttyname.c: Likewise.
24809 * io/ttyname_r.c: Likewise.
24810 * io/umask.c: Likewise.
24811 * io/unlink.c: Likewise.
24812 * io/unlinkat.c: Likewise.
24813 * io/utime.c: Likewise.
24814 * io/utimensat.c: Likewise.
24815 * io/write.c: Likewise.
24816 * io/xmknod.c: Likewise.
24817 * io/xmknodat.c: Likewise.
24818 * io/xstat.c: Likewise.
24819 * io/xstat64.c: Likewise.
24820 * login/getpt.c: Likewise.
24821 * login/grantpt.c: Likewise.
24822 * login/unlockpt.c: Likewise.
24823 * math/e_acoshl.c: Likewise.
24824 * math/e_acosl.c: Likewise.
24825 * math/e_asinl.c: Likewise.
24826 * math/e_atan2l.c: Likewise.
24827 * math/e_atanhl.c: Likewise.
24828 * math/e_coshl.c: Likewise.
24829 * math/e_expl.c: Likewise.
24830 * math/e_fmodl.c: Likewise.
24831 * math/e_gammal_r.c: Likewise.
24832 * math/e_hypotl.c: Likewise.
24833 * math/e_j0l.c: Likewise.
24834 * math/e_j1l.c: Likewise.
24835 * math/e_jnl.c: Likewise.
24836 * math/e_lgammal_r.c: Likewise.
24837 * math/e_log10l.c: Likewise.
24838 * math/e_log2l.c: Likewise.
24839 * math/e_logl.c: Likewise.
24840 * math/e_powl.c: Likewise.
24841 * math/e_rem_pio2l.c: Likewise.
24842 * math/e_sinhl.c: Likewise.
24843 * math/e_sqrtl.c: Likewise.
24844 * math/fclrexcpt.c: Likewise.
24845 * math/fedisblxcpt.c: Likewise.
24846 * math/feenablxcpt.c: Likewise.
24847 * math/fegetenv.c: Likewise.
24848 * math/fegetexcept.c: Likewise.
24849 * math/fegetround.c: Likewise.
24850 * math/feholdexcpt.c: Likewise.
24851 * math/fesetenv.c: Likewise.
24852 * math/fesetround.c: Likewise.
24853 * math/feupdateenv.c: Likewise.
24854 * math/fgetexcptflg.c: Likewise.
24855 * math/fraiseexcpt.c: Likewise.
24856 * math/fsetexcptflg.c: Likewise.
24857 * math/ftestexcept.c: Likewise.
24858 * math/k_cosl.c: Likewise.
24859 * math/k_rem_pio2l.c: Likewise.
24860 * math/k_sinl.c: Likewise.
24861 * math/k_tanl.c: Likewise.
24862 * math/s_asinhl.c: Likewise.
24863 * math/s_atanl.c: Likewise.
24864 * math/s_cbrtl.c: Likewise.
24865 * math/s_erfl.c: Likewise.
24866 * math/s_expm1l.c: Likewise.
24867 * math/s_log1pl.c: Likewise.
24868 * math/s_tanhl.c: Likewise.
24869 * misc/acct.c: Likewise.
24870 * misc/brk.c: Likewise.
24871 * misc/chflags.c: Likewise.
24872 * misc/chroot.c: Likewise.
24873 * misc/fchflags.c: Likewise.
24874 * misc/fgetxattr.c: Likewise.
24875 * misc/flistxattr.c: Likewise.
24876 * misc/fremovexattr.c: Likewise.
24877 * misc/fsetxattr.c: Likewise.
24878 * misc/fsync.c: Likewise.
24879 * misc/ftruncate.c: Likewise.
24880 * misc/futimes.c: Likewise.
24881 * misc/futimesat.c: Likewise.
24882 * misc/getdomain.c: Likewise.
24883 * misc/getdtsz.c: Likewise.
24884 * misc/gethostid.c: Likewise.
24885 * misc/gethostname.c: Likewise.
24886 * misc/getloadavg.c: Likewise.
24887 * misc/getpagesize.c: Likewise.
24888 * misc/getsysstats.c: Likewise.
24889 * misc/getxattr.c: Likewise.
24890 * misc/gtty.c: Likewise.
24891 * misc/ioctl.c: Likewise.
24892 * misc/lgetxattr.c: Likewise.
24893 * misc/listxattr.c: Likewise.
24894 * misc/llistxattr.c: Likewise.
24895 * misc/lremovexattr.c: Likewise.
24896 * misc/lsetxattr.c: Likewise.
24897 * misc/lutimes.c: Likewise.
24898 * misc/madvise.c: Likewise.
24899 * misc/mincore.c: Likewise.
24900 * misc/mlock.c: Likewise.
24901 * misc/mlockall.c: Likewise.
24902 * misc/mmap.c: Likewise.
24903 * misc/mprotect.c: Likewise.
24904 * misc/msync.c: Likewise.
24905 * misc/munlock.c: Likewise.
24906 * misc/munlockall.c: Likewise.
24907 * misc/munmap.c: Likewise.
24908 * misc/preadv.c: Likewise.
24909 * misc/preadv64.c: Likewise.
24910 * misc/ptrace.c: Likewise.
24911 * misc/pwritev.c: Likewise.
24912 * misc/pwritev64.c: Likewise.
24913 * misc/readv.c: Likewise.
24914 * misc/reboot.c: Likewise.
24915 * misc/remap_file_pages.c: Likewise.
24916 * misc/removexattr.c: Likewise.
24917 * misc/revoke.c: Likewise.
24918 * misc/select.c: Likewise.
24919 * misc/setdomain.c: Likewise.
24920 * misc/setegid.c: Likewise.
24921 * misc/seteuid.c: Likewise.
24922 * misc/sethostid.c: Likewise.
24923 * misc/sethostname.c: Likewise.
24924 * misc/setregid.c: Likewise.
24925 * misc/setreuid.c: Likewise.
24926 * misc/setxattr.c: Likewise.
24927 * misc/sstk.c: Likewise.
24928 * misc/stty.c: Likewise.
24929 * misc/swapoff.c: Likewise.
24930 * misc/swapon.c: Likewise.
24931 * misc/sync.c: Likewise.
24932 * misc/syncfs.c: Likewise.
24933 * misc/syscall.c: Likewise.
24934 * misc/truncate.c: Likewise.
24935 * misc/ualarm.c: Likewise.
24936 * misc/usleep.c: Likewise.
24937 * misc/ustat.c: Likewise.
24938 * misc/utimes.c: Likewise.
24939 * misc/vhangup.c: Likewise.
24940 * misc/writev.c: Likewise.
24941 * posix/_exit.c: Likewise.
24942 * posix/alarm.c: Likewise.
24943 * posix/execve.c: Likewise.
24944 * posix/fexecve.c: Likewise.
24945 * posix/fork.c: Likewise.
24946 * posix/fpathconf.c: Likewise.
24947 * posix/getaddrinfo.c: Likewise.
24948 * posix/getegid.c: Likewise.
24949 * posix/geteuid.c: Likewise.
24950 * posix/getgid.c: Likewise.
24951 * posix/getgroups.c: Likewise.
24952 * posix/getlogin.c: Likewise.
24953 * posix/getlogin_r.c: Likewise.
24954 * posix/getpgid.c: Likewise.
24955 * posix/getpid.c: Likewise.
24956 * posix/getppid.c: Likewise.
24957 * posix/getresgid.c: Likewise.
24958 * posix/getresuid.c: Likewise.
24959 * posix/getsid.c: Likewise.
24960 * posix/getuid.c: Likewise.
24961 * posix/glob64.c: Likewise.
24962 * posix/nanosleep.c: Likewise.
24963 * posix/pathconf.c: Likewise.
24964 * posix/pause.c: Likewise.
24965 * posix/posix_madvise.c: Likewise.
24966 * posix/pread.c: Likewise.
24967 * posix/pread64.c: Likewise.
24968 * posix/pwrite.c: Likewise.
24969 * posix/pwrite64.c: Likewise.
24970 * posix/sched_getaffinity.c: Likewise.
24971 * posix/sched_getp.c: Likewise.
24972 * posix/sched_gets.c: Likewise.
24973 * posix/sched_primax.c: Likewise.
24974 * posix/sched_primin.c: Likewise.
24975 * posix/sched_rr_gi.c: Likewise.
24976 * posix/sched_setaffinity.c: Likewise.
24977 * posix/sched_setp.c: Likewise.
24978 * posix/sched_sets.c: Likewise.
24979 * posix/sched_yield.c: Likewise.
24980 * posix/setgid.c: Likewise.
24981 * posix/setlogin.c: Likewise.
24982 * posix/setpgid.c: Likewise.
24983 * posix/setresgid.c: Likewise.
24984 * posix/setresuid.c: Likewise.
24985 * posix/setsid.c: Likewise.
24986 * posix/setuid.c: Likewise.
24987 * posix/sleep.c: Likewise.
24988 * posix/spawni.c: Likewise.
24989 * posix/sysconf.c: Likewise.
24990 * posix/times.c: Likewise.
24991 * posix/wait.c: Likewise.
24992 * posix/wait3.c: Likewise.
24993 * posix/wait4.c: Likewise.
24994 * posix/waitpid.c: Likewise.
24995 * resolv/gai_sigqueue.c: Likewise.
24996 * resource/getpriority.c: Likewise.
24997 * resource/getrlimit.c: Likewise.
24998 * resource/getrusage.c: Likewise.
24999 * resource/nice.c: Likewise.
25000 * resource/setpriority.c: Likewise.
25001 * resource/setrlimit.c: Likewise.
25002 * resource/ulimit.c: Likewise.
25003 * rt/aio_cancel.c: Likewise.
25004 * rt/aio_fsync.c: Likewise.
25005 * rt/aio_read.c: Likewise.
25006 * rt/aio_sigqueue.c: Likewise.
25007 * rt/aio_suspend.c: Likewise.
25008 * rt/aio_write.c: Likewise.
25009 * rt/clock_getres.c: Likewise.
25010 * rt/clock_gettime.c: Likewise.
25011 * rt/clock_nanosleep.c: Likewise.
25012 * rt/clock_settime.c: Likewise.
25013 * rt/lio_listio.c: Likewise.
25014 * rt/mq_close.c: Likewise.
25015 * rt/mq_getattr.c: Likewise.
25016 * rt/mq_notify.c: Likewise.
25017 * rt/mq_open.c: Likewise.
25018 * rt/mq_receive.c: Likewise.
25019 * rt/mq_send.c: Likewise.
25020 * rt/mq_setattr.c: Likewise.
25021 * rt/mq_timedreceive.c: Likewise.
25022 * rt/mq_timedsend.c: Likewise.
25023 * rt/mq_unlink.c: Likewise.
25024 * rt/shm_open.c: Likewise.
25025 * rt/shm_unlink.c: Likewise.
25026 * rt/timer_create.c: Likewise.
25027 * rt/timer_delete.c: Likewise.
25028 * rt/timer_getoverr.c: Likewise.
25029 * rt/timer_gettime.c: Likewise.
25030 * rt/timer_settime.c: Likewise.
25031 * setjmp/__longjmp.c: Likewise.
25032 * setjmp/setjmp.c: Likewise.
25033 * signal/kill.c: Likewise.
25034 * signal/killpg.c: Likewise.
25035 * signal/raise.c: Likewise.
25036 * signal/sigaction.c: Likewise.
25037 * signal/sigaltstack.c: Likewise.
25038 * signal/sigblock.c: Likewise.
25039 * signal/sigignore.c: Likewise.
25040 * signal/sigintr.c: Likewise.
25041 * signal/signal.c: Likewise.
25042 * signal/sigpause.c: Likewise.
25043 * signal/sigpending.c: Likewise.
25044 * signal/sigqueue.c: Likewise.
25045 * signal/sigreturn.c: Likewise.
25046 * signal/sigset.c: Likewise.
25047 * signal/sigsetmask.c: Likewise.
25048 * signal/sigstack.c: Likewise.
25049 * signal/sigsuspend.c: Likewise.
25050 * signal/sigtimedwait.c: Likewise.
25051 * signal/sigvec.c: Likewise.
25052 * signal/sigwait.c: Likewise.
25053 * signal/sigwaitinfo.c: Likewise.
25054 * signal/sysv_signal.c: Likewise.
25055 * socket/accept.c: Likewise.
25056 * socket/accept4.c: Likewise.
25057 * socket/bind.c: Likewise.
25058 * socket/connect.c: Likewise.
25059 * socket/getpeername.c: Likewise.
25060 * socket/getsockname.c: Likewise.
25061 * socket/getsockopt.c: Likewise.
25062 * socket/isfdtype.c: Likewise.
25063 * socket/listen.c: Likewise.
25064 * socket/recv.c: Likewise.
25065 * socket/recvfrom.c: Likewise.
25066 * socket/recvmsg.c: Likewise.
25067 * socket/send.c: Likewise.
25068 * socket/sendmsg.c: Likewise.
25069 * socket/sendto.c: Likewise.
25070 * socket/setsockopt.c: Likewise.
25071 * socket/shutdown.c: Likewise.
25072 * socket/sockatmark.c: Likewise.
25073 * socket/socket.c: Likewise.
25074 * socket/socketpair.c: Likewise.
25075 * stdio-common/ctermid.c: Likewise.
25076 * stdio-common/cuserid.c: Likewise.
25077 * stdio-common/remove.c: Likewise.
25078 * stdio-common/rename.c: Likewise.
25079 * stdio-common/renameat.c: Likewise.
25080 * stdio-common/tempname.c: Likewise.
25081 * stdlib/getcontext.c: Likewise.
25082 * stdlib/makecontext.c: Likewise.
25083 * stdlib/setcontext.c: Likewise.
25084 * stdlib/swapcontext.c: Likewise.
25085 * stdlib/system.c: Likewise.
25086 * streams/fattach.c: Likewise.
25087 * streams/fdetach.c: Likewise.
25088 * streams/getmsg.c: Likewise.
25089 * streams/getpmsg.c: Likewise.
25090 * streams/putmsg.c: Likewise.
25091 * streams/putpmsg.c: Likewise.
25092 * sysdeps/unix/bsd/getpt.c: Likewise.
25093 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25094 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25095 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25097 Likewise.
25098 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25099 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25100 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25101 * sysvipc/msgctl.c: Likewise.
25102 * sysvipc/msgget.c: Likewise.
25103 * sysvipc/msgrcv.c: Likewise.
25104 * sysvipc/msgsnd.c: Likewise.
25105 * sysvipc/semctl.c: Likewise.
25106 * sysvipc/semget.c: Likewise.
25107 * sysvipc/semop.c: Likewise.
25108 * sysvipc/semtimedop.c: Likewise.
25109 * sysvipc/shmat.c: Likewise.
25110 * sysvipc/shmctl.c: Likewise.
25111 * sysvipc/shmdt.c: Likewise.
25112 * sysvipc/shmget.c: Likewise.
25113 * termios/tcdrain.c: Likewise.
25114 * termios/tcflow.c: Likewise.
25115 * termios/tcflush.c: Likewise.
25116 * termios/tcgetattr.c: Likewise.
25117 * termios/tcgetpgrp.c: Likewise.
25118 * termios/tcsendbrk.c: Likewise.
25119 * termios/tcsetattr.c: Likewise.
25120 * termios/tcsetpgrp.c: Likewise.
25121 * time/adjtime.c: Likewise.
25122 * time/clock.c: Likewise.
25123 * time/getitimer.c: Likewise.
25124 * time/gettimeofday.c: Likewise.
25125 * time/setitimer.c: Likewise.
25126 * time/settimeofday.c: Likewise.
25127 * time/stime.c: Likewise.
25128 * time/time.c: Likewise.
25129
251302012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25131
a20492cf
PT
25132 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25133 /usr/old/bin.
25134
72e182e3
PT
25135 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25136 instead of spaces.
25137 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25138
fbeafede
JM
251392012-11-03 Joseph Myers <joseph@codesourcery.com>
25140
5b5b04d6
JM
25141 [BZ #14796]
25142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25143 FE_TONEAREST before applying Dekker multiplication and Knuth
25144 addition. Clear inexact exceptions and check for exact zero
25145 results afterwards.
25146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25147 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25148 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25149 * math/libm-test.inc (fma_test): Add more tests.
25150 (fma_test_towardzero): Likewise.
25151 (fma_test_downward): Likewise.
25152 (fma_test_upward): Likewise.
25153 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25154 function.
25155 (libc_fesetround): New macro.
25156 (libc_fesetroundf): Likewise.
25157 (libc_fesetroundl): Likewise.
25158 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25159 function.
25160 (libc_fesetround_387): Likewise.
25161 (libc_fesetroundf): New macro.
25162 (libc_fesetround): Likewise.
25163 (libc_fesetroundl): Likewise.
25164 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25165 function.
25166 (libc_fesetroundf): New macro.
25167 (libc_fesetround): Likewise.
25168 (libc_fesetroundl): Likewise.
25169 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25170 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25171 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25172 libm_hidden_ver.
25173 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25174 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25175 libm_hidden_def.
25176 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25177 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25178 libm_hidden_ver.
25179 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25180 libm_hidden_def.
25181
fbeafede
JM
25182 [BZ #3439]
25183 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25184 integer constant usable in #if and use that to give value to enum
25185 constant.
25186 (FE_DIVBYZERO): Likewise.
25187 (FE_UNDERFLOW): Likewise.
25188 (FE_OVERFLOW): Likewise.
25189 (FE_INVALID): Likewise.
25190 (FE_INVALID_SNAN): Likewise.
25191 (FE_INVALID_ISI): Likewise.
25192 (FE_INVALID_IDI): Likewise.
25193 (FE_INVALID_ZDZ): Likewise.
25194 (FE_INVALID_IMZ): Likewise.
25195 (FE_INVALID_COMPARE): Likewise.
25196 (FE_INVALID_SOFTWARE): Likewise.
25197 (FE_INVALID_SQRT): Likewise.
25198 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25199 (FE_TONEAREST): Likewise.
25200 (FE_TOWARDZERO): Likewise.
25201 (FE_UPWARD): Likewise.
25202 (FE_DOWNWARD): Likewise.
25203 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25204 (FE_DIVBYZERO): Likewise.
25205 (FE_OVERFLOW): Likewise.
25206 (FE_UNDERFLOW): Likewise.
25207 (FE_INEXACT): Likewise.
25208 (FE_TONEAREST): Likewise.
25209 (FE_DOWNWARD): Likewise.
25210 (FE_UPWARD): Likewise.
25211 (FE_TOWARDZERO): Likewise.
25212 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25213 (FE_UNDERFLOW): Likewise.
25214 (FE_OVERFLOW): Likewise.
25215 (FE_DIVBYZERO): Likewise.
25216 (FE_INVALID): Likewise.
25217 (FE_TONEAREST): Likewise.
25218 (FE_TOWARDZERO): Likewise.
25219 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25220 (FE_OVERFLOW): Likewise.
25221 (FE_UNDERFLOW): Likewise.
25222 (FE_DIVBYZERO): Likewise.
25223 (FE_INEXACT): Likewise.
25224 (FE_TONEAREST): Likewise.
25225 (FE_TOWARDZERO): Likewise.
25226 (FE_UPWARD): Likewise.
25227 (FE_DOWNWARD): Likewise.
25228 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25229 (FE_DIVBYZERO): Likewise.
25230 (FE_OVERFLOW): Likewise.
25231 (FE_UNDERFLOW): Likewise.
25232 (FE_INEXACT): Likewise.
25233 (FE_TONEAREST): Likewise.
25234 (FE_DOWNWARD): Likewise.
25235 (FE_UPWARD): Likewise.
25236 (FE_TOWARDZERO): Likewise.
25237
105ca950
CM
252382012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25239
25240 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25241
a542b389
AS
252422012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25243
25244 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25245 commands. Quote $PWD.
25246 (blacklist_exports): Don't use remove_newlines. Replace "declare
25247 -x" by "export".
25248 (remove_newlines): Remove.
25249
f62c8abc
L
252502012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25251
25252 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25253 * stdlib/stdlib.h (atof): Moved to ...
25254 * include/bits/stdlib-float.h: Here. New file.
25255 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25256 * stdlib/bits/stdlib-float.h: New file.
25257 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25258 -mno-sse -mno-mmx.
25259 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25260 <xmmintrin.h>.
25261
0155d5b2
JM
252622012-11-02 Joseph Myers <joseph@codesourcery.com>
25263
a68d0680
JM
25264 * conform/conformtest.pl (@headers): Add fenv.h.
25265 * conform/data/fenv.h-data: New file.
25266 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25267 include of <math/fenv.h>.
25268
caf7f573
JM
25269 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25270 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25271 && !UNIX98]. Enables tests for XOPEN2K8.
25272 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25273 POSIX2008]: Likewise.
25274
6c073ad6
JM
25275 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25276 (struct rusage): Do not expect type or its members.
25277
0155d5b2
JM
25278 [BZ #3439]
25279 * math/math.h (FP_NAN): Define macro to integer constant usable in
25280 #if and use that to give value to enum constant.
25281 (FP_INFINITE): Likewise.
25282 (FP_ZERO): Likewise.
25283 (FP_SUBNORMAL): Likewise.
25284 (FP_NORMAL): Likewise.
25285
b5dcacb4
AS
252862012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25287
25288 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25289 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25290 arguments.
25291
f7934be8
RM
252922012-11-02 Roland McGrath <roland@hack.frob.com>
25293
25294 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25295 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25296 autoconf-time if not.
25297 * configure.in: Remove AC_PREREQ.
25298
d7d08bde
TMQMF
252992012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25300
25301 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25302 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25303 of the internal implementation.
25304
dcdae19a
JM
253052012-11-02 Joseph Myers <joseph@codesourcery.com>
25306
25307 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25308 except include of <misc/sys/syslog.h>.
25309
d6cffd3e
AS
253102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25311
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25313 function returns with a NULL context exit with zero.
25314
b3563932
TMQMF
253152012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25316
25317 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25318
b288a93d
L
253192012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25320
25321 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25322 (run_program_cmd): This.
25323 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25324 (tst_langinfo): New variable. Use it.
25325
a2421a68
SAS
253262012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25327
25328 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25329 floating point opcodes.
25330
6f796e1b
TS
253312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25332
7402596b
TS
25333 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25334 variable.
25335
d0d4f868
TS
25336 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25337
6f796e1b
TS
25338 * sysdeps/mach/hurd/powerpc: Remove directory.
25339 * sysdeps/mach/powerpc: Likewise.
25340
4da224a2
AS
253412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25342
25343 * scripts/check-local-headers.sh: Ignore c++ headers.
25344
341dd673
TS
253452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25346
25347 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25348 __libc_cleanup_region_start argument.
25349
473611b2
JM
253502012-11-01 Joseph Myers <joseph@codesourcery.com>
25351
25352 [BZ #14784]
25353 [BZ #14785]
25354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25355 x * y using scaling, not as x * y + z.
25356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25358 * math/libm-test.inc (fma_test): Add more tests.
25359 (fma_test_towardzero): Likewise.
25360 (fma_test_downward): Likewise.
25361 (fma_test_upward): Likewise.
25362
4078da3d
TS
253632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25364
25365 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25366
903252aa
JM
253672012-10-31 Joseph Myers <joseph@codesourcery.com>
25368
25369 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25370 New variable.
25371
cbc818d0
TS
253722012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25373
25374 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25375
5a03cb1e
AS
253762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25377
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25379 Fix sort order.
25380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25381 Likewise.
25382
90aff2ff
TMQMF
253832012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25384
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25386 Fix the order of the list for glibc 2.17.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25388 Likewise.
25389
1818fcb7
AS
253902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25391
25392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25393
ef82f4da
JM
253942012-10-31 Joseph Myers <joseph@codesourcery.com>
25395
16a0e2ec
JM
25396 [BZ #14610]
25397 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25398 for low part of x being zero before using __atanl (y).
25399 * math/libm-test.inc (atan2_test): Add another test.
25400
0eb69512
JM
25401 * manual/install.texi (Configuring and compiling): Document
25402 general use of test-wrapper and test-wrapper-env.
25403 * INSTALL: Regenerated.
25404
ef82f4da
JM
25405 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25406 (__fma): Do not extract and scale down low bits on after-rounding
25407 systems when result rounded to normal precision would have normal
25408 exponent.
25409 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25410 (__fmal): Do not extract and scale down low bits on after-rounding
25411 systems when result rounded to normal precision would have normal
25412 exponent.
25413 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25414 (__fmal): Do not extract and scale down low bits on after-rounding
25415 systems when result rounded to normal precision would have normal
25416 exponent.
25417 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25418 macro.
25419 (fma_test): Add more tests.
25420 (fma_test_towardzero): Likewise.
25421 (fma_test_downward): Likewise.
25422 (fma_test_upward): Likewise.
25423
954ef0d9
L
254242012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25425
25426 * sysdeps/i386/tininess.h: Renamed to ...
25427 * sysdeps/x86/tininess.h: This.
25428 * sysdeps/x86_64/tininess.h: Removed.
25429
df61ffb2
JM
254302012-10-30 Joseph Myers <joseph@codesourcery.com>
25431
25432 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25433 input. Use $(build-program-cmd).
25434 ($(objpfx)tst-array1-static.out): Likewise.
25435 ($(objpfx)tst-array2.out): Likewise.
25436 ($(objpfx)tst-array3.out): Likewise.
25437 ($(objpfx)tst-array4.out): Likewise.
25438 ($(objpfx)tst-array5.out): Likewise.
25439 ($(objpfx)tst-array5-static.out): Likewise.
25440
01767843
CM
254412012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25442
47cc1490
CM
25443 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25444 if defined.
25445
01767843
CM
25446 * nss/nsswitch.h (nss_interface_function): Provide new
25447 macro for use with NSS functions.
25448 * grp/initgroups.c: Use new macro.
25449 * nss/getXXbyYY.c: Likewise.
25450 * nss/getXXbyYY_r.c: Likewise.
25451 * nss/getXXent.c: Likewise.
25452 * nss/getXXent_r.c: Likewise.
25453 * sysdeps/posix/getaddrinfo.c: Likewise.
25454
8321aa97
AJ
254552012-10-30 Andreas Jaeger <aj@suse.de>
25456
25457 * po/ru.po: Update Russion translation from translation project.
25458
2a27fd6d
JM
254592012-10-30 Joseph Myers <joseph@codesourcery.com>
25460
8627a232
JM
25461 [BZ #14152]
25462 [BZ #14783]
25463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25464 result and shift together with sticky bit instead of replicating
25465 round-to-nearest rounding.
25466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25468 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25469 missing underflow exceptions.
25470 (fma_test_towardzero): Add more tests.
25471 (fma_test_downward): Likewise.
25472 (fma_test_upward): Likewise.
25473
2a27fd6d
JM
25474 [BZ #14047]
25475 * sysdeps/generic/tininess.h: New file.
25476 * sysdeps/i386/tininess.h: Likewise.
25477 * sysdeps/sh/tininess.h: Likewise.
25478 * sysdeps/x86_64/tininess.h: Likewise.
25479 * stdlib/tst-strtod-underflow.c: Likewise.
25480 * stdlib/tst-tininess.c: Likewise.
25481 * stdlib/strtod_l.c: Include <tininess.h>.
25482 (round_and_return): Do not set errno for exact underflow cases.
25483 Force an underflow exception when setting errno for underflow.
25484 Determine underflow based on rounding to normal precision if
25485 TININESS_AFTER_ROUNDING.
25486 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25487 ERANGE for exact underflow cases.
25488 * stdlib/Makefile (tests): Add tst-tininess and
25489 tst-strtod-underflow.
25490 ($(objpfx)tst-tininess): Use $(link-libm).
25491 ($(objpfx)tst-strtod-underflow): Likewise.
25492
e7170363
AJ
254932012-10-30 Andreas Jaeger <aj@suse.de>
25494
e5088dc6
AJ
25495 [BZ#14767]
25496 * elf/Makefile (tests): Remove conditional for have-initfini-array
25497 since this is now always required and the variable does not exist
25498 anymore.
25499 (tests-static): Likewise.
25500 (modules-names): Likewise.
25501
e7170363 25502 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25503
25504 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25505 merged with constructor/destructor.
25506 (init_array): Likewise.
25507 * elf/tst-array2dep.c (fini_array): Likewise.
25508 (init_array): Likewise.
25509
60457d8a
MF
255102012-10-29 Mike Frysinger <vapier@gentoo.org>
25511
25512 * manual/message.texi: Delete @cartouche tags.
25513
8bece752
PT
255142012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25515
94ce799f
PT
25516 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25517 EOPNOTSUPP.
25518 * sysdeps/mach/hurd/fsync.c: Likewise.
25519
8bece752
PT
25520 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25521 [_POSIX_REALTIME_SIGNALS]: Change condition to
25522 [_POSIX_REALTIME_SIGNALS > 0].
25523
86ebe6b1
AJ
255242012-10-27 Andreas Jaeger <aj@suse.de>
25525
25526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25527 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25529 [__WORDSIZE != 64]: Likewise.
25530
54399c08
L
255312012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 * iconvdata/tst-table.sh: Remove ${SHELL}.
25534 * iconvdata/tst-tables.sh: Likewise.
25535
e2211bed
DM
255362012-10-25 David S. Miller <davem@davemloft.net>
25537
25538 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25539 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25540 of strtoull.
25541
f303f97c
DM
25542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25543 ifunc-impl-list.c
25544 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25545 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25546 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25547 file.
25548
1e9d84cd
RM
255492012-10-25 Roland McGrath <roland@hack.frob.com>
25550
25551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25552 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25553 __getdirentries.
25554
df381762
JM
255552012-10-25 Joseph Myers <joseph@codesourcery.com>
25556 Jim Blandy <jimb@codesourcery.com>
25557
25558 * scripts/cross-test-ssh.sh: New file.
25559 * manual/install.texi (Configuring and compiling): Document use of
25560 cross-test-ssh.sh.
25561 * INSTALL: Regenerated.
25562
bff64913
PT
255632012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25564
25565 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25566 EOPNOTSUPP.
25567
25fe8932
JM
255682012-10-25 Joseph Myers <joseph@codesourcery.com>
25569
25570 * Makeconfig (run-program-prefix): Fix comment.
25571
cc1290d0
JM
255722012-10-24 Joseph Myers <joseph@codesourcery.com>
25573 Jim Blandy <jimb@codesourcery.com>
25574
25575 * Makeconfig (test-wrapper): New variable,
25576 (test-wrapper-env): Likewise.
25577 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25578 (run-built-tests): Define to yes.
25579 (run-program-prefix): Use $(test-wrapper).
25580 (built-program-cmd): Likewise.
25581 * Rules (make-test-out): Use $(test-wrapper-env) and
25582 $(host-built-program-cmd).
25583 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25584 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25585 tst-pathopt.sh.
25586 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25587 $(test-wrapper-env) to tst-rtld-load-self.sh.
25588 ($(objpfx)order2.out): Use $(test-wrapper).
25589 ($(objpfx)tst-initorder.out): Likewise.
25590 ($(objpfx)tst-initorder2.out): Likewise.
25591 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25592 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25593 (test_wrapper_env): New variable. Use it to run ld.so.
25594 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25595 Use it to run ld.so.
25596 (test_wrapper_env): Likewise.
25597 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25598 $(test-wrapper) to run-iconv-test.sh.
25599 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25600 (ICONV): Use $test_wrapper.
25601 * posix/Makefile ($(objpfx)globtest.out): Pass
25602 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25603 globtest.sh, not $(run-program-prefix).
25604 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25605 (test_wrapper): Likewise.
25606 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25607 set together with run_via_rtld_prefix.
25608 (run_program_prefix): Define in terms of test_wrapper and
25609 run_via_rtld_prefix.
25610
6e6249d0
RM
256112012-10-24 Roland McGrath <roland@hack.frob.com>
25612
25613 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25614 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25615 Targets removed.
25616
25617 [BZ #14743]
25618 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25619 Declare __clock_getres, __clock_gettime, __clock_settime,
25620 __clock_nanosleep, and __clock_getcpuclockid.
25621 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25622 Remove librt_hidden_def (clock_gettime).
25623 * sysdeps/unix/clock_gettime.c: Likewise.
25624 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25625 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25626 * rt/clock_getres.c: Define __clock_getres as an alias.
25627 * sysdeps/posix/clock_getres.c: Likewise.
25628 * rt/clock_settime.c: Define __clock_settime as an alias.
25629 * sysdeps/unix/clock_settime.c: Likewise.
25630 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25631 * sysdeps/unix/clock_nanosleep.c: Likewise.
25632 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25633 * rt/clock-compat.c: New file.
25634 * rt/Makefile (librt-routines): Add clock-compat and move
25635 $(clock-routines) to ...
25636 (routines): ... here, new variable.
25637 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25638 Don't add get_clockfreq here.
25639 * rt/Versions (libc: GLIBC_2.17): New version set.
25640 Add clock_* symbols here.
25641 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25642 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25643 (GLIBC_2.17): Add clock_* symbols.
25644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25648 Likewise.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25650 Likewise.
25651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25655 * NEWS: Mention the move.
25656
25657 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25658 Use __open, __read, __close rather than their public counterparts.
25659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25660 (__get_clockfreq_via_cpuinfo): Likewise.
25661 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25662 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25663
25664 * config.h.in (HAVE_IFUNC): New #undef.
25665 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25666 was successful.
25667 * configure: Regenerated.
25668
0cae3f4b
MF
256692012-10-24 Mike Frysinger <vapier@gentoo.org>
25670
25671 * configure.in: Move READELF check to start of file.
25672 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25673 libc_cv_asm_gnu_indirect_function in the process.
25674 * configure: Regenerated.
25675
8175a253
MF
256762012-10-24 Mike Frysinger <vapier@gentoo.org>
25677
25678 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25679 send the output to /dev/null.
25680 (libc_cv_cc_with_libunwind): Likewise.
25681 (libc_cv_as_noexecstack): Likewise.
25682 * configure: Regenerate.
25683
0708a7d1
JM
256842012-10-24 Joseph Myers <joseph@codesourcery.com>
25685
10b40d85
JM
25686 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25687
0708a7d1
JM
25688 * posix/globtest.sh (TMPDIR): Do not set.
25689 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25690 (testout): Likewise.
25691
9fddec1a
AJ
256922012-10-24 Andreas Jaeger <aj@suse.de>
25693
3a8db22f
AJ
25694 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25695 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25696 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25697 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25698 posix_fadvise64, posix_fallocate64.
25699
9fddec1a
AJ
25700 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25701 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25702 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25703 Likewise.
25704 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25705 Likewise.
25706 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25707
25708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25709 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25710 <bits/fcntl-linux.h>.
25711 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25712
25713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25714 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25715 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25716 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25717 [__WORDSIZE != 64]: Likewise.
25718
ebfd1bbd
JM
257192012-10-23 Joseph Myers <joseph@codesourcery.com>
25720
03ac099f
JM
25721 * Makeconfig (run-built-tests): New variable.
25722 * Rules [$(cross-compiling) = yes]: Change condition to
25723 [$(run-built-tests) = no].
25724 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25725 to [$(run-built-tests) = yes].
25726 * elf/Makefile [$(cross-compiling) = no]: Likewise
25727 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25728 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25729 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25730 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25731 * io/Makefile [$(cross-compiling) = no]: Likewise.
25732 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25733 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25734 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25735 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25736 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25737 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25738 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25739 * string/Makefile [$(cross-compiling) = no]: Likewise.
25740
ebfd1bbd
JM
25741 * posix/Makefile ($(objpfx)globtest.out): Pass
25742 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25743 $(rtld-installed-name).
25744 * posix/globtest.sh (elf_objpfx): Remove variable.
25745 (rtld_installed_name): Likewise.
25746 (library_path): Likewise.
25747 (run_program_prefix): New variable. Use for running globtest
25748 binary.
25749
166bca24
JB
257502012-10-23 Jim Blandy <jimb@codesourcery.com>
25751 Joseph Myers <joseph@codesourcery.com>
25752
25753 * Makeconfig (host-built-program-cmd): New variable.
25754 * elf/Makefile (tst-stackguard1-ARGS): Use
25755 $(host-built-program-cmd).
25756 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25757 (tst-spawn-ARGS): Likewise.
25758 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25759
88866099
JM
257602012-10-23 Joseph Myers <joseph@codesourcery.com>
25761 Jim Blandy <jimb@codesourcery.com>
25762
25763 * Makeconfig (run-via-rtld-prefix): New variable.
25764 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25765 (built-program-cmd): Likewise.
25766
b4b4c296
AJ
257672012-10-22 Andreas Jaeger <aj@suse.de>
25768
25769 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25770 __O_RSYNC if it exists, otherwise to O_SYNC.
25771
6fb54a22
JB
257722012-10-22 Jim Blandy <jimb@codesourcery.com>
25773 Joseph Myers <joseph@codesourcery.com>
25774
25775 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25776 /dev/null.
25777 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25778 from /dev/null
25779 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25780 /dev/null.
25781
481b90b9
AJ
257822012-10-22 Andreas Jaeger <aj@suse.de>
25783
2a0e2669
AJ
25784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25785 Define always.
25786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25787
76e38f9a
AJ
25788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25789 bits/fcntl-linux.h.
25790
7cd37b43
AJ
25791 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25792 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25793
481b90b9
AJ
25794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25795 to __O_LARGEFILE.
25796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25797 to __O_LARGEFILE.
25798
aba75984
JB
257992012-10-21 Jim Blandy <jimb@codesourcery.com>
25800 Joseph Myers <joseph@codesourcery.com>
25801
25802 * config.make.in (NM): New variable.
25803
88d4247f
AJ
258042012-10-21 Andreas Jaeger <aj@suse.de>
25805
25806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25807 definitions and declarations that are provided by
25808 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25809
f2eed205
L
258102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25811
25812 [BZ #14683]
25813 * elf/Makefile (tests-static): Add tst-leaks1-static.
25814 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25815 ($(objpfx)tst-leaks1-static): New rule.
25816 ($(objpfx)tst-leaks1-static-mem): Likewise.
25817 (tst-leaks1-static-ENV): New macro.
25818 * elf/dl-open.c (dl_open_worker): Check the main application
25819 only if SHARED is defined.
25820 * elf/tst-leaks1-static.c: New file.
25821
335e6931
AJ
258222012-10-20 Andreas Jaeger <aj@suse.de>
25823
25824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25825 generic values for Linux.
25826 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25827 and declarations that are provided by <bits/fcntl-linux.h> and
25828 include <bits/fcntl-linux.h>.
25829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25831
ac5c94d3
RM
258322012-10-20 Roland McGrath <roland@hack.frob.com>
25833
25834 * io/fcntl.h: Move include of <bits/types.h> to the top and
25835 include it unconditionally.
25836
de54b33a
L
258372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25838
228cfb01
L
25839 * wcsmbs/Makefile (tests-ifunc): New variable.
25840 (tests): Add $(tests-ifunc).
25841 * wcsmbs/test-wcschr-ifunc.c: New file.
25842 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25843 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25844 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25845 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25846 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25847
69f07e5f
L
25848 * string/Makefile (tests-ifunc): New variable.
25849 (tests): Add $(tests-ifunc).
25850 * string/test-memccpy.c (TEST_NAME): New macro.
25851 * string/test-memchr.c (TEST_NAME): Likewise.
25852 * string/test-memcmp.c (TEST_NAME): Likewise.
25853 * string/test-memcpy.c (TEST_NAME): Likewise.
25854 * string/test-memmem.c (TEST_NAME): Likewise.
25855 * string/test-memmove.c (TEST_NAME): Likewise.
25856 * string/test-memset.c (TEST_NAME): Likewise.
25857 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25858 * string/test-stpcpy.c (TEST_NAME): Likewise.
25859 * string/test-stpncpy.c (TEST_NAME): Likewise.
25860 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25861 * string/test-strcasestr.c (TEST_NAME): Likewise.
25862 * string/test-strcat.c (TEST_NAME): Likewise.
25863 * string/test-strchr.c (TEST_NAME): Likewise.
25864 * string/test-strcmp.c(TEST_NAME): Likewise.
25865 * string/test-strcpy.c (TEST_NAME): Likewise.
25866 * string/test-strcspn.c (TEST_NAME): Likewise.
25867 * string/test-strlen.c (TEST_NAME): Likewise.
25868 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25869 * string/test-strncmp.c (TEST_NAME): Likewise.
25870 * string/test-strncpy.c (TEST_NAME): Likewise.
25871 * string/test-strnlen.c (TEST_NAME): Likewise.
25872 * string/test-strpbrk.c (TEST_NAME): Likewise.
25873 * string/test-strrchr.c (TEST_NAME): Likewise.
25874 * string/test-strspn.c (TEST_NAME): Likewise.
25875 * string/test-strstr.c (TEST_NAME): Likewise.
25876 * string/test-bcopy-ifunc.c: New file.
25877 * string/test-bzero-ifunc.c: Likewise.
25878 * string/test-memccpy-ifunc.c: Likewise.
25879 * string/test-memchr-ifunc.c: Likewise.
25880 * string/test-memcmp-ifunc.c: Likewise.
25881 * string/test-memcpy-ifunc.c: Likewise.
25882 * string/test-memmem-ifunc.c: Likewise.
25883 * string/test-memmove-ifunc.c: Likewise.
25884 * string/test-mempcpy-ifunc.c: Likewise.
25885 * string/test-memset-ifunc.c: Likewise.
25886 * string/test-rawmemchr-ifunc.c: Likewise.
25887 * string/test-stpcpy-ifunc.c: Likewise.
25888 * string/test-stpncpy-ifunc.c: Likewise.
25889 * string/test-strcasecmp-ifunc.c: Likewise.
25890 * string/test-strcasestr-ifunc.c: Likewise.
25891 * string/test-strcat-ifunc.c: Likewise.
25892 * string/test-strchr-ifunc.c: Likewise.
25893 * string/test-strchrnul-ifunc.c: Likewise.
25894 * string/test-strcmp-ifunc.c: Likewise.
25895 * string/test-strcpy-ifunc.c: Likewise.
25896 * string/test-strcspn-ifunc.c: Likewise.
25897 * string/test-strlen-ifunc.c: Likewise.
25898 * string/test-strncasecmp-ifunc.c: Likewise.
25899 * string/test-strncat-ifunc.c: Likewise.
25900 * string/test-strncmp-ifunc.c: Likewise.
25901 * string/test-strncpy-ifunc.c: Likewise.
25902 * string/test-strnlen-ifunc.c: Likewise.
25903 * string/test-strpbrk-ifunc.c: Likewise.
25904 * string/test-strrchr-ifunc.c: Likewise.
25905 * string/test-strspn-ifunc.c: Likewise.
25906 * string/test-strstr-ifunc.c: Likewise.
25907
de54b33a
L
25908 * debug/Makefile (tests-ifunc): New variable.
25909 (tests): Add $(tests-ifunc).
25910 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25911 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25912 * debug/test-stpcpy_chk-ifunc.c: New file.
25913 * debug/test-strcpy_chk-ifunc.c: Likewise.
25914
88481c16
SP
259152012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25916
25917 [BZ #13601]
25918 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25919 header is not read in.
25920
135948bd
JM
259212012-10-19 Joseph Myers <joseph@codesourcery.com>
25922
89f1c388
JM
25923 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25924 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25925 directly. Pass built executable to script as
25926 $(built-program-cmd).
25927 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25928 $testprogram without using LD_LIBRARY_PATH and $ldso.
25929
e40a0d21
JM
25930 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25931 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25932 $(rtld-installed-name).
25933 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25934 (rtld_installed_name): Likewise.
25935 (library_path): Likewise.
25936 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25937 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25938 $(run-program-prefix) to tst-tables.sh.
25939 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25940 it to run tst-table-from and tst-table-to.
25941 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25942 Pass it to tst-table.sh.
25943 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25944 $(run-program-prefix) to tst-gettext.sh.
25945 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25946 tst-translit.sh.
25947 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25948 tst-gettext2.sh.
25949 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25950 to run tst-gettext.
25951 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25952 to run tst-gettext2.
25953 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25954 to run tst-translit.
25955 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25956 $(run-program-prefix) to tst-mtrace.sh.
25957 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25958 to run tst-mtrace.
25959 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25960 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25961 $(rtld-installed-name).
25962 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25963 (rtld_installed_name): Likewise.
25964 (run_program_prefix): New variable. Use it to run wordexp-test.
25965
728e272a
JM
25966 * Makeconfig (ARCH): Remove all definitions.
25967 (machine): Likewise.
25968 [ARCH]: Remove conditional code.
25969 [!objdir]: Give error.
25970 [!objdir] (objpfx): Remove.
25971 [!objdir] (common-objpfx): Likewise.
25972 [!objdir] (common-objdir): Likewise.
25973 * configure.in (config_makefile): Remove. Hardcode Makefile in
25974 AC_CONFIG_FILES call.
25975 * configure: Regenerated.
25976
d528cdcf
JM
25977 [BZ #13888]
25978 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25979 or TMPDIR.
25980 (testout): Likewise.
25981
135948bd
JM
25982 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25983 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25984 $(rtld-installed-name).
25985 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25986 (rtld_installed_name): Likwise.
25987 (runit): Remove function.
25988 (run_getconf): New variable, Use it for running getconf binary.
25989
38c78296
L
259902012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25991
25992 [BZ #14716]
25993 * string/test-memmem.c (check_result): New function.
25994 (do_one_test): Use it.
25995 (check1): New function.
25996 (test_main): Use it.
25997
d077f65f
MT
259982012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25999
26000 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26001
ced52c71
JM
260022012-10-18 Joseph Myers <joseph@codesourcery.com>
26003
26004 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26005 (_G_LSEEK64): Likewise.
26006 (_G_MMAP64): Likewise.
26007 (_G_FSTAT64): Likewise.
26008 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26009 (_G_LSEEK64): Likewise.
26010 (_G_MMAP64): Likewise.
26011 (_G_FSTAT64): Likewise.
26012 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26013 unconditional. Call __mmap64 directly.
26014 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26015 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26016 __lseek64 directly.
26017 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26018 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26019 __mmap64 directly.
26020 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26021 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26022 __lseek64 directly.
26023 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26024 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26025 __lseek64 directly.
26026 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26027 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26028 __lseek64 directly.
26029 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26030 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26031 __fxstat64 directly.
26032 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26033 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26034 unconditional.
26035 (freopen64) [!_G_OPEN64]: Remove conditional code.
26036 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26037 unconditional.
26038 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26039 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26040 unconditional.
26041 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26042 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26043 unconditional.
26044 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26045 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26046 unconditional.
26047 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26048 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26049 unconditional.
26050 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26051 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26052 unconditional.
26053 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26054 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26055 unconditional.
26056 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26057
b741de23
SP
260582012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26059
26060 [BZ #12140]
26061 * manual/memory.texi (Malloc Tunable Parameters): Add note
26062 about free list pointers overwriting some perturb bytes.
26063 Wording suggested by Roland McGrath.
26064
f9b9d9c9
JM
260652012-10-17 Joseph Myers <joseph@codesourcery.com>
26066
26067 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26068 (lgamma_test): Likewise.
26069 (tgamma_test): Likewise.
26070
172a631a
FW
260712012-10-16 Florian Weimer <fweimer@redhat.com>
26072
26073 [BZ #14700]
26074 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26075 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26076
e9f37252
MK
260772012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26078
26079 * NEWS: Mention BZ #14716.
26080 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26081 when removing AVAILABLE1_USES_J macro.
26082
d394eb74
L
260832012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26086 (__bswap_64): __uint64_t for unsigned 64-bit int.
26087
ca38dc17
AS
260882012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26089
26090 * include/string.h (memmem): Declare libc hidden alias.
26091 * string/memmem.c (memmem): Define libc hidden alias.
26092 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26093 __read, __close instead of open, read, close.
26094
9a387d1f
L
260952012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26096
ac49ecaf
L
26097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26098 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26099 global and hidden.
26100 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26101 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26102 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26103 Likewise.
26104 (__rawmemchr_sse2): Likewise.
26105 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26106 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26107 (__strchr_sse2): Likewise.
26108 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26109 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26110 (__strcasecmp_sse2): Likewise.
26111 (__strncasecmp_sse2): Likewise.
26112 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26113 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26114 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26115 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26116 (__strrchr_sse2): Likewise.
26117 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26118 ifunc-impl-list.c.
26119 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26120 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26121 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26122 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26123 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26124 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26125 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26126 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26127 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26128 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26129 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26130 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26131 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26132 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26133 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26134 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26135 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26136 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26137 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26138 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26139 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26140 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26141 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26142 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26143 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26144 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26145 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26146 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26147 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26148 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26149
b090e8ea
L
26150 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26151 global and hidden.
26152 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26153 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26154 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26155 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26156 Likewise.
26157 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26158 Likewise.
26159 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26160 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26161 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26162 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26163 ifunc-impl-list.c.
26164 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26165 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26166 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26167 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26168 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26169 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26170 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26171 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26172 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26173 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26174 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26175 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26176 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26177 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26178 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26179 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26180 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26181 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26182 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26183 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26184 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26185 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26186 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26187 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26188 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26189 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26190 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26191 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26192 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26193 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26194 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26195 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26196 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26197 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26198 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26199 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26200 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26201 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26202 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26203 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26204 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26205
11dd4af6
L
26206 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26207 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26208 * include/ifunc-impl-list.h: New file.
26209 * misc/ifunc-impl-list.c: Likewise.
26210 * misc/Makefile (routines): Add ifunc-impl-list.
26211 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26212 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26213 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26214 TEST_NAME]: New variables.
11dd4af6
L
26215 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26216 are defined.
26217 (test_init): Call __libc_ifunc_impl_list to initialize
26218 func_list if TEST_IFUNC and TEST_NAME are defined.
26219
9a387d1f
L
26220 * string/Makefile (strop-tests): Add bcopy and bzero.
26221 * string/test-bcopy.c: New file.
26222 * string/test-bzero.c: Likewise.
26223 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26224 defined.
26225 * string/test-memset.c: Support bzero test if TEST_BZERO is
26226 defined.
26227 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26228 __libc_memmove.
26229 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26230 __libc_memset.
26231 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26232 of memset.
26233
472371b9
JM
262342012-10-10 Joseph Myers <joseph@codesourcery.com>
26235
1e4a9536
JM
26236 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26237 * configure: Regenerated.
26238
d173d12e
JM
26239 * Makeconfig (+link-static-before-libc): Don't include
26240 $(link-static-libc).
26241
472371b9
JM
26242 * libio/libio.h (_IO_pos_t): Remove.
26243
89a3ad0b
AO
262442012-10-10 Alexandre Oliva <aoliva@redhat.com>
26245
26246 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26247 McGrath.
26248
e7451425
AO
262492012-10-10 Alexandre Oliva <aoliva@redhat.com>
26250
26251 * crypt/crypt-entry.c: Include fips-private.h.
26252 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26253 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26254 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26255 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26256
4ba74a35
AO
262572012-10-10 Alexandre Oliva <aoliva@redhat.com>
26258
26259 * crypt/crypt-private.h: Include stdbool.h.
26260 (_ufc_setup_salt_r): Return bool.
26261 * crypt/crypt-entry.c: Include errno.h.
26262 (__crypt_r): Return NULL with EINVAL for bad salt.
26263 * crypt/crypt_util.c (bad_for_salt): New.
26264 (_ufc_setup_salt_r): Check that salt is long enough and within
26265 the specified alphabet.
26266 * crypt/badsalttest.c: New file.
26267 * crypt/Makefile (tests): Add it.
26268 ($(objpfx)badsalttest): New.
26269
f96f1242
MK
262702012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26271
26272 * NEWS: Add entry for BZ #14602.
26273
0e8e0c1c
JM
262742012-10-09 Joseph Myers <joseph@codesourcery.com>
26275
26276 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26277 type-generic.
26278 * math/libm-test.inc: Update comment listing what functions and
26279 macros are tested.
26280 (isgreater_test): New function.
26281 (isgreaterequal_test): Likewise.
26282 (isless_test): Likewise.
26283 (islessequal_test): Likewise.
26284 (islessgreater_test): Likewise.
26285 (isunordered_test): Likewise.
26286 (main): Call the new functions.
26287
273edc5e
RM
262882012-10-09 Roland McGrath <roland@hack.frob.com>
26289
b8493de0
RM
26290 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26291 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26292 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26293 * sysdeps/i386/configure: Regenerated.
26294 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26295 * sysdeps/mach/configure: Regenerated.
26296 * sysdeps/mach/hurd/configure: Regenerated.
26297 * sysdeps/powerpc/configure: Regenerated.
26298 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26299 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26300 * sysdeps/s390/s390-32/configure: Regenerated.
26301 * sysdeps/s390/s390-64/configure: Regenerated.
26302 * sysdeps/sh/configure: Regenerated.
26303 * sysdeps/sparc/configure: Regenerated.
26304 * sysdeps/unix/sysv/linux/configure: Regenerated.
26305 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26306 * sysdeps/x86_64/configure: Regenerated.
26307
273edc5e
RM
26308 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26309 defined. Don't check if MAP is NULL.
26310
c8450f70
JM
263112012-10-09 Joseph Myers <joseph@codesourcery.com>
26312
26313 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26314 (_G_stat64): Likewise.
26315 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26316 (_G_stat64): Likewise.
26317 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26318 instead of struct _G_stat64.
26319 * libio/fileops.c (mmap_remap_check): Likewise.
26320 (decide_maybe_mmap): Likewise.
26321 (_IO_new_file_seekoff): Likewise.
26322 (_IO_file_stat): Likewise.
26323 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26324 _G_off64_t.
26325 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26326 instead of struct _G_stat64.
26327 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26328
57e605ba
MK
263292012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26330
26331 [BZ #14602]
26332 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26333 Replace with ...
26334 (CHECK_EOL): New macro.
26335 (two_way_short_needle): Check beginning of haystack for EOL. Use
26336 CHECK_EOL.
26337 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26338 Replace with CHECK_EOL.
26339 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26340 Replace with CHECK_EOL.
26341
ef1bb361
JM
263422012-10-08 Joseph Myers <joseph@codesourcery.com>
26343
26344 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26345 type-generic.
26346 * math/libm-test.inc: Update comment listing what functions and
26347 macros are tested.
26348 (finite_test): New function.
26349 (isinf_test): Likewise.
26350 (isnan_test): Likewise.
26351 (fpclassify_test): Test subnormal input.
26352 (isfinite_test): Likewise.
26353 (isnormal_test): Likewise.
26354 (main): Call the new functions.
26355
55f11534
JN
263562012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26357
26358 [BZ #14660]
26359 * Makerules (%.dynsym): Force C locale when running
26360 $(OBJDUMP) --dynamic-syms.
26361
1ab29350
AS
263622012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26363
26364 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26365 <stdint.h>.
26366
f1ecb7ef
DM
263672012-10-06 David S. Miller <davem@davemloft.net>
26368
26369 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26370 upper 32-bits of the length value in %o2 since we use branch-on-register
26371 tests which consider the entire 64-bit register.
26372
5d41d91a
L
263732012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26374
26375 * string/test-strstr.c (check2): Add a test for page boundary.
26376
3baddb72
DM
263772012-10-05 David S. Miller <davem@davemloft.net>
26378
26379 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26380 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26381 file.
26382 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26383 sysdep_routines.
26384 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26385 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26386 and bzero when HWCAP_SPARC_CRYPTO is present.
26387
9cee5585
L
263882012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26389
d7e0dab9
L
26390 [BZ #14602]
26391 * string/test-strstr.c (check2): New function.
26392 (test_main): Call check2.
26393
03759f47
L
26394 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26395 and bug-strchr1.
26396 * string/bug-strcasestr1.c (do_test): Moved to ...
26397 * string/test-strcasestr.c (check1): Here. New function.
26398 (do_one_test): Break out result checking code into ...
26399 (check_result): This. New function.
26400 (do_one_test): Call check_result.
26401 (test_main): Call check1.
26402 * string/bug-strchr1.c (do_test): Moved to ...
26403 * string/test-strchr.c (check1): Here. New function.
26404 (do_one_test): Break out result checking code into ...
26405 (check_result): This. New function.
26406 (do_one_test): Call check_result.
26407 (test_main): Call check1.
26408 * string/bug-strstr1.c (main): Moved to ...
046f153e 26409 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26410 (do_one_test): Break out result checking code into ...
26411 (check_result): This. New function.
26412 (do_one_test): Call check_result.
26413 (test_main): Call check1.
26414 * string/bug-strcasestr1.c: Removed.
26415 * string/bug-strchr1.c: Likewise.
26416 * string/bug-strstr1.c: Likewise.
26417
53cea63e
L
26418 * elf/Makefile (dl-routines): Add hwcaps.
26419 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26420 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26421 (_dl_important_hwcaps): Moved to ...
26422 * elf/dl-hwcaps.c: Here. New file.
26423 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26424
9cee5585 26425 [BZ #14557]
bb859b06
L
26426 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26427 if IS_IN_rtld isn't defined.
26428
9cee5585
L
26429 * elf/dl-support.c (_dl_sysinfo_map): New.
26430 Include "get-dynamic-info.h" and "setup-vdso.h".
26431 (_dl_non_dynamic_init): Call setup_vdso.
26432 * elf/dynamic-link.h: Don't include <assert.h>.
26433 (elf_get_dynamic_info): Moved to ...
26434 * elf/get-dynamic-info.h: Here. New file.
26435 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26436 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26437 * elf/setup-vdso.h: Here. New file.
26438 * elf/rtld.c: Include "setup-vdso.h".
26439 (dl_main): Call setup_vdso.
26440
23c31b76
JM
264412012-10-05 Joseph Myers <joseph@codesourcery.com>
26442
28234b07
JM
26443 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26444 creal in comment listing functions tested. List finite, isinf,
26445 isnan, isless, islessequal, isgreater, isgreaterequal,
26446 islessgreater, isunordered, lgamma_r and pow10 as functions and
26447 macros not tested. Mention which functions not tested are aliases
26448 for other functions. Fix typo. Note that signs of NaNs are not
26449 tested.
26450
23c31b76
JM
26451 * scripts/config.guess: Update from config.git.
26452 * scripts/config.sub: Likewise.
26453
9043e228
RM
264542012-10-04 Roland McGrath <roland@hack.frob.com>
26455
26456 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26457 * misc/madvise.c (madvise): Renamed to __madvise.
26458 Make madvise a weak alias.
26459 * include/sys/mman.h: Declare __madvise.
26460 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26461 * sysdeps/unix/syscalls.list
26462 (madvise): Make __madvise the strong name, and madvise a weak alias.
26463 * sysdeps/unix/sysv/linux/syscalls.list
26464 (madvise, mmap): Remove redundant entries.
26465 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26466 * malloc/malloc.c (mtrim): Likewise.
26467 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26468
f57f8055
RM
264692012-10-03 Roland McGrath <roland@hack.frob.com>
26470
26471 * sysdeps/mach/hurd/dl-cache.c: File removed.
26472 * config.h.in (USE_LDCONFIG): New #undef.
26473 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26474 * configure: Regenerated.
26475 * elf/Makefile (dl-routines): Add dl-cache only under
26476 [$(use-ldconfig) = yes].
26477 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26478 cache on [USE_LDCONFIG].
26479 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26480 [USE_LDCONFIG].
26481 * elf/rtld.c (dl_main): Likewise.
26482
5bb0c10a
PT
264832012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26484
26485 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26486 _SC_LEVEL4_CACHE_LINESIZE.
26487
010188c6
RM
264882012-10-03 Roland McGrath <roland@hack.frob.com>
26489
26490 * sysdeps/unix/bsd/confstr.h: File removed.
26491
b6c5ec07
AO
264922012-10-02 Alexandre Oliva <aoliva@redhat.com>
26493
26494 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26495 sys/sdt-config.h.
26496
408223d4
RM
264972012-10-02 Roland McGrath <roland@hack.frob.com>
26498
26499 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26500 Make 'mapoff' field ElfW(Off) rather than off_t.
26501
bb9510dc
DL
265022012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26503
fc997c6e
DL
26504 * nscd/Makefile: Remove nscd-cflags and all its users.
26505 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26506 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26507
bb9510dc
DL
26508 [BZ #10631]
26509 * malloc.c (malloc_printerr): Clarify error message.
26510
05699367
L
265112012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26512
26513 [BZ #14648]
26514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26515 Set bit_FMA_Usable if FMA is supported.
26516 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26517 macro.
26518 (bit_FMA4_Usable): Updated.
26519 (index_FMA_Usable): New macro.
26520 (CPUID_FMA): Likewise
26521 (HAS_FMA): Defined with bit_FMA_Usable.
26522
51367701
RM
265232012-10-01 Roland McGrath <roland@hack.frob.com>
26524
26525 * bits/types.h (__swblk_t): Type removed.
26526 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26527 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26528 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26529 (__SWBLK_T_TYPE): Likewise.
26530 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26531 (__SWBLK_T_TYPE): Likewise.
26532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26533 (__SWBLK_T_TYPE): Likewise.
26534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26535 (__SWBLK_T_TYPE): Likewise.
26536
4d57bf63 265372012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26538 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26539
26540 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26541 (xdr_mapname): Use YPMAXMAP as maxsize.
26542 (xdr_peername): Use YPMAXPEER as maxsize.
26543 (xdr_keydat): Use YPAXRECORD as maxsize.
26544 (xdr_valdat): Use YPMAXRECORD as maxsize.
26545
93c65d43
RM
265462012-10-01 Roland McGrath <roland@hack.frob.com>
26547
497a03d6
RM
26548 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26549
93c65d43
RM
26550 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26551 * csu/init-first.c: ... here.
26552 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26553 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26554 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26555 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26556 * sysdeps/i386/init-first.c: File removed.
26557 * sysdeps/sh/init-first.c: File removed.
26558
bec749fd
JM
265592012-10-01 Joseph Myers <joseph@codesourcery.com>
26560
26561 [BZ #14645]
26562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26563 if x * y might underflow to zero and z is zero.
26564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26566 * math/libm-test.inc (min_subnorm_value): New variable.
26567 (fma_test): Add more tests.
26568 (fma_test_towardzero): Likewise.
26569 (fma_test_downward): Likewise
26570 (fma_test_upward): Likewise.
26571 (initialize): Set min_subnorm_value.
26572
8ec5b013
JM
265732012-09-29 Joseph Myers <joseph@codesourcery.com>
26574
26575 [BZ #14638]
26576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26577 0 + 0.
26578 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26579 mode for addition resulting in exact zero.
26580 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26582 exact 0 + 0.
26583 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26585 * math/libm-test.inc (fma_test): Add more tests.
26586 (fma_test_towardzero): New function.
26587 (fma_test_downward): Likewise.
26588 (fma_test_upward): Likewise.
26589 (main): Call the new functions.
26590
b1fa802e
DM
265912012-09-28 David S. Miller <davem@davemloft.net>
26592
26593 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26594
d3b9fd9e
RM
265952012-09-28 Roland McGrath <roland@hack.frob.com>
26596
ea4d37b3
RM
26597 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26598 instead of SIGALRM.
26599
ac51c949
RM
26600 * sysdeps/gnu/_G_config.h: Moved to ...
26601 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26602 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26603 * sysdeps/generic/_G_config.h: ... here.
26604
28c195f7
RM
26605 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26606
848917f9
RM
26607 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26608
6bacf05b
RM
26609 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26610 Conditionalize target on [libnss_test1.so-version].
26611
91363dbb
RM
26612 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26613
cc87f7d8
RM
26614 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26615 (elfobjdir): Move out of conditionals.
26616
b1c608fe
RM
26617 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26618 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26619 (__nss_lookup_function): Conditionalize label remove_from_tree on
26620 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26621
1d9a6d96
DM
266222012-09-28 David S. Miller <davem@davemloft.net>
26623
26624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26625 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26626 file.
26627 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26628 sysdep_routines.
26629 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26631 when HWCAP_SPARC_CRYPTO is present.
26632
72581615
PT
266332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26634
26635 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26636
715a900c
JL
266372012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26638
26639 [BZ #6530]
26640 * stdio-common/vfprintf.c (process_string_arg): Revert
26641 2000-07-22 change.
26642
266432011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26644
26645 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26646 for testcase.
26647 * stdio-common/tst-sprintf.c: Include <locale.h>
26648 (main): Test sprintf's handling of incomplete multibyte
26649 characters.
26650
9bac1d86
L
266512012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26652
26653 * elf/dl-runtime.c (VERSYMIDX): Removed.
26654 * elf/dl-version.c (VERSYMIDX): Likewise.
26655 * elf/do-rel.h (VERSYMIDX): Likewise.
26656 (VALIDX): Likewise.
26657 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26658 * elf/rtld.c (VALIDX): Likewise.
26659 (ADDRIDX): Likewise.
9bac1d86
L
26660 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26661 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26662 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26663 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26664 (VALIDX): Likewise.
26665 (ADDRIDX): Likewise.
9bac1d86 26666
b31606c0
PT
266672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26668
26669 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26670
11541177
JL
266712012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26672
26673 [BZ #11438]
26674 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26675 to global scope.
26676 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26677 addresses are in the same scope as 192.0.2/24.
26678 * posix/gai.conf: Document new scope table defaults.
26679
adb26fae
SP
266802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26681
26682 [BZ #5298]
26683 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26684 for ftell. Compute offsets from write pointers instead.
26685 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26686
4573c6b0
SP
266872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26688
26689 [BZ #14543]
26690 * libio/Makefile (tests): New test case tst-fseek.
26691 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26692 combination works in wide mode.
26693 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26694 state when the external buffer state changes.
26695
aa9bbfe6
DM
266962012-09-27 David S. Miller <davem@davemloft.net>
26697
26698 [BZ #14376]
26699 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26700 pass reloc->r_addend in as the 'high' argument to
26701 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26702
784421e7
DM
26703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26704
c39bc8b8
PT
267052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26706
26707 * rt/tst-aio2.c: Include <pthread.h>.
26708 * rt/tst-aio3.c: Likewise.
26709
1ccc2399
SE
267102012-09-27 Steve Ellcey <sellcey@mips.com>
26711
26712 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26713
31ed4153
L
267142012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26715
25f5f885
L
26716 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26717 contents on [SHARED].
31ed4153 26718
b7bfe116
MP
267192012-09-26 Marek Polacek <polacek@redhat.com>
26720
26721 [BZ #14530]
26722 [BZ #13741]
26723 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26724 for C++ and GCC <4.3 as well as for non GCC compilers.
26725
43c4edba
MT
267262012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26727
26728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26729
6a1bf82f
RM
267302012-09-25 Roland McGrath <roland@hack.frob.com>
26731
26732 * Makefile.in (all, install): Declare with .PHONY.
26733 Reported by Michael Hope <michael.hope@linaro.org>.
26734
8ad11b9a
TMQMF
267352012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26736
26737 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26738 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26739 system header.
26740 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26741 Likewise.
26742 (sydep_routines): Add the new and the internal functions.
26743 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26744 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26746 (GLIBC_2.17): Add the new function.
26747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26748 (GLIBC_2.17): Likewise.
26749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26750 (GLIBC_2.17): Likewise.
26751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26752 (GLIBC_2.17): Likewise.
26753 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26754
7e2fca8d
AM
267552012-09-25 Alan Modra <amodra@gmail.com>
26756
26757 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26758 Add release barrier before setting once_control to say
26759 initialisation is done. Add hints on lwarx. Use macro in
26760 place of isync.
26761 (clear_once_control): Add release barrier.
26762
b87c4b24
JM
267632012-09-25 Joseph Myers <joseph@codesourcery.com>
26764
d032e0d2
JM
26765 [BZ #13629]
26766 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26767 specially.
26768 * math/s_clog10.c (__clog10): Likewise.
26769 * math/s_clog10f.c (__clog10f): Likewise.
26770 * math/s_clog10l.c (__clog10l): Likewise.
26771 * math/s_clogf.c (__clogf): Likewise.
26772 * math/s_clogl.c (__clogl): Likewise.
26773 * math/Makefile (libm-calls): Add x2y2m1.
26774 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26775 (__x2y2m1): Likewise.
26776 (__x2y2m1l): Likewise.
26777 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26778 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26781 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26782 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26783 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26784 * sysdeps/i386/fpu/libm-test-ulps: Update.
26785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26786
b87c4b24
JM
26787 [BZ #14621]
26788 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26789 int as type of variable DEPTH.
26790 (glob): Use size_t instead of int as type of variables NEWCOUNT
26791 and OLD_PATHC.
26792
6d3bf199
LD
267932012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26794
22bf5c17
LD
26795 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26796 Add s_sincosf-sse2.
26797 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26798 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26799 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26800 macros for using routine as __sincosf_ia32.
26801 Use macro for function declaration and weak_alias.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803
26804 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26806
26807 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26808 subnormal argument.
26809 * math/s_cexpf.c (__cexpf): Likewise.
26810 * math/s_csinf.c (__csinf): Likewise.
26811 * math/s_csinhf.c (__csinhf): Likewise.
26812 * math/s_ctanf.c (__ctanf): Likewise.
26813 * math/s_ctanhf.c (__ctanhf): Likewise.
26814 * math/s_ccosh.c (__ccoshf): Likewise.
26815 * math/s_cexp.c (__cexpl): Likewise.
26816 * math/s_csin.c (__csin): Likewise.
26817 * math/s_csinh.c (__csinh): Likewise.
26818 * math/s_ctan.c (__ctan): Likewise.
26819 * math/s_ctanh.c (ctanh): Likewise.
26820 * math/s_ccoshl.c (__ccoshl): Likewise.
26821 * math/s_cexpl.c (__cexpl): Likewise.
26822 * math/s_csinl.c (__csinl): Likewise.
26823 * math/s_csinhl.c (__csinhl): Likewise.
26824 * math/s_ctanl.c (__ctanl): Likewise.
26825 * math/s_ctanhl.c (__ctanhl): Likewise.
26826
203e5603
JM
268272012-09-25 Joseph Myers <joseph@codesourcery.com>
26828
26829 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26830 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26831 (_IO_off_t): Define to __off_t, not _G_off_t.
26832 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26833 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26834 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26835 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26836 type of __dummy and __dummy2 fields.
26837 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26838 (_G_ssize_t): Likewise.
26839 (_G_off_t): Likewise.
26840 (_G_pid_t): Likewise.
26841 (_G_uid_t): Likewise.
26842 (_G_wchar_t): Likewise.
26843 (_G_wint_t): Likewise.
26844 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26845 (_G_ssize_t): Likewise.
26846 (_G_off_t): Likewise.
26847 (_G_pid_t): Likewise.
26848 (_G_uid_t): Likewise.
26849 (_G_wchar_t): Likewise.
26850 (_G_wint_t): Likewise.
26851 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26852 (_G_ssize_t): Likewise.
26853 (_G_off_t): Likewise.
26854 (_G_pid_t): Likewise.
26855 (_G_uid_t): Likewise.
26856 (_G_wchar_t): Likewise.
26857 (_G_wint_t): Likewise.
26858
9fab36eb
SP
268592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26860
26861 * malloc/arena.c: Include malloc-sysdep.h.
26862 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26863 is sufficient to shrink the heap or an unmap is needed.
26864 * sysdeps/generic/malloc-sysdep.h: New file. Define
26865 new function check_may_shrink_heap.
26866 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26867 new function check_may_shrink_heap.
26868
2b4f00d1
SP
268692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26870
26871 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26872 comments.
26873
9a9028b1
DL
268742012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26875
57c69bef
DL
26876 * catgets/test-gencat.sh: Add "set -e".
26877 * elf/tst-pathopt.sh: Likewise.
26878 * grp/tst_fgetgrent.sh: Likewise.
26879 * iconvdata/run-iconv-test.sh: Likewise.
26880 * intl/tst-gettext.sh: Likewise.
26881 * intl/tst-gettext2.sh: Likewise.
26882 * intl/tst-gettext4.sh: Likewise.
26883 * intl/tst-gettext6.sh: Likewise.
26884 * intl/tst-translit.sh: Likewise.
26885 * io/ftwtest-sh: Likewise.
26886 * libio/test-freopen.sh: Likewise.
26887 * malloc/tst-mtrace.sh: Likewise.
26888 * posix/globtest.sh: Likewise.
26889 * posix/tst-getconf.sh: Likewise.
26890 * posix/wordexp-tst.sh: Likewise.
26891 * stdio-common/tst-printf.sh: Likewise.
26892 * stdio-common/tst-unbputc.sh: Likewise.
26893 * stdlib/tst-fmtmsg.sh: Likewise.
26894 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26895 * catgets/Makefile: Do not specify -e option when running
26896 testsuite shell scripts.
26897 * elf/Makefile: Likewise.
26898 * grp/Makefile: Likewise.
26899 * iconvdata/Makefile: Likewise.
26900 * intl/Makefile: Likewise.
26901 * io/Makefile: Likewise.
26902 * libio/Makefile: Likewise.
26903 * malloc/Makefile: Likewise.
26904 * posix/Makefile: Likewise.
26905 * stdio-common/Makefile: Likewise.
26906 * stdlib/Makefile: Likewise.
26907 * sysdeps/x86_64/Makefile: Likewise.
26908
9a9028b1
DL
26909 * io/ftwtest-sh: Add copyright header.
26910 * posix/globtest.sh: Likewise.
26911 * posix/tst-getconf.sh: Likewise.
26912 * posix/wordexp-tst.sh: Likewise.
26913 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26914
ced6f16e
L
269152012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26916
94b32c39
L
26917 [BZ #13679]
26918 * Makeconfig (+link): Defined as $(+link-static) if
26919 $(build-shared) isn't yes.
26920 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26921 isn't yes.
26922 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26923
189e935b
L
26924 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26925
ced6f16e
L
26926 [BZ #14562]
26927 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26928 new chunk size with MALLOC_ALIGN_MASK.
26929
a9f8e53a
JM
269302012-09-24 Joseph Myers <joseph@codesourcery.com>
26931
26932 [BZ #5044]
26933 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26934 <rounding-mode.h>.
26935 (__printf_fphex): Determine rounding using get_rounding_mode and
26936 round_away.
26937 * stdio-common/tst-printf-round.c (struct hex_test): New
26938 structure.
26939 (hex_tests): New variable.
26940 (test_hex_in_one_mode): New function.
26941 (do_test): Also run tests for hex float output.
26942
43153109
JM
269432012-09-21 Joseph Myers <joseph@codesourcery.com>
26944
26945 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26946 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26947 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26948 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26949 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26950 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26951 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26952 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26953
8a26625d
JM
269542012-09-20 Joseph Myers <joseph@codesourcery.com>
26955
26956 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26957 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26958 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26959 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26960
f3fd569c
DL
269612012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26962
26963 [BZ #14579]
26964 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26965 mode only.
26966 * elf/tst-rtld-load-self.sh: New test.
26967 * elf/Makefile: Run it.
26968
63bbedd4
JM
269692012-09-18 Joseph Myers <joseph@codesourcery.com>
26970
26971 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26972 (tst-writev-ENV): Remove.
26973 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26974
626f8b6a
CM
269752012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26976
26977 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26978
b7aaa4d6
JM
269792012-09-17 Joseph Myers <joseph@codesourcery.com>
26980
26981 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26982 unconditional.
26983 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26984 Likewise.
26985 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26986 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26987 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26988 Likewise.
26989
65513990
L
269902012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26991
26992 [BZ #14587]
26993 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26994 * config.make.in (have-cpp-asm-debuginfo): Removed.
26995 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26996 * configure: Regenerated.
26997
784761be
JM
269982012-09-14 Joseph Myers <joseph@codesourcery.com>
26999
27000 [BZ #5044]
27001 * stdio-common/printf_fp.c: Include <stdbool.h> and
27002 <rounding-mode.h>.
27003 (___printf_fp): Determine rounding using get_rounding_mode and
27004 round_away.
27005 * stdio-common/tst-printf-round.c: New file.
27006 * stdio-common/Makefile (tests): Add tst-printf-round.
27007 (link-libm): New variable.
27008 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27009
9503345f
L
270102012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27011
27012 [BZ #14576]
27013 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27014 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27015 Likewise.
27016 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27017 Likewise.
27018
ad35fc00
JM
270192012-09-13 Joseph Myers <joseph@codesourcery.com>
27020
27021 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27022 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27023 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27024 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27025
6c9b0f68
JM
270262012-09-12 Joseph Myers <joseph@codesourcery.com>
27027
27028 [BZ #14518]
27029 * include/rounding-mode.h: New file.
27030 * sysdeps/generic/get-rounding-mode.h: Likewise.
27031 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27032 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27033 (MAX_VALUE): New macro.
27034 (MIN_VALUE): Likewise.
27035 (overflow_value): New function.
27036 (underflow_value): Likewise.
27037 (round_and_return): Use overflow_value and underflow_value to
27038 determine return values in overflow and underflow cases. Use
27039 round_away to determine rounding depending on rounding mode.
27040 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27041 determine return values in overflow and underflow cases.
27042 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27043 (struct test_results): New structure.
27044 (struct test): Use struct test_results to store expected results
27045 for all rounding modes.
27046 (TEST): Include expected results for all rounding modes.
27047 (test_in_one_mode): New function.
27048 (do_test): Use test_in_one_mode to compute and check results.
27049 Check results for all rounding modes.
27050 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27051 $(link-libm).
27052
19fcedd5
AM
270532012-12-09 Allan McRae <allan@archlinux.org>
27054
1e9d84cd 27055 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27056
8bbfd2f1
JM
270572012-09-11 Joseph Myers <joseph@codesourcery.com>
27058
27059 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27060 (_G_int32_t): Likewise.
27061 (_G_uint16_t): Likewise.
27062 (_G_uint32_t): Likewise.
27063 (_G_HAVE_BOOL): Likewise.
27064 (_G_HAVE_ATEXIT): Likewise.
27065 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27066 (_G_HAVE_IO_FILE_OPEN): Likewise.
27067 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27068 (_G_int32_t): Likewise.
27069 (_G_uint16_t): Likewise.
27070 (_G_uint32_t): Likewise.
27071 (_G_HAVE_BOOL): Likewise.
27072 (_G_HAVE_ATEXIT): Likewise.
27073 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27074 (_G_HAVE_IO_FILE_OPEN): Likewise.
27075 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27076 (_G_int32_t): Likewise.
27077 (_G_uint16_t): Likewise.
27078 (_G_uint32_t): Likewise.
27079 (_G_HAVE_BOOL): Likewise.
27080 (_G_HAVE_ATEXIT): Likewise.
27081 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27082 (_G_HAVE_IO_FILE_OPEN): Likewise.
27083
b1dc5912
L
270842012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27085
27086 * csu/libc-tls.c: Update copyright years.
27087
0e886ef9
JM
270882012-09-10 Joseph Myers <joseph@codesourcery.com>
27089
28361c5e
JM
27090 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27091 [!_G_USING_THUNKS]: Remove conditional code.
27092 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27093 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27094
0e886ef9
JM
27095 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27096 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27097 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27098 (_G_VTABLE_LABEL_PREFIX): Likewise.
27099 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27100 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27101 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27102 (_G_VTABLE_LABEL_PREFIX): Likewise.
27103 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27104 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27105 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27106 (_G_VTABLE_LABEL_PREFIX): Likewise.
27107 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27108
bcba7aa2
L
271092012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27110
27111 * libio/Makefile: Include ../Makeconfig before tests.
27112 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27113 only if $(build-shared) is yes.
27114
06585ee8
L
27115 * iconv/gconv_db.c: Update copyright years.
27116
80ccd52c
LD
271172012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27118
27119 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27120 unwind info if defined PIC. Fix special cases description.
27121 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27122
27123 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27124 DP_HI_MASK entry.
27125 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27126
691bc9c1
L
271272012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27128
3d9b46b3
L
27129 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27130
de2139a9
L
27131 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27132 is NULL.
27133
5ca78dd0
L
27134 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27135 (LDLIBS-tst-chk4): This.
27136 (LDFLAGS-tst-chk5): Renamed to ...
27137 (LDLIBS-tst-chk5): This.
27138 (LDFLAGS-tst-chk6): Renamed to ...
27139 (LDLIBS-tst-chk6): This.
27140 (LDFLAGS-tst-lfschk4): Renamed to ...
27141 (LDLIBS-tst-lfschk4): This.
27142 (LDFLAGS-tst-lfschk5): Renamed to ...
27143 (LDLIBS-tst-lfschk5): This.
27144 (LDFLAGS-tst-lfschk6): Renamed to ...
27145 (LDLIBS-tst-lfschk6): This.
27146
691bc9c1
L
27147 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27148 on $(common-objpfx)soversions.mk.
27149
65cafb1c
JM
271502012-09-07 Joseph Myers <joseph@codesourcery.com>
27151
27152 [BZ #10014]
27153 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27154 example host name.
27155
c78ab094
SP
271562012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27157
27158 * malloc/arena.c (arena_get_retry): New function that gets
27159 another arena for the caller to try its request on.
27160 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27161 current arena cannot fulfill the request.
27162 (__libc_memalign): Likewise.
27163 (__libc_memalign): Likewise.
27164 (__libc_pvalloc): Likewise.
27165 (__libc_calloc): Likewise.
27166
01f49f59
JT
271672012-09-05 John Tobey <john.tobey@gmail.com>
27168
27169 [BZ #13542]
27170 * manual/arith.texi (Operations on Complex): Fix description
27171 of carg branch cut.
27172
4c23fed5
JM
271732012-09-06 Joseph Myers <joseph@codesourcery.com>
27174
1d3c8572
JM
27175 [BZ #10014]
27176 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27177 host name.
27178
4c23fed5
JM
27179 [BZ #10038]
27180 * manual/memory.texi (Memory): Make order of menu items match
27181 order of sections.
27182
04570aaa
L
271832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27184
27185 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27186 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27187 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27188
b80af2f4
L
271892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27190
27191 * csu/libc-tls.c (static_dtv): Renamed to ...
27192 (_dl_static_dtv): This. Make it global.
27193 (_dl_initial_dtv): Removed.
27194 (__libc_setup_tls): Updated.
27195 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27196 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27197 DL_INITIAL_DTV.
27198
2abe9f15
PM
271992012-09-06 Petr Machata <pmachata@redhat.com>
27200
27201 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27202 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27203 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27204 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27205
0948c3af
L
272062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 [BZ #14545]
27209 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27210 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27211 freeing dtv[-1].
27212
a5055ad1
L
272132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27214
27215 [BZ #14544]
27216 * Makeconfig (link-static-before-libc): Replace $(+prector)
27217 with $(+prectorT).
27218 (link-static-after-libc): Replace $(+postctor) with
27219 $(+postctorT).
27220 (link-bounded): Replace $(+prector)/$(+postctor) with
27221 $(+prectorT)/$(+postctorT).
27222 (+prectorT): New macro.
27223 (+postctorT): Likewise.
27224
ed8c2ecd
JM
272252012-09-06 Joseph Myers <joseph@codesourcery.com>
27226
27227 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27228 (round_str): Handle values above the maximum for IBM long double
27229 as inexact.
27230 * stdlib/tst-strtod-round.c (tests): Regenerated.
27231
14c996c8
AK
272322012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27233
27234 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27235 assembler flag.
27236 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27237 zarch_nohighgprs around the zarch optimized routines.
27238 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27239 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27240 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27241 for zarch.
27242
430d6ce6
DM
272432012-09-05 David S. Miller <davem@davemloft.net>
27244
27245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27246
57f41c40
AS
27247 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27248 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27249 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27250 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27251 entries.
27252
24d4e01b
AO
272532012-09-05 Alexandre Oliva <aoliva@redhat.com>
27254
27255 * malloc/arena.c: Fold copyright years.
27256 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27257
61d58174
AO
272582012-09-05 Alexandre Oliva <aoliva@redhat.com>
27259
27260 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27261
20196a5e
AO
272622012-09-05 Alexandre Oliva <aoliva@redhat.com>
27263
27264 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27265
5c447383
AO
272662012-09-05 Alexandre Oliva <aoliva@redhat.com>
27267
27268 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27269 change internal state upon failure.
27270
fad64255
AO
272712012-09-05 Alexandre Oliva <aoliva@redhat.com>
27272
27273 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27274 * malloc/memusage.c (mmap): Likewise.
27275 (mmap64, mremap): Likewise. Adjust name in comment.
27276
1ffb8c90
SP
272772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27278
27279 * libio/fileops.c: Fix typos in comments.
27280 * libio/oldfileops.c: Likewise.
27281 * libio/wfileops.c: Likewise.
27282
6ef9cc37
SP
272832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27284
27285 [BZ #1349]
27286 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27287 (tst-malloc-usable-ENV): Set environment for test case.
27288 * malloc/hooks.c (malloc_check_get_size): New function to get
27289 requested size.
27290 * malloc/malloc.c (musable): Use malloc_check_get_size.
27291 * malloc/tst-malloc-usable.c: New test case.
27292
4d038ae3
AS
272932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27294
27295 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27296
c4e85184
AM
272972012-09-05 Allan McRae <allan@archlinux.org>
27298
b9dafc56 27299 [BZ #13966]
c4e85184
AM
27300 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27301 determine header location.
27302 * configure: Regenerated.
27303
e1343020
AS
273042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27305
27306 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27307 float format.
27308 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27309 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27310 format.
e1343020
AS
27311 (test): Regenerate.
27312
0a9f1987
DM
273132012-09-04 David S. Miller <davem@davemloft.net>
27314
27315 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27316 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27317 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27318
29237804
FW
273192012-09-04 Florian Weimer <fweimer@redhat.com>
27320
27321 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27322 failures.
27323
edb3cb88
FW
27324 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27325
60160d83
JM
273262012-09-04 Joseph Myers <joseph@codesourcery.com>
27327
27328 [BZ #9914]
27329 * libio/iogetdelim.c: Include <limits.h>.
27330 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27331 + len + 1 would overflow.
27332
bcd6c8dc
AJ
273332012-09-03 Andreas Jaeger <aj@suse.de>
27334
27335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27336 * sysdeps/i386/fpu/libm-test-ulps: Update.
27337
4ffffbd2
LD
273382012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27339
27340 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27341 Add s_sinf-sse2, s_conf-sse2.
27342
27343 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27344 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27345 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27346 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27347
27348 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27349 for using routine as __sinf_ia32.
27350 Use macro for function declaration and weak_alias.
27351 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27352 for using routine as __cosf_ia32.
27353 Use macro for function declaration and weak_alias.
27354
27355 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27356 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27357
27358 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27359 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27361
27362 * math/libm-test.inc (cos_test): Add more test cases.
27363 (sin_test): Likewise.
27364 (sincos_test): Likewise.
27365
511fa286
AK
273662012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27367
27368 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27369 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27370 hidden.
27371 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27372
5f30cfec
L
273732012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27374
27375 [BZ #14538]
27376 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27377 first element of the GOT.
27378 (elf_machine_load_address): Return the difference between
27379 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27380
0786794f
AM
273812012-09-01 Allan McRae <allan@archlinux.org>
27382
5f30cfec
L
27383 [BZ #13412]
27384 * configure.in (AWK): Require gawk version 3.0 or later.
27385 * configure: Regenerated.
0786794f 27386
26889eac
JM
273872012-09-01 Joseph Myers <joseph@codesourcery.com>
27388
27389 * sysdeps/unix/sysv/linux/kernel-features.h
27390 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27391 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27392 [__NR_clock_getres]: Make code unconditional.
27393 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27394 (clock_getcpuclockid): Remove code left unreachable by removal of
27395 conditionals.
27396 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27397 code unconditional.
27398 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27399 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27400 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27401 Make code unconditional.
27402 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27403 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27404 * sysdeps/unix/sysv/linux/clock_settime.c
27405 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27406 conditional code.
27407 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27408 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27409
d22e28b0
L
274102012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27411
27412 [BZ #14476]
27413 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27414 scripts/test-installation.pl.
27415
27416 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27417 and $ld_so_version if it is set.
27418
050af9c4
SP
274192012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27420
27421 [BZ #14516]
27422 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27423 failure if reading from procfs failed.
27424 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27425
ad845c0b
JM
274262012-08-27 Joseph Myers <joseph@codesourcery.com>
27427
27428 * sysdeps/unix/sysv/linux/kernel-features.h
27429 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27430 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27431 Remove conditional code.
27432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27433 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27434 Remove conditional code.
27435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27436 * sysdeps/unix/sysv/linux/i386/fxstat.c
27437 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27439 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27440 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27442 * sysdeps/unix/sysv/linux/i386/lxstat.c
27443 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27445 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27446 Remove conditional code.
27447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27448 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27449 Remove conditional code.
27450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27451 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27452 <kernel-features.h>.
27453 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27454 Remove.
27455 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27456 Remove conditional code.
27457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27458 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27459 Remove conditional.
27460
5dbf56af
MF
274612012-08-27 Mike Frysinger <vapier@gentoo.org>
27462
27463 [BZ #5400]
27464 * NEWS: Add fixed bug number.
27465
d6e70f43
JM
274662012-08-27 Joseph Myers <joseph@codesourcery.com>
27467
7efb4737
JM
27468 [BZ #14519]
27469 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27470 underflowing exponent in case of negative sign.
27471 * stdlib/tst-strtod-round-data: Add more tests.
27472 * stdlib/tst-strtod-round.c (tests): Regenerated.
27473
af92131a
JM
27474 [BZ #3479]
27475 * stdlib/strtod_l.c (NDIG): Remove.
27476 (HEXNDIG): Likewise.
27477 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27478 smallest representable value.
27479 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27480 lie within an exact representation of 1/2 ulp of the result.
27481 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27482 unconditionally.
27483 (TENS_P9_IDX): Define unconditionally.
27484 (TENS_P9_SIZE): Likewise.
27485 (TENS_P10_IDX): Likewise.
27486 (TENS_P10_SIZE): Likewise.
27487 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27488 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27489 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27490 entries for 10^2^13 and 10^2^14.
27491 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27492 (TENS_P13_IDX): Define.
27493 (TENS_P13_SIZE): Likewise.
27494 (TENS_P14_IDX): Likewise.
27495 (TENS_P14_SIZE): Likewise.
27496 (_fpioconst_pow10): Change array size to
27497 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27498 unconditional.
27499 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27500 1024]: Add entries for 10^2^13 and 10^2^14.
27501 [LAST_POW10 > _LAST_POW10]: Remove #error.
27502 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27503 (_fpioconst_pow10): Change array size to
27504 FPIOCONST_POW10_ARRAY_SIZE.
27505 * stdlib/gen-fpioconst.c: New file.
27506 * stdlib/gen-tst-strtod-round.c: Likewise.
27507 * stdlib/tst-strtod-round-data: Likewise.
27508 * stdlib/tst-strtod-round.c: Likewise.
27509 * stdlib/Makefile (tests): Add tst-strtod-round.
27510
d6e70f43
JM
27511 [BZ #14459]
27512 * stdlib/strtod_l.c: Include <stdint.h>.
27513 (NDEBUG): Do not define.
27514 (round_and_return): Change EXPONENT parameter to type intmax_t.
27515 Rearrange calculations to avoid internal overflow possibilities.
27516 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27517 Rearrange calculations to avoid internal overflow possibilities.
27518 Assert that number fits inside MPNSIZE limbs.
27519 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27520 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27521 calculations and add assertions to avoid internal overflow
27522 possibilities. Add casts to avoid signed/unsigned operations.
27523 * stdlib/tst-strtod-overflow.c: New file.
27524 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27525
1f529f7d
MP
275262012-08-25 Marek Polacek <polacek@redhat.com>
27527
27528 * time/time.h: Fix some typos in comments.
27529
59a629f1
RM
275302012-08-23 Roland McGrath <roland@hack.frob.com>
27531
27532 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27533 * posix/tst-rfc3484-2.c: Likewise.
27534 * posix/tst-rfc3484-3.c: Likewise.
27535
d3bafbc9
SM
275362012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27537
27538 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27539 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27540
4efcc022
JM
275412012-08-23 Joseph Myers <joseph@codesourcery.com>
27542
27543 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27544 #include of fxstatat64.c.
27545
3cc3ef96
RM
275462012-08-22 Roland McGrath <roland@hack.frob.com>
27547
f04e2132
RM
27548 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27549 * shadow/getspent_r.c: Likewise.
27550 * shadow/getspnam.c: Likewise.
27551 * shadow/getspnam_r.c: Likewise.
27552 * gshadow/getsgent.c: Likewise.
27553 * gshadow/getsgent_r.c: Likewise.
27554 * gshadow/getsgnam.c: Likewise.
27555 * gshadow/getsgnam_r.c: Likewise.
27556 * inet/getnetbyad.c: Likewise.
27557 * inet/getnetbyad_r.c: Likewise.
27558 * inet/getnetbynm.c: Likewise.
27559 * inet/getnetbynm_r.c: Likewise.
27560 * inet/getnetent.c: Likewise.
27561 * inet/getnetent_r.c: Likewise.
27562 * inet/getproto.c: Likewise.
27563 * inet/getproto_r.c: Likewise.
27564 * inet/getprtent.c: Likewise.
27565 * inet/getprtent_r.c: Likewise.
27566 * inet/getprtname.c: Likewise.
27567 * inet/getprtname_r.c: Likewise.
27568 * inet/getrpcbyname.c: Likewise.
27569 * inet/getrpcbyname_r.c: Likewise.
27570 * inet/getrpcbynumber.c: Likewise.
27571 * inet/getrpcbynumber_r.c: Likewise.
27572 * inet/getrpcent.c: Likewise.
27573 * inet/getrpcent_r.c: Likewise.
27574 * inet/getaliasent.c: Likewise.
27575 * inet/getaliasent_r.c: Likewise.
27576 * inet/getaliasname.c: Likewise.
27577 * inet/getaliasname_r.c: Likewise.
27578 * nscd/getgrgid_r.c: Likewise.
27579 * nscd/getgrnam_r.c: Likewise.
27580 * nscd/gethstbyad_r.c: Likewise.
27581 * nscd/gethstbynm3_r.c: Likewise.
27582 * nscd/getpwnam_r.c: Likewise.
27583 * nscd/getpwuid_r.c: Likewise.
27584 * nscd/getsrvbynm_r.c: Likewise.
27585 * nscd/getsrvbypt_r.c: Likewise.
27586 * nscd/gai.c: Likewise.
27587
c53d909c
RM
27588 * configure.in (build_nscd): New substituted variable, set
27589 by --disable-build-nscd and defaults to $use_nscd.
27590 * configure: Regenerated.
27591 * config.make.in (build-nscd): New substituted variable.
27592 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27593 Change conditional to require [$(build-nscd) = yes] as well.
27594 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27595
3cc3ef96
RM
27596 [BZ# 13696]
27597 * configure.in (use_nscd): New substituted variable, set by
27598 --disable-nscd. If enabled, define USE_NSCD.
27599 * configure: Regenerated.
27600 * config.h.in: Add USE_NSCD.
27601 * config.make.in (use-nscd): New substituted variable.
27602 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27603 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27604 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27605 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27606 (CFLAGS-getgrnam_r.c): Likewise.
27607 (CFLAGS-initgroups.c): Likewise.
27608 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27609 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27610 Variables removed.
27611 * inet/getnetgrent_r.c
27612 (nscd_setnetgrent): New function, broken out of ...
27613 (setnetgrent): ... here. Call it.
27614 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27615 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27616 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27617 * nscd/Makefile (routines, aux): Move definitions after include of
27618 Makeconfig. Conditionalize on [$(use-nscd) != no].
27619 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27620 Conditionalize on [USE_NSCD].
27621 (is_nscd, nscd_init_cb): Likewise.
27622 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27623 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27624 * nss/nss_db/db-init.c: Likewise.
27625 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27626 [USE_NSCD].
27627 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27628 (make_request): Use it.
27629 (cache_valid_p): New function.
27630 (__check_pf): Use it.
27631 * NEWS: Add item for --disable-nscd.
27632
07e51550
DL
276332012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27634
27635 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27636 to support sed >= 4.2.1-20-ga9bf076.
27637 * configure: Regenerated.
27638
35a5b08b
RM
276392012-08-22 Roland McGrath <roland@hack.frob.com>
27640
27641 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27642 Conditionalize whole body on [IREL].
27643
8479f23a
JL
276442012-08-22 Jeff Law <law@redhat.com>
27645
27646 [BZ #14505]
27647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27648 if the family is PF_UNSPEC.
27649
48da0b21
MF
276502012-08-22 Mike Frysinger <vapier@gentoo.org>
27651
27652 * Makerules (lib-version): Rename from V.
27653 (install-lib-nosubdir): Change V to lib-version.
27654
15d0da8c
WS
276552012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27656
27657 [BZ #14252]
27658 * powerpc32/power6/wcschr.c: New file.
27659 * powerpc32/power6/wcscpy.c: New file.
27660 * powerpc32/power6/wcsrchr.c: New file.
27661 * powerpc64/power6/wcschr.c: New file.
27662 * powerpc64/power6/wcscpy.c: New file.
27663 * powerpc64/power6/wcsrchr.c: New file.
27664
bcca0895
MK
276652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27666
27667 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27668 (two_way_short_needle): Use it.
5a4aaa33
RM
27669 * string/strstr.c (AVAILABLE1_USES_J): Define.
27670 * string/strcasestr.c: Likewise.
99677e57
MK
27671
27672 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27673 array references.
27674 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27675
400726de
MK
27676 [BZ #11607]
27677 * NEWS: Add an entry.
27678 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27679 define their defaults.
27680 (two_way_short_needle): Detect end-of-string on-the-fly.
27681 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27682 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27683 * string/bug-strcasestr1.c: New test.
27684 * string/Makefile: Run it.
27685
20a71f2c
MK
276862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27687
27688 [BZ #11607]
27689 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27690 the first character.
27691
21ad0558
RM
276922012-08-21 Roland McGrath <roland@hack.frob.com>
27693
27694 * csu/elf-init.c (__libc_csu_irel): Function removed.
27695 * csu/libc-start.c (apply_irel): New function.
27696 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27697
0e1d9911
JM
276982012-08-21 Joseph Myers <joseph@codesourcery.com>
27699
27700 * sysdeps/unix/sysv/linux/kernel-features.h
27701 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27702 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27703 <kernel-features.h>.
27704 [__NR_fadvise64_64]: Make code unconditional.
27705 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27706 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27707 !__NR_fadvise64_64)]: Likewise.
27708 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27709 !__NR_fadvise64_64))]: Likewise.
27710 [__NR_fadvise64]: Make code unconditional.
27711 [!__NR_fadvise64]: Remove conditional code.
27712 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27713 <kernel-features.h>.
27714 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27715 unconditional.
27716 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27717 conditional code.
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27719 not include <kernel-features.h>.
27720 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27721 unconditional.
27722 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27723 conditional code.
27724 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27725 include <kernel-features.h>.
27726 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27727 unconditional.
27728 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27729 conditional code.
27730
14a50c9d
WS
277312012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27732
27733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27734 slight instruction rearrangements per scrollpipe analysis.
27735 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27736
c0f4faf0
RM
277372012-08-20 Roland McGrath <roland@hack.frob.com>
27738
696da859
RM
27739 * manual/syslog.texi (syslog; vsyslog, closelog):
27740 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27741 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27742
c0f4faf0
RM
27743 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27744 DSOCAPS to match condition on defining it.
27745
348363b2
JM
277462012-08-20 Joseph Myers <joseph@codesourcery.com>
27747
a35cbf28
JM
27748 * sysdeps/unix/sysv/linux/kernel-features.h
27749 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27751 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27752 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27754 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27755 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27757 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27758 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27759
445f7ecd
JM
27760 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27761 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27762
348363b2
JM
27763 * sysdeps/unix/sysv/linux/kernel-features.h
27764 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27765 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27766 unconditional.
27767 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27768 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27769 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27770 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27771 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27772 Make code unconditional.
27773 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27774 (__mmap64) [!__NR_mmap2]: Likewise.
27775 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27776 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27777 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27778 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27779 [__NR_mmap2]: Make code unconditional.
27780 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27781 (__mmap64) [!__NR_mmap2]: Likewise.
27782
bc5bc0e5
AK
277832012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27784
27785 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27786
88d506de
AJ
277872012-08-18 Andreas Jaeger <aj@suse.de>
27788
27789 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27790
493387d2
MF
277912012-08-18 Mike Frysinger <vapier@gentoo.org>
27792
27793 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27794 * include/unistd.h (__have_sock_cloexec): Likewise.
27795 (__have_pipe2): Likewise.
27796 (__have_dup3): Likewise.
27797
a277af22
MF
277982012-08-18 Mike Frysinger <vapier@gentoo.org>
27799
27800 [BZ #9685]
27801 * include/unistd.h (__have_pipe2): Change define into an extern int.
27802 (__have_dup3): Likewise.
27803 * socket/have_sock_cloexec.c: Include fcntl.h.
27804 (__have_pipe2): New variable.
27805 (__have_dup3): Likewise.
27806
fdab8fd3
MF
278072012-08-17 Mike Frysinger <vapier@gentoo.org>
27808
27809 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27810
31035e80
MP
278112012-08-17 Marek Polacek <polacek@redhat.com>
27812
27813 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27814 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27815
3bd9e993
RM
278162012-08-17 Roland McGrath <roland@hack.frob.com>
27817
c91c505f
RM
27818 * configure.in: Add AC_SUBST for sysheaders.
27819 * configure: Regenerated.
27820 * config.make.in (sysheaders): New substituted variable.
27821
7c6f9d53
RM
27822 * sysdeps/unix/mkfifo.c: Moved ...
27823 * sysdeps/posix/mkfifo.c: ... here.
27824 * sysdeps/unix/mkfifoat.c: Moved ...
27825 * sysdeps/posix/mkfifoat.c: ... here.
27826
27827 * sysdeps/unix/utime.c: Moved ...
27828 * sysdeps/posix/utime.c: ... here.
27829
27830 * sysdeps/unix/time.c: Moved ...
27831 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27832 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27833 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27834
27835 * sysdeps/unix/nice.c: Moved ...
27836 * sysdeps/posix/nice.c: ... here.
27837
27838 * sysdeps/unix/alarm.c: Moved ...
27839 * sysdeps/posix/alarm.c: ... here.
27840
3bd9e993
RM
27841 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27842
d1f09384
JL
278432012-08-17 Jeff Law <law@redhat.com>
27844
27845 * intl/Makefile (codeset_mo): New variable.
27846 ($(codeset_mo)): New target.
27847 (tst-codeset.out): Depend on that. Remove explicit rule.
27848 (tst-gettext3.out, tst-gettext5.out): Likewise.
27849 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27850 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27851 * intl/tst-codeset.sh: Remove.
27852 * intl/tst-gettext3.sh: Likewise.
27853 * intl/tst-gettext5.sh: Likewise.
27854
2ae1ae5c
RM
278552012-08-17 Roland McGrath <roland@hack.frob.com>
27856
c31fdb83
RM
27857 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27858 * sysdeps/unix/syscalls.list: ... here.
27859
a0844057
RM
27860 * sysdeps/posix/getaddrinfo.c
27861 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27862 (gaiconf_init, gaiconf_reload): Use them.
27863 [!_STATBUF_ST_NSEC]
27864 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27865 Define using time_t rather than struct timespec.
27866
750c1f2a
RM
27867 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27868 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27869 Macros removed.
27870 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27871 [!NO_THREADS].
27872 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27873 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27874 Likewise.
27875
2ae1ae5c
RM
27876 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27877 __libc_cleanup_push argument.
27878
e66a42f5
RM
27879 * bits/param.h: New file.
27880 * misc/sys/param.h: New file.
27881 * include/sys/param.h: New file.
27882 * misc/Makefile (headers): Add bits/param.h.
27883 * sysdeps/generic/sys/param.h: File removed.
27884 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27885 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27886 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27887 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27888
b7c08a66
RM
27889 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27890 last change.
27891
b2e1c562
RM
27892 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27893 [_IO_MTSAFE_IO].
27894 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27895 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27896 New macros.
27897
c75ccd4c
RM
27898 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27899 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27900 rather than -D_IO_MTSAFE_IO conditionally.
27901 * stdio-common/Makefile (CPPFLAGS): Likewise.
27902 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27903 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27904 Use $(libio-mtsafe).
27905 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27906 of -D_IO_MTSAFE_IO.
27907 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27908 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27909 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27910 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27911 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27912 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27913 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27914 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27915 (CFLAGS-fread_u_chk.c): Likewise.
27916 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27917 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27918 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27919 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27920 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27921 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27922 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27923 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27924 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27925
27926 * libio/Makefile: Test [$(libc-reentrant) = yes]
27927 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27928
27929 * Makeconfig
27930 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27931 * sysdeps/pthread/configure: File removed.
27932 * sysdeps/pthread/Makeconfig: New file.
27933 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27934 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27935
d9195db8
GB
279362012-08-16 Gary Benson <gbenson@redhat.com>
27937
27938 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27939 unmapping the first object in a namespace.
27940
86466cd9
RM
279412012-08-16 Roland McGrath <roland@hack.frob.com>
27942
27943 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27944 (__internal_setnetgrent): ... this. Add internal_function to
27945 definition. Add libc_hidden_def.
27946 (setnetgrent): Update caller.
27947 (internal_endnetgrent): Renamed to ...
27948 (__internal_endnetgrent): ... this. Add internal_function to
27949 definition. Add libc_hidden_def.
27950 (endnetgrent): Update caller.
27951 (internal_getnetgrent_r): Renamed to ...
27952 (__internal_getnetgrent_r): ... this. Add internal_function to
27953 definition. Add libc_hidden_def.
27954 (__getnetgrent_r): Update caller.
27955 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27956
c3c8283c
JM
279572012-08-16 Joseph Myers <joseph@codesourcery.com>
27958
27959 * stdlib/longlong.h: Update from GCC.
27960
db1ee0a8
RM
279612012-08-16 Roland McGrath <roland@hack.frob.com>
27962
27963 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27964 on _QL, which is set by umul_ppmm but never used.
27965 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27966 variables, which are set by GMP macros but never used.
27967 * stdio-common/_itowa.c (_itowa): Likewise.
27968 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27969 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27970
30f69637
CD
279712012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27972
27973 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27974 struct La_sh_regs is not constant.
27975 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27976 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27977 and struct La_sparc64_regs are not constant.
27978
93a78ac4
JM
279792012-08-16 Joseph Myers <joseph@codesourcery.com>
27980
27981 * sysdeps/unix/sysv/linux/kernel-features.h
27982 (__ASSUME_POSIX_TIMERS): Remove.
27983 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27984 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27985 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27986 Make code unconditional.
27987 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27988 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27989 Make code unconditional.
27990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27991 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27992 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27993 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27994 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27995 Make code unconditional.
27996 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27997 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27998 (__libc_missing_posix_timers): Remove.
27999
dd924cd7
RM
280002012-08-15 Roland McGrath <roland@hack.frob.com>
28001
4b4f2771
RM
28002 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28003 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28004
601c888b
RM
28005 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28006
176790a7
RM
28007 * elf/dl-sym.c: Include <stdlib.h>.
28008
329bc018
RM
28009 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28010 constants, which avoids warnings in 32-bit builds.
28011
e04e272d
RM
28012 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28013 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28014
952bf94a
RM
28015 * misc/lseek.c: File moved to ...
28016 * io/lseek.c: ... here.
28017
7c99b50a
RM
28018 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28019
dd924cd7
RM
28020 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28021 shifting LEN more than 31 bits at once.
28022
b3f479a8
LD
280232012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28024
28025 [BZ #14195]
8c4ae0d4
RM
28026 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28027 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28028 * string/test-strncasecmp.c (check1): Renamed to...
28029 (bz12205): ...this.
28030 (bz14195): Add new testcase for two empty input strings and N > 0.
28031 (test_main): Call new testcase, adapt for renamed function.
28032
9c55864e
AJ
280332012-08-15 Andreas Jaeger <aj@suse.de>
28034
28035 [BZ #14090]
28036 * crypt/md5test2.c: New test, based on test supplied by Serge
28037 Belyshev <belyshev@depni.sinp.msu.ru>.
28038 * crypt/Makefile (xtests): Add md5test-giant..
28039 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28040
02dcb6c5
PE
280412012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28042
28043 [BZ #14090]
28044 * crypt/md5.c (md5_process_block): Don't assume the buffer
28045 length is less than 2**32.
28046 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28047 length is less than 2**64.
28048
a3f95dcc
RM
280492012-08-15 Roland McGrath <roland@hack.frob.com>
28050
be75d758
RM
28051 * string/str-two-way.h: Include <sys/param.h>.
28052 (MAX): Macro removed.
28053
7312ca90
RM
28054 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28055 Move #define and #undef of memmove to just before and after
28056 including <string.h>.
28057
9a0a5486
RM
28058 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28059 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28060 and after including <string.h>. Move declarations of
28061 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28062 to before #include "string/memmove.c".
28063
67cc348d
RM
28064 * include/dirent.h: Declare __getdirentries.
28065
a3f95dcc
RM
28066 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28067 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28068
ca98e171
MF
280692012-08-14 Mike Frysinger <vapier@gentoo.org>
28070
28071 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28072 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28073 * sysdeps/i386/configure: Regenerated.
28074 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28075 STABS_CURRENT_FILE, and STABS_FUN.
28076 (END): Remove call to STABS_FUN_END.
28077 (STABS_CURRENT_FILE1): Delete.
28078 (STABS_CURRENT_FILE): Likewise.
28079 (STABS_FUN): Likewise.
28080 (STABS_FUN_END): Likewise.
28081 (STABS_FUN2): Likewise.
28082 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28083 * sysdeps/x86_64/configure: Regenerated.
28084
5908bf46
RM
280852012-08-14 Roland McGrath <roland@hack.frob.com>
28086
28087 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 28088 * elf/dl-lookup.c: Likewise.
5908bf46 28089
f2c05b9e
JM
280902012-08-14 Joseph Myers <joseph@codesourcery.com>
28091
28092 * sysdeps/unix/sysv/linux/kernel-features.h
28093 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28094 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28095 unconditionally.
28096 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28097 unconditionally.
28098 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28099 condition on __ASSUME_CLONE_THREAD_FLAGS.
28100
e11f5155
AJ
281012012-08-14 Andreas Jaeger <aj@suse.de>
28102
28103 * sysdeps/i386/fpu/libm-test-ulps: Update.
28104
51a9ba86
MK
281052012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28106
2fdd4f78
AJ
28107 * include/atomic.h (atomic_exchange_and_add): Split into ...
28108 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28109 New atomic macros.
51a9ba86 28110
ba6cba9e
MT
281112012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28112
28113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28114
42443a47
JL
281152012-08-13 Jeff Law <law@redhat.com>
28116
28117 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28118 null byte in the output string.
28119
121dce05
JM
281202012-08-10 Joseph Myers <joseph@codesourcery.com>
28121
28122 * sysdeps/unix/sysv/linux/kernel-features.h
28123 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28124 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28125 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28126 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28127 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28128 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28129 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28130
bf51f568
JL
281312012-08-09 Jeff Law <law@redhat.com>
28132
28133 [BZ #13939]
28134 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28135 When avoid_arena is set, don't retry in the that arena. Pick the
28136 next one, whatever it might be.
28137 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28138 (arena_lock): Pass in new parameter to arena_get2.
28139 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28140 arena_get2.
28141 (__libc_malloc): Unify retrying after main arena failure with
28142 __libc_memalign version.
28143 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28144
f85fa270
L
281452012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28146
28147 [BZ #14166]
28148 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28149 to __redirect_strstr.
28150 (__strstr_sse42): Use typeof __redirect_strstr.
28151 (__strstr_ia32): Likewise.
28152 (__libc_strstr): New prototype.
28153 (strstr): Renamed to ...
28154 (__libc_strstr): This.
28155 (strstr): New strong alias of __libc_strstr.
28156 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28157 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28158 __redirect_time.
28159 Include <time.h>.
28160 (__libc_time): New prototype.
28161 (time_ifunc): Replace time with __libc_time.
28162 (time): New strong alias and hidden definition of __libc_time.
28163 (__GI_time): Remove strong alias.
28164 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28165 Include <stddef.h>.
28166 (memmove): Redefined to __redirect_memmove.
28167 (__memmove_sse2): Use typeof __redirect_memmove.
28168 (__memmove_ssse3): Likewise.
28169 (__memmove_ssse3_back): Likewise.
28170 (__libc_memmove): New prototype.
28171 (memmove): Renamed to ...
28172 (__libc_memmove): This.
28173 (memmove): New strong alias of __libc_memmove.
28174
33b4a91e
MS
281752012-08-08 Mark Salter <msalter@redhat.com>
28176
28177 * elf/elf.h
28178 (R_MN10300_TLS_GD): Define.
28179 (R_MN10300_TLS_LD): Likewise.
28180 (R_MN10300_TLS_LDO): Likewise.
28181 (R_MN10300_TLS_GOTIE): Likewise.
28182 (R_MN10300_TLS_IE): Likewise.
28183 (R_MN10300_TLS_LE): Likewise.
28184 (R_MN10300_TLS_DTPMOD): Likewise.
28185 (R_MN10300_TLS_DTPOFF): Likewise.
28186 (R_MN10300_TLS_TPOFF): Likewise.
28187 (R_MN10300_SYM_DIFF): Likewise.
28188 (R_MN10300_ALIGN): Likewise.
28189 (R_MN10300_NUM): Update.
28190
b36137f1
JM
281912012-08-08 Joseph Myers <joseph@codesourcery.com>
28192
28193 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28194 Remove.
28195
cdd915fd
RM
281962012-08-08 Roland McGrath <roland@hack.frob.com>
28197
a2433aac
RM
28198 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28199
cdd915fd
RM
28200 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28201 sysdeps/unix -> sysdeps/posix move.
28202 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28203
bf9b740a
AM
282042012-08-07 Allan McRae <allan@archlinux.org>
28205
28206 [BZ #14303]
28207 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28208 (SUNOS_CPP): Likewise.
28209 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28210 not found.
28211 (open_input): Call CPP using execvp.
28212
93df14ee
JM
282132012-08-07 Joseph Myers <joseph@codesourcery.com>
28214
28215 * sysdeps/unix/sysv/linux/kernel-features.h
28216 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28217 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28218 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28219 (__ASSUME_WAITID_SYSCALL): Likewise.
28220 * sysdeps/unix/sysv/linux/dl-execstack.c
28221 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28222 code unconditional.
28223 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28224 conditional code.
28225 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28226 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28227 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28228 code.
28229 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28230 unconditional.
28231 [__ASSUME_WAITID_SYSCALL]: Likewise.
28232 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28233
d34689de
RM
282342012-08-07 Roland McGrath <roland@hack.frob.com>
28235
a281decc
RM
28236 * sysdeps/unix/closedir.c: Renamed to ...
28237 * sysdeps/posix/closedir.c: ... here.
28238 * sysdeps/unix/dirfd.c: Renamed to ...
28239 * sysdeps/posix/dirfd.c: ... here.
28240 * sysdeps/unix/dirstream.h: Renamed to ...
28241 * sysdeps/posix/dirstream.h: ... here.
28242 * sysdeps/unix/fdopendir.c: Renamed to ...
28243 * sysdeps/posix/fdopendir.c: ... here.
28244 * sysdeps/unix/opendir.c: Renamed to ...
28245 * sysdeps/posix/opendir.c: ... here.
28246 * sysdeps/unix/readdir.c: Renamed to ...
28247 * sysdeps/posix/readdir.c: ... here.
28248 * sysdeps/unix/readdir_r.c: Renamed to ...
28249 * sysdeps/posix/readdir_r.c: ... here.
28250 * sysdeps/unix/rewinddir.c: Renamed to ...
28251 * sysdeps/posix/rewinddir.c: ... here.
28252 * sysdeps/unix/seekdir.c: Renamed to ...
28253 * sysdeps/posix/seekdir.c: ... here.
28254 * sysdeps/unix/telldir.c: Renamed to ...
28255 * sysdeps/posix/telldir.c: ... here.
28256 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28257 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28258 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28259 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28260
22895b47
RM
28261 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28262 * bits/fcntl.h: ... here.
28263
707a53b6
RM
28264 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28265 not 0.
28266 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28267 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28268 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28269 (struct flock): Move l_start, l_len to the beginning.
28270 Use __pid_t for l_pid.
28271 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28272 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28273 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28274 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28275 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28276 [__USE_LARGEFILE64] (struct flock64): New type.
28277 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28278
f0bd3e25
RM
28279 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28280 * bits/dirent.h: ... here.
28281
d34689de
RM
28282 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28283 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28284
6dad2c06
JM
282852012-08-07 Joseph Myers <joseph@codesourcery.com>
28286
28287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28288 Change from 2.6.0 to 2.6.16.
28289 * sysdeps/unix/sysv/linux/configure: Regenerated.
28290 * sysdeps/unix/sysv/linux/kernel-features.h
28291 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28292 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28293 version.
28294 (__ASSUME_UTIMES): Likewise.
28295 (__ASSUME_CLONE_STOPPED): Remove.
28296 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28297 architectures, not kernel version.
28298 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28299 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28300 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28301 (__ASSUME_WAITID_SYSCALL): Likewise.
28302 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28303 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28304 * README: State 2.6.16 as minimum Linux kernel version. Do not
28305 refer to older versions.
28306
03af9520
RM
283072012-08-06 Roland McGrath <roland@hack.frob.com>
28308
8e49df1d
RM
28309 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28310 Define alphasort64 as an alias.
28311 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28312 Define versionsort64 as an alias.
28313 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28314 Define scandir64 as an alias.
28315 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28316 Define scandirat64 as an alias.
28317 * dirent/alphasort64.c (alphasort64):
28318 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28319 * dirent/versionsort64.c: Likewise.
28320 * dirent/scandir64.c: Likewise.
28321 * dirent/scandirat64.c: Likewise.
28322 * sysdeps/wordsize-64/alphasort.c: File removed.
28323 * sysdeps/wordsize-64/alphasort64.c: File removed.
28324 * sysdeps/wordsize-64/scandir.c: File removed.
28325 * sysdeps/wordsize-64/scandir64.c: File removed.
28326 * sysdeps/wordsize-64/scandirat.c: File removed.
28327 * sysdeps/wordsize-64/scandirat64.c: File removed.
28328 * sysdeps/wordsize-64/versionsort.c: File removed.
28329 * sysdeps/wordsize-64/versionsort64.c: File removed.
28330 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28331 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28332 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28333 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28334 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28335 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28336 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28337 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28338
28339 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28341 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28343 [defined __arch64__ || defined __sparcv9]
28344 (__INO_T_MATCHES_INO64_T): New macro.
28345 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28346 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28347 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28348 * sysdeps/unix/sysv/linux/bits/dirent.h
28349 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28350 (_DIRENT_MATCHES_DIRENT64): New macro.
28351
03af9520
RM
28352 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28353 Define lockf64 as an alias.
28354 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28355 Define fseeko64 as an alias.
28356 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28357 Define ftello64 as an alias.
28358 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28359 Define _IO_fgetpos64 and fgetpos64 as aliases.
28360 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28361 Define _IO_fsetpos64 and fsetpos64 as aliases.
28362 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28363 Conditionalize body on this.
28364 * libio/fseeko64.c: Likewise.
28365 * libio/ftello64.c: Likewise.
28366 * libio/iofgetpos64.c: Likewise.
28367 * libio/iofsetpos64.c: Likewise.
28368 * sysdeps/wordsize-64/lockf.c: File removed.
28369 * sysdeps/wordsize-64/lockf64.c: File removed.
28370 * sysdeps/wordsize-64/fseeko.c: File removed.
28371 * sysdeps/wordsize-64/fseeko64.c: File removed.
28372 * sysdeps/wordsize-64/ftello.c: File removed.
28373 * sysdeps/wordsize-64/ftello64.c: File removed.
28374 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28375 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28376 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28377 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28378 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28379 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28380 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28381 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28382 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28383 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28384 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28385 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28386 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28387 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28388
28389 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28391 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28393 [defined __arch64__ || defined __sparcv9]
28394 (__OFF_T_MATCHES_OFF64_T): New macro.
28395 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28396 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28398 (__OFF_T_MATCHES_OFF64_T): New macro.
28399
c5757acd
L
284002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28401
28402 * stdlib/secure-getenv.c (__secure_getenv): Replace
28403 GLIBC_2_16 with GLIBC_2_17.
28404
3a31811e
L
284052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28408 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28409
faa2bccb
DM
284102012-08-03 David S. Miller <davem@davemloft.net>
28411
28412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28413
85fe1997
JM
284142012-08-03 Joseph Myers <joseph@codesourcery.com>
28415
28416 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28417 Remove.
28418 (__ASSUME_CORRECT_SI_PID): Likewise.
28419 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28420 (__ASSUME_TMPFS_NAME): Likewise.
28421 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28422 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28423 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28424 (HAVE_AUX_SECURE): Make definition unconditional.
28425 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28426 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28427
4f75b7a0
RM
284282012-08-03 Roland McGrath <roland@hack.frob.com>
28429
28430 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28431 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28432 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28433 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28434 __eloop_threshold instead of SYMLOOP_MAX.
28435
28436 * sysdeps/generic/eloop-threshold.h: New file.
28437 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28438 of MAXSYMLINKS.
28439 * elf/chroot_canon.c (chroot_canon): Likewise.
28440
7aab07e4
JM
284412012-08-03 Joseph Myers <joseph@codesourcery.com>
28442
28443 [BZ #13717]
28444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28445 Change to 2.6.0 everywhere.
28446 * sysdeps/unix/sysv/linux/configure: Regenerated.
28447 * sysdeps/unix/sysv/linux/kernel-features.h
28448 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28449 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28450 kernel versions.
28451 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28452 (__ASSUME_FUTEX_REQUEUE): Remove.
28453 (__ASSUME_STATFS64): Define unconditionally.
28454 (__ASSUME_AT_SECURE): Likewise.
28455 (__ASSUME_CORRECT_SI_PID): Likewise.
28456 (__ASSUME_TGKILL): Define without depending on kernel version for
28457 i386.
28458 (__ASSUME_UTIMES): Likewise.
28459 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28460 kernel version.
28461 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28462 (__ASSUME_TMPFS_NAME): Likewise.
28463 * README: Update reference to Linux kernel versions.
28464
b67e9372
MP
284652012-08-02 Marek Polacek <polacek@redhat.com>
28466
1f529f7d 28467 [BZ# 14150]
b67e9372
MP
28468 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28469 libc_cv_asm_type_prefix with %.
28470 * configure: Regenerated.
d2441631
RM
28471 * include/libc-symbols.h: Remove comment about
28472 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28473 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28474 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28475 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28476 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28477 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28478 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28479 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28480 * elf/tst-unique2mod1.c: Likewise.
28481 * elf/tst-unique1mod2.c: Likewise.
28482 * elf/tst-unique1mod1.c: Likewise.
28483 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28484 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28485 Replace ASM_TYPE_DIRECTIVE with .type.
28486 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28487 * sysdeps/i386/sysdep.h: Likewise.
28488 * sysdeps/x86_64/sysdep.h: Likewise.
28489 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28491 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28492 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28493 * sysdeps/powerpc/powerpc32/sysdep.h:
28494 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28495 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28496 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28497 * sysdeps/i386/fpu/e_powf.S: Likewise.
28498 * sysdeps/i386/fpu/e_expl.S: Likewise.
28499 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28500 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28501 * sysdeps/i386/fpu/e_pow.S: Likewise.
28502 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28503 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28504 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28505 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28506 * sysdeps/i386/fpu/e_log2.S: Likewise.
28507 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28508 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28509 * sysdeps/i386/fpu/e_powl.S: Likewise.
28510 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28511 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28512 * sysdeps/i386/fpu/e_logl.S: Likewise.
28513 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28514 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28515 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28516 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28517 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28518 * sysdeps/i386/fpu/e_log.S: Likewise.
28519 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28520 * sysdeps/i386/fpu/e_logf.S: Likewise.
28521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28522 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28523 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28524 * sysdeps/i386/fpu/e_log10.S: Likewise.
28525 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28526 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28527 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28528 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28529 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28530 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28531 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28532 * sysdeps/i386/i686/strtok.S: Likewise.
28533 * sysdeps/i386/i386-mcount.S: Likewise.
28534 * sysdeps/i386/strtok.S: Likewise.
28535 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28536 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28537 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28538 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28539 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28540 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28541 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28542 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28543 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28544 * sysdeps/x86_64/_mcount.S: Likewise.
28545 * sysdeps/x86_64/strtok.S: Likewise.
28546 * sysdeps/sh/_mcount.S: Likewise.
28547
2747bf9a
RM
285482012-08-01 Roland McGrath <roland@hack.frob.com>
28549
28550 * libio/iofopen.c: Include <fcntl.h>.
28551 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28552 (_IO_fopen64, fopen64): Define as aliases.
28553 * libio/iofopen64.c: Include <fcntl.h>.
28554 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28555 Conditionalize body on this.
28556 * sysdeps/wordsize-64/iofopen.c: File removed.
28557 * sysdeps/wordsize-64/iofopen64.c: File removed.
28558
3fb791b8
MP
285592012-08-01 Marek Polacek <polacek@redhat.com>
28560
28561 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28562 Use dlfcn directly instead of a variable.
28563 (binfmt-subdir): Do not define.
28564 (dlfcn): Likewise.
28565
a9f1039f
JM
285662012-08-01 Joseph Myers <joseph@codesourcery.com>
28567
23bddc06
JM
28568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28569 Remove all definitions.
28570 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28571 <kernel-features.h>.
28572 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28573 (miss_F_GETOWN_EX): Remove all definitions.
28574 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28575 macro definition.
28576 [!__ASSUME_FCNTL64]: Remove conditional code.
28577 [__ASSUME_FCNTL64]: Make code unconditional.
28578 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28579 <kernel-features.h>.
28580 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28581 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28582 (lockf64) [__NR_fcntl64]: Make code unconditional.
28583 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28584
a9f1039f
JM
28585 * sysdeps/unix/sysv/linux/kernel-features.h
28586 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28587 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28588 Make code unconditional.
28589 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28590 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28592 [__NR_vfork]: Make code unconditional.
28593 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28594 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28596 [__NR_vfork]: Make code unconditional.
28597 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28598 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28599
09c0ee5f
RM
286002012-08-01 Roland McGrath <roland@hack.frob.com>
28601
48aec5b9
RM
28602 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28603 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28604
cd97c966
RM
28605 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28606 Define mkstemp64 as an alias.
3f55550c
RM
28607 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28608 Define mkstemps64 as an alias.
cd97c966
RM
28609 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28610 Define mkostemp64 as an alias.
b8625cfc
RM
28611 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28612 Define mkostemps64 as an alias.
cd97c966
RM
28613 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28614 Conditionalize body on this.
28615 * misc/mkostemp64.c: Likewise.
b8625cfc 28616 * misc/mkostemps64.c: Likewise.
3f55550c 28617 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28618 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28619 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28620 * sysdeps/wordsize-64/mkostemp.c: File removed.
28621 * sysdeps/wordsize-64/mkstemp.c: File removed.
28622 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28624 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28626
09c0ee5f
RM
28627 [BZ #14138]
28628 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28629 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28630 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28631 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28632
28633 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28634 compat_symbol macros from <shlib-compat.h> rather than the underlying
28635 default_symbol_version and symbol_version macros, so that DEFAULT
28636 lines in shlib-versions are respected.
28637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28638
7e66ee51
FW
286392012-08-01 Florian Weimer <fweimer@redhat.com>
28640
28641 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28642 Declare with warn_unused_result.
28643 (setgid, setregid, setegid, setresgid): Likewise.
28644 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28645 Likewise.
28646 * WUR-REPORT: Remove set*id functions.
28647
d2a54255
PT
286482012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28649
28650 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28651
7ecdb005
RM
286522012-07-31 Roland McGrath <roland@hack.frob.com>
28653
b4180a5e 28654 [BZ #10191]
789bd351
RM
28655 * include/sys/socket.h (__libc_accept, __libc_accept4):
28656 Add attribute_hidden.
28657 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28658
40ce302d
RM
28659 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28660 use of PTR_MANGLE.
28661 * inet/getnetgrent_r.c (setup): Likewise.
28662
7ecdb005
RM
28663 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28664
e2eabb2c
DM
286652012-07-31 David S. Miller <davem@davemloft.net>
28666
28667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28668
d0419dbf
JM
286692012-07-31 Joseph Myers <joseph@codesourcery.com>
28670
28671 [BZ #13629]
28672 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28673 value between 1.0 and 2.0 and smaller part has absolute value less
28674 than 1.0.
28675 * math/s_clog10.c (__clog10): Likewise.
28676 * math/s_clog10f.c (__clog10f): Likewise.
28677 * math/s_clog10l.c (__clog10l): Likewise.
28678 * math/s_clogf.c (__clogf): Likewise.
28679 * math/s_clogl.c (__clogl): Likewise.
28680 * math/libm-test.inc (clog_test): Add more tests.
28681 (clog10_test): Likewise.
28682 * sysdeps/i386/fpu/libm-test-ulps: Update.
28683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28684
2bc13872
FW
286852012-07-31 Florian Weimer <fweimer@redhat.com>
28686
28687 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28688 Exit with zero in case no suitable GID is found, and write a
28689 message to standard error.
28690
bea9b193
RM
286912012-07-30 Roland McGrath <roland@hack.frob.com>
28692
28693 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28694 rather than to 1.
28695 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28696 (MAXPATHLEN): Removed.
28697 (NOGROUP, NODEV): New macros.
28698 (setbit, clrbit, isset, isclr): New macros.
28699 (howmany, roundup, powerof2): New macros.
28700 (DEV_BSIZE): New macro.
28701
28702 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28703 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28704
28705 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28706 definition on [!__NO_LONG_DOUBLE_MATH].
28707
28708 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28709 PTR_MANGLE and PTR_DEMANGLE.
28710
28711 * socket/accept4.c (accept4): Rename to __libc_accept4.
28712 Define accept4 as a weak alias.
28713
28714 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28715 on [_DIRENT_HAVE_D_TYPE].
28716 * io/ftw.c (ftw_dir): Likewise.
28717
28718 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28719
28720 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28721
28722 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28723 Use the BSD numbers rather than the arbitrary ones we had.
28724 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28725 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28726 (SIGXCPU, SIGXFSZ): New macros.
28727 (_NSIG): Now 32.
28728
28729 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28730 initializer on [_LIBC_REENTRANT].
28731
28732 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28733 definitions inside [_POSIX_MAPPED_FILES].
28734
28735 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28736
28737 * dirent/opendir.c: Include <fcntl.h>.
28738
28739 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28740 (__libc_getspecific): Likewise.
28741 (__libc_key_create): Likewise.
28742
28743 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28744 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28745 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28746 (tmpfile64): Define as alias.
28747 * sysdeps/wordsize-64/tmpfile.c: File removed.
28748 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28751
28752 * stdio-common/vfscanf.c: Include <stdbool.h>.
28753 * nss/makedb.c: Likewise.
28754 * stdio-common/_i18n_number.h: Likewise.
28755 * argp/argp-help.c: Likewise.
28756 * posix/wordexp.c: Likewise.
28757 * sysdeps/posix/spawni.c: Likewise.
28758 * nss/nss_files/files-initgroups.c: Likewise.
28759 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28760 * nss/nss_files/files-initgroups.c: Likewise.
28761 * nss/nss_db/db-netgrp.c: Likewise.
28762 * nss/nss_db/db-initgroups.c: Likewise.
28763 * io/fchmodat.c: Include <sys/stat.h>.
28764
28765 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28766 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28767
28768 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28769 [HAVE_MMAP].
28770
28771 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28772 Add multiple inclusion protection.
28773
e5abc686
DM
287742012-07-27 David S. Miller <davem@davemloft.net>
28775
28776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28777
815e6fa3
GB
287782012-07-27 Gary Benson <gbenson@redhat.com>
28779
28780 [BZ #14298]
28781 * elf/rtld.c: Include <stap-probe.h>.
28782 (dl_main): Added static probes "init_start" and "init_complete".
28783 * elf/dl-load.c: Include <stap-probe.h>.
28784 (lose): Take new parameter "nsid".
28785 Added static probe "map_failed".
28786 (_dl_map_object_from_fd): Pass namespace id to lose.
28787 Added static probe "map_start".
28788 (open_verify): Pass namespace id to lose.
28789 * elf/dl-open.c: Include <stap-probe.h>.
28790 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28791 and "reloc_complete".
28792 * elf/dl-close.c: Include <stap-probe.h>.
28793 (_dl_close_worker): Added static probes "unmap_start" and
28794 "unmap_complete".
28795 * elf/rtld-debugger-interface.txt: New file documenting the above.
28796
9f98c16c
RM
287972012-07-26 Roland McGrath <roland@hack.frob.com>
28798
28799 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28800 rather than a string variable.
28801 * sunrpc/rpc_main.c (h_output): Likewise.
28802 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28803
f3c22df3
PT
288042012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28805
28806 * inet/check_native.c: New file.
28807
3129cfc6
JM
288082012-07-26 Joseph Myers <joseph@codesourcery.com>
28809
da865e95
JM
28810 [BZ #13629]
28811 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28812 if larger part has absolute value 1.0.
28813 * math/s_clog10.c (__clog10): Likewise.
28814 * math/s_clog10f.c (__clog10f): Likewise.
28815 * math/s_clog10l.c (__clog10l): Likewise.
28816 * math/s_clogf.c (__clogf): Likewise.
28817 * math/s_clogl.c (__clogl): Likewise.
28818 * math/libm-test.inc (clog_test): Add more tests.
28819 (clog10_test): Likewise.
28820 * sysdeps/i386/fpu/libm-test-ulps: Update.
28821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28822
3129cfc6
JM
28823 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28824 (pltexit): Likewise.
28825 (La_regs): Likewise.
28826 (La_retval): Likewise.
28827 (int_retval): Likewise.
28828 Update #error for removed macros to refer only to definitions in
28829 tst-audit.h.
28830 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28831 macro.
28832 (pltexit): Likewise.
28833 (La_regs): Likewise.
28834 (La_retval): Likewise.
28835 (int_retval): Likewise.
28836 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28837 macro.
28838 (pltexit): Likewise.
28839 (La_regs): Likewise.
28840 (La_retval): Likewise.
28841 (int_retval): Likewise.
28842 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28843 macro.
28844 (pltexit): Likewise.
28845 (La_regs): Likewise.
28846 (La_retval): Likewise.
28847 (int_retval): Likewise.
28848 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28849 macro.
28850 (pltexit): Likewise.
28851 (La_regs): Likewise.
28852 (La_retval): Likewise.
28853 (int_retval): Likewise.
28854 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28855 macro.
28856 (pltexit): Likewise.
28857 (La_regs): Likewise.
28858 (La_retval): Likewise.
28859 (int_retval): Likewise.
28860 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28861 macro.
28862 (pltexit): Likewise.
28863 (La_regs): Likewise.
28864 (La_retval): Likewise.
28865 (int_retval): Likewise.
28866 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28867 macro definitions in tst-audit.h.
28868 * sysdeps/i386/tst-audit.h: New file.
28869 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28870 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28871 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28872 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28873 * sysdeps/sh/tst-audit.h: Likewise.
28874 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28875 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28876 * sysdeps/x86_64/tst-audit.h: Likewise.
28877
bfc07087
AJ
288782012-07-26 Andreas Jaeger <aj@suse.de>
28879
b1b2aaf8
AJ
28880 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28881 ptrace.
28882
28883 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28884 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28885 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28886 PTRACE_O_MASK.
28887 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28888 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28889 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28890
bfc07087
AJ
28891 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28892 value.
28893
28894 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28895 _sigsys.
28896 (si_call_addr, si_syscall, si_arch): Define new macro.
28897 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28898 _sigsys.
28899 (si_call_addr, si_syscall, si_arch): Define new marcro.
28900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28901 _sigsys.
28902 (si_call_addr, si_syscall, si_arch): Define new macro.
28903 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28904 _sigsys.
28905 (si_call_addr, si_syscall, si_arch): Define new macro.
28906
89b4b02f
JM
289072012-07-25 Joseph Myers <joseph@codesourcery.com>
28908
28909 [BZ #13717]
28910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28911 Change to 2.4.21 where previously 2.4.1.
28912 * sysdeps/unix/sysv/linux/configure: Regenerated.
28913 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28914 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28915 Linux kernel version.
28916 (__ASSUME_STD_AUXV): Remove.
28917 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28918 kernel version.
28919 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28920 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28921 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28922 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28923 (__ASSUME_NETLINK_SUPPORT): Likewise.
28924 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28925 (__no_netlink_support): Remove conditional definition.
28926 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28927 Remove.
28928 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28929 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28930 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28931 (if_nameindex_ioctl): Remove.
28932 (if_nameindex_netlink): Do not handle __no_netlink_support.
28933 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28934 code.
28935 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28936 Remove conditional code.
28937 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28938 code.
28939 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28940 unconditional.
28941 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28942 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28943 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28944 Remove.
28945 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28946 [!__ASSUME_STD_AUXV]: Remove conditional code.
28947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28948 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28949 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28951 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28952 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28953 code.
28954 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28956 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28957 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28958 conditional code.
28959 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28961 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28962 code.
28963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28964 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28965 conditional code.
28966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28967 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28968 code unconditional.
28969 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28970 conditional code.
28971 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28972 unconditional.
28973 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28974 conditional code.
28975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28976 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28977 unconditional.
28978 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28979 conditional code.
28980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28981 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28982 code unconditional.
28983 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28984 conditional code.
28985 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28986 unconditional.
28987 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28988 conditional code.
28989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28990 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28991 code unconditional.
28992 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28993 conditional code.
28994 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28995 unconditional.
28996 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28997 conditional code.
28998
842a39cd
AS
289992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29000
29001 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29002 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29003 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29004 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29005 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29006 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29007 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29008 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29009 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29010 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29011 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29012 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29013 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29014 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29015 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29016 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29017 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29018 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29019 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29021 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29022 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29023 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29024
84b3fd84
FW
290252012-07-25 Florian Weimer <fweimer@redhat.com>
29026
29027 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29028 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29029 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29030 Introduce __libc_secure_getenv.
0c7936d5
FW
29031 * stdlib/Versions (2.17): Add secure_getenv
29032 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29033 * stdlib/secure-getenv.c: Rename __secure_getenv to
29034 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29035 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29036 * stdlib/tst-secure-getenv.c: New.
29037 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29038 * manual/startup.texi (Environment Access): Document
29039 secure_getenv.
84b3fd84
FW
29040 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29041 __libc_secure_getenv.
29042 * inet/ruserpass.c (ruserpass): Likewise.
29043 * malloc/mtrace.c (mtrace): Likewise.
29044 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29045 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29046 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29047 * sysdeps/posix/tempname.c: Likewise. Evaluate
29048 HAVE_SECURE_GETENV.
29049 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29050 __secure_getenv to __libc_secure_getenv.
84b3fd84 29051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29053 Likewise.
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29055 Likewise.
29056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29063
56e49b71
JM
290642012-07-25 Joseph Myers <joseph@codesourcery.com>
29065
29066 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29067 (struct La_i86_retval): Likewise.
29068 (struct La_x86_64_regs): Likewise.
29069 (struct La_x86_64_retval): Likewise.
29070 (struct La_x32_regs): Likewise.
29071 (struct La_x32_retval): Likewise.
29072 (struct La_ppc32_regs): Likewise.
29073 (struct La_ppc32_retval): Likewise.
29074 (struct La_ppc64_regs): Likewise.
29075 (struct La_ppc64_retval): Likewise.
29076 (struct La_sh_regs): Likewise.
29077 (struct La_sh_retval): Likewise.
29078 (struct La_s390_32_regs): Likewise.
29079 (struct La_s390_32_retval): Likewise.
29080 (struct La_s390_64_regs): Likewise.
29081 (struct La_s390_64_retval): Likewise.
29082 (struct La_sparc32_regs): Likewise.
29083 (struct La_sparc32_retval): Likewise.
29084 (struct La_sparc64_regs): Likewise.
29085 (struct La_sparc64_retval): Likewise.
29086 (struct audit_ifaces): Remove architecture-specific pltenter and
29087 pltexit members.
29088 * sysdeps/i386/ldsodefs.h: New file.
29089 * sysdeps/powerpc/ldsodefs.h: Likewise.
29090 * sysdeps/s390/ldsodefs.h: Likewise.
29091 * sysdeps/sh/ldsodefs.h: Likewise.
29092 * sysdeps/sparc/ldsodefs.h: Likewise.
29093 * sysdeps/x86_64/ldsodefs.h: Likewise.
29094
354691b7
MP
290952012-07-25 Marek Polacek <polacek@redhat.com>
29096
29097 [BZ #6808]
29098 * math/libm-test.inc (yn_test): Add another test.
29099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29100 to ERANGE when the result is +-Inf.
29101 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29102 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29103 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29104 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29105
bf9e2071
JM
291062012-07-24 Joseph Myers <joseph@codesourcery.com>
29107
29108 * conform/data/time.h-data (NULL): Use macro-constant. Require
29109 equal to 0.
29110 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29111 clock_t.
29112 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29113
57633811
TS
291142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29115
29116 * configure.in <sysdeps resolving>: Correct printing
29117 Implies_before.
29118 * configure: Regenerate.
29119
c23c33b0
TS
291202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29121
29122 * math/w_ilogb.c: Include <limits.h>.
29123 * math/w_ilogbl.c: Likewise.
29124
b5982523
JM
291252012-07-20 Joseph Myers <joseph@codesourcery.com>
29126
29127 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29128 va_copy. Document allowing for unavailable va_copy only as
29129 pre-C99 compatibility.
29130 * manual/string.texi (Copying and Concatenation): Use va_copy
29131 instead of __va_copy in concat example.
29132
ac4ea442
PT
291332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29134
29135 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29136 (__sendto): Use create_address_port. Initialize APORT and deallocate
29137 it if not null.
29138
f98eafbd
PT
29139 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29140 with O_NOLINK passed to __file_name_lookup.
29141
898c7aab
PT
29142 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29143 with O_NOLINK passed to __file_name_lookup.
29144
0ced335a
PT
29145 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29146 negative N or less than NGIDS.
29147
b3404dbd
PT
29148 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29149 type to string_t. Set ERANGE as errno and return it if NAME is not big
29150 enough. Use memcpy instead of strncpy.
29151
0f48659e
JM
291522012-07-20 Joseph Myers <joseph@codesourcery.com>
29153
29154 * elf/Makefile (check-data): Remove.
29155 (localplt.data): New vpath directive.
29156 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29157 instead of $(check-data).
29158 * scripts/data/localplt-generic.data: Move to ...
29159 * sysdeps/generic/localplt.data: ... here.
29160 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29161 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29162 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29164 ... here.
29165 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29167 ... here.
29168 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29170 ... here.
29171 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29173 ... here.
29174 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29176 ... here.
29177 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29179 ... here.
29180
d37cbdaa
AZ
291812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29182
29183 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29184 PPC32 and PPC64 files.
29185 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29186 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29187
46f85fc2
AK
291882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29189
29190 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29191 __makecontext_ret to ...
29192 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29193 ... here and call exit if uc_link is NULL. New file.
29194 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29195 __makecontext_ret.S.
29196 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29197 __makecontext_ret to ...
29198 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29199 ... here and call exit if uc_link is NULL. New file.
29200 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29201 __makecontext_ret.S.
29202
08f43f9b
AK
292032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29204
29205 * elf/elf.h (R_390_IRELATIVE): New definition.
29206 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29207 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29208 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29209 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29210 (elf_machine_lazy_rel): Likewise.
29211 * sysdeps/s390/dl-irel.h: New file.
29212 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29213 * sysdeps/s390/s390-64/memset.S: New asm code.
29214 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29215 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29216 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29217 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29218 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29219 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29221 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29222 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29223 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29224 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29225 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29226 * sysdeps/s390/s390-32/memset.S: New asm code.
29227 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29228
3b05db33
MP
292292012-07-17 Marek Polacek <polacek@redhat.com>
29230
29231 [BZ #14349]
29232 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29233 * sysdeps/s390/s390-64/configure.in: Likewise.
29234 * sysdeps/sparc/configure.in: Likewise.
29235 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29236 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29237 * sysdeps/i386/configure.in: Likewise.
29238 * sysdeps/x86_64/configure.in: Likewise.
29239 * sysdeps/sh/configure.in: Likewise.
29240 * sysdeps/s390/s390-32/configure: Regenerated.
29241 * sysdeps/s390/s390-64/configure: Likewise.
29242 * sysdeps/x86_64/configure: Likewise.
29243 * sysdeps/sh/configure: Likewise.
29244 * sysdeps/powerpc/powerpc64/configure: Likewise.
29245 * sysdeps/powerpc/powerpc32/configure: Likewise.
29246 * sysdeps/sparc/configure: Likwise.
29247 * sysdeps/i386/configure: Likewise.
29248
a66877c6
MP
29249 * elf/dl-open.c: Comment fixes.
29250
cfc82fd8
JM
292512012-07-17 Joseph Myers <joseph@codesourcery.com>
29252
bd29910a
JM
29253 * Makefile [CXX] (check-data): Remove.
29254 [CXX] (c++-types.data): New vpath directive.
29255 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29256 vpath. Do not allow for C++ type data being missing.
29257 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29258 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29259 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29260 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29261 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29262 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29263 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29265 ... here.
29266 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29268 ... here.
29269 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29271 ... here.
29272 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29274 ... here.
29275 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29277 ... here.
29278 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29280 ... here.
29281 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29283 ... here.
29284 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29286
cfc82fd8
JM
29287 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29288 definitions to architecture-specific files.
29289 (TLS_IE): Likewise.
29290 (TLS_LD): Likewise.
29291 (TLS_GD): Likewise.
29292 * sysdeps/i386/tls-macros.h: New file.
29293 * sysdeps/powerpc/tls-macros.h: Likewise.
29294 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29295 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29296 * sysdeps/sh/tls-macros.h: Likewise.
29297 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29298 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29299 * sysdeps/x86_64/tls-macros.h: Likewise.
29300
f7db3170
TS
293012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29302
07cbfc23
TS
29303 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29304 zero value for regular exit case.
29305
f7db3170
TS
29306 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29307 (__start_context): Preserve zero value for regular exit case.
29308
dc97c227
TS
293092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29310 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29311
29312 * manual/setjmp.texi (setcontext): Clarify normal process
29313 termination when uc_link is the null pointer.
29314 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29315 exit call.
29316
d0cd7d02
AS
293172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29318
29319 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29320 preprocessor. Test for each exception mask separately.
29321
dd318934
AJ
293222012-07-16 Andreas Jaeger <aj@suse.de>
29323
29324 * po/ru.po: Update from translation team.
29325
8048311a
JM
293262012-07-15 Joseph Myers <joseph@codesourcery.com>
29327
29328 * conform/data/string.h-data (NULL): Use macro-constant. Require
29329 equal to 0.
29330 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29331 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29332 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29333 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29335
b637d46e
AJ
293362012-07-13 Andreas Jaeger <aj@suse.de>
29337
29338 * po/fr.po: Update from translation team.
29339
541428fe
MP
293402012-07-12 Marek Polacek <polacek@redhat.com>
29341
29342 [BZ #14173]
29343 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29344 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29345 loop condition.
29346
ec332e94
JM
293472012-07-12 Joseph Myers <joseph@codesourcery.com>
29348
29349 [BZ #13717]
29350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29351 Change to 2.4.1 where previously 2.4.0.
29352 * sysdeps/unix/sysv/linux/configure: Regenerated.
29353 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29354 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29355 version.
29356 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29357 (__ASSUME_AT_CLKTCK): Remove.
29358 (__ASSUME_AT_PAGESIZE): Likewise.
29359 (__ASSUME_AT_XID): Likewise.
29360 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29361 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29362 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29363 unconditionally.
29364 (HAVE_AUX_PAGESIZE): Likewise.
29365 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29366 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29367 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29368
7b6e99be
JB
293692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29370
29371 [BZ #14307]
29372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29373 the temporary buffer used to invoke __gethostbyname2_r,
29374 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29375 host_data / struct gaih_addrtuple.
29376 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29377 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29378 header file nss/nsswitch.h.
29379 * nss/nsswitch.h (global scope): Add definition of implementation
29380 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29381 resolv/nss_dns/dns-host.c).
29382
608404eb
AJ
293832012-07-11 Andreas Jaeger <aj@suse.de>
29384
29385 * po/fr.po: Update from translation team.
29386
71220aca
AJ
29387 * po/sv.po: Update from translation team
29388 * po/fr.po: Another update from translation team.
29389
28cfe843
AZ
293902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29391
29392 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29393 for subnormals or multiply small sinh result by itself.
29394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29396
6b90f981
DM
293972012-07-11 David S. Miller <davem@davemloft.net>
29398
29399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29400
c6825772
AS
294012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29402
29403 [BZ #14347]
29404 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29405 (INTERNAL_MARK): Shift it here.
29406
7b8e0d49
MP
294072012-07-10 Marek Polacek <polacek@redhat.com>
29408
29409 [BZ #14151]
29410 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29411 libc_cv_asm_global_directive with .globl.
29412 * configure: Regenerated.
29413 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29414 with .globl.
29415 * sysdeps/i386/configure: Regenerated.
29416 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29417 with .globl.
29418 * sysdeps/x86_64/configure: Regenerated.
29419 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29420 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29421 * elf/tst-unique2mod2.c: Likewise.
29422 * elf/tst-unique2mod1.c: Likewise.
29423 * elf/tst-unique1mod2.c: Likewise.
29424 * elf/tst-unique1mod1.c: Likewise.
29425 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29426 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29427 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29428 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29429 * sysdeps/mach/sysdep.h: Likewise.
29430 * sysdeps/i386/sysdep.h: Likewise.
29431 * sysdeps/i386/i386-mcount.S: Likewise.
29432 * sysdeps/x86_64/_mcount.S: Likewise.
29433 * sysdeps/x86_64/sysdep.h: Likewise.
29434 * sysdeps/sh/_mcount.S: Likewise.
29435 * sysdeps/sh/sysdep.h: Likewise.
29436 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29437 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29438 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29439 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29440 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29441 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29442 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29443 * locale/localeinfo.h: Likewise.
29444 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29445 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29446
6c55cda3
RM
294472012-07-09 Roland McGrath <roland@hack.frob.com>
29448
29449 [BZ #14336]
29450 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29451 system".
29452 * manual/message.texi (The Uniforum approach): Likewise.
29453 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29454 (glibc iconv Implementation): Likewise.
29455
638a572e
JM
294562012-07-09 Joseph Myers <joseph@codesourcery.com>
29457
29458 [BZ #14337]
29459 * math/s_clog.c (__clog): Avoid scaling a value down where that
29460 could result in underflow.
29461 * math/s_clog10.c (__clog10): Likewise.
29462 * math/s_clog10f.c (__clog10f): Likewise.
29463 * math/s_clog10l.c (__clog10l): Likewise.
29464 * math/s_clogf.c (__clogf): Likewise.
29465 * math/s_clogl.c (__clogl): Likewise.
29466 * math/libm-test.inc (clog_test): Add more tests.
29467 (clog10_test): Likewise.
29468 * sysdeps/i386/fpu/libm-test-ulps: Update.
29469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29470
261f4859
AS
294712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29472
0abaf3e4
AS
29473 [BZ #14283]
29474 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29475 by 7 not 8 to examine high bit of fractional part.
29476
261f4859
AS
29477 [BZ #14042]
29478 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29479 for call to __mcount_internal.
29480 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29481 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29482 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29483
f17ac40d
JM
294842012-07-06 Joseph Myers <joseph@codesourcery.com>
29485
9ad63c23
JM
29486 [BZ #14154]
29487 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29488 approximation for values within 0x1p-13f of an odd multiple of
29489 pi/4.
29490 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29491 exception. Add more tests.
29492 * sysdeps/i386/fpu/libm-test-ulps: Update.
29493
f17ac40d
JM
29494 [BZ #6778]
29495 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29496 inputs and return -1 for them. Do not check for +Inf in case not
29497 reachable for +Inf.
29498 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29499 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29500 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29501 and return -1 for them. Do not check for +Inf in case not
29502 reachable for +Inf.
29503 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29504 define.
29505 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29506 and return -1 for them. Do not check for +Inf in case not
29507 reachable for +Inf.
29508 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29509 spurious underflow.
29510 * sysdeps/i386/fpu/libm-test-ulps: Update.
29511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29512
fb21f89b
MF
295132012-07-06 Mike Frysinger <vapier@gentoo.org>
29514
29515 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29516
cdfe2c5e
JM
295172012-07-05 Joseph Myers <joseph@codesourcery.com>
29518
29519 [BZ #14157]
29520 [BZ #14331]
29521 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29522 could result in spurious underflow. Scale down values above
29523 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29524 * math/s_csqrtf.c (__csqrtf): Likewise.
29525 * math/s_csqrtl.c (__csqrtl): Likewise.
29526 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29527 spurious underflow.
29528 * sysdeps/i386/fpu/libm-test-ulps: Update.
29529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29530
70d35b67
AS
295312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29532
704bc459
AS
29533 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29534 xopen-msg.sed.
29535 * catgets/xopen-msg.awk: New file.
29536 * catgets/xopen-msg.sed: Removed.
29537
70d35b67
AS
29538 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29539 po2text.sed.
29540 * intl/po2test.awk: New file.
29541 * intl/po2test.sed: Removed.
29542
ca61cf32
JM
295432012-07-04 Joseph Myers <joseph@codesourcery.com>
29544
29545 [BZ #14328]
29546 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29547 or multiply small sinh result by itself.
29548 * math/s_ctanf.c (__ctanf): Likewise.
29549 * math/s_ctanh.c (__ctanh): Likewise.
29550 * math/s_ctanhf.c (__ctanhf): Likewise.
29551 * math/s_ctanhl.c (__ctanhl): Likewise.
29552 * math/s_ctanl.c (__ctanl): Likewise.
29553 * math/libm-test.inc (ctan_test_tonearest): New function.
29554 (ctan_test_towardzero): Likewise.
29555 (ctan_test_downward): Likewise.
29556 (ctan_test_upward): Likewise.
29557 (ctanh_test_tonearest): Likewise.
29558 (ctanh_test_towardzero): Likewise.
29559 (ctanh_test_downward): Likewise.
29560 (ctanh_test_upward): Likewise.
29561 (main): Call these new functions.
29562 * sysdeps/i386/fpu/libm-test-ulps: Update.
29563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29564
ca48a46a
MF
295652012-07-03 Mike Frysinger <vapier@gentoo.org>
29566
29567 * .gitignore: Delete /ports entry.
29568
9d63d37d
AJ
295692012-07-03 Andreas Jaeger <aj@suse.de>
29570
29571 * po/bg.po: Update from translation team.
29572 * po/cs.po: Likewise.
29573 * po/de.po: Likewise.
29574 * po/hr.po: Likewise.
29575 * po/nl.pl: Likewise.
29576 * po/pl.po: Likewise.
29577 * po/vi.po: Likewise.
29578
370ca3d2
JM
295792012-07-03 Joseph Myers <joseph@codesourcery.com>
29580
95f5a9a8
JM
29581 * Makeconfig [!+link] (+link-before-libc): New variable.
29582 [!+link] (+link-after-libc): Likewise.
29583 [!+link] (+link-tests): Likewise.
29584 [!+link] (+link): Define in terms of $(+link-before-libc) and
29585 $(+link-after-libc).
29586 [!+link-static] (+link-static-before-libc): New variable.
29587 [!+link-static] (+link-static-after-libc): Likewise.
29588 [!+link-static] (+link-static-tests): Likewise.
29589 [!+link-static] (+link-static): Define in terms of
29590 $(+link-static-before-libc) and $(+link-static-after-libc).
29591 [build-shared] (link-libc-before-gnulib): New variable.
29592 [build-shared] (link-libc-tests): Likewise.
29593 [build-shared] (link-libc): Define in terms of
29594 $(link-libc-before-gnulib).
29595 [!build-shared] (link-libc-tests): New variable.
29596 (link-libc-static-tests): New variable.
29597 [!gnulib] (gnulib-arch): New variable.
29598 [!gnulib] (gnulib-tests): Likewise.
29599 [!gnulib] (static-gnulib-arch): Likewise.
29600 [!gnulib] (static-gnulib-tests): Likewise.
29601 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29602 Define with "=" instead of ":=".
29603 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29604 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29605 * Rules (binaries-all-notests): New variable.
29606 (binaries-all-tests): Likewise.
29607 (binaries-static-notests): Likewise.
29608 (binaries-static-tests): Likewise.
29609 (binaries-all): Define using $(binaries-all-notests) and
29610 $(binaries-all-tests).
29611 (binaries-static): Define using $(binaries-static-notests) and
29612 $(binaries-static-tests).
29613 (binaries-shared-tests): New variable.
29614 (binaries-shared-notests): Likewise.
29615 (binaries-shared): Remove variable.
29616 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29617 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29618 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29619 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29620 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29621 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29622 * elf/Makefile (sln-modules): New variable.
29623 (extra-objs): Add $(sln-modules:=.o).
29624 (ldconfig-modules): Add static-stubs.
29625 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29626 * elf/static-stubs.c: New file.
29627
7a845b2c
JM
29628 [BZ #14283]
29629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29630 by 7 not 8 to examine high bit of fractional part. Use volatile
29631 variables when splitting into final array of floats if
29632 __FLT_EVAL_METHOD__ != 0.
29633 * math/libm-test.inc (cos_test): Add another test.
29634 (sin_test): Likewise.
29635 * sysdeps/i386/fpu/libm-test-ulps: Update.
29636
e2283f38
JM
29637 [BZ #14273]
29638 * math/libm-test.inc (cosh_test): Add more tests.
29639
370ca3d2
JM
29640 * version.h (RELEASE): Set to "development".
29641 (VERSION): Set to "2.16.90".
29642
ee9247c3
CD
296432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29644
29645 * NEWS: Update copyright. Remove last-updated date.
29646 Mention math library bug fixes and timezone data changes.
29647 * README: Mention GNU/Hurd, x32, and HPPA support status.
29648
4648c381
TS
296492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29650
29651 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29652
aac78a43
AJ
296532012-06-27 Andreas Jaeger <aj@suse.de>
29654
29655 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29656
ed3dbfad
AJ
296572012-06-25 Andreas Jaeger <aj@suse.de>
29658
29659 * sysdeps/s390/fpu/libm-test-ulps: Update.
29660
4d0ee855
AS
296612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29662 Thomas Schwinge <thomas@codesourcery.com>
29663
29664 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29665 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29667 fanotify_mark.
29668
af1bce34
TS
296692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29670
a9fa33ba
TS
29671 * sysdeps/mach/start.c: Remove file.
29672 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29673 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29674 * sysdeps/sh/init-first.c: Likewise.
29675
58f902b8
TS
29676 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29677 registers for frame unwinding purposes, add CFI directives.
29678 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29679 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29680 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29681 Likewise.
29682
1518f58b
TS
29683 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29684 __fortify_fail returning.
29685 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29686
db9b5059
TS
29687 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29688 sysdeps/sh/____longjmp_chk.S.
29689 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29690 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29691 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29692 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29693
967705fe
TS
29694 * sysdeps/sh/abort-instr.h: New file.
29695 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29696 process in case exit returns.
29697
a9def8c4
TS
29698 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29699 initialize the GOT register before use.
29700
2a649725
TS
29701 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29702 calculation of ARGC > 4.
29703
af1bce34
TS
29704 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29705 meaningful names to some local labels.
29706
d230f50a
KK
297072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29708 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29709
29710 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29711 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29712 (__arch_compare_and_exchange_val_16_acq): Likewise.
29713 (__arch_compare_and_exchange_val_32_acq): Likewise.
29714 (atomic_exchange_and_add): Fix gUSA sequence.
29715 (atomic_add): Likewise.
29716 (atomic_add_negative): Likewise.
29717 (atomic_add_zero): Likewise.
29718 (atomic_bit_test_set): Likewise.
29719
0479b305
AS
297202012-06-22 Andreas Schwab <schwab@redhat.com>
29721
29722 [BZ #13579]
29723 * include/link.h (struct link_map): Add l_free_initfini.
29724 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29725 l_initfini.
29726 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29727 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29728 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29729 set.
29730
0e3933b9
CD
297312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29732
29733 * configure.in: Use AC_LANG_SOURCE.
29734 * configure: Regenerate.
29735
4248b1b1
RM
297362012-06-22 Roland McGrath <roland@hack.frob.com>
29737
29738 * configure.in (libc_cv_localstatedir): New substituted variable.
29739 * configure: Regenerated.
29740 * config.make.in (localstatedir): New variable, substituted from
29741 libc_cv_localstatedir.
29742 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29743 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29744 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29745 * sysdeps/gnu/configure: Regenerated.
29746
006dd861
JL
297472012-06-21 Jeff Law <law@redhat.com>
29748
29749 [BZ #14277]
29750 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29751 free. Simplify list management for _LIBC case.
29752
79662d42
JM
297532012-06-21 Joseph Myers <joseph@codesourcery.com>
29754
b7abb4bf
JM
29755 [BZ #14273]
29756 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29757 Clear sign bit of 64-bit integer value before comparing against
29758 overflow value.
29759
79662d42
JM
29760 * sysdeps/mach/configure: Regenerated.
29761
1f150908
L
297622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29763
29764 [BZ #14278]
29765 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29766
28363bbf
JL
297672012-06-21 Jeff Law <law@redhat.com>
29768
29769 [BZ #13882]
29770 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29771 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29773 * elf/dl-open.c (dl_open_worker): Likewise.
29774
09615db4
CD
297752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29776
29777 * scripts/list-sources.sh: Scan PORTS for translations.
29778 * po/libc.pot: Regenerated.
29779
2174c6dd
AJ
297802012-06-21 Andreas Jaeger <aj@suse.de>
29781
29782 [BZ #12194]
29783 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29784 warning.
29785 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29786 * bits/byteswap-16.h (__bswap_16): Likewise.
29787 * bits/byteswap.h (__bswap_constant_16): Likewise.
29788
3ee947b1
L
297892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 [BZ #14117]
a2f34833
L
29792 * sysdeps/i386/fpu_control.h: Removed.
29793 * sysdeps/x86_64/fpu_control.h: Moved to ...
29794 * sysdeps/x86/fpu_control.h: Here.
29795
3ee947b1
L
29796 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29797 (_FPU_SETCW): Likewise.
29798
ed1825f8
L
297992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29800
25f1282a
L
29801 [BZ #14117]
29802 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29803 * sysdeps/x86/fpu/bits/mathinline.h: This.
29804 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29805
ed1825f8
L
29806 [BZ #14050]
29807 [BZ #14117]
29808 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29809 functions if __x86_64__ is defined.
29810
36d54b74
CLT
298112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29812
29813 * string/endian.h: Add !__ASSEMBLER__ condition for including
29814 conversion interfaces.
29815
10285c21
JM
298162012-06-15 Joseph Myers <joseph@codesourcery.com>
29817
29818 [BZ #14241]
29819 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29820 of ABS(x) in calculating zero to negative powers other than odd
29821 integers.
29822 * math/libm-test.inc (pow_test): Add more tests.
29823
06c5abbd
AJ
298242012-06-15 Andreas Jaeger <aj@suse.de>
29825
29826 * manual/contrib.texi (Contributors): Update entry of Liubov
29827 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29828 Machado Filho.
29829
a3aeac40
CH
298302012-06-15 Cyril Hrubis <metan@ucw.cz>
29831
29832 * string/string.h: Add __wur to GNU version of strerror_r.
29833
49bdf4c1
L
298342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29835
29836 [BZ #14229]
29837 * string/Makefile (tests): Add tst-strtok_r.
29838 * string/tst-strtok_r.c: New file.
29839 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29840 RAX_LP/RDX_LP on SAVE_PTR.
29841
834f9b8d
RM
298422012-06-14 Roland McGrath <roland@hack.frob.com>
29843
29844 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29845
75fa1921
JM
298462012-06-14 Joseph Myers <joseph@codesourcery.com>
29847
29848 * libm_test.inc (csqrt_test): Allow more spurious underflow
29849 exceptions.
29850 (j0_test): Likewise.
29851 (j1_test): Likewise.
29852 (y0_test): Likewise.
29853 (y1_test): Likewise.
29854
771766df
CD
298552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29856
29857 * po/Makefile (libc.pot): Use UTF-8 charset.
29858
ceb9e56b
PP
298592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29860
29861 [BZ #14210]
29862 Suppress sign-conversion warning from FD_SET.
29863 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29864 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29865 not unsigned long int.
29866 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29867
ddb28975
L
298682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29869
29870 [BZ #14050]
29871 [BZ #14117]
29872 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29873 __extern_always_inline instead of __extern_inline.
29874 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29875 (__signbit): Likewise.
29876 (__signbitl): Support C++ namespace.
29877 (lrintf): New inline function.
29878 (lrint): Likewise.
29879 (llrintf): Likewise.
29880 (llrint): Likewise.
29881 (fmaxf): Likewise.
29882 (fmax): Likewise.
29883 (fminf): Likewise.
29884 (fmin): Likewise.
29885 (rint): Likewise.
29886 (rintf): Likewise.
29887 (ceil): Likewise.
29888 (ceilf): Likewise.
29889 (floor): Likewise.
29890 (floorf): Likewise.
29891 (nearbyint): Likewise.
29892 (nearbyintf): Likewise.
29893
d7b4fb26
TS
298942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29895
29896 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29897 non-default versions.
29898
eb55f5c2
RM
298992012-06-11 Roland McGrath <roland@hack.frob.com>
29900
29901 [BZ #14218]
29902 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29903
366af02c
TS
299042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29905
99ff6e5c
TS
29906 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29907 (FE_UPWARD, FE_DOWNWARD): Don't define.
29908 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29909 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29910
366af02c
TS
29911 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29912 reading it.
29913 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29914 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29915
793ea851
KK
299162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29917
29918 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29920 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29921 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29922
a728a38f
L
299232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29924
29925 [BZ #14117]
c08010c7
L
29926 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29927 * sysdeps/i386/fpu/Implies: New file.
29928 * sysdeps/x86_64/fpu/Implies: Likewise.
29929 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29930 * sysdeps/x86/fpu/bits/fenv.h: This.
29931
a728a38f
L
29932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29933 __SSE_MATH__.
29934
6e230d11
SP
299352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29936
29937 [BZ #14134]
29938 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29939 character 0xffff that matches the last element of the
29940 conversion table.
29941
1b671feb
AZ
299422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29943
29944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29945 fmodl commit.
29946
6043738b
AZ
299472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29948
29949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29950 values higher than 25.6283.
29951
34ae0b32
AZ
299522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29953
29954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29955 subnormal exponent extraction and add some __builtin_expect.
29956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29957 Fix for subnormal mantissa calculation.
29958
1214ec8f
MF
299592012-06-04 Mike Frysinger <vapier@gentoo.org>
29960
29961 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29962 cpu2 is -1 and errno is not ENOSYS.
29963
f3d1f93c
L
299642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29965
29966 [BZ #14117]
0e4a3cd7
L
29967 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29968 * sysdeps/x86/bits/string.h: This.
29969 * sysdeps/x86_64/bits/string.h: Removed.
29970
6704c645
L
29971 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29972 if not compiling for x86-64, but compiling for >= i486.
29973
48495318
L
29974 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29975 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29976
14adcbfc
L
29977 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29978 New macro from Linux kernel 3.4.0.
29979 (FP_XSTATE_MAGIC2): Likewise.
29980 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29981 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29982 (struct _fpx_sw_bytes): New struct.
29983 (struct _xsave_hdr): Likewise.
29984 (struct _ymmh_state): Likewise.
29985 (struct _xstate): Likewise.
29986
68e408ab
L
29987 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29988 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29989 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29990 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29991 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29992 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29993
f3d1f93c
L
29994 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29995 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29996 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29997 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29998 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29999 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30000
d9dc34cd
TMQMF
300012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30002
30003 [BZ #13743]
30004 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30005 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30006 (sysdep_headers): Include sys/platform/ppc.h.
30007 * sysdeps/powerpc/test-gettimebase.c: Test for
30008 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30009 * manual/Makefile (appendices): Include platform.texi.
30010 * manual/contrib.texi (Contributors): Update @node pointers.
30011 * manual/maint.texi (Maintenance): Likewise.
30012 (Platform): New node.
30013 * manual/platform.texi: New file. Document the new features.
30014
4af3879c
SP
300152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30016 Jakub Jelinek <jakub@redhat.com>
30017
30018 [BZ #14188]
30019 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30020 where __builtin_expect is unavailable.
30021
2fd6ff13
DM
300222012-06-03 David S. Miller <davem@davemloft.net>
30023
30024 * stdlib/longlong.h: Updated from GCC.
30025
173f7220
AS
300262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30027
30028 [BZ #14042]
30029 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30030 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30031 __mcount_internal.
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30033 (GLIBC_2.16): Likewise.
30034
f34a1c6f
L
300352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30036
30037 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30038
88a4576f
JM
300392012-06-01 Joseph Myers <joseph@codesourcery.com>
30040
ea32bcdd
JM
30041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30042 (default-abi): New variable.
30043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30044 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30045 variable.
30046 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30047 Likewise.
30048 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30049 Likewise.
30050 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30051 Likewise.
30052
88a4576f
JM
30053 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30054 definition. Document in comment.
30055
402fe938
DM
300562012-06-01 David S. Miller <davem@davemloft.net>
30057
30058 * stdlib/longlong.h: Updated from GCC.
30059
3553723f
L
300602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30061
30062 [BZ #14117]
3bd872c4
L
30063 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30064 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30065 sys/debugreg.h sys/io.h here.
30066 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30067 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30068 sys/io.h.
30069 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30070 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30071 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30072 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30073 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30074 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30075
3553723f
L
30076 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30077 Define only if __x86_64__ is defined.
30078
4842e4fe
JM
300792012-06-01 Joseph Myers <joseph@codesourcery.com>
30080
c5bfe3d5
JM
30081 [BZ #14048]
30082 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30083 Use int64_t for variable i.
30084 * math/libm-test.inc (fmod_test): Add more tests.
30085
4842e4fe
JM
30086 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30087 z computation is not scheduled after fetestexcept.
30088 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30089 Use math_force_eval instead of asm to ensure calculation scheduled
30090 before exception test.
30091 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30092 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30093
efb73488
AJ
300942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30095
30096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30097 computation is not scheduled after fetestexcept.
30098
29bcce7c
L
300992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30100
30101 [BZ #14117]
30102 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30103 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30104
73a68f94
AZ
301052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30106
30107 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30108 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30109
67b6df78
L
301102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30111
edf2933a 30112 [BZ #14117]
ebc64a18
L
30113 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30114 <bits/wordsize.h>.
30115 (__WCHAR_MIN): Support __WORDSIZE == 64.
30116 (__WCHAR_MAX): Likewise.
30117
edf2933a
L
30118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30120
57c6cf40
L
30121 [BZ #14183]
30122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30123 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30124
67b6df78 30125 [BZ #14117]
8eb6281e
L
30126 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30127 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30128
aac639f4
L
30129 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30130 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30131
67b6df78
L
30132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30133 Defined to 1 if __x86_64__ isn't defined.
30134 (_STAT_VER_LINUX_OLD): New.
30135 (st_atime): Remove duplicate.
30136 (st_mtime): Likewise.
30137 (st_ctime): Likewise.
30138
1c2cfe81
DM
301392012-05-31 David S. Miller <davem@davemloft.net>
30140
30141 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30142 entries.
30143
5be8418c
AS
301442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30145
e7725326
AS
30146 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30147 gen-libm-test.pl.
30148
5be8418c
AS
30149 [BZ #14132]
30150 * elf/dl-reloc.c: Include <_itoa.h>.
30151 (_dl_reloc_bad_type): Remove use of INTUSE.
30152 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30153 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30154 * stdio-common/psiginfo.c (psiginfo): Likewise.
30155 * stdio-common/psignal.c (psignal): Likewise.
30156 * string/strsignal.c (strsignal): Likewise.
30157 * include/signal.h (_sys_siglist): Declare hidden proto.
30158 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30159 INTVARDEF with libc_hidden_data_def.
30160 * stdio-common/itoa-udigits.c: Likewise.
30161 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30162 (_itoa_lower_digits_internal): Remove declaration.
30163 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30164 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30165 (_sys_sigabbrev_internal): Remove aliases.
30166 (_sys_siglist): Define hidden alias.
30167
507352f1
MT
301682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30169
30170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30171 bits/sysctl.h.
30172
42bbb1c3
L
301732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30174
30175 [BZ #14117]
6bd784b6
L
30176 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30177 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30178
8bca20f0
L
30179 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30180 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30181 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30182 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30183 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30184 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30185
f9e890a9
L
30186 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30187 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30188 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30189
471101a1
L
30190 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30191 with __addr.
30192 (insw): Likewise.
30193 (insl): Likewise.
30194 (outsb): Likewise.
30195 (outsw): Likewise.
30196 (outsl): Likewise.
30197
6451c862
L
30198 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30199 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30200 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30201
a254b8c9
L
30202 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30203 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30204 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30205 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30206 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30207 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30208
b8dfdd92
L
30209 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30210 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30211
578cd270
L
30212 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30213 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30214
de662f5f
L
30215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30217 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30218
25653439
L
30219 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30220 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30221 to ...
30222 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30223
6bad24a0
L
30224 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30225 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30226 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30227
42bbb1c3
L
30228 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30229 for x86-64.
30230 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30231
2d10d547
JM
302322012-05-31 Joseph Myers <joseph@codesourcery.com>
30233
30234 * math/math.h (M_El): Use two more decimal places.
30235 (M_LOG2El): Likewise.
30236 (M_LOG10El): Likewise.
30237 (M_LN2l): Likewise.
30238 (M_LN10l): Likewise.
30239 (M_PIl): Likewise.
30240 (M_PI_2l): Likewise.
30241 (M_PI_4l): Likewise.
30242 (M_1_PIl): Likewise.
30243 (M_2_PIl): Likewise.
30244 (M_2_SQRTPIl): Likewise.
30245 (M_SQRT2l): Likewise.
30246 (M_SQRT1_2l): Likewise.
30247
f230c29b
DM
302482012-05-31 David S. Miller <davem@davemloft.net>
30249
30250 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30251 values between float registers.
30252 * sysdeps/sparc/sparc64/memset.S: Likewise.
30253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30254
fed806c3
MF
302552012-05-31 Mike Frysinger <vapier@gentoo.org>
30256
30257 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30258 -D_FORTIFY_SOURCE=1.
30259 (CPPFLAGS-tst-longjmp_chk.c): Define.
30260 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30261 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30262 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30263 CFLAGS-tst-wchar-h.c.
30264
30917259
MP
302652012-05-31 Marek Polacek <polacek@redhat.com>
30266
30267 [BZ #14132]
30268 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30269 __endmntent_internal): Remove declaration.
30270 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30271 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30272 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30273
1c58d5dc
DM
302742012-05-30 David S. Miller <davem@davemloft.net>
30275
30276 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30277 (___Q_simulate_exceptions): Use real FP ops rather than writing
30278 into the %fsr.
30279 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30280 Likewise.
30281
7dc00e0d
L
302822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30283
30284 [BZ #14117]
0bd53985
L
30285 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30286 * sysdeps/x86/bits/xtitypes.h: This.
30287
3a257e66
L
30288 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30289 * sysdeps/x86/bits/wordsize.h: This.
30290
62f62904
L
30291 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30292 * sysdeps/x86/bits/huge_vall.h: This.
30293
404fe9d9
L
30294 * sysdeps/i386/bits/select.h: Removed.
30295 * sysdeps/x86_64/bits/select.h: Renamed to ...
30296 * sysdeps/x86/bits/select.h: This.
30297
d48d0446
L
30298 * sysdeps/i386/bits/setjmp.h: Removed.
30299 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30300 * sysdeps/x86/bits/setjmp.h: This.
30301
7dc00e0d
L
30302 * sysdeps/i386/bits/mathdef.h: Removed.
30303 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30304 * sysdeps/x86/bits/mathdef.h: This.
30305
03277f8f
AS
303062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30307
30308 [BZ #14132]
30309 * include/sys/socket.h (__connect_internal)
30310 (__libc_sa_len_internal): Remove declaration.
30311 (__connect, __libc_sa_len): Declare hidden_proto.
30312 (SA_LEN): Remove use of INTUSE.
30313 * socket/connect.c: Add libc_hidden_def.
30314 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30315 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30316 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30317 alias.
30318 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30319 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30320 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30321 of adding _internal alias.
30322
13764867
L
303232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30324
30325 [BZ #14117]
6bd97696
L
30326 * sysdeps/i386/bits/link.h: Removed.
30327 * sysdeps/i386/bits/linkmap.h: Likewise.
30328 * sysdeps/x86_64/bits/link.h: Renamed to ...
30329 * sysdeps/x86/bits/link.h: This.
30330 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30331 * sysdeps/x86/bits/linkmap.h: This.
30332
f726f0bb
L
30333 * sysdeps/i386/bits/endian.h: Removed.
30334 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30335 * sysdeps/x86/bits/endian.h: This.
30336
13764867
L
30337 * sysdeps/i386/bits/byteswap.h: Removed.
30338 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30339 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30340 * sysdeps/x86/bits/byteswap.h: This.
30341 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30342 * sysdeps/x86/bits/byteswap-16.h: This.
30343 * sysdeps/i386/Implies: Add x86.
30344 * sysdeps/x86_64/Implies: Likewise.
30345
ae251b0b
DM
303462012-05-30 David S. Miller <davem@davemloft.net>
30347
30348 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30349 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30351 (FP_TRAPPING_EXCEPTIONS): Define.
30352 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30353 (FP_TRAPPING_EXCEPTIONS): Define.
30354 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30355 subnormals only when inexact has been signalled or underflow
30356 exceptions are enabled.
30357 (_FP_PACK_CANONICAL): Likewise.
30358
d5c90867
L
303592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30360
30361 [BZ #14183]
30362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30363 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30364
63f1549e
RH
303652012-05-30 Richard Henderson <rth@twiddle.net>
30366
8d8f2279
RH
30367 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30368 with #ifndef NOT_IN_libc.
30369
63f1549e
RH
30370 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30371 marked to avoid plt entry.
30372
0ab0291b
L
303732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30374
30375 [BZ #14112]
30376 * Makeconfig (default-abi): New macro.
30377 (abi-includes): Likewise.
30378 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30379 $(abi-$(default-abi)-lib-soname) for soname if defined.
30380 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30381 abi-variants.
30382 * Makefile (installed-stubs): Likewise.
30383 * include/stubs-biarch.h: Removed.
30384 * scripts/lib-names.awk: Only handle one library at a time.
30385 * scripts/soversions.awk: Remove WORDSIZE support.
30386 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30387 entries.
30388 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30389 Removed.
30390 (syscall-list-default-condition): Likewise.
30391 (syscall-list-default-condition): Likewise.
30392 (syscall-list-includes): Likewise.
30393 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30394 syscall-list-* with abi-*. Handle undefined abi-variants.
30395 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30396 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30397 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30398 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30399 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30400 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30401 Removed.
30402 (syscall-list-32-options): Likewise.
30403 (syscall-list-32-condition): Likewise.
30404 (syscall-list-64-options): Likewise.
30405 (syscall-list-64-condition): Likewise.
30406 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30407 macro.
30408 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30409 Renamed to ...
30410 (abi-*): This.
30411 (abi-64-ld-soname): New macro.
30412 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30413 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30414 Renamed to ...
30415 (abi-*): This.
30416 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30417 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30418
4da0431d
JM
304192012-05-30 Joseph Myers <joseph@codesourcery.com>
30420
3a85279c
JM
30421 * sysdeps/unix/sysv/linux/kernel-features.h
30422 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30423 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30424 include <kernel-features.h>.
30425 [!__NR_ftruncate64]: Remove conditional code.
30426 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30427 [__NR_ftruncate64]: Make code unconditional.
30428 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30429 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30430 include <kernel-features.h>.
30431 [!__NR_ftruncate64]: Remove conditional code.
30432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30433 [__NR_ftruncate64]: Make code unconditional.
30434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30436 include <kernel-features.h>.
30437 [!__NR_ftruncate64]: Remove conditional code.
30438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30439 [__NR_ftruncate64]: Make code unconditional.
30440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30442 include <kernel-features.h>.
30443 [!__NR_ftruncate64]: Remove conditional code.
30444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30445 [__NR_ftruncate64]: Make code unconditional.
30446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30447
4da0431d
JM
30448 * configure.in (libc_cv_fpie): Weaken to a compile test using
30449 LIBC_TRY_CC_OPTION.
30450 * configure: Regenerated.
30451
11ef492c
AK
304522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30453
30454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30458 Refreshed.
30459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30465 Refreshed.
30466
d66ef399
DM
304672012-05-27 David S. Miller <davem@davemloft.net>
30468
30469 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30470 (___Q_zero): New.
30471 (__Q_simulate_exceptions): Return void. Change to simulate
30472 exceptions by writing into the %fsr.
30473 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30474 (__Qp_handle_exceptions): Likewise.
30475 (numbers): Delete.
30476 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30477 __Qp_handle_exceptions.
30478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30479 __Qp_handle_exceptions.
30480 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30481 as unused and give dummy FP_RND_NEAREST initializer.
30482 (FP_INHIBIT_RESULTS): Define.
30483 (___Q_simulate_exceptions): Update declaration.
30484 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30485 formatting.
30486 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30487 as unused and give dummy FP_RND_NEAREST initializer.
30488 (__Qp_handle_exceptions): Update declaration.
30489 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30490 formatting.
30491
04fb54b5
TS
304922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30493
30494 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30495 the temporary FPU control word.
30496 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30497 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30498 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30499 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30500 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30501 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30502 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30503 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30504 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30505 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30506 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30507
3f99608f
KK
305082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30509
30510 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30511 fields.
30512
65a4de4e
CLT
305132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30514
30515 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30516 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30517 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30518 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30519 Likewise.
30520 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30521 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30522 Likewise.
30523
15749d40
UD
305242012-05-27 Ulrich Drepper <drepper@gmail.com>
30525
30526 * po/h.po: Update from translation team.
30527
25dbcb27
AS
305282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30529
3d3f8e55
AS
30530 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30531
25dbcb27
AS
30532 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30533 handling of denormals.
30534 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30535 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30536 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30537 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30541 Likewise.
30542
7ad47a80 305432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30544
30545 [BZ #14152]
30546 * math/libm-test.inc (fma_test): Don't always expect underflow
30547 exception.
30548
9c6ea9fa
SP
305492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30550
30551 [BZ #12416]
30552 * elf/tst-execstack.c: Include stackinfo.h.
30553 (do_test): Adjust test case to ensure that pthread_getattr_np
30554 behaviour remains the same after marking stack executable.
30555
a8239222
JM
305562012-05-25 Joseph Myers <joseph@codesourcery.com>
30557
30558 * sysdeps/unix/sysv/linux/kernel-features.h
30559 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30560 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30561 kernel-features.h.
30562 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30563 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30564 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30565 kernel-features.h.
30566 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30567 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30568
918b5606
L
305692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30570
30571 * configure.in: Define the default includes to being none.
30572 * configure: Regenerated.
30573
3a097cc7
RM
305742012-05-25 Roland McGrath <roland@hack.frob.com>
30575
8422c9a5
RM
30576 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30577 * sysdeps/x86_64/setjmp.S: Likewise.
30578 * sysdeps/i386/bsd-setjmp.S: Likewise.
30579 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30580 * sysdeps/i386/setjmp.S: Likewise.
30581 * sysdeps/i386/__longjmp.S: Likewise.
30582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30584
3a097cc7
RM
30585 * include/stap-probe.h: New file.
30586 * configure.in: Handle --enable-systemtap.
30587 * configure: Regenerated.
30588 * config.h.in (USE_STAP_PROBE): New #undef.
30589 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30590 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30591 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30592
21708942
JM
305932012-05-25 Joseph Myers <joseph@codesourcery.com>
30594
30595 [BZ #13717]
30596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30597 to 2.4.0 where earlier.
30598 * sysdeps/unix/sysv/linux/configure: Regenerated.
30599 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30600 <kernel-features.h>.
30601 [__ASSUME_32BITUIDS]: Make code unconditional.
30602 [!__ASSUME_32BITUIDS]: Remove conditional code.
30603 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30604 <kernel-features.h>.
30605 [__ASSUME_32BITUIDS]: Make code unconditional.
30606 [!__ASSUME_32BITUIDS]: Remove conditional code.
30607 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30608 [__ASSUME_32BITUIDS]: Make code unconditional.
30609 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30610 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30611 <kernel-features.h>.
30612 [__ASSUME_32BITUIDS]: Make code unconditional.
30613 [!__ASSUME_32BITUIDS]: Remove conditional code.
30614 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30615 <kernel-features.h>.
30616 [__ASSUME_32BITUIDS]: Make code unconditional.
30617 [!__ASSUME_32BITUIDS]: Remove conditional code.
30618 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30619 <kernel-features.h>.
30620 [__ASSUME_32BITUIDS]: Make code unconditional.
30621 [!__ASSUME_32BITUIDS]: Remove conditional code.
30622 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30623 <kernel-features.h>.
30624 [__ASSUME_32BITUIDS]: Make code unconditional.
30625 [!__ASSUME_32BITUIDS]: Remove conditional code.
30626 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30627 <kernel-features.h>.
30628 [__ASSUME_32BITUIDS]: Make code unconditional.
30629 [!__ASSUME_32BITUIDS]: Remove conditional code.
30630 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30631 <kernel-features.h>.
30632 [__ASSUME_32BITUIDS]: Make code unconditional.
30633 [!__ASSUME_32BITUIDS]: Remove conditional code.
30634 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30635 <kernel-features.h>.
30636 [__ASSUME_32BITUIDS]: Make code unconditional.
30637 [!__ASSUME_32BITUIDS]: Remove conditional code.
30638 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30639 <kernel-features.h>.
30640 [__ASSUME_32BITUIDS]: Make code unconditional.
30641 [!__ASSUME_32BITUIDS]: Remove conditional code.
30642 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30643 <kernel-features.h>.
30644 [__ASSUME_32BITUIDS]: Make code unconditional.
30645 [!__ASSUME_32BITUIDS]: Remove conditional code.
30646 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30647 <kernel-features.h>.
30648 [__ASSUME_32BITUIDS]: Make code unconditional.
30649 [!__ASSUME_32BITUIDS]: Remove conditional code.
30650 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30651 <kernel-features.h>.
30652 [__NR_setresgid] (__setresgid): Do not declare.
30653 [__ASSUME_32BITUIDS]: Make code unconditional.
30654 [!__ASSUME_32BITUIDS]: Remove conditional code.
30655 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30656 <kernel-features.h>.
30657 [__NR_setresuid] (__setresuid): Do not declare.
30658 [__ASSUME_32BITUIDS]: Make code unconditional.
30659 [!__ASSUME_32BITUIDS]: Remove conditional code.
30660 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30661 <kernel-features.h>.
30662 [__ASSUME_32BITUIDS]: Make code unconditional.
30663 [!__ASSUME_32BITUIDS]: Remove conditional code.
30664 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30665 <kernel-features.h>.
30666 [__ASSUME_32BITUIDS]: Make code unconditional.
30667 [!__ASSUME_32BITUIDS]: Remove conditional code.
30668 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30669 <kernel-features.h>.
30670 [__ASSUME_32BITUIDS]: Make code unconditional.
30671 [!__ASSUME_32BITUIDS]: Remove conditional code.
30672 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30673 <kernel-features.h>.
30674 [__ASSUME_32BITUIDS]: Make code unconditional.
30675 [!__ASSUME_32BITUIDS]: Remove conditional code.
30676 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30677 <kernel-features.h>.
30678 [__ASSUME_32BITUIDS]: Make code unconditional.
30679 [!__ASSUME_32BITUIDS]: Remove conditional code.
30680 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30681 <kernel-features.h>.
30682 [__ASSUME_32BITUIDS]: Make code unconditional.
30683 [!__ASSUME_32BITUIDS]: Remove conditional code.
30684 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30685 <kernel-features.h>.
30686 [__ASSUME_32BITUIDS]: Make code unconditional.
30687 [!__ASSUME_32BITUIDS]: Remove conditional code.
30688 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30689 <kernel-features.h>.
30690 [__ASSUME_32BITUIDS]: Make code unconditional.
30691 [!__ASSUME_32BITUIDS]: Remove conditional code.
30692 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30693 <kernel-features.h>.
30694 [__ASSUME_32BITUIDS]: Make code unconditional.
30695 [!__ASSUME_32BITUIDS]: Remove conditional code.
30696 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30697 <kernel-features.h>.
30698 [__ASSUME_32BITUIDS]: Make code unconditional.
30699 [!__ASSUME_32BITUIDS]: Remove conditional code.
30700 * sysdeps/unix/sysv/linux/kernel-features.h
30701 (__ASSUME_SETRESUID_SYSCALL): Remove.
30702 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30703 (__ASSUME_32BITUIDS): Likewise.
30704 (__ASSUME_LDT_WORKS): Likewise.
30705 (__ASSUME_O_DIRECTORY): Likewise.
30706 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30707 architecture but not kernel version.
30708 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30709 (__ASSUME_MMAP2_SYSCALL): Likewise.
30710 (__ASSUME_STAT64_SYSCALL): Likewise.
30711 (__ASSUME_IPC64): Likewise.
30712 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30713 <kernel-features.h>.
30714 [__ASSUME_32BITUIDS]: Make code unconditional.
30715 [!__ASSUME_32BITUIDS]: Remove conditional code.
30716 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30717 <kernel-features.h>.
30718 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30719 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30720 132096]: Remove conditional code.
30721 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30722 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30723 <kernel-features.h>.
30724 [__ASSUME_32BITUIDS]: Make code unconditional.
30725 [!__ASSUME_32BITUIDS]: Remove conditional code.
30726 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30727 <kernel-features.h>.
30728 [__ASSUME_32BITUIDS]: Make code unconditional.
30729 [!__ASSUME_32BITUIDS]: Remove conditional code.
30730 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30731 <kernel-features.h>.
30732 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30733 unconditional.
30734 (__setresgid): Do not declare.
30735 [__ASSUME_32BITUIDS]: Make code unconditional.
30736 [!__ASSUME_32BITUIDS]: Remove conditional code.
30737 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30738 <kernel-features.h>.
30739 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30740 unconditional.
30741 (__setresuid): Do not declare.
30742 [__ASSUME_32BITUIDS]: Make code unconditional.
30743 [!__ASSUME_32BITUIDS]: Remove conditional code.
30744 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30745 <kernel-features.h>.
30746 [__ASSUME_32BITUIDS]: Make code unconditional.
30747 [!__ASSUME_32BITUIDS]: Remove conditional code.
30748 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30749 <kernel-features.h>.
30750 [__ASSUME_32BITUIDS]: Make code unconditional.
30751 [!__ASSUME_32BITUIDS]: Remove conditional code.
30752
a386f1cc
RH
307532012-05-25 Richard Henderson <rth@twiddle.net>
30754
30755 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30756 dl_hwcap to ifunc resolver.
30757 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30758 elf_ifunc_invoke.
30759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30760 dl_hwcap to ifunc resolver.
30761 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30762
b6550497
JM
307632012-05-24 Joseph Myers <joseph@codesourcery.com>
30764
30765 [BZ #14153]
30766 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30767 for |x| <= 2**-26, not 2**-57.
30768 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30769 exception.
30770
b0bc23a1
JL
307712012-05-24 Jeff Law <law@redhat.com>
30772
30773 * stdio-common/Makefile (tests): Add bug25.
30774 * stdio-common/bug25.c: New test.
30775
347c92e9
L
307762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30777
30778 [BZ #13576]
30779 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30780 multiple of MALLOC_ALIGNMENT in size.
30781 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30782
6bcc8b3f
JM
307832012-05-24 Joseph Myers <joseph@codesourcery.com>
30784
30785 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30786 Require >= 256.
30787 (FILENAME_MAX): Use macro-int-constant.
30788 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30789 (_IOFBF): Use macro-int-constant.
30790 (_IOLBF): Likewise.
30791 (_IONBF): Likewise.
30792 (SEEK_CUR): Likewise.
30793 (SEEK_END): Likewise.
30794 (SEEK_SET): Likewise.
30795 (TMP_MAX): Likewise.
30796 (EOF): Use macro-int-constant. Require < 0.
30797 (NULL): Use macro-constant. Require == 0.
30798 (stdin): Require type to be FILE *.
30799 (stdout): Likewise.
30800 (stderr): Likewise.
30801 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30802 macro-int-constant.
30803 (EXIT_SUCCESS): Likewise.
30804 (NULL): Use macro-constant. Require == 0.
30805 (RAND_MAX): Use macro-int-constant.
30806 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30807 [C99-based standards] (strtof): Require function.
30808 [C99-based standards] (strtold): Likewise.
30809 [C99-based standards] (strtoll): Likewise.
30810 [C99-based standards] (strtoull): Likewise.
30811 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30812 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30813 [ISO || ISO99 || ISO11] (math.h): Likewise.
30814 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30815 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30817
d18ea0c5
AS
308182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30819
30820 [BZ #14132]
56d25bb8
AS
30821 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30822 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30823 * intl/dgettext.c (DCGETTEXT): Likewise.
30824 * intl/gettext.c (DCGETTEXT): Likewise.
30825 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30826 * posix/regex_internal.h (gettext): Likewise.
30827 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30828 Remove declaration.
30829 * include/argz.h (__argz_count_internal)
30830 (__argz_stringify_internal): Remove declaration.
30831 (__argz_count, __argz_stringify): Declare hidden proto.
30832 * intl/dcgettext.c: Remove use of INTDEF.
30833 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30834 * string/argz-stringify.c: Likewise.
30835 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30836 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30837 Declare hidden proto.
d18ea0c5
AS
30838 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30839 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30840 Declare hidden proto.
30841 * include/stdio.h (__asprintf_internal): Don't declare.
30842 (__asprintf): Don't define as macro. Declare hidden proto.
30843 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30844 (__fsetlocking): Declare hidden proto.
30845 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30846 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30847 hidden proto.
30848 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30849 (_IO_setlinebuf): Remove use of INTUSE.
30850 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30851 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30852 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30853 Remove declaration.
30854 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30855 (_IO_do_flush): Remove use of INTUSE.
30856 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30857 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30858 (_IO_adjust_column, _IO_least_wmarker)
30859 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30860 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30861 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30862 (_IO_default_doallocate, _IO_wdefault_doallocate)
30863 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30864 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30865 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30866 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30867 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30868 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30869 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30870 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30871 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30872 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30873 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30874 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30875 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30876 proto.
30877 (_IO_flush_all_internal, _IO_adjust_column_internal)
30878 (_IO_default_uflow_internal, _IO_default_finish_internal)
30879 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30880 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30881 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30882 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30883 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30884 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30885 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30886 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30887 (_IO_file_close_internal, _IO_file_close_it_internal)
30888 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30889 (_IO_file_init_internal, _IO_file_attach_internal)
30890 (_IO_file_fopen_internal, _IO_file_read_internal)
30891 (_IO_file_sync_internal, _IO_file_seek_internal)
30892 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30893 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30894 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30895 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30896 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30897 (_IO_list_all_internal, _IO_link_in_internal)
30898 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30899 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30900 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30901 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30902 (_IO_do_write_internal, _IO_padn_internal)
30903 (_IO_getline_info_internal, _IO_getline_internal)
30904 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30905 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30906 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30907 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30908 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30909 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30910 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30911 with libc_hidden_ver, remove use of INTUSE.
30912 * libio/genops.c: Likewise.
30913 * libio/freopen.c: Likewise.
30914 * libio/freopen64.c: Likewise.
30915 * libio/iofclose.c: Likewise.
30916 * libio/iofdopen.c: Likewise.
30917 * libio/iofflush.c: Likewise.
30918 * libio/iofflush_u.c: Likewise.
30919 * libio/iofgets.c: Likewise.
30920 * libio/iofgets_u.c: Likewise.
30921 * libio/iofopen.c: Likewise.
30922 * libio/iofopncook.c: Likewise.
30923 * libio/iofread.c: Likewise.
30924 * libio/iofread_u.c: Likewise.
30925 * libio/ioftell.c: Likewise.
30926 * libio/iofwrite.c: Likewise.
30927 * libio/iogetline.c: Likewise.
30928 * libio/iogets.c: Likewise.
30929 * libio/iogetwline.c: Likewise.
30930 * libio/iopadn.c: Likewise.
30931 * libio/iopopen.c: Likewise.
30932 * libio/ioseekoff.c: Likewise.
30933 * libio/ioseekpos.c: Likewise.
30934 * libio/iosetbuffer.c: Likewise.
30935 * libio/iosetvbuf.c: Likewise.
30936 * libio/ioungetc.c: Likewise.
30937 * libio/ioungetwc.c: Likewise.
30938 * libio/iovdprintf.c: Likewise.
30939 * libio/iovsprintf.c: Likewise.
30940 * libio/iovsscanf.c: Likewise.
30941 * libio/memstream.c: Likewise.
30942 * libio/obprintf.c: Likewise.
30943 * libio/oldfileops.c: Likewise.
30944 * libio/oldiofclose.c: Likewise.
30945 * libio/oldiofdopen.c: Likewise.
30946 * libio/oldiofopen.c: Likewise.
30947 * libio/oldiopopen.c: Likewise.
30948 * libio/oldstdfiles.c: Likewise.
30949 * libio/putc.c: Likewise.
30950 * libio/setbuf.c: Likewise.
30951 * libio/setlinebuf.c: Likewise.
30952 * libio/stdfiles.c: Likewise.
30953 * libio/strops.c: Likewise.
30954 * libio/vasprintf.c: Likewise.
30955 * libio/vscanf.c: Likewise.
30956 * libio/vsnprintf.c: Likewise.
30957 * libio/vswprintf.c: Likewise.
30958 * libio/wfiledoalloc.c: Likewise.
30959 * libio/wfileops.c: Likewise.
30960 * libio/wgenops.c: Likewise.
30961 * libio/wmemstream.c: Likewise.
30962 * libio/wstrops.c: Likewise.
30963 * libio/__fpurge.c: Likewise.
30964 * libio/__fsetlocking.c: Likewise.
30965 * assert/assert.c: Likewise.
30966 * debug/fgets_chk.c: Likewise.
30967 * debug/fgets_u_chk.c: Likewise.
30968 * debug/fread_chk.c: Likewise.
30969 * debug/fread_u_chk.c: Likewise.
30970 * debug/gets_chk.c: Likewise.
30971 * debug/obprintf_chk.c: Likewise.
30972 * debug/vasprintf_chk.c: Likewise.
30973 * debug/vdprintf_chk.c: Likewise.
30974 * debug/vsnprintf_chk.c: Likewise.
30975 * debug/vsprintf_chk.c: Likewise.
30976 * malloc/mtrace.c: Likewise.
30977 * misc/error.c: Likewise.
30978 * misc/syslog.c: Likewise.
30979 * stdio-common/asprintf.c: Likewise.
30980 * stdio-common/fxprintf.c: Likewise.
30981 * stdio-common/getw.c: Likewise.
30982 * stdio-common/isoc99_fscanf.c: Likewise.
30983 * stdio-common/isoc99_scanf.c: Likewise.
30984 * stdio-common/isoc99_vfscanf.c: Likewise.
30985 * stdio-common/isoc99_vscanf.c: Likewise.
30986 * stdio-common/isoc99_vsscanf.c: Likewise.
30987 * stdio-common/printf-prs.c: Likewise.
30988 * stdio-common/printf_fp.c: Likewise.
30989 * stdio-common/printf_fphex.c: Likewise.
30990 * stdio-common/printf_size.c: Likewise.
30991 * stdio-common/putw.c: Likewise.
30992 * stdio-common/scanf.c: Likewise.
30993 * stdio-common/sprintf.c: Likewise.
30994 * stdio-common/tmpfile.c: Likewise.
30995 * stdio-common/vfprintf.c: Likewise.
30996 * stdio-common/vfscanf.c: Likewise.
30997 * stdlib/strfmon_l.c: Likewise.
30998 * sunrpc/openchild.c: Likewise.
30999 * sunrpc/xdr_stdio.c: Likewise.
31000 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31001 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31002
d6c33fda
RM
310032012-05-24 Roland McGrath <roland@hack.frob.com>
31004
c1487492
RM
31005 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31006
31007 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31008 in the third column, to generate for the shared library an IFUNC
31009 that uses _dl_vdso_vsym.
31010 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31011 * Makeconfig (object-suffixes-noshared): New variable.
31012
31013 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31014 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31015 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31016 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31017
d6c33fda
RM
31018 [BZ #14132]
31019 * include/sys/time.h (__gettimeofday): Remove macro.
31020 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31021 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31022 Remove INTDEF.
31023 (__gettimeofday): Add libc_hidden_def.
31024 (gettimeofday): Add libc_hidden_weak.
31025 * sysdeps/mach/gettimeofday.c: Likewise.
31026 * sysdeps/posix/gettimeofday.c: Likewise.
31027 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31028 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31029 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31030 (__gettimeofday_internal): Remove strong_alias.
31031 (__gettimeofday): Add libc_hidden_def.
31032 (gettimeofday): Add libc_hidden_weak.
31033 * sysdeps/unix/syscalls.list (gettimeofday):
31034 Remove __gettimeofday_internal alias.
31035
b5a2bbe6
L
310362012-05-24 Daniel Jacobowitz <drow@false.org>
31037 H.J. Lu <hongjiu.lu@intel.com>
31038
31039 [BZ #12495]
31040 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31041 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31042 (largebin_index_32_big): New.
31043 (largebin_index): Use it for 16-byte alignment.
31044 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31045 correction with front_misalign.
31046
cfba4fda
L
310472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31048
7f907421
L
31049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31051 Likewise.
31052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31053 Likewise.
31054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31055 Likewise.
31056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31057 Likewise.
31058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31059 Likewise.
31060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31061 Likewise.
31062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31063 Likewise.
31064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31065 Likewise.
31066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31067 Likewise.
31068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31069 Likewise.
31070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31071 Likewise.
31072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31073 Likewise.
31074
cfba4fda
L
31075 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31076 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31077
80bad0cc
JM
310782012-05-24 Joseph Myers <joseph@codesourcery.com>
31079
7a25eb06
JM
31080 [BZ #10846]
31081 [BZ #14036]
31082 * math/libm-test.inc (exp_test): Add test from bug 14036.
31083 (pow_test): Add test from bug 10846.
31084
795405f9
JM
31085 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31086 and other flags.
31087 (special_function): Do not include flags in test name.
31088 (parse_args): Likewise.
31089 * sysdeps/i386/fpu/libm-test-ulps: Update.
31090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31091 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31092 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31094
80bad0cc
JM
31095 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31096 exceptions.
31097 * math/libm-test.inc ("Philosophy"): Update comment about
31098 exception testing.
31099 (UNDERFLOW_EXCEPTION): New macro.
31100 (UNDERFLOW_EXCEPTION_OK): Likewise.
31101 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31102 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31103 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31104 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31105 (INVALID_EXCEPTION_OK): Update value.
31106 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31107 (OVERFLOW_EXCEPTION_OK): Likewise.
31108 (IGNORE_ZERO_INF_SIGN): Likewise.
31109 (test_exceptions): Handle underflow exceptions.
31110 (acos_test): Update for underflow exception expectations.
31111 (cexp_test): Likewise.
31112 (clog_test): Likewise.
31113 (clog10_test): Likewise.
31114 (csqrt_test): Likewise.
31115 (ctan_test): Likewise.
31116 (ctanh_test): Likewise.
31117 (exp_test): Likewise.
31118 (exp10_test): Likewise.
31119 (exp2_test): Likewise.
31120 (expm1_test): Likewise.
31121 (fma_test): Likewise.
31122 (j0_test): Likewise.
31123 (jn_test): Likewise.
31124 (nexttoward_test): Likewise.
31125 (pow_test): Likewise.
31126 (scalbn_test): Likewise.
31127 (scalbln_test): Likewise.
31128 (tan_test): Likewise.
31129 (y1_test): Likewise.
31130 * sysdeps/i386/fpu/libm-test-ulps: Update.
31131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31132
9e0e3d0b
DM
311332012-05-23 David S. Miller <davem@davemloft.net>
31134
31135 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31136 (__libc_sigaction): Remove unused local variables.
31137
ccd0a08f
L
311382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31139
31140 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31141
62bdf9a6
PE
311422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31143
f8591f80
PE
31144 mktime: avoid signed integer overflow
31145 * time/mktime.c (__mktime_internal): Do not mishandle the case
31146 where diff == INT_MIN.
31147
94c7d826
PE
31148 mktime: simplify computation of average
31149 * time/mktime.c (ranged_convert): Use new time_t_avg function
31150 instead of rolling our own (probably-slower) code.
31151
ce73d683
PE
31152 mktime: do not assume signed right shift propagates sign bit
31153 * time/mktime.c (isdst_differ): New static function.
31154 (__mktime_internal): No need to normalize tm_isdst now.
31155 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31156 tm_isdst values.
31157
72a22e59
PE
31158 mktime: merge another wrapv change from gnulib
31159 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31160 from some compilers.
31161
68605433
PE
31162 mktime: remove incorrect attempt at unusual arithmetics
31163 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31164 The code didn't really work on such machines anyway.
31165 (TYPE_MINIMUM): Assume two's complement.
31166 (twos_complement_arithmetic): Verify that long_int and time_t
31167 are two's complement (or unsigned, in the latter case).
31168
03cf7fe3
PE
31169 mktime: check signed shifts on long_int and time_t, too
31170 * time/mktime.c (SHR): Check that shifts work as desired
31171 on the types long_int and time_t too, as SHR is used on
31172 such types.
31173
f04dfbc2
PE
31174 mktime: do not assume 'long' is wide enough
31175 * time/mktime.c (verify): Move decl up.
31176 (long_int): New type.
31177 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31178 to remove assumption in the code that 'long' is wide enough to
31179 store year values. This assumption is not true on x32 and on
31180 some non-glibc platforms.
31181
62bdf9a6
PE
31182 mktime: merge wrapv change from gnulib
31183 * time/mktime.c (WRAPV): New macro.
31184 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31185 (guess_time_tm, __mktime_internal): Do not assume that signed
31186 integer overflow wraps around; modern compilers generate code
31187 where this assumption is no longer valid.
31188
5e292e4f
L
311892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31190
31191 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31192 Replace "jmp L(pseudo_end)" with "ret".
31193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31194 Likewise.
31195
8caf8c87
AJ
311962012-05-23 Andreas Jaeger <aj@suse.de>
31197
31198 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31199 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31200
1a09dc56
AJ
312012012-05-23 Andreas Jaeger <aj@suse.de>
31202 Maximilian Attems <max@stro.at>
31203
31204 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31205 New macros.
31206
1c87aba0
L
312072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31208
31209 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31210 code so that pseudo_end is just ret and the stack pointer is
31211 correct also for static library in error case.
31212
40e45bd5
JM
312132012-05-23 Joseph Myers <joseph@codesourcery.com>
31214
c2670533
JM
31215 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31216 move to syscalls.list.
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31221
40e45bd5
JM
31222 * manual/install.texi (Running make install): Do not mention Linux
31223 kernel version for which pt_chown is not needed.
31224 (Linux): Do not mention problems with nscd with 2.0 kernels.
31225 * INSTALL: Regenerated.
31226
be08eda5
AJ
312272012-05-23 Andreas Jaeger <aj@suse.de>
31228
31229 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31230 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31231 macro.
31232 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31234 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31236 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31238 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31240 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31242 * sysdeps/unix/sysv/linux/bits/in.h
31243 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31244
a6a056bb
RM
312452012-05-22 Roland McGrath <roland@hack.frob.com>
31246
31247 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31248 (PREPARE_VERSION): Just use assert instead, it will be elided
31249 under [NDEBUG] anyway.
31250
c9009328
L
312512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31252
31253 * sysdeps/unix/sysv/linux/Makefile: Include
31254 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31255 (sysdep_routines): Remove sysctl.
c9009328
L
31256 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31257 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31258 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31259 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31260 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31261
73338355
AJ
312622012-05-22 Andreas Jaeger <aj@suse.de>
31263
31264 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31265 that pseudo_end is just ret and the stack pointer is correct also
31266 for static library in error case.
31267
d44638b0
PP
312682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31269
31270 [BZ #14122]
31271 * nss/nsswitch.c (defconfig_entries): New variable.
31272 (__nss_database_lookup): Don't leak defconfig entries.
31273 (nss_parse_service_list): Don't leak on error paths.
31274 (free_database_entries): New function.
31275 (free_defconfig): New function.
31276 (free_mem): Move common code to free_database_entries.
31277
31a39bd8
L
312782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31279
da0331a8
L
31280 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31281 Add arch_prctl.
31282 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31283
31a39bd8
L
31284 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31285 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31287 New macro.
31288 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31289 (INTERNAL_SYSCALL_TYPES): Likewise.
31290 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31291 (LOAD_REGS_TYPES_[1-6]): Likewise.
31292 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31293 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31294
45470df3
AZ
312952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31296
31297 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31298 copysignl for GLIBC_2_0.
31299 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31300 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31302 logbl for GLIBC_2_0.
31303 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31304 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31305
98a61bcb
L
313062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31307
a4f6e481
L
31308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31309 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31310
f63d5db6
L
31311 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31312 Use "neg %eax".
31313
98a61bcb
L
31314 * time/mktime.c: Update copyright years.
31315
95770f14
PE
313162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31317
6226efbd
PE
31318 mktime: merge comment-quoting-style change from gnulib
31319 * time/mktime.c: Quote 'like this' in comments.
31320 The GNU coding standards suggest that we no longer quote `like this',
31321 as "`" and "'" are typically rendered asymmetrically nowadays.
31322 The typical gnulib style is to quote 'like this' when quoting
31323 code, and "like this" when quoting English.
31324
b99e4f78
PE
31325 * time/mktime.c (compile-command): Add "-I.".
31326
643e01e6
PE
31327 mktime: merge mktime-internal.h change from gnulib
31328 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31329
2554247d
PE
31330 mktime: merge time_r change from gnulib
31331 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31332
826dd0ab
PE
31333 mktime: merge DEBUG change from gnulib
31334 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31335 case system <time.h> has a #define.
31336
bd83aabe
PE
31337 mktime: merge <sys/types.h> change from gnulib
31338 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31339 since <time.t> is now guaranteed to define time_t.
31340
95770f14
PE
31341 mktime: merge HAVE_CONFIG_H change from gnulib
31342 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31343
5e1a27a9
L
313442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31345
0e44a77e
L
31346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31347 Use "neg %eax".
31348
5e1a27a9
L
31349 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31350 __rlim_t cast.
31351 (struct rusage): Use anonymous union to pad each field to
31352 __syscall_slong_t.
31353
46259bec
DM
313542012-05-21 David S. Miller <davem@davemloft.net>
31355
31356 * Makefules (o-iterator): Remove .s cases.
31357 (compile-command.s): Delete.
31358 (COMPILE.s): Delete.
31359 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31360
59f0c22e
JM
313612012-05-21 Joseph Myers <joseph@codesourcery.com>
31362
31363 * configure.in (libc_cv_predef_stack_protector): Only consider
31364 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31365 * configure: Regenerated.
31366
20c07380
L
313672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31368
bbb3154b
L
31369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31370 New macro. Use R*LP on int and pointer.
31371 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31372 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31373 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31374 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31375
20c07380
L
31376 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31377 [__WORDSIZE_TIME64_COMPAT32] instead of
31378 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31379 (struct utmp): Likewise.
31380 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31381 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31382 Renamed to ...
31383 (__WORDSIZE_TIME64_COMPAT32): This.
31384 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31385 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31386 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31387 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31388 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31389 (__WORDSIZE_TIME64_COMPAT32): New macro.
31390
d8d1017e
AJ
313912012-05-21 Andreas Jaeger <aj@suse.de>
31392
31393 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31394 only if [SHARED]. Add prototype for __wcschr_ia32.
31395
6c7fb145
RM
313962012-05-21 Roland McGrath <roland@hack.frob.com>
31397
31398 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31399 of %rbp unmolested in the jmp_buf while mangling the low bits.
31400 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31401 unmolested high bits of %rbp while demangling the low bits.
31402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31403
66274218
AJ
314042012-05-21 Andreas Jaeger <aj@suse.de>
31405
07c58f8f
AJ
31406 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31407 * sunrpc/svc_simple.c: Use it for registerrpc.
31408 * sunrpc/xcrypt.c: Use it for passwd2des.
31409
66274218
AJ
31410 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31411
61f65140
L
314122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31413
31414 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31415 Don't define if [__SYSCALL_WORDSIZE != 32].
31416 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31417 New macro.
31418
5fefb436
AJ
314192012-05-21 Bruno Haible <bruno@clisp.org>
31420 Andreas Jaeger <aj@suse.de>
31421
31422 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31423 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31424 inptr and inend for must_buffer_ch.
31425 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31426 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31427 * stdio-common/Makefile (tests): Remove bug15.
31428 (bug15-ENV): Remove macro.
31429 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31430 anymore.
31431
d8e272ab
AJ
314322012-05-19 Andreas Jaeger <aj@suse.de>
31433 Roland McGrath <roland@hack.frob.com>
31434
31435 * manual/contrib.texi: Completely rewritten. It contains now an
31436 alphabetical list of contributors and their contributions.
31437
4a56a162
RH
314382012-05-21 Richard Henderson <rth@twiddle.net>
31439
31440 * misc/getauxval.c (__getauxval): Use unsigned long int.
31441 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31442 (getauxval): Use unsigned long int.
31443
d024d23c
L
314442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31445
31446 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31447
cbc00a03
RM
314482012-05-21 Roland McGrath <roland@hack.frob.com>
31449
31450 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31451 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31452 __alignof__ (long double).
31453
478143fa
AZ
314542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31455
31456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31457
c7683a6d
RH
314582012-05-20 Richard Henderson <rth@twiddle.net>
31459
31460 * misc/getauxval.c: New file.
31461 * misc/sys/auxv.h: New file.
31462 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31463 (routines): Add getauxval.
31464 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31465 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31466 * elf/dl-sysdep.c (_dl_auxv): Remove.
31467 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31468 * elf/dl-support.c (_dl_auxv): New variable.
31469 (_dl_aux_init): Initialize it.
31470 * manual/startup.texi (Auxiliary Vector): New node.
31471 * sysdeps/generic/bits/hwcap.h: New file.
31472 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31473 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31474 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31475 * sysdeps/sparc/sysdep.h: ... here. Include it.
31476 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31477 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31479 Update.
c7683a6d
RH
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31488
a6f1845d
AZ
314892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31490
31491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31492
cbcbe830
DM
314932012-05-19 David S. Miller <davem@davemloft.net>
31494
31495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31496
e0b16cc2
JM
314972012-05-19 Joseph Myers <joseph@codesourcery.com>
31498
31499 [BZ #14123]
31500 * math/s_ccosh.c: Include <float.h>
31501 (__ccosh): Avoid internal overflow calculating sinh and cosh
31502 values before multiplying by sin and cos values.
31503 * math/s_ccoshf.c: Likewise.
31504 * math/s_ccoshl.c: Likewise.
31505 * math/s_csin.c: Likewise.
31506 * math/s_csinf.c: Likewise.
31507 * math/s_csinl.c: Likewise.
31508 * math/s_csinh.c: Likewise.
31509 * math/s_csinhf.c: Likewise.
31510 * math/s_csinhl.c: Likewise.
31511 * math/libm-test.inc (ccos_test): Add more tests.
31512 (ccosh_test): Likewise.
31513 (csin_test): Likewise.
31514 (csinh_test): Likewise.
31515 * sysdeps/i386/fpu/libm-test-ulps: Update.
31516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31517
6ad13e08
L
315182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31519
f66f0ce8
L
31520 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31521 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31522
6ad13e08
L
31523 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31524
b1d072a7
JM
315252012-05-19 Joseph Myers <joseph@codesourcery.com>
31526
31527 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31528 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31529 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31530 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31531 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31532 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31533 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31534 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31535 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31536 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31537 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31538 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31539 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31540 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31541 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31542 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31543 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31544 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31545 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31546 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31547 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31548 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31549 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31550 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31551 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31552 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31553 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31554 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31555 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31556 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31557 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31558
9eae47cb
AJ
315592012-05-18 Andreas Jaeger <aj@suse.de>
31560
31561 * csu/.gitignore: Delete.
31562
bb07f69f
L
315632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31564
31565 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31566 (timex): Use __syscall_slong_t.
31567
e6bdb741
AJ
315682012-05-18 Andreas Jaeger <aj@suse.de>
31569 Carlos O'Donell <carlos_odonell@mentor.com>
31570
31571 * manual/install.texi (Configuring and compiling): Update
31572 description about files modified in the source directory.
d6c33fda 31573 * INSTALL: Regenerated.
e6bdb741 31574
1b74487e
L
315752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31576
31577 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31578 value. Use "or" to set return value to -1.
31579 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31580 negate return value.
31581
a88b64b9
TMQMF
315822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31583
57f41c40
AS
31584 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31585 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31586 failure if the compiler has Graphite support disabled.
31587 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31588 Likewise.
57f41c40
AS
31589 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31590 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31591 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31592 Likewise.
31593
3707636e
L
315942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31595
610b8622
L
31596 * sysdeps/x86_64/x32/_itoa.h: New file.
31597
7cd195df
L
31598 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31599 getdents system call only if kernel and user dirents have the
31600 same d_ino and d_off.
31601
94b07d20
L
31602 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31603 LLONG_MAX != LONG_MAX.
31604 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31605 (_fitoa_word): Likewise.
31606
18298070
L
31607 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31608 years.
31609 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31610 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31611 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31612
553c7ea4
L
31613 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31614 include <bits/wordsize.h>. Check __x86_64__ instead of
31615 __WORDSIZE.
31616 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31617 if __x86_64__ is defined. Use anonymous union on fpstate.
31618
3707636e
L
31619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31620 anonymous union.
31621
b53ef01a
AS
316222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31623
37fb1dc0
AS
31624 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31625 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31626 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31627 Refer to _rtld_local_ro instead of _rtld_global_ro.
31628 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31629 Likewise.
31630 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31631 Likewise.
31632 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31633 Likewise.
31634 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31635 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31636 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31637
b53ef01a
AS
31638 * sysdeps/powerpc/powerpc32/dl-machine.c
31639 (__elf_machine_runtime_setup) [PROF]: Don't reference
31640 _dl_prof_resolve.
31641
7a185db2
AJ
316422012-05-18 Andreas Jaeger <aj@suse.de>
31643
31644 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31645 function only available for GCCs before 3.4 since GCC 3.4
31646 introduced a builtin.
31647 (lrint): Likewise.
31648 (llrintf): Likewise.
31649 (llrint): Likewise.
31650 (fmaxf): Likewise.
31651 (fmax): Likewise.
31652 (fminf): Likewise.
31653 (fmin): Likewise.
31654 (rint): Likewise.
31655 (rintf): Likewise.
31656 (nearbyint): Likewise.
31657 (nearbyintf): Likewise.
31658 (ceil): Likewise.
31659 (ceilf): Likewise.
31660 (floor): Likewise.
31661 (floorf): Likewise.
31662
3e5aef87
L
316632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31664
428bd707
L
31665 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31666 on both fields and cast pointer to __syscall_ulong_t.
31667
3e5aef87
L
31668 * bits/types.h (__fsword_t): New type.
31669 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31670 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31672 (__FSWORD_T_TYPE): Likewise.
31673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31674 (__FSWORD_T_TYPE): Likewise.
31675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31676 (__FSWORD_T_TYPE): Likewise.
31677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31678 (__FSWORD_T_TYPE): Likewise.
31679 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31680 __SWORD_TYPE with __fsword_t.
31681 (statfs64): Likewise.
31682
1ba7c3dc
DM
316832012-05-17 David S. Miller <davem@davemloft.net>
31684
31685 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31686
59910343
AJ
316872012-05-17 Andreas Jaeger <aj@suse.de>
31688
31689 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31690 warning.
31691
2e4c1e9e
L
316922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31695
de7f5ce7
AJ
316962012-05-17 Andreas Jaeger <aj@suse.de>
31697
31698 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31699 when it is used.
31700
286abc3d
CM
317012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31702
31703 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31704
477cc68e
L
317052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31706
31707 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31708 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31709
1a0994f5
CD
317102012-05-17 Andreas Jaeger <aj@suse.de>
31711 Carlos O'Donell <carlos_odonell@mentor.com>
31712
31713 [BZ #14059]
31714 * sysdeps/x86_64/multiarch/init-arch.h
31715 (bit_YMM_Usable): Rename to...
31716 (bit_AVX_Usable): ... this.
31717 (bit_FMA4_Usable): New macro.
31718 (bit_XMM_state): New macro.
31719 (bit_YMM_state): New macro.
31720 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31721 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31722 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31723 (CPUID_OSXSAVE): New macro.
31724 (CPUID_AVX): New macro.
31725 (CPUID_FMA4): New macro.
31726 (index_YMM_Usable): Rename to...
31727 (index_AVX_Usable): ... this.
31728 (HAS_AVX): Use HAS_ARCH_FEATURE.
31729 (HAS_FMA4): Likewise.
31730 (HAS_YMM_USABLE): Remove.
31731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31732 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31733 are present.
31734 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31735 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31736 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31737 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31738 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31739
0af797de
CM
317402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31741
31742 * math/libm-test.c: Support platforms without multiple rounding modes.
31743 * math/bug-nextafter.c: Support platforms without FP exceptions.
31744 * math/bug-nexttoward.c: Likewise.
31745 * math/test-fenv.c: Likewise.
31746 * math/test-misc.c: Likewise.
31747 * stdlib/bug-getcontext.c: Likewise.
31748
e39745ff
AJ
317492012-05-17 Andreas Jaeger <aj@suse.de>
31750
31751 * manual/examples/search.c (critter_cmp): Change signature to
31752 avoid warnings.
31753 * manual/string.texi (Collation Functions): Likewise.
31754
48970aba
L
317552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31756
31757 * bits/types.h: Fold copyright years.
31758 * bits/typesizes.h: Likewise.
31759 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31763 * time/time.h: Likewise.
31764
bedee953
PP
317652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31766
31767 [BZ #208]
31768 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31769 in instead of returning them. Return void.
31770 (__libc_mallinfo): Accumulate over all arenas.
31771 (__malloc_stats): Adjust for change in int_mallinfo interface.
31772
61653dfb
RM
317732012-05-16 Roland McGrath <roland@hack.frob.com>
31774
30b99d79
RM
31775 [BZ #10375]
31776 * configure.in (NM): Add AC_CHECK_TOOL for it.
31777 (libc_extra_cflags): New substituted variable.
31778 Check for -fstack-protector being used implicitly.
31779 * configure: Regenerated.
31780 * config.make.in (config-extra-cflags): New variable,
31781 gets @libc_extra_cflags@.
31782 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31783
61653dfb
RM
31784 [BZ #10375]
31785 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31786 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31787 * configure: Regenerated.
31788 * config.make.in (CPPUNDEFS): New substituted variable.
31789 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31790 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31791 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31792
661768bb
L
317932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31794
31795 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31796 (mq_attr): Use __syscall_slong_t.
31797
d4261567
L
317982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31799
31800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31801 Check __x86_64__ instead of __WORDSIZE.
31802 (_STAT_VER_LINUX): Likewise.
31803 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31804 __syscall_ulong_t and __syscall_slong_t.
31805 (stat64): Likewise.
31806
cf3ff365
L
318072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31808
31809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31810
76cf3e4d
L
318112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31812
31813 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31814
a637753a
L
318152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31816
31817 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31818 __syscall_ulong_t.
31819
d5e05119
L
31820 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31821 include <bits/wordsize.h>. Check __x86_64__ instead of
31822 __WORDSIZE.
31823 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31824 defined.
31825 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31826
f62ee380
L
31827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31828 include <bits/wordsize.h>. Check __x86_64__ instead of
31829 __WORDSIZE.
31830 (user_regs_struct): Use "__extension__ unsigned long long"
31831 instead of "unsigned long" if __x86_64__ is defined.
31832 (user): Likewise. Pad after pointer field if __ILP32__ is
31833 defined.
31834
4e124ced
JM
318352012-05-16 Joseph Myers <joseph@codesourcery.com>
31836
6a3951a0
JM
31837 * configure.in (makeinfo): Require version 4.5 or later. Allow
31838 versions 5 to 9.
31839 * configure: Regenerated.
31840 * manual/install.texi (texinfo): Increase version requirement to
31841 4.5 or later.
31842 * INSTALL: Regenerated.
31843
4e124ced
JM
31844 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31845
953ca31a
L
318462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31847
31848 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31849
617aca05
L
31850 * sysdeps/x86_64/x32/ffs.c: New file.
31851
5762f7ae
L
31852 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31853 __syscall_ulong_t.
31854 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31855 defined. Use __syscall_ulong_t.
31856 (shminfo): Use __syscall_ulong_t.
31857 (shm_info): Likewise.
31858
a26b6856
L
31859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31860 __syscall_ulong_t.
31861
cb2b9ef7
L
31862 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31863 <bits/wordsize.h>.
31864 (msgqnum_t): Use __syscall_ulong_t.
31865 (msglen_t): Likewise.
31866 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31867 __syscall_ulong_t.
31868
34683bb0
L
31869 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31870 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31871
84a68786
L
31872 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31873
48baa5f1
L
31874 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31875 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31876
180be88b
L
31877 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31878 __syscall_slong_t.
31879
5e90c8ad
L
31880 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31881 include <bits/wordsize.h>. Check __x86_64__ instead of
31882 __WORDSIZE.
31883
23dfb58b
L
31884 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31885 "unsigned long long int" if __x86_64__ is defined.
31886 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31887
ce5d54b0
L
31888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31889 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31890 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31891
13dc9eac
L
31892 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31893 <stdint.h>.
31894 (GET_PC): Cast to uintptr_t first.
31895 (GET_FRAME): Likewise.
31896 (GET_STACK): Likewise.
31897
a7895d15
L
31898 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31899 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31900 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31902 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31904 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31905 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31906 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31907 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31908 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31909 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31910 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31911 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31912 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31913 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31914 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31915 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31916 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31917 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31918 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31919 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31921 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31923 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31924 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31925 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31926 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31927
656416c9
AS
319282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31929
5bd66283
AS
31930 * Makerules (+depfiles): Also collect depfiles from .oS in
31931 $(extra-objs).
31932 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31933 .oS, $(libnldbl-routines)).
31934
656416c9
AS
31935 * Makerules (native-compile-mkdep-flags): Define.
31936 * sunrpc/Makefile (extra-objs): Add $(addprefix
31937 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31938 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31939 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31940 calling $(make-target-directory).
31941
a46f2169
L
319422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * bits/types.h (__snseconds_t): Removed.
31945 * time/time.h (struct timespec): Replace __snseconds_t with
31946 __syscall_slong_t.
31947 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31948 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31949 Likewise.
31950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31951 (__SNSECONDS_T_TYPE): Likewise.
31952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31953 (__SNSECONDS_T_TYPE): Likewise.
31954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31955 (__SNSECONDS_T_TYPE): Likewise.
31956
6af6528b
L
319572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 * sysdeps/mach/hurd/bits/typesizes.h
31960 (__SYSCALL_SLONG_TYPE): New macro.
31961 (__SYSCALL_ULONG_TYPE): Likewise.
31962
de986b56
L
319632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31964
31965 * bits/types.h (__syscall_slong_t): New type.
31966 (__syscall_ulong_t): Likewise.
31967
31968 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31969 (__SYSCALL_ULONG_TYPE): Likewise.
31970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31971 (__SYSCALL_SLONG_TYPE): Likewise.
31972 (__SYSCALL_ULONG_TYPE): Likewise.
31973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31974 (__SYSCALL_SLONG_TYPE): Likewise.
31975 (__SYSCALL_ULONG_TYPE): Likewise.
31976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31977 (__SYSCALL_SLONG_TYPE): Likewise.
31978 (__SYSCALL_ULONG_TYPE): Likewise.
31979
85736dc7
L
319802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31981
31982 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31983 Add sigaltstack-offsets.sym.
31984 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31985 <sigaltstack-offsets.h>.
31986 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31987 longjmp_msg pointer.
31988 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31989 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31990 signal stack.
31991 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31992
cc03b296
JM
319932012-05-15 Joseph Myers <joseph@codesourcery.com>
31994
a9538892
JM
31995 * elf/stackguard-macros.h: Remove file.
31996 * sysdeps/generic/stackguard-macros.h: New file.
31997 * sysdeps/i386/stackguard-macros.h: Likewise.
31998 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31999 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32000 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32001 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32002 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32003 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32004 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32005 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32006 <elf/stackguard-macros.h>.
32007
cc03b296
JM
32008 [BZ #14109]
32009 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32010 __aligned__ in attribute.
32011 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32012 (gregset_t): Likewise.
32013
93171016
L
320142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32015
32016 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32017 * sysdeps/x86_64/64/Implies-after: Here. New file.
32018 * sysdeps/x86_64/x32/Implies-after: New file.
32019
d86813a0
L
320202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32021
32022 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32023 and access return value for _dl_profile_fixup. Use R10_LP to
32024 load frame size.
32025
2953ec75
L
320262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32029
3b550e9e
L
320302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32033 * sysdeps/x86_64/x32/sysdep.h: New file.
32034
eda41706
L
320352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32036
32037 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32038 * sysdeps/x86_64/setjmp.S: Likewise.
32039
9ea01d93
AZ
320402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32041
32042 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32043 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32044 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32045 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32046 remove unused global constant.
32047
02a91938
CM
320482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32049
32050 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32051 include of <not-cancel.h>.
32052
6540185f
RM
320532012-05-15 Roland McGrath <roland@hack.frob.com>
32054
32055 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32056
509072a0
AJ
320572012-05-15 Jeff Law <law@redhat.com>
32058 Andreas Jaeger <aj@suse.de>
32059
32060 [BZ #13594]
32061 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32062 out from...
32063 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32064 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32066 code changing __hst_map_handle.map.
32067
ba75122d
RM
320682012-05-15 Roland McGrath <roland@hack.frob.com>
32069
32070 * configure.in (sysnames): Look for Implies-before and Implies-after
32071 files.
32072 * configure: Regenerated.
32073
890d8bd8
L
320742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32075
32076 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32077 8-byte data alignment with LP_SIZE alignment.
32078
f6ee6623
L
320792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32080
32081 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32082 into R10_LP.
32083
ea2626f6
L
320842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32085
32086 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32087
085f715e
L
320882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32089
32090 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32091 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32092 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32093 Likewise.
32094 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32095
be8498fc
L
320962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32097
32098 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32099 (stackinfo_sub_sp): Likewise.
32100
70bc83b9
L
321012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32102
32103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32104 RAX_LP.
32105
9bc0b730
L
321062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32107
32108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32109 into R*_LP.
32110
6d2850e7
L
321112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32112
32113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32114 sizes into R*_LP.
32115
3cb84561
L
321162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32117
32118 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32119
54e2ed81
L
321202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32121
32122 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32123 into R11_LP and load __x86_64_shared_cache_size_half into
32124 R8_LP.
32125
8a17f349
L
321262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32129 R8_LP.
32130
777b1eea
AZ
321312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32132
32133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32134 logb for POWER7.
32135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32136 logbf for POWER7.
32137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32138 logbl for POWER7.
32139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32140 powerpc32/power7/fpu/s_logb.c via #include.
32141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32142 powerpc32/power7/fpu/s_logbf.c via #include.
32143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32144 powerpc32/power7/fpu/s_logbl.c via #include.
32145
d20d4ac2
JM
321462012-05-15 Joseph Myers <joseph@codesourcery.com>
32147
32148 * README.libm: Remove file.
32149
6cdef1ab
L
321502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32151
32152 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32153 count for x32. Use R*_LP and omit operand-size suffix.
32154
0b254d8f
L
321552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32158 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32159 * sysdeps/x86_64/x32/shlib-versions: New file.
32160
ceb809dc
RM
321612012-05-14 Roland McGrath <roland@hack.frob.com>
32162
32163 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32164 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32165 Use _dl_fatal_printf instead.
32166
37f1abd4
JM
321672012-05-14 Joseph Myers <joseph@codesourcery.com>
32168
32169 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32170 set if not set by the user. Do not allow for being unset.
32171 * sysdeps/unix/sysv/linux/configure: Regenerated.
32172
11de3a33
L
321732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32174
32175 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32176 the `q' suffix from lea and replace .quad with ASM_ADDR.
32177
e02f153a
L
321782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32179
32180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32181 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32182 instead of $17.
32183 (PTR_DEMANGLE): Likewise.
32184
520ae0fd
L
321852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32186
32187 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32188 (LP_OP): Likewise.
32189 (ASM_ADDR): Likewise.
32190 (RAX_LP): Likewise.
32191 (RBP_LP): Likewise.
32192 (RBX_LP): Likewise.
32193 (RCX_LP): Likewise.
32194 (RDI_LP): Likewise.
32195 (RSI_LP): Likewise.
32196 (RSP_LP): Likewise.
32197 (R8_LP): Likewise.
32198 (R9_LP): Likewise.
32199 (R10_LP): Likewise.
32200 (R10_LP): Likewise.
32201 (R11_LP): Likewise.
32202 (R12_LP): Likewise.
32203 (R13_LP): Likewise.
32204 (R14_LP): Likewise.
32205 (R15_LP): Likewise.
32206
b985be81
L
322072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32208
32209 * sysdeps/x86_64/x32/dl-machine.h: New file.
32210
6a4888ff
AJ
322112012-05-14 Andreas Jaeger <aj@suse.de>
32212
32213 * manual/Makefile (subdir): Remove export of subdir.
32214 (all): Remove target.
32215 (.PHONY): Remove all from list.
32216 (mkinstalldirs): Remove.
32217 (.PHONY): Remove installdirs from list.
32218 ($(inst_infodir)/libc.info): Use make-target-directory.
32219 (installdirs): Remove.
32220 (subdir_%): Remove.
32221 (glibc-targets): Remove.
32222 (lib): Remove.
32223 (stubs): Remove.
32224 ($(objpfx)stubs ../po/manual.pot): Remove.
32225 ($(objpfx)stamp%): Remove.
32226 (make-target-directory): Remove.
32227 (subdir_install): Remove.
32228 (routines): Remove.
32229 (aux): Remove.
32230 (sources): Remove.
32231 (objects): Remove.
32232 (headers): Remove.
32233
32234 [BZ #13750]
32235 * manual/.gitignore: Remove, it's not needed anymore.
32236 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32237 all files in it.
32238 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32239 directory.
32240 (texis): Renamed to $(objpfx)texis.
32241 (texis-path): New, contains path to generated files.
32242 (chapters.%): Use texis-path for complete path, add extra argument
32243 libc-texinfo.sh.
32244 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32245 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32246 (summary,texi, stamp-summary): Use complete path of
32247 files. Generate files in build dir.
32248 (dir-add.texi): Build in build dir.
32249 (libm-err.texi,stamp-libm-err): Likewise.
32250 (version.texi, stamp-version): Likewise.
32251 (.%c.texi): Likewise.
32252 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32253 (mostlyclean): Remove target.
32254 (realclean): Remove target.
32255 (generated): Add new variable with contents from mostlyclean and
32256 realclean, remove entries duplicated in common-mostlyclean, add
32257 stamp-libm-err and stamp-version.
32258 (generated-dirs): Add libc directory.
32259 ($(inst_infodir)/libc.info): Install files from build dir.
32260
32261 * manual/install.texi (Configuring and compiling): Adjust since
32262 the info files are not part of the tar ball anymore.
32263
7ac77294
AJ
322642012-05-14 Andreas Jaeger <aj@suse.de>
32265
32266 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32267 variable.
32268
ffb7875d
JM
322692012-05-14 Joseph Myers <joseph@codesourcery.com>
32270
32271 [BZ #13717]
32272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32273 to 2.2.0 where earlier.
32274 * sysdeps/unix/sysv/linux/configure: Regenerated.
32275 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32276 Remove conditional code.
32277 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32278 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32279 Remove conditional code.
32280 [!__NR_lchown]: Likewise.
32281 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32282 [__NR_lchown]: Likewise.
32283 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32284 comment referencing __ASSUME_LCHOWN_SYSCALL.
32285 * sysdeps/unix/sysv/linux/i386/sigaction.c
32286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32288 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32289 Remove conditional code.
32290 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32291 (__protocol_available): Remove #if 0 code.
32292 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32293 conditional code.
32294 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32295 * sysdeps/unix/sysv/linux/kernel-features.h
32296 (__ASSUME_GETCWD_SYSCALL): Don't define.
32297 (__ASSUME_REALTIME_SIGNALS): Likewise.
32298 (__ASSUME_PREAD_SYSCALL): Likewise.
32299 (__ASSUME_PWRITE_SYSCALL): Likewise.
32300 (__ASSUME_POLL_SYSCALL): Likewise.
32301 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32302 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32303 non-SPARC.
32304 (__ASSUME_SIOCGIFNAME): Don't define.
32305 (__ASSUME_MSG_NOSIGNAL): Likewise.
32306 (__ASSUME_SENDFILE): Define unconditionally.
32307 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32308 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32309 conditional code.
32310 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32311 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32312 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32313 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32314 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32315 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32316 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32318 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32321 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32327 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32328 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32330 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32333 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32334 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32339 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32341 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32342 Remove conditional code.
32343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32344 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32345 Remove conditional code.
32346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32347 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32348 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32349 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32350 Remove conditional code.
32351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32352 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32353 Remove conditional code.
32354 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32355 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32356 Remove conditional code.
32357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32358 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32359 Remove conditional code.
32360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32361 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32362 Remove conditional code.
32363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32364 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32365 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32367 * sysdeps/unix/sysv/linux/sigaction.c
32368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32370 * sysdeps/unix/sysv/linux/sigpending.c
32371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32373 * sysdeps/unix/sysv/linux/sigprocmask.c
32374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32376 * sysdeps/unix/sysv/linux/sigsuspend.c
32377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32379 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32380 (__libc_missing_rt_sigs): Remove.
32381 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32382 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32383 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32384 Remove conditional code.
32385 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32386 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32387 return 1.
32388 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32389 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32390 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32391 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32392
1bfb7291
AJ
323932012-05-14 Andreas Jaeger <aj@suse.de>
32394
caae5a81
AJ
32395 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32396 it's not used in glibc.
32397 (__coshm1): Likewise.
32398 (__acosh1p): Likewise.
32399 (__sgn): Likewise.
32400
1bfb7291
AJ
32401 * manual/string.texi (Copying and Concatenation): Add missing
32402 variable in concat example.
32403 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32404
c044d724
L
324052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32406
144c5467 32407 [BZ #14103]
c044d724
L
32408 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32409 __builtin_clzl with __builtin_clzll.
32410
2523c62b
L
324112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32412
32413 [BZ #14104]
32414 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32415 libc_freeres_ptr.
32416
d7bb4c42
LD
324172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32418
32419 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32420 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32421 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32422 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32423
9dc4e1fb
MF
324242012-05-14 Mike Frysinger <vapier@gentoo.org>
32425
32426 * NEWS: Update ia64 info.
32427
c7df0112
AS
324282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32429
32430 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32431 used as bcopy.
32432
dc70356c
TS
324332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32434
32435 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32436 * sysdeps/unix/syscalls.list (dup3): Likewise.
32437 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32438 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32439
9fb1a21f
L
324402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32441
32442 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32443 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32444
4822a2a5
L
324452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32446
32447 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32448 thread pointer.
32449 (TLS_IE): Use mov/add instead of movq/addq to load thread
32450 pointer.
32451 (TLS_GD_PREFIX): New.
32452 (TLS_GD): Use it.
32453
842b81d6
DM
324542012-05-11 David S. Miller <davem@davemloft.net>
32455
32456 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32457 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32458 (_FPU_SETCW): Likewise.
32459
1cf463cd
L
324602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32461
32462 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32463 is 32-byte aligned.
32464
60cc4a18
AS
324652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32466
32467 [BZ #11837]
32468 * iconvdata/gb18030.c: Update tables.
32469 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32470 characters specially.
32471 (BODY for TO_LOOP): Add encoding of missing ranges.
32472
febb44a4
TS
324732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32474
32475 [BZ #13673]
32476 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32477 * sysdeps/mach/hurd/dup3.c: Likewise.
32478 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32479 * sysdeps/powerpc/memmove.c:: Likewise.
32480
0a10fb9e
L
324812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32482
32483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32484 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32485
df8a552f
L
324862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32487
32488 * elf/elf.h (R_X86_64_RELATIVE64): New.
32489 (R_X86_64_NUM): Updated.
32490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32491 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32492 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32493 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32494 tst-quad1pie tst-quad2pie
32495 (modules-names): Add tst-quadmod1 tst-quadmod2.
32496 ($(objpfx)tst-quad1): New dependency.
32497 ($(objpfx)tst-quad2): Likewise.
32498 ($(objpfx)tst-quad1pie): Likewise.
32499 ($(objpfx)tst-quad2pie): Likewise.
32500 * sysdeps/x86_64/tst-quad1.c: New file.
32501 * sysdeps/x86_64/tst-quad1pie.c: New file.
32502 * sysdeps/x86_64/tst-quad2.c: Likewise.
32503 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32504 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32505 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32506 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32507 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32508
f34d6f84
ST
325092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32510
f42d41d1
ST
32511 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32512 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32513 * streams/stropts.h (t_scalar_t): Define type.
32514
3c3571fc
ST
32515 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32516 (_PATH_PRESERVE): Set to "/var/lib".
32517 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32518
61f06bd3
ST
32519 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32520 instead of int.
32521
918d4d71
ST
32522 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32523 if __dir_mkfile succeeded.
32524
f34d6f84
ST
32525 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32526 checking for _hurd_dtablesize. Unlock it right after having
32527 finished _hurd_dtable allocation.
32528
10589b4a
TS
325292012-05-10 Thomas Schwinge <thomas@schwinge.name>
32530
674cdbc7
TS
32531 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32532 * sysdeps/mach/hurd/configure: Regenerated.
32533 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32534 special-casing to...
32535 * sysdeps/gnu/configure.in: ... this new file.
32536 * sysdeps/unix/sysv/linux/configure: Regenerated.
32537 * sysdeps/gnu/configure: New generated file.
32538
8e41b99f
TS
32539 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32540 for Linux: use nsec instead of usec, as well as:
32541 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32542 members of type struct timespec.
32543 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32544 New macros.
32545 (struct stat64): Likewise.
32546 (_STATBUF_ST_NSEC): New macro.
32547 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32548
10589b4a
TS
32549 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32550 __strtoul_internal rather than strtoul.
32551
63643c85
PT
325522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32553
32554 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32555 and reject them.
32556
3faebe6a
ST
325572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32558
32559 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32560 which preserves existing values.
32561 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32562
c6474b07
PT
325632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32564
32565 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32566 TIMEOUT values. Return EINVAL for NFDS values either negative or
32567 greater than FD_SETSIZE.
32568
1043890b
ST
325692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32570
32571 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32572 allocated, call __vm_protect to finish enabling the existing space, and
32573 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32574 allocate the remainder.
32575
37ed8b9b
PT
325762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32577
32578 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32579 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32580
db653660
ST
325812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32582
37ed8b9b
PT
32583 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32584 sysdeps/mach/hurd/readlink.c.
b29d4053 32585
db653660
ST
32586 * posix/tst-sysconf.c (posix_options): Only use
32587 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32588 _POSIX_SYNCHRONIZED_IO when they are defined
32589 * sysdeps/mach/hurd/bits/posix_opt.h:
32590 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32591 (_XOPEN_REALTIME): Undefine macro.
32592 (_XOPEN_REALTIME_THREADS): Undefine macro.
32593 (_XOPEN_SHM): Undefine macro.
32594 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32595 macro to -1.
32596 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32597 macro to -1.
32598 (_POSIX_ASYNC_IO): Undefine macro.
32599 (_POSIX_PRIORITIZED_IO): Undefine macro.
32600 (_POSIX_SPIN_LOCKS): Define macro to -1.
32601
ee16e894
ST
32602 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32603 SA_NODEFER, SA_RESETHAND.
32604 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32605 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32606 F_DUPFD_CLOEXEC.
32607
6103ae3b
TS
326082012-05-10 Thomas Schwinge <thomas@schwinge.name>
32609
32610 * elf/Makefile (pldd-modules): Define unconditionally.
32611
80b4e5f3
TS
326122012-05-10 Thomas Schwinge <thomas@schwinge.name>
32613
32614 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32615
edadcbd6
ST
326162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32617
32618 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32619 Return ENOENT when name is empty.
32620 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32621
80694780
TS
326222012-05-10 Thomas Schwinge <thomas@schwinge.name>
32623
1792c087
TS
32624 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32625
80694780
TS
32626 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32627
6b645f0d
ST
326282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32629
80694780
TS
32630 Fix mlock in all cases except non-readable pages.
32631 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32632 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32633
6b645f0d
ST
32634 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32635 (__mkdir): When path is `/', just fail with EEXIST.
32636 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32637
e468f8a3
TS
326382012-05-10 Thomas Schwinge <thomas@schwinge.name>
32639
32640 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32641 <sys/uio.h> (for writev).
32642 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32643 and <sys/param.h> (for MIN).
32644
a4186cff
PT
326452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32646
32647 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32648 REQUESTED_TIME. Properly set the remaining time and return EINTR
32649 if interrupted.
32650
510bbf14
TS
326512012-05-10 Thomas Schwinge <thomas@schwinge.name>
32652
32653 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32654 Depend on against $(link-rpcuserlibs).
32655
5d5722e8
ST
326562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32657
a4186cff
PT
32658 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32659 (__libc_stack_end): Do not use attribute_relro.
32660 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32661 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32662 to libthread-provided value.
a4186cff
PT
32663 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32664 attribute_relro.
5d5722e8 32665
37233df9
TS
326662012-05-10 Thomas Schwinge <thomas@schwinge.name>
32667
be971a2b
TS
32668 [BZ #3748]
32669 * bits/libc-lock.h (__libc_once_get): New macro.
32670 * sysdeps/mach/bits/libc-lock.h: Likewise.
32671 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32673 instead of using implementation details.
32674
37233df9
TS
32675 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32676 * libio/freopen.c: Likewise.
32677 * libio/freopen64.c: Likewise.
32678 * misc/syslog.c: Likewise.
32679 * nscd/connections.c: Likewise.
32680 * nscd/netgroupcache.c: Likewise.
32681 * sysdeps/posix/getcwd.c: Likewise.
32682
38de94a5
RM
326832012-05-10 Roland McGrath <roland@hack.frob.com>
32684
32685 * math/w_ilogbf.c: Add #include <limits.h>.
32686
67530489
ST
326872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32688
a4186cff 32689 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32690 path instead of returning without unlocking.
32691
67530489
ST
32692 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32693 immediate-write ioctls.
32694 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32695
5aa3a74a
TS
326962012-05-10 Thomas Schwinge <thomas@schwinge.name>
32697
18bad2ae
TS
32698 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32699 __builtin_frame_address instead of making assumptions about the
32700 location of the return address relative to DATA. Force early load of
32701 the return address.
32702 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32703 __builtin_frame_address.
32704
5aa3a74a
TS
32705 dup3 for GNU Hurd.
32706 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32707 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32708 implement dup3 and do some further code clean-ups.
32709 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32710 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32711
ecd0de9a
ST
327122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32713
cd9fa985
ST
32714 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32715
a4186cff
PT
32716 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32717 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32718 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32719 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32720 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32721 d->port.lock.
802ca5a5 32722
a4186cff
PT
32723 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32724 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32725 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32726
bcf55240
TS
327272012-05-10 Thomas Schwinge <thomas@schwinge.name>
32728
6960eb42
TS
32729 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32730 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32731 definitions.
32732
eb43375f
TS
32733 accept4 for GNU Hurd.
32734 * include/sys/socket.h (__libc_accept4): New prototype.
32735 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32736 to implement __libc_accept4.
32737 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32738 __libc_accept4.
32739 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32740
bcf55240
TS
32741 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32742 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32743 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32744 signal-defines.sym.
32745
6178c55b
ST
327462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32747
a4186cff 32748 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32749
6f080c2f
TS
327502012-05-10 Thomas Schwinge <thomas@schwinge.name>
32751
32752 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32753 assertion on O_CLOEXEC flag.
32754 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32755 * hurd/intern-fd.c: Likewise.
32756 * hurd/port2fd.c: Likewise.
32757
bcfe3a54
ST
327582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32759
32760 [BZ #3906]
32761 * bits/in.h (IPV6_PKTINFO): Define new macro.
32762 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32763
89c9aa49
AZ
327642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32765
32766 [BZ #13954]
32767 [BZ #13955]
32768 [BZ #13956]
32769 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32770 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32771 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32772 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32773 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32774 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32775 * math/libm-test.inc (logb_test) : Additional logb tests.
32776
021db4be
AJ
327772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32778 Andreas Jaeger <aj@suse.de>
32779
32780 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32781 * configure: Regenerated.
32782 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32783 * config.make.in (link-obsolete-rpc): New substituted variable.
32784 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32785 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32786 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32787 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32788 so that libc.a contains the symbols.
32789 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32790 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32791 * sunrpc/auth_none.c: Likewise.
32792 * sunrpc/auth_unix.c: Likewise.
32793 * sunrpc/authdes_prot.c: Likewise.
32794 * sunrpc/authuxprot.c: Likewise.
32795 * sunrpc/clnt_gen.c: Likewise.
32796 * sunrpc/clnt_perr.c: Likewise.
32797 * sunrpc/clnt_raw.c: Likewise.
32798 * sunrpc/clnt_simp.c: Likewise.
32799 * sunrpc/clnt_tcp.c: Likewise.
32800 * sunrpc/clnt_udp.c: Likewise.
32801 * sunrpc/clnt_unix.c: Likewise.
32802 * sunrpc/des_crypt.c: Likewise.
32803 * sunrpc/des_soft.c: Likewise.
32804 * sunrpc/get_myaddr.c: Likewise.
32805 * sunrpc/key_call.c: Likewise.
32806 * sunrpc/key_prot.c: Likewise.
32807 * sunrpc/netname.c: Likewise.
32808 * sunrpc/pm_getmaps.c: Likewise.
32809 * sunrpc/pm_getport.c: Likewise.
32810 * sunrpc/pmap_clnt.c: Likewise.
32811 * sunrpc/pmap_prot.c: Likewise.
32812 * sunrpc/pmap_prot2.c: Likewise.
32813 * sunrpc/pmap_rmt.c: Likewise.
32814 * sunrpc/publickey.c: Likewise.
32815 * sunrpc/rpc_cmsg.c: Likewise.
32816 * sunrpc/rpc_common.c: Likewise.
32817 * sunrpc/rpc_dtable.c: Likewise.
32818 * sunrpc/rpc_prot.c: Likewise.
32819 * sunrpc/rpc_thread.c: Likewise.
32820 * sunrpc/rtime.c: Likewise.
32821 * sunrpc/svc.c: Likewise.
32822 * sunrpc/svc_auth.c: Likewise.
32823 * sunrpc/svc_raw.c: Likewise.
32824 * sunrpc/svc_run.c: Likewise.
32825 * sunrpc/svc_tcp.c: Likewise.
32826 * sunrpc/svc_udp.c: Likewise.
32827 * sunrpc/svc_unix.c: Likewise.
32828 * sunrpc/svcauth_des.c: Likewise.
32829 * sunrpc/xcrypt.c: Likewise.
32830 * sunrpc/xdr.c: Likewise.
32831 * sunrpc/xdr_array.c: Likewise.
32832 * sunrpc/xdr_float.c: Likewise.
32833 * sunrpc/xdr_intXX_t.c: Likewise.
32834 * sunrpc/xdr_mem.c: Likewise.
32835 * sunrpc/xdr_rec.c: Likewise.
32836 * sunrpc/xdr_ref.c: Likewise.
32837 * sunrpc/xdr_sizeof.c: Likewise.
32838 * sunrpc/xdr_stdio.c: Likewise.
32839
b5c086a2
RM
328402012-05-10 Roland McGrath <roland@hack.frob.com>
32841
32842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32843 change. Update copyright years.
32844
6d74dd09
JM
328452012-05-10 Joseph Myers <joseph@codesourcery.com>
32846
32847 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32848
28e72501
MK
328492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32850 Joseph Myers <joseph@codesourcery.com>
32851 Paul Pluzhnikov <ppluzhnikov@google.com>
32852
32853 [BZ #14012]
32854 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32855 requiring rpcgen.
32856 [cross-compiling] (extra-libs): Likewise.
32857 [cross-compiling] (extra-libs-others): Likewise.
32858 [cross-compiling] (librpcsvc-routines): Likewise.
32859 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32860 [cross-compiling] (omit-deps): Likewise.
32861 (sunrpc-CPPFLAGS): New variable.
32862 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32863 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32864 (cross-rpcgen-objs): New variable.
32865 (extra-objs): Append $(cross-rpcgen-objs).
32866 ($(cross-rpcgen-objs)): New rule.
32867 ($(objpfx)cross-rpcgen): Likewise.
32868 (rpcgen-cmd): Define to use $(built-program-file). Expand
32869 comment.
32870 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32871 ($(objpfx)x%.stmp): Likewise.
32872 * sunrpc/proto.h [IS_IN_build] (_): Define.
32873 [IS_IN_build] (_libc_intl_domainname): Likewise.
32874
c8c59454
L
328752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32876
32877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32878 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32879 and R_X86_64_TPOFF64.
32880
6f27cd16
JM
328812012-05-10 Joseph Myers <joseph@codesourcery.com>
32882
32883 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32884 sysdeps/unix/sysv/syscalls.list.
32885 (stime): Likewise.
32886 (utime): Likewise.
32887 * sysdeps/unix/sysv/syscalls.list: Remove file.
32888
02467e1c
PE
328892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32890
32891 [BZ #3440]
32892 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32893 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32894 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32895 (__LC_IDENTIFICATION): Make these macros useful in #if
32896 expressions, as required by C99.
32897
da392631
AS
328982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32899
32900 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32901 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32902 after this.
32903
8115f29b
L
329042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32905
32906 * stdlib/longlong.h: Updated from GCC.
32907
bdd74070
AJ
329082012-05-09 Andreas Jaeger <aj@suse.de>
32909
edfe0dbe
AJ
32910 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32911 default is first entry.
32912 (run_mode): Set type.
32913 (main): Remove informal message about syslog.
32914 (options): Fix typo.
32915
bcfe3a54
ST
32916 [BZ #14053]
32917 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32918 to asm.
bcfe3a54
ST
32919 (lrint): Likewise.
32920 (llrintf): Likewise.
32921 (llrint): Likewise.
32922 (rint): Likewise.
32923 (rintf): Likewise.
32924 (nearbyint): Likewise.
32925 (nearbyintf): Likewise.
bdd74070 32926
91d8d69e
AJ
329272012-05-09 Andreas Jaeger <aj@suse.de>
32928 Pedro Alves <palves@redhat.com>
32929
32930 * nscd/nscd.c (run_mode): Use enum.
32931 (main): Cleanup coding style issue.
32932
bb90b80b
AJ
329332012-05-09 Alexandre Oliva <aoliva@redhat.com>
32934 Andreas Jaeger <aj@suse.de>
32935
bcfe3a54
ST
32936 * nscd/nscd.c (go_background): Replaced with...
32937 (run_mode): ... this.
bb90b80b 32938 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32939 (options): Add -F --foreground.
32940 (main): Implement it.
32941 (parse_opt): Parse it.
bb90b80b 32942
1a4b75a1
AJ
329432012-05-09 Andreas Jaeger <aj@suse.de>
32944
32945 [BZ #14083]
32946 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32947 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32948 -Wconversion warning.
32949 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32950 Likewise.
32951
b1cc2472
JM
329522012-05-09 Joseph Myers <joseph@codesourcery.com>
32953
32954 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32955 == 0.
32956 (LC_ALL): Use macro-int-constant.
32957 (LC_COLLATE): Likewise.
32958 (LC_CTYPE): Likewise.
32959 (LC_MESSAGES): Likewise.
32960 (LC_MONETARY): Likewise.
32961 (LC_NUMERIC): Likewise.
32962 (LC_TIME): Likewise.
32963 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32964 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32966 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32967 Specify type.
32968 [C99-based standards] (float_t): Expect type.
32969 [C99-based standards] (double_t): Expect type.
32970 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32971 type.
32972 [C99-based standards] (HUGE_VALL): Likewise.
32973 [C99-based standards] (INFINITY): Likewise.
32974 [C99-based standards] (NAN): Likewise.
32975 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32976 [C99-based standards] (FP_NAN): Likewise.
32977 [C99-based standards] (FP_NORMAL): Likewise.
32978 [C99-based standards] (FP_SUBNORMAL): Likewise.
32979 [C99-based standards] (FP_ZERO): Likewise.
32980 [C99-based standards] (FP_FAST_FMA): Use
32981 optional-macro-int-constant. Specify type. Require == 1.
32982 [C99-based standards] (FP_FAST_FMAF): Likewise.
32983 [C99-based standards] (FP_FAST_FMAL): Likewise.
32984 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32985 [C99-based standards] (FP_ILOGBNAN): Likewise.
32986 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32987 Specify type.
32988 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32989 [C99-based standards] (math_errhandling): Specify type.
32990 [ISO99 || ISO11] (signgam): Do not allow.
32991 [non-C99-based standards] (copysignf): Do not allow.
32992 [non-C99-based standards] (exp2f): Likewise.
32993 [non-C99-based standards] (log2f): Likewise.
32994 [non-C99-based standards] (modff): Allow.
32995 [non-C99-based standards] (erff): Do not allow.
32996 [non-C99-based standards] (erfcf): Likewise.
32997 [non-C99-based standards] (gammaf): Likewise.
32998 [non-C99-based standards] (hypotf): Likewise.
32999 [non-C99-based standards] (j0f): Likewise.
33000 [non-C99-based standards] (j1f): Likewise.
33001 [non-C99-based standards] (jnf): Likewise.
33002 [non-C99-based standards] (lgammaf): Likewise.
33003 [non-C99-based standards] (tgammaf): Likewise.
33004 [non-C99-based standards] (y0f): Likewise.
33005 [non-C99-based standards] (y1f): Likewise.
33006 [non-C99-based standards] (ynf): Likewise.
33007 [non-C99-based standards] (isnanf): Likewise.
33008 [non-C99-based standards] (acoshf): Likewise.
33009 [non-C99-based standards] (asinhf): Likewise.
33010 [non-C99-based standards] (atanhf): Likewise.
33011 [non-C99-based standards] (cbrtf): Likewise.
33012 [non-C99-based standards] (expm1f): Likewise.
33013 [non-C99-based standards] (ilogbf): Likewise.
33014 [non-C99-based standards] (log1pf): Likewise.
33015 [non-C99-based standards] (logbf): Likewise.
33016 [non-C99-based standards] (nextafterf): Likewise.
33017 [non-C99-based standards] (remainderf): Likewise.
33018 [non-C99-based standards] (rintf): Likewise.
33019 [non-C99-based standards] (scalbf): Likewise.
33020 [non-C99-based standards] (copysignl): Likewise.
33021 [non-C99-based standards] (exp2l): Likewise.
33022 [non-C99-based standards] (log2l): Likewise.
33023 [non-C99-based standards] (modfl): Allow.
33024 [non-C99-based standards] (erfl): Do not allow.
33025 [non-C99-based standards] (erfcl): Likewise.
33026 [non-C99-based standards] (gammal): Likewise.
33027 [non-C99-based standards] (hypotl): Likewise.
33028 [non-C99-based standards] (j0l): Likewise.
33029 [non-C99-based standards] (j1l): Likewise.
33030 [non-C99-based standards] (jnl): Likewise.
33031 [non-C99-based standards] (lgammal): Likewise.
33032 [non-C99-based standards] (tgammal): Likewise.
33033 [non-C99-based standards] (y0l): Likewise.
33034 [non-C99-based standards] (y1l): Likewise.
33035 [non-C99-based standards] (ynl): Likewise.
33036 [non-C99-based standards] (isnanl): Likewise.
33037 [non-C99-based standards] (acoshl): Likewise.
33038 [non-C99-based standards] (asinhl): Likewise.
33039 [non-C99-based standards] (atanhl): Likewise.
33040 [non-C99-based standards] (cbrtl): Likewise.
33041 [non-C99-based standards] (expm1l): Likewise.
33042 [non-C99-based standards] (ilogbl): Likewise.
33043 [non-C99-based standards] (log1pl): Likewise.
33044 [non-C99-based standards] (logbl): Likewise.
33045 [non-C99-based standards] (nextafterl): Likewise.
33046 [non-C99-based standards] (remainderl): Likewise.
33047 [non-C99-based standards] (rintl): Likewise.
33048 [non-C99-based standards] (scalbl): Likewise.
33049 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33050 [non-C99-based standards] (FP_*): Do not allow.
33051 [C99-based standards] (FP_*): Change to
33052 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33053 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33054 allow.
33055 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33056 (SIG_ERR): Likewise.
33057 [X/Open-based standards] (SIG_HOLD): Likewise.
33058 (SIG_IGN): Likewise.
33059 (SIGABRT): Use macro-int-constant. Specify type. Require
33060 positive value.
33061 (SIGFPE): Likewise.
33062 (SIGILL): Likewise.
33063 (SIGINT): Likewise.
33064 (SIGSEGV): Likewise.
33065 (SIGTER): Likewise.
33066 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33067 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33068 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33069 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33070 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33071 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33072 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33073 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33074 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33075 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33076 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33077 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33078 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33079 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33080 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33081 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33082 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33083 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33084 [X/Open-based standards] (SIGTRAP): Likewise.
33085 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33086 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33087 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33088 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33089 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33090 allow.
33091
b9f1922d
IW
330922012-05-08 Ian Wienand <ianw@vmware.com>
33093
33094 [BZ #14080]
33095 * time/tzset.c (__tzset_parse_tz): Update default rules for
33096 daylight time changes in the Energy Policy Act of 2005.
33097
1db86e88
AJ
330982012-05-09 Andreas Jaeger <aj@suse.de>
33099
33100 [BZ #13983]
33101 * elf/ldconfig.c (parse_conf): Change string to make clear that
33102 ldconfig only issued a warning if ld.so.conf does not exist.
33103
dee4a4e3
DM
331042012-05-08 David S. Miller <davem@davemloft.net>
33105
ee0db190
DM
33106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33107 movxtod instead of popping the value on the stack.
33108
dee4a4e3
DM
33109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33110
6a43ec98
CD
331112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33112
33113 * config.h.in: Add HAVE_ARM_PCS_VFP.
33114
05c2c961
RMG
331152012-05-08 Roland Mc Grath <roland@hack.frob.com>
33116
bcfe3a54
ST
33117 [BZ #13979]
33118 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33119 checking but the checks are disabled for any reason.
05c2c961 33120
4b30f61a
L
331212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33122
33123 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33124 and ELF64_R_TYPE with ELFW(R_TYPE).
33125
eee2bc67
JM
331262012-05-08 Joseph Myers <joseph@codesourcery.com>
33127
7ea5391a
JM
33128 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33129 (ulimit): Likewise.
33130
eee2bc67
JM
33131 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33132 (settimeofday): Likewise.
33133
abb66a67
MF
331342012-05-08 Mike Frysinger <vapier@gentoo.org>
33135
33136 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33137 a struct th_u2 inside the union, and move tu_block/tu_code into
33138 a new th_u3 union of tu_block/tu_code inside of that. Move
33139 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33140 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33141 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33142 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33143 (th_stuff): Change to th_u1.tu_stuff.
33144 (th_data): Define.
33145 (th_msg): Change to th_u1.th_u2.tu_data.
33146
7f18b530
DM
331472012-05-07 David S. Miller <davem@davemloft.net>
33148
05760585
DM
33149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33150
7f18b530
DM
33151 [BZ #14074]
33152 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33153 (SETUP_PIC_REG): Use it.
33154 (SETUP_PIC_REG_LEAF): Use it.
33155
495fd99f
JM
331562012-05-07 Joseph Myers <joseph@codesourcery.com>
33157
33158 [BZ #13885]
33159 [BZ #13923]
33160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33161 USE_AS_EXPM1L.
33162 (EXPL_FINITE): Likewise.
33163 (FLDLOG): Likewise.
33164 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33165 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33166 e_expl.S.
33167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33168 USE_AS_EXPM1L.
33169 (EXPL_FINITE): Likewise.
33170 (FLDLOG): Likewise.
33171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33172 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33173 e_expl.S.
33174 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33175 test of -max_value argument for long double.
33176 * sysdeps/i386/fpu/libm-test-ulps: Update.
33177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33178
6693d694
DM
331792012-05-06 David S. Miller <davem@davemloft.net>
33180
33181 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33182 quad soft-float symbols whose references which are compiler
33183 generated.
33184 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33185
6c23e11c
JM
331862012-05-06 Joseph Myers <joseph@codesourcery.com>
33187
d8b82cad
JM
33188 [BZ #13884]
33189 [BZ #13914]
33190 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33191 USE_AS_EXP10L.
33192 (EXPL_FINITE): Likewise.
33193 (FLDLOG): Likewise.
33194 (c0): Likewise.
33195 (c1): Likewise.
33196 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33197 Adjust comments for base varying.
33198 (__expl_finite): Change alias to EXPL_FINITE.
33199 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33200 e_expl.S.
33201 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33202 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33204 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33205 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33206 USE_AS_EXP10L.
33207 (EXPL_FINITE): Likewise.
33208 (FLDLOG): Likewise.
33209 (c0): Likewise.
33210 (c1): Likewise.
33211 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33212 Adjust comments for base varying.
33213 (__expl_finite): Change alias to EXPL_FINITE.
33214 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33215 tests for bugs.
33216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33217
6c23e11c
JM
33218 [BZ #14064]
33219 * math/libm-test.inc (check_float_internal): Correct ulp
33220 calculation for subnormal expected results.
33221
29ba805c
AJ
332222012-05-06 Andreas Jaeger <aj@suse.de>
33223
33224 * Makeconfig (+math-flags): New, set to -frounding-math.
33225 (+cflags): Add +math-flags so that all of glibc gets compiled with
33226 it.
33227
33228 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33229
7b17aeda
JM
332302012-05-05 Joseph Myers <joseph@codesourcery.com>
33231
5779f134
JM
33232 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33233 Disable one test.
33234
41498f4d
JM
33235 [BZ #13787]
33236 [BZ #13922]
33237 [BZ #14036]
33238 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33239 (__ieee754_expl): Allow for and saturate large arguments.
33240 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33241 (u_threshold): Likewise.
33242 (__exp): Call __ieee754_exp before checking for overflow and
33243 underflow.
33244 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33245 (u_threshold): Likewise.
33246 (__expf): Call __ieee754_expf before checking for overflow and
33247 underflow.
33248 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33249 (u_threshold): Likewise.
33250 (__expl): Call __ieee754_expl before checking for overflow and
33251 underflow.
33252 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33253 (__ieee754_expl): Allow for and saturate large arguments.
33254 * math/libm-test.inc (exp_test): Add another test. Do not allow
33255 missing overflow exception on overflow.
33256 (expm1_test): Do not allow missing overflow exception on overflow.
33257
6698b8bf
JM
33258 * sysdeps/i386/fpu/e_expl.c: Move to ...
33259 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33260 rather than using inline asm.
33261 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33262 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33263 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33264
7b17aeda
JM
33265 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33266 (nice): Likewise.
33267 (poll): Likewise.
33268 (signal): Likewise.
33269 (time): Likewise.
33270 (times): Likewise.
33271
f7c85819
JM
332722012-05-04 Joseph Myers <joseph@codesourcery.com>
33273
33274 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33275 sysdeps/unix/common/syscalls.list.
33276 (fchmod): Likewise.
33277 (fchown): Likewise.
33278 (ftruncate): Likewise.
33279 (getrusage): Likewise.
33280 (gettimeofday): Likewise.
33281 (setpgid): Likewise.
33282 (setregid): Likewise.
33283 (setreuid): Likewise.
33284 (sigaction): Likewise.
33285 (truncate): Likewise.
33286 (vhangup): Likewise.
33287 * sysdeps/unix/common/syscalls.list: Remove file.
33288 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33289 * sysdeps/unix/sysv/linux/Implies: Likewise.
33290
336270d0
L
332912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33292
33293 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33295 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33296 Moved to ...
33297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33298 Here.
33299 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33300 to ...
33301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33302 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33303 to ...
33304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33305 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33306 to ...
33307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33308 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33309 to ...
33310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33311 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33312 to ...
33313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33314 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33315 to ...
33316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33317 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33318 to ...
33319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33320 Here.
33321 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33322 to ...
33323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33324 Here.
33325 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33326 to ...
33327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33328 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33329 Moved to ...
33330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33331 Here.
33332 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33333 to ...
33334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33335
d128e450
JM
333362012-05-04 Joseph Myers <joseph@codesourcery.com>
33337
fa8ee516
JM
33338 * sysdeps/unix/common/bits/dirent.h: Remove file.
33339 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33340
d128e450
JM
33341 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33342 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33343 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33344 * sysdeps/unix/bsd/isatty.c: Likewise.
33345 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33346 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33347 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33348
ff8faaf0 333492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33350
62881be4 33351 [BZ #13563]
31dc8730
AZ
33352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33353 long double comparison inaccuracies.
33354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33356
6fef930c
AS
333572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33358
33359 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33361
8f203e6c
JM
333622012-05-04 Joseph Myers <joseph@codesourcery.com>
33363
33364 [BZ #14049]
33365 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33366 nonzero digits before rounding a hex value.
33367 * stdlib/tst-strtod.c (tests): Add another test.
33368
5197d9c2
AK
333692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33370
33371 * sysdeps/s390/fpu/libm-test-ulps: Update.
33372
f0c1dedf
AJ
333732012-05-03 Andreas Jaeger <aj@suse.de>
33374
33375 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33376 does not get optimized out.
33377 (malloc_opt_barrier): New.
33378
a65ef2ae 333792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33380 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33381
2b942cb7 33382 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33383 intermediate file deletion.
2b942cb7 33384 (generated): Add .symlist files.
a65ef2ae 33385
54b71e02
JM
333862012-05-03 Joseph Myers <joseph@codesourcery.com>
33387
33388 [BZ #13775]
33389 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33390 Redirect under this condition.
33391 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33392 [__USE_GNU] (__dprintf_chk): Not under this condition.
33393 [__USE_GNU] (__vdprintf_chk): Likewise.
33394 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33395 under this condition.
33396 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33397 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33398 [__USE_XOPEN2K8] (vdprintf): Likewise.
33399 [__USE_GNU] (__dprintf_chk): Not under this condition.
33400 [__USE_GNU] (__vdprintf_chk): Likewise.
33401 [__USE_GNU] (dprintf): Likewise.
33402 [__USE_GNU] (vdprintf): Likewise.
33403
d3dfcc41
RM
334042012-05-03 Roland McGrath <roland@hack.frob.com>
33405
33406 * elf/Makefile (common-generated): Set this instead of generated for
33407 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33408 $(all-built-dso)-derived lists.
33409
7ac30cc5
AJ
334102012-05-03 Andreas Jaeger <aj@suse.de>
33411
0c51e550
AJ
33412 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413
7ac30cc5
AJ
33414 * FAQ: Removed.
33415 * FAQ.in: Likewise.
33416 * scripts/gen-FAQ.pl: Likewise.
33417 * manual/install.texi (Installation): Point to online location of
33418 FAQ.
33419 * Makefile (files-for-dist): Remove FAQ.
33420 (FAQ): Remove.
33421
d4c2917f
AM
334222012-05-02 Allan McRae <allan@archlinux.org>
33423
33424 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33425 (LDFLAGS-reldepmod5.so): Likewise.
33426 (LDFLAGS-reldep6mod1.so): Likewise.
33427 (LDFLAGS-reldep6mod4.so): Likewise.
33428 (LDFLAGS-reldep8mod3.so): Likewise.
33429 (LDFLAGS-unload4mod1.so): Likewise.
33430 (LDFLAGS-unload4mod2.so): Likewise.
33431 (LDFLAGS-tst-initorder): Likewise.
33432 (LDFLAGS-tst-initordera2.so): Likewise.
33433 (LDFLAGS-tst-initordera3.so): Likewise.
33434 (LDFLAGS-tst-initordera4.so): Likewise.
33435 (LDFLAGS-tst-initorderb2.so): Likewise.
33436 (LDFLAGS-noload): Likewise.
33437 (LDFLAGS-next): Likewise.
33438 (LDFLAGS-order2mod1.so): Likewise.
33439 (LDFLAGS-order2mod2.so): Likewise.
33440 (LDFLAGS-tst-initorder2): Likewise.
33441 (LDFLAGS-tst-initorder2a.so): Likewise.
33442 (LDFLAGS-tst-initorder2b.so): Likewise.
33443 (LDFLAGS-tst-initorder2c.so): Likewise.
33444 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33445
d77f993f
DM
334462012-05-02 David S. Miller <davem@davemloft.net>
33447
33448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33449
171a70b4
PP
334502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33451
33452 [BZ #14055]
33453 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33454
0be196ad
AJ
334552012-05-02 Andreas Jaeger <aj@suse.de>
33456
33457 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33458 since we manipulate rounding mode.
33459 (CPPFLAGS-test-idouble.c): Likewise.
33460 (CPPFLAGS-test-ifloat.c): Likewise.
33461 (CFLAGS-test-ldouble.c): Likewise.
33462 (CFLAGS-test-double.c): Likewise.
33463 (CFLAGS-test-float.c): Likewise.
33464 (CFLAGS-test-misc.c): Likewise.
33465 (CFLAGS-test-test-fenv.c): Likewise.
33466
4f9d04aa
AZ
334672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33468
2b942cb7
RM
33469 [BZ #2550]
33470 [BZ #2570]
33471 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33472 comparisons to determine direction to adjust input.
4f9d04aa 33473
82a79e7d
RM
334742012-05-01 Roland McGrath <roland@hack.frob.com>
33475
f5a01ca9
RM
33476 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33477 output to the target.
33478
90fe4186
RM
33479 * scripts/localplt.awk: New file.
33480 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33481 (check-localplt-CFLAGS): Variable removed.
33482 ($(all-built-dso:=.jmprel)): New static pattern rule.
33483 (generated): Add those targets.
33484 (localplt-built-dso): New variable.
33485 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33486
33487 * elf/check-localplt.c: File removed.
33488
82397ed6
RM
33489 * scripts/check-execstack.awk: New file.
33490 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33491 (check-execstack-CFLAGS): Variable removed.
33492 ($(objpfx)check-execstack.h): Target removed.
33493 ($(objpfx)execstack-default): New target.
33494 (generated): Add that instead of check-execstack.h.
33495 ($(all-built-dso:=.phdr)): New static pattern rule.
33496 (generated): Add those targets.
33497 * elf/check-execstack.c: File removed.
33498
82a79e7d
RM
33499 * scripts/check-textrel.awk: New file.
33500 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33501 (check-textrel-CFLAGS): Variable removed.
33502 (all-built-dso): Use := to define.o
33503 ($(all-built-dso:=.dyn)): New static pattern rule.
33504 (generated): Add those targets.
33505 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33506 * config.make.in (READELF): New substituted variable.
33507 * elf/check-textrel.c: File removed.
33508
62fde54f 335092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33510
615605c9
JM
33511 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33512 allow.
33513 * conform/data/ctype.h-data [C99-based standards] (isblank):
33514 Expect function.
33515 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33516 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33518 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33519 Specify type. Require positive value.
33520 (EILSEQ): Likewise.
33521 (ERANGE): Likewise.
33522 [ISO || POSIX] (EILSEQ): Do not expect.
33523 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33524 Specify type. Require positive value.
33525 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33531 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33533 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33534 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33535 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33536 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33537 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33538 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33539 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33540 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33541 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33542 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33543 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33544 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33545 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33546 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33547 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33548 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33549 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33550 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33551 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33552 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33553 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33554 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33555 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33556 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33557 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33558 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33559 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33560 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33561 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33562 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33563 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33564 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33565 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33566 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33567 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33568 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33569 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33570 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33571 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33572 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33573 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33574 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33575 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33576 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33577 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33578 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33579 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33580 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33581 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33582 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33583 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33584 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33585 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33586 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33587 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33588 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33589 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33590 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33591 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33592 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33593 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33594 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33595 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33596 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33597 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33598 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33599 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33600 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33601 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33602 Require >= 2.
33603 (FLT_ROUNDS): Expect as macro, not constant.
33604 (FLT_MANT_DIG): Use macro-int-constant.
33605 (DBL_MANT_DIG): Likewise.
33606 (LDBL_MANT_DIG): Likewise.
33607 (FLT_DIG): Likewise.
33608 (DBL_DIG): Likewise.
33609 (LDBL_DIG): Likewise.
33610 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33611 (DBL_MIN_EXP): Likewise.
33612 (LDBL_MIN_EXP): Likewise.
33613 (FLT_MAX_EXP): Use macro-int-constant.
33614 (DBL_MAX_EXP): Likewise.
33615 (LDBL_MAX_EXP): Likewise.
33616 (FLT_MAX_10_EXP): Likewise.
33617 (DBL_MAX_10_EXP): Likewise.
33618 (LDBL_MAX_10_EXP): Likewise.
33619 (FLT_MAX): Use macro-constant.
33620 (DBL_MAX): Likewise.
33621 (LDBL_MAX): Likewise.
33622 (FLT_EPSILON): Use macro-constant. Give upper bound.
33623 (DBL_EPSILON): Likewise.
33624 (LDBL_EPSILON): Likewise.
33625 (FLT_MIN): Likewise.
33626 (DBL_MIN): Likewise.
33627 (LDBL_MIN): Likewise.
33628 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33629 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33630 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33631 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33632 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33633 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33634 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33635 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33636 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33637 [ISO11] (FLT_TRUE_MIN): Likewise.
33638 [ISO11] (LDBL_TRUE_MIN): Likewise.
33639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33640 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33641 (SCHAR_MIN): Use macro-int-constant. Specify type.
33642 (SCHAR_MAX): Likewise.
33643 (UCHAR_MAX): Likewise.
33644 (CHAR_MIN): Likewise.
33645 (CHAR_MAX): Likewise.
33646 (MB_LEN_MAX): Use macro-int-constant.
33647 (SHRT_MIN): Use macro-int-constant. Specify type.
33648 (SHRT_MAX): Likewise.
33649 (USHRT_MAX): Likewise.
33650 (INT_MAX): Likewise.
33651 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33652 bound negative.
33653 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33654 bound with "U".
33655 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33656 bound with "L".
33657 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33658 bound negative. Suffix upper bound with "L".
33659 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33660 bound with "UL".
33661 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33662 Specify type.
33663 [C99-based standards] (LLONG_MAX): Likewise.
33664 [C99-based standards] (ULLONG_MAX): Likewise.
33665 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33666 == 0.
33667 [ISO11] (max_align_t): Require type.
33668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33669
c9140a62
JM
33670 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33671 from $CFLAGS, without defining away __attribute__ calls.
33672 (checknamespace): Use $CFLAGS_namespace.
33673
9af0bf29
JM
33674 * conform/conformtest.pl (@keywords): Only include C99 keywords
33675 for standards based on C99 or C11.
33676
343222a2
JM
33677 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33678 Disable tests.
33679 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33680 UNIX98]: Likewise.
33681
661f8cf0
JM
33682 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33683 usability of symbols in #if.
33684
ee74b9cb
JM
33685 * conform/conformtest.pl: If macro or constant types start
33686 "promoted:", expect the symbol to be of the following type
33687 promoted by the integer promotions.
62fde54f 33688
aafc49b3
JM
33689 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33690 in one place. Also handle "macro-constant".
33691
fefdf574
JM
33692 * conform/conformtest.pl: Only accept expected macro values with
33693 "==". Parse all "macro" lines in one place.
33694 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33695
f2d922fe
JM
33696 * conform/conformtest.pl: Handle braced types on "constant" lines
33697 instead of handling "typed-constant".
33698 * conform/data/signal.h-data: Use "constant" instead of
33699 "typed-constant".
33700
d22956c9
JM
33701 * conform/conformtest.pl: Handle "optional-" at start of lines in
33702 one place rather than duplicating several cases. Handle each
33703 format of "macro" line with initial "optional-".
33704
028e2e38
JM
33705 * conform/conformtest.pl: Only accept expected constant or
33706 optional-constant values with "==". Parse all "constant" lines in
33707 one place. Parse all "optional-constant" lines in one place.
33708 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33709 * conform/data/fmtmsg.h-data: Likewise.
33710 * conform/data/netinet/in.h-data: Likewise.
33711 * conform/data/tar.h-data: Likewise.
33712 * conform/data/limits.h-data: Use "==" form on "constant" and
33713 "optional-constant" lines.
33714
1b8f2850
JM
33715 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33716 Use -std=c99 for XOPEN2K.
33717 (@knownproblems): Remove.
33718 (newtoken): Don't check %isknown.
33719
a05a144b
JM
33720 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33721 Do not expect macro.
33722 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33734 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33735 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33752 [XPG3] (acosh): Likewise.
33753 [XPG3] (asinh): Likewise.
33754 [XPG3] (atanh): Likewise.
33755 [XPG3] (cbrt): Likewise.
33756 [XPG3] (expm1): Likewise.
33757 [XPG3] (ilogb): Likewise.
33758 [XPG3] (log1p): Likewise.
33759 [XPG3] (logb): Likewise.
33760 [XPG3] (nextafter): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33763 [XPG3] (remainder): Likewise.
33764 [XPG3] (rint): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33772 [UNIX98 || XOPEN2K] (scalb): Expect.
33773 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33774 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33775 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33779 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33780 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33781 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33784 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33785 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33792 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33793 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33794 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33795 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33796 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33797 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33798 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33799 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33800 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33801 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33802 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33803 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33804 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33805 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33806 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33807 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33808 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33809 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33810 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33811 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33812 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33813 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33814 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33815 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33816 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33817 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33818 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33819 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33820 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33821 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33822 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33823 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33824 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33825 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33826 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33827 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33828 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33829 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33830 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33831 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33832 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33833 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33834 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33835 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33836 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33837 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33838 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33839 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33840 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33841 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33842 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33843 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33844 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33845 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33846 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33847 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33848 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33849 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33850 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33851 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33852 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33853 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33854 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33855 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33856 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33857 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33858 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33859 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33860 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33861 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33862 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33863 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33864 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33865 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33866 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33867 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33868 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33869 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33870 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33871 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33872 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33873 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33874 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33875 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33876 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33877 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33878 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33879 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33880 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33881 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33882 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33883 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33884 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33885 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33886 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33887 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33888 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33889 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33890 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33891 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33892 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33893 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33894 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33895 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33896 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33897 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33898 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33899 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33900 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33901 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33902 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33903 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33904 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33905 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33906 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33907 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33908 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33909 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33910
73c5ebe3
JM
33911 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33912 _XOPEN_SOURCE_EXTENDED for XPG4.
33913
39c33b6c
JM
33914 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33915
62fde54f
JM
33916 * Makeconfig (localtime): Remove variable.
33917 (inst_localtime-file): Likewise.
33918
0741d64c
AS
339192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33920
33921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33922 Update.
33923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33924 Update.
33925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33926 Update.
33927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33928 Update.
33929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33930 Update.
33931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33932 Update.
33933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33934 Update.
33935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33936 Update.
33937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33938 Update.
33939
7cb029ee
JM
339402012-05-01 Joseph Myers <joseph@codesourcery.com>
33941
33942 [BZ #2550]
33943 [BZ #2570]
33944 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33945 comparisons to determine direction to adjust input.
33946 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33947 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33948 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33949 Likewise.
33950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33951 Likewise.
33952 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33953 Likewise.
33954 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33956 Likewise.
33957 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33958 Likewise.
33959 * math/libm-test.inc (nexttoward_test): Add more tests.
33960
412bd966
AS
339612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33962
33963 [BZ #14040]
33964 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33965 in version GLIBC_2.1, not GLIBC_2.0.
33966 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33967 Likewise.
33968
9568c0c2
JM
339692012-04-30 Joseph Myers <joseph@codesourcery.com>
33970
adfbc8ac
JM
33971 [BZ #13942]
33972 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33973 (1 - x) * (1 + x).
33974 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33975 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33976 * math/libm-test.inc (acos_test): Add more tests.
33977 (asin_test): Likewise.
33978 * sysdeps/i386/fpu/libm-test-ulps: Update.
33979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33980
5ba3cc69
JM
33981 [BZ #14034]
33982 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33983 of square root.
33984 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33985 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33986 * math/libm-test.inc (acos_test_tonearest): New function.
33987 (acos_test_towardzero): Likewise.
33988 (acos_test_downward): Likewise.
33989 (acos_test_upward): Likewise.
33990 (asin_test_tonearest): Likewise.
33991 (asin_test_towardzero): Likewise.
33992 (asin_test_downward): Likewise.
33993 (asin_test_upward): Likewise.
33994 (main): Call the new functions.
33995 * sysdeps/i386/fpu/libm-test-ulps: Update.
33996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33997
9568c0c2
JM
33998 [BZ #13884]
33999 [BZ #13924]
34000 * math/e_exp10.c: Include <float.h>.
34001 (__ieee754_exp10): Handle underflow here rather than multiplying
34002 large negative argument by M_LN10.
34003 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34004 of __ieee754_expf.
34005 * math/e_exp10l.c: Include <float.h>.
34006 (__ieee754_exp10l): Handle underflow here rather than multiplying
34007 large negative argument by M_LN10l.
34008 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34009 spurious overflow exception on underflow.
34010
5ac3ea17
MP
340112012-04-29 Marek Polacek <polacek@redhat.com>
34012
34013 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34014 (__fortify_function): New macro.
34015 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34016 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34017 __extern_always_inline.
34018 * libio/bits/stdio2.h: Likewise.
34019 * libio/bits/stdio.h: Likewise.
34020 * string/string.h: Likewise.
34021 * string/bits/string3.h: Likewise.
34022 * include/stdio.h: Likewise.
34023 * stdlib/bits/stdlib.h: Likewise.
34024 * stdlib/stdlib.h: Likewise.
34025 * rt/bits/mqueue2.h: Likewise.
34026 * rt/mqueue.h: Likewise.
34027 * posix/bits/unistd.h: Likewise.
34028 * posix/unistd.h: Likewise.
34029 * io/bits/poll2.h: Likewise.
34030 * io/bits/fcntl2.h: Likewise.
34031 * io/fcntl.h: Likewise.
34032 * io/sys/poll.h: Likewise.
34033 * misc/bits/syslog.h: Likewise.
34034 * misc/bits/syslog-ldbl.h: Likewise.
34035 * misc/sys/syslog.h: Likewise.
34036 * socket/bits/socket2.h: Likewise.
34037 * socket/sys/socket.h: Likewise.
34038 * debug/tst-chk1.c: Likewise.
34039 * wcsmbs/bits/wchar2.h: Likewise.
34040 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34041 * wcsmbs/wchar.h: Likewise.
34042
ecf0ebfb
AJ
340432012-04-29 Andreas Jaeger <aj@suse.de>
34044
34045 * Makerules (tests): Remove enable-check-abi protection.
34046 (check-abi-warn): Remove.
34047 (check-abi-%): Remove check-abi-warn usage.
34048
34049 * configure.in: Remove check-abi configure option.
34050 * configure: Regenerated.
34051 * config.make.in (enable-check-abi): Remove.
34052
6d5c57fa
AS
340532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34054
24c5d07e 34055 [BZ #14033]
ded5180a
AS
34056 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34057 double functions to double *_finite functions.
34058
7e0d315d
AS
34059 [BZ #13941]
34060 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34061 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34062 LDBL_MIN_EXP.
34063 * stdio-common/Makefile (tests): Add tst-sprintf3.
34064 * stdio-common/tst-sprintf3.c: New file.
34065
6d5c57fa
AS
34066 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34067 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34068
0749ff8b
JM
340692012-04-28 Joseph Myers <joseph@codesourcery.com>
34070
34071 * conform/conformtest.pl: Remove duplicate typed-constant
34072 handling.
34073
8dbd5d7b
DM
340742012-04-28 David S. Miller <davem@davemloft.net>
34075
34076 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34077 (check-abi-%): Remove AWK script prerequisite and explicit
34078 abilist directory.
34079 (check-abi): Rewrite to just diff the symlist with the abilist.
34080 (config-tls, config-abi-config): Delete, no longer used.
34081 (update-abi-%): Remove AWK script and explicit abilist directory.
34082 (update-abi): Rewrite to simply compare and conditionally copy the
34083 symlist and the sysdep abilist file. Remove update-abi-config
34084 checks.
34085 * abilist/ld.abilist: Remove.
34086 * abilist/libBrokenLocale.abilist: Remove.
34087 * abilist/libanl.abilist: Remove.
34088 * abilist/libcrypt.abilist: Remove.
34089 * abilist/libdl.abilist: Remove.
34090 * abilist/librt.abilist: Remove.
34091 * abilist/libthread_db.abilist: Remove.
34092 * abilist/libutil.abilist: Remove.
34093 * scripts/extract-abilist.awk: Remove.
34094 * scripts/merge-abilist.awk: Remove.
34095 * sysdeps/generic/libcidn.abilist: New file.
34096 * sysdeps/generic/libnss_compat.abilist: New file.
34097 * sysdeps/generic/libnss_db.abilist: New file.
34098 * sysdeps/generic/libnss_dns.abilist: New file.
34099 * sysdeps/generic/libnss_files.abilist: New file.
34100 * sysdeps/generic/libnss_hesiod.abilist: New file.
34101 * sysdeps/generic/libnss_nis.abilist: New file.
34102 * sysdeps/generic/libnss_nisplus.abilist: New file.
34103 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34104 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34105 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34106 file.
34107 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34108 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34109 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34110 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34111 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34112 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34113 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34114 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34115 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34116 file.
34117 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34118 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34119 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34120 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34121 file.
34122 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34123 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34124 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34125 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34126 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34127 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34128 file.
34129 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34130 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34131 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34132 file.
34133 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34135 New file.
34136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34137 New file.
34138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34139 New file.
34140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34141 New file.
34142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34143 New file.
34144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34145 New file.
34146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34147 New file.
34148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34149 New file.
34150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34151 New file.
34152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34153 New file.
34154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34155 New file.
34156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34157 New file.
34158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34159 New file.
34160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34161 file.
34162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34163 New file.
34164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34165 New file.
34166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34167 file.
34168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34169 New file.
34170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34171 New file.
34172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34173 file.
34174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34175 New file.
34176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34177 New file.
34178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34179 New file.
34180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34181 New file.
34182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34183 New file.
34184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34185 New file.
34186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34188 file.
34189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34190 New file.
34191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34192 file.
34193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34194 file.
34195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34196 file.
34197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34198 file.
34199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34200 file.
34201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34202 New file.
34203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34204 file.
34205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34206 file.
34207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34208 New file.
34209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34210 file.
34211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34213 file.
34214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34215 New file.
34216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34217 file.
34218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34219 file.
34220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34221 file.
34222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34223 file.
34224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34225 file.
34226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34227 New file.
34228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34229 file.
34230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34231 file.
34232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34233 New file.
34234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34235 file.
34236 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34237 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34238 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34239 file.
34240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34241 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34242 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34243 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34244 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34245 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34246 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34247 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34248 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34249 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34252 file.
34253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34254 New file.
34255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34256 file.
34257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34258 file.
34259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34260 file.
34261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34262 file.
34263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34264 file.
34265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34266 New file.
34267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34268 New file.
34269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34270 file.
34271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34272 New file.
34273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34274 file.
34275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34277 file.
34278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34279 New file.
34280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34281 file.
34282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34283 file.
34284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34285 file.
34286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34287 file.
34288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34289 file.
34290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34291 New file.
34292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34293 New file.
34294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34295 file.
34296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34297 New file.
34298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34299 file.
34300
41d73a1b
JM
343012012-04-28 Joseph Myers <joseph@codesourcery.com>
34302
34303 * conform/conformtest.pl: Fix typo in handling typed-constant from
34304 allow-header.
34305
28aeeda4
JM
343062012-04-27 Joseph Myers <joseph@codesourcery.com>
34307
adae8f5e
JM
34308 * README: Cut down references to pre-2.6 Linux kernels and
34309 Linuxthreads. Update lists of configurations in libc and ports
34310 and sort alphabetically. Say "or newer" with Linux kernel version
34311 requirements.
34312
28aeeda4
JM
34313 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34314
a462cb63
RA
343152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34316
34317 [BZ #887]
34318 * math/libm-test.inc (logb_test_downward): New test to expose
34319 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34320 rounding mode.
34321
6ad3493e
JM
343222012-04-27 Joseph Myers <joseph@codesourcery.com>
34323
34324 [BZ #14027]
34325 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34326 to be done.
34327 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34328 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34329
2ce4f015
JM
343302012-04-26 Joseph Myers <joseph@codesourcery.com>
34331
5aeb141a
JM
34332 * sysdeps/unix/i386/brk.S: Remove file.
34333 * sysdeps/unix/i386/dl-brk.S: Likewise.
34334 * sysdeps/unix/i386/pipe.S: Likewise.
34335 * sysdeps/unix/i386/sigreturn.S: Likewise.
34336 * sysdeps/unix/i386/syscall.S: Likewise.
34337 * sysdeps/unix/i386/vfork.S: Likewise.
34338 * sysdeps/unix/i386/wait.S: Likewise.
34339
7143acae
JM
34340 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34341 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34342
2ce4f015
JM
34343 * configure.in (arm*-none*): Do not allow without
34344 --enable-hacker-mode.
34345 (netbsd*): Remove case setting base_os.
34346 (386bsd*): Likewise.
34347 (freebsd*): Likewise.
34348 (bsdi*): Likewise.
34349 (osf*): Likewise.
34350 (sunos*): Likewise.
34351 (ultrix*): Likewise.
34352 (newsos*): Likewise.
34353 (dynix*): Likewise.
34354 (*bsd*): Likewise.
34355 (sysv*): Likewise.
34356 (isc*): Likewise.
34357 (esix*): Likewise.
34358 (sco*): Likewise.
34359 (minix*): Likewise.
34360 (irix4*): Likewise.
34361 (irix6*): Likewise.
34362 (solaris[2-9]*): Likewise.
34363 (none): Likewise.
34364 * configure: Regenerated.
34365
0ac229c8
AZ
343662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34367
34368 [BZ #11521]
34369 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34370 overflow or cancellation in calculating denominator.
34371 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34372 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34373 down expression to avoid unexpected rounding in newer GCCs.
34374 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34375
33f244f4
DM
343762012-04-26 David S. Miller <davem@davemloft.net>
34377
34378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34379 long-double compat symbols.
34380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34393
cfa1f3e8
DM
343942012-04-25 David S. Miller <davem@davemloft.net>
34395
34396 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34397 HWCAP_* values only after the memory barriers have been defined.
34398 (atomic_full_barrier): Define.
34399 (atomic_read_barrier): Define.
34400 (atomic_write_barrier): Define.
34401
6e236b92
SP
344022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34403
34404 * shlib-versions: Add libgcc_s version information.
34405 * sysdeps/generic/libgcc_s.h: Remove.
34406 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34407 libgcc_s.h.
34408 * sysdeps/gnu/unwind-resume.c: Likewise.
34409 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34410
aab39a09
DM
344112012-04-25 David S. Miller <davem@davemloft.net>
34412
34413 * sysdeps/unix/sparc/brk.S: Delete.
34414 * sysdeps/unix/sparc/dl-brk.S: Delete.
34415 * sysdeps/unix/sparc/pipe.S: Delete.
34416 * sysdeps/unix/sparc/sysdep.S: Delete.
34417 * sysdeps/unix/sparc/sysdep.h: Delete.
34418 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34419 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34420 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34422 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34423 (JUMPTARGET): Remove.
34424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34425 sysdeps/unix/sparc/sysdep.h
34426 (ENTRY, END): Remove.
34427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34428
a3cc4f48
JM
344292012-04-25 Joseph Myers <joseph@codesourcery.com>
34430
2ed8cda2
JM
34431 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34432 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34433 -DIS_IN_build.
34434
35d76d59
JM
34435 * timezone/README: Update upstream location and email address for
34436 tzcode and tzdata.
34437 * timezone/zdump.c: Update from tzcode 2012b.
34438 * timezone/zic.c: Likewise.
34439
a3cc4f48
JM
34440 * configure.in (libc_cv_as_needed): Remove test.
34441 * configure: Regenerated.
34442 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34443 conditional definition.
34444 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34445 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34446 * config.make.in (have-as-needed): Remove variable.
34447
ceab42c3
SP
344482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34449 Paul Pluzhnikov <ppluzhnikov@google.com>
34450
34451 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34452 strings correctly.
34453
3ce2865f
CLT
344542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34455
34456 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34457 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34458 * sysdeps/sh/strlen.S: Likewise.
34459
f37e0d68
JM
344602012-04-24 Joseph Myers <joseph@codesourcery.com>
34461
ae186e9a
JM
34462 * sysdeps/unix/fork.S: Remove file.
34463 * sysdeps/unix/i386/fork.S: Likewise.
34464 * sysdeps/unix/sparc/fork.S: Likewise.
34465
b96914af
JM
34466 * sysdeps/unix/system.c: Remove file.
34467 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34468
f37e0d68
JM
34469 * sysdeps/unix/getegid.S: Remove file.
34470 * sysdeps/unix/geteuid.S: Likewise.
34471
87ef29ca
RM
344722012-04-24 Roland McGrath <roland@hack.frob.com>
34473
83bcd236
RM
34474 * scripts/check-localplt.awk: New file.
34475 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34476 of diff.
34477 * scripts/data/localplt-generic.data: Add a comment.
34478
87ef29ca
RM
34479 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34480 NODE when __dir_mkfile failed.
34481 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34482 Reported by Ludovic Courtès <ludo@gnu.org>.
34483
e5a6e567
AJ
344842012-04-24 Andreas Jaeger <aj@suse.de>
34485
34486 * Makerules (common-clean): Also remove gen-as-const-headers
34487 files.
34488
c1820385
JM
344892012-04-24 Joseph Myers <joseph@codesourcery.com>
34490
34491 * Makerules (native-compile): Do not change working directory for
34492 build. Use $(OUTPUT_OPTION) in command.
34493 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34494
94e02fc4
AZ
344952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34496
34497 [BZ #13886]
34498 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34499 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34500 * math/libm-test.inc (floor_test): Add more tests.
34501 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34502
3a533ca3
JM
345032012-04-24 Joseph Myers <joseph@codesourcery.com>
34504
940ab4b3
JM
34505 * sysdeps/unix/getdents.c: Remove file.
34506 * sysdeps/unix/sysv/getdents.c: Likewise.
34507 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34508
90e037bd
JM
34509 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34510 sysdeps/unix/mman/syscalls.list.
34511 (mmap): Likewise.
34512 (mprotect): Likewise.
34513 (msync): Likewise.
34514 (munmap): Likewise.
34515 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34516 * sysdeps/unix/mman/syscalls.list: Remove.
34517 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34518
3a533ca3
JM
34519 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34520 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34521 * configure: Regenerated.
34522 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34523 $(libgcc_s_suffix).
34524 * config.make.in (libgcc_s_suffix): Remove variable.
34525
1ad743de
JM
345262012-04-23 Joseph Myers <joseph@codesourcery.com>
34527
4ad451e2
JM
34528 * sysdeps/unix/sysv/gethostname.c: Move to ...
34529 * sysdeps/posix/gethostname.c: ... here.
34530
5e37ce39
JM
34531 * sysdeps/unix/execve.S: Remove file.
34532
1ad743de
JM
34533 * sysdeps/unix/_exit.S: Remove file.
34534
4e681b5b
AJ
345352012-04-23 Andreas Jaeger <aj@suse.de>
34536
34537 [BZ #13739]
34538 * manual/Makefile: Remove make dist support, there's no
34539 need for a stand-alone documentation tar ball.
34540 (TEXI2DVI): Define always, it's not in Makeconfig.
34541 (dist): Removed.
34542 (tar-it): Removed.
34543 (edition): Removed.
34544 (glibc-doc-$(edition).tar): Removed
34545 (%.Z): Removed.
34546 (%.gz): Removed.
34547 (%.uu): Removed.
34548 (ETAGS): Remove, it's in Makeconfig.
34549 (move-if-change): Remove, it's in Makeconfig.
34550
38686a03 345512012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34552
34553 [BZ #13970]
34554 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34555 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34556 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34557 (strtod_l, strtof_l, strtold_l): Remove __wur.
34558 It is not necessarily an error to ignore strtol's return value.
34559 One can reliably look at the stored endptr to decide whether
34560 the number had valid syntax.
34561
7c0616fa
AJ
345622012-04-21 Andreas Jaeger <aj@suse.de>
34563
803cb6b7 34564 [BZ #13739]
7c0616fa
AJ
34565 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34566
b0fe253f
JM
345672012-04-21 Joseph Myers <joseph@codesourcery.com>
34568
34569 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34570 * sysdeps/unix/sysv/Versions: Remove file.
34571
8280f22d
MT
345722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34573
34574 [BZ #13927]
34575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34576
75ce411f 345772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34578
34579 [BZ #7064]
34580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34581 version from __vm86.
34582
097d59fa
JM
345832012-04-20 Joseph Myers <joseph@codesourcery.com>
34584
a90f3bcb
JM
34585 * sysdeps/unix/common/lxstat.c: Remove file.
34586 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34587
edc7ea78
JM
34588 * sysdeps/unix/sysv/Makefile: Remove file.
34589
cb78c221
JM
34590 * sysdeps/unix/sysv/direct.h: Remove file.
34591
efa6a45f
JM
34592 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34593 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34594 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34595 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34596 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34597 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34598 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34599
9c9f2d0c
JM
34600 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34601
4541c83b
JM
34602 * sysdeps/unix/xmknod.c: Remove file.
34603 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34604
f5d153a0
JM
34605 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34606
aa746595
JM
34607 * sysdeps/unix/sysv/i386/time.S: Remove file.
34608
cce5905e
JM
34609 * sysdeps/unix/fxstat.c: Remove file.
34610 * sysdeps/unix/xstat.c: Likewise.
34611 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34612
37fa3841
JM
34613 * sysdeps/unix/sysv/sigaction.c: Remove file.
34614
ff1962a3
JM
34615 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34616 (sysdep_headers): Remove variable.
34617 [termio.h not in sysdep_headers] (generated): Likewise.
34618 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34619 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34620 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34621 * sysdeps/unix/sysv/tcflow.c: Likewise.
34622 * sysdeps/unix/sysv/tcflush.c: Likewise.
34623 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34624 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34625 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34626 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34627 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34628
e7740d31
JM
34629 * sysdeps/unix/siglist.c: Remove file.
34630
ee06f18b
JM
34631 * sysdeps/unix/getppid.S: Remove file.
34632
097d59fa
JM
34633 * sysdeps/unix/mkdir.c: Remove file.
34634 * sysdeps/unix/rmdir.c: Likewise.
34635
ff3d51ec
AS
346362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34637
34638 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34639 ERR_MAX value.
34640 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34641 errlist-compat value.
34642
50f81fd7
DM
346432012-04-18 David S. Miller <davem@davemloft.net>
34644
34645 * sysdeps/generic/memcopy.h (reg_char): Delete.
34646 * debug/strcat_chk.c: Use char, not reg_char.
34647 * debug/strcpy_chk.c: Likewise.
34648 * debug/strncat_chk.c: Likewise.
34649 * debug/strncpy_chk.c: Likewise.
34650 * string/memchr.c: Likewise.
34651 * string/memrchr.c: Likewise.
34652 * string/rawmemchr.c: Likewise.
34653 * string/strcat.c: Likewise.
34654 * string/strchr.c: Likewise.
34655 * string/strchrnul.c: Likewise.
34656 * string/strcmp.c: Likewise.
34657 * string/strcpy.c: Likewise.
34658 * string/strncat.c: Likewise.
34659 * string/strncmp.c: Likewise.
34660 * string/strncpy.c: Likewise.
34661
8ff41c46
WS
346622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34663
34664 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34665 __builtin_memcopy is called when src and dest ranges are known to not
34666 overlap.
34667
6b652f46
WS
346682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34669
34670 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34671 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34672 fwd_align_merge macro call.
34673 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34674 bwd_align_merge macro call.
34675 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34676
b282631e
WS
346772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34678
34679 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34680 bwd_align_merge macros.
34681 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34682 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34683 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34684
95aa737c
DM
346852012-04-18 David S. Miller <davem@davemloft.net>
34686
34687 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34688
7a99a614
AJ
346892012-04-18 Andreas Jaeger <aj@suse.de>
34690
34691 [BZ# 6794]
34692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34693 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34694 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34695
34696 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34697 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34698 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34699
34700 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34701 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34702 Adjust for changed ldbl-128 files.
34703
34704 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34705 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34706 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34707
e5270c23
DM
347082012-04-17 David S. Miller <davem@davemloft.net>
34709
34710 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34711
fb5e92c9
AS
347122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34713
34714 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34715 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34716 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34717 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34718 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34719 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34720
76da7265
AZ
347212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34722
34723 [BZ #6794]
34724 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34725 * math/libm-test.inc: Add ilogb errno and exception tests.
34726 * math/w_ilogb.c: New file: ilogb wrapper.
34727 * math/w_ilogbf.c: New file: ilogbf wrapper.
34728 * math/w_ilogbl.c: New file: ilogbl wrapper.
34729 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34730 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34731 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34732 exception being thrown with 0.0 as argument.
34733 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34734 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34735 exception being thrown with 0.0 as argument.
34736 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34737 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34738 exception being thrown with 0.0 as argument.
34739 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34740 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34741 exception being thrown with 0.0 as argument.
34742 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34743 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34744 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34745 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34746 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34747 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34748 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34749 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34750 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34751
0396e69d
PB
347522012-04-17 Petr Baudis <pasky@ucw.cz>
34753
34754 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34755 with altivec.
34756
750b5926
MP
347572012-04-16 Marek Polacek <polacek@redhat.com>
34758
34759 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34760
751728a1
MP
347612012-04-16 Marek Polacek <polacek@redhat.com>
34762
34763 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34764 operands of fdivp instruction.
34765
34a27407
L
347662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34767
34768 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34769 * elf/tst-auditmod3b.c: Likewise.
34770 * elf/tst-auditmod4b.c: Likewise.
34771 * elf/tst-auditmod5b.c: Likewise.
34772 * elf/tst-auditmod6b.c: Likewise.
34773 * elf/tst-auditmod6c.c: Likewise.
34774 * elf/tst-auditmod7b.c: Likewise.
34775 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34776 * sysdeps/x86_64/preconfigure.in: Likewise.
34777 * sysdeps/x86_64/preconfigure: Regenerated.
34778
7e73e17d
L
347792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34780
34781 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34782 __ILP32__.
34783
c7a6ab72
AB
347842012-04-13 Antoine Balestrat <merkil33@gmail.com>
34785
34786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34787 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34788
a9e8e0e0
CL
347892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34790
34791 [BZ #13973]
34792 * locale/iso-639.def: Fix gl language name. Spotted by
34793 Yaron Shahrabani.
34794
ec98af7d
RM
347952012-04-12 Roland McGrath <roland@hack.frob.com>
34796
34797 [BZ #2074]
34798 * libio/libio.h (__io_write_fn): Update comment.
34799
247c3ede
PB
348002012-04-12 Petr Baudis <pasky@ucw.cz>
34801
34802 [BZ #2074]
34803 * stdio.texi (Hook Functions): The user provided writer function
34804 is not allowed to return -1.
34805
55939d6d
DM
348062012-04-11 David S. Miller <davem@davemloft.net>
34807
34808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34809
90020f5a
MF
348102012-04-11 Mike Frysinger <vapier@gentoo.org>
34811
34812 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34813 Add a leading slash to rtkaio.
34814
288f9098
JM
348152012-04-11 Jim Meyering <meyering@redhat.com>
34816
90020f5a
MF
34817 [BZ #11959]
34818 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34819 It is not necessarily an error to ignore fwrite's return
34820 value. One can reliably use ferror to test for errors after
34821 the fact.
288f9098 34822
4be2b570
L
348232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34824
34825 * bits/types.h (__snseconds_t): New type.
34826 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34827
34828 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34830 (__SNSECONDS_T_TYPE): Likewise.
34831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34832 (__SNSECONDS_T_TYPE): Likewise.
34833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34834 (__SNSECONDS_T_TYPE): Likewise.
34835
288f9098 348362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34837
34838 [BZ #2636]
34839 * manual/time.texi (Processor Time): Return type of times is
34840 elapsed real time since an arbitrary point in the past.
34841 (CPU Time): Move CLK_TCK from here...
34842 (Processor Time): ...to here. Correct description.
34843 * manual/conf.texi (Constants for Sysconf): Correct description of
34844 _SC_CLK_TCK.
34845
d7dd4413
DM
348462012-04-10 David S. Miller <davem@davemloft.net>
34847
34848 [BZ #13967]
34849 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34850 where the is a gap between DT_REL(A) and DT_JMPREL.
34851
b46068fc
L
348522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34853
34854 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34855 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34856 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34857
73d65cc3
SP
348582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34859
34860 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34861 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34862 (dl_main): Handle --inhibit-cache.
34863 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34864 _dl_inhibit_cache.
34865 * elf/dl-load.c (_dl_map_object): Use it.
34866 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34867
bcc8d661
JM
348682012-04-09 Joseph Myers <joseph@codesourcery.com>
34869
8f9a2fae
JM
34870 [BZ #13872]
34871 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34872 (__ieee754_powl): Saturate large exponents rather than testing for
34873 overflow of y*log2(x).
34874 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34875 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34876 exceptions.
34877
bcc8d661
JM
34878 [BZ #11521]
34879 * math/s_ctan.c: Include <float.h>.
34880 (__ctan): Avoid internal overflow or cancellation in calculating
34881 denominator.
34882 * math/s_ctanf.c: Likewise.
34883 * math/s_ctanl.c: Likewise.
34884 * math/s_ctanh.c: Likewise.
34885 * math/s_ctanhf.c: Likewise.
34886 * math/s_ctanhl.c: Likewise.
34887 * math/libm-test.inc (ctan_test): Add more tests.
34888 (ctanh_test): Likewise.
34889 * sysdeps/i386/fpu/libm-test-ulps: Update.
34890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34891
823fbbb4
AJ
348922012-04-09 Andreas Jaeger <aj@suse.de>
34893
03879793
AJ
34894 [BZ #6894]
34895 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34896 is an optional BSD extension.
34897
823fbbb4
AJ
34898 [BZ #10254]
34899 * manual/stdio.texi (Opening Streams): Document additional fopen
34900 parameters.
34901
8de131cb
RM
349022012-04-09 Roland McGrath <roland@hack.frob.com>
34903
34904 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34905 %eax without telling the compiler.
34906
c0ed9d7d
CD
349072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34908
34909 [BZ # 13963]
34910 * manual/install.texi: Use sourceware.org.
34911
c483f6b4
JM
349122012-04-09 Joseph Myers <joseph@codesourcery.com>
34913
d7dd9453
JM
34914 [BZ #13873]
34915 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34916 (__ieee754_pow): Generate overflow and underflow using huge*huge
34917 and tiny*tiny rather than just returning constant infinity or zero
34918 for large exponents.
34919 * math/libm-test.inc (pow_test): Require overflow exceptions for
34920 applicable cases of large exponents.
34921
c483f6b4
JM
34922 [BZ #706]
34923 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34924 (__ieee754_pow): Use iterative multiplication algorithm only for
34925 integer exponents with absolute value below 1024. Check for odd
34926 integer exponents when using algorithm for real exponents.
34927 * math/libm-test.inc (pow_test): Add more tests.
34928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34929
d2de7579
JM
349302012-04-08 Joseph Myers <joseph@codesourcery.com>
34931
34932 [BZ #13705]
34933 * math/libm-test.inc (exp_test): Do not allow overflow exception
34934 on underflow test.
34935
f77f1232
AJ
349362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34937
34938 [BZ #13705]
34939 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34940 instead of __kernel_standard_f.
34941
3884932b
MF
349422012-04-08 Mike Frysinger <vapier@gentoo.org>
34943
34944 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34945 * sysdeps/x86_64/memset_chk.S: Likewise.
34946
54472e9c
AJ
349472012-04-08 Andreas Jaeger <aj@suse.de>
34948
6ab0fbfc
AJ
34949 [BZ #10153]
34950 * manual/startup.texi (Environment Access): Describe return value
34951 for putenv and setenv.
34952
61efba8c
AJ
34953 [BZ #6895]
34954 * manual/filesys.texi (Directory Entries): Add description for
34955 DT_LNK.
34956
95c3f29a
AJ
34957 [BZ #6890]
34958 * manual/filesys.texi (Directory Entries): Clarify that it's file
34959 system not operating system in the description of DT_UNKNOWN.
34960
54472e9c
AJ
34961 [BZ #6578]
34962 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34963
624254b1
SC
349642012-04-08 Stephen Compall <s11@member.fsf.org>
34965
34966 [BZ #6649]
34967 * manual/llio.texi (Opening and Closing Files): Add cross
34968 reference to explain mode argument.
34969
1e4920e0
MF
349702012-04-07 Mike Frysinger <vapier@gentoo.org>
34971
34972 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34973 * sysdeps/x86_64/memset_chk.S: Likewise.
34974
5ed848f3
DM
349752012-04-07 David S. Miller <davem@davemloft.net>
34976
34977 * elf/elf.h (R_SPARC_WDISP10): Define.
34978 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34979 R_SPARC_SIZE32.
34980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34981 R_SPARC_SIZE64 and R_SPARC_H34.
34982
96154cd8
CD
349832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34984
34985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34986 conditions and remove no longer applicable assertion.
34987
9904dc47
L
349882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34989
34990 * bits/byteswap.h: Include <features.h>.
34991 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34992 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34993
f8887d0a
L
349942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34995
34996 * bits/byteswap.h (__bswap_16): Removed.
34997 Include <bits/byteswap-16.h> to get __bswap_16.
34998 * sysdeps/i386/bits/byteswap.h: Likewise.
34999 * sysdeps/s390/bits/byteswap.h: Likewise.
35000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35001 * bits/byteswap-16.h: New file.
35002 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35003 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35004 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35005 * string/Makefile (headers): Add bits/byteswap-16.h.
35006
62470f60
PP
350072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35008
35009 [BZ #13895]
35010 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35011 extra indirection.
35012 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35013 * nss/tst-nss-static.c: New.
35014
4dad7bab
RM
350152012-04-06 Robert Millan <rmh@gnu.org>
35016
35017 [BZ #6486]
35018 * manual/llio.texi (File Position Primitive): lseek
35019 refers to WHENCE when it really means OFFSET.
35020
e9142a17
AJ
350212012-04-06 Andreas Jaeger <aj@suse.de>
35022
2c040eff
AJ
35023 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35024 strncmp declarations.
35025
e9142a17
AJ
35026 * abilist/libc.abilist: Add __poll and __ppoll.
35027
ff9f1c5f
DM
350282012-04-05 David S. Miller <davem@davemloft.net>
35029
dcd2ae90
DM
35030 * scripts/check-local-headers.sh: Accept a host triplet in the
35031 path matched by the exclude regexp.
35032
993eb054
DM
35033 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35034 definition.
35035 * sysdeps/powerpc/powerpc32/dl-machine.h
35036 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35037 * sysdeps/s390/s390-32/dl-machine.h
35038 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35039 * sysdeps/sparc/sparc32/dl-machine.h
35040 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35041 * sysdeps/sparc/sparc64/dl-machine.h
35042 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35043
ff9f1c5f
DM
35044 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35045 lazy binding.
48e2e132 35046 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35047 undefined symbol errors.
35048
48e2e132 35049 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35050 DT_NEEDED entries.
35051
e80d6f94
MM
350522012-04-05 Michael Matz <matz@suse.de>
35053
35054 [BZ #13592]
35055 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35056
349fa79f
AJ
350572012-04-05 Andreas Jaeger <aj@suse.de>
35058
35059 [BZ #13908]
35060 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35061 comment.
35062
f402708f
KK
350632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35064
35065 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35066 which ROUND is no valid rounding mode.
35067
2ecccfc9
KK
350682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35069
35070 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35071 read again.
35072 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35073
8a53f50f
KK
350742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35075
35076 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35077 an exception using FPU order intentionally.
35078
350792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35080
35081 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35082 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35083 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35084 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35085
d653abb7
SJ
350862012-04-05 Simon Josefsson <simon@josefsson.org>
35087
35088 [BZ #12340]
35089 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35090 EINVAL when BUFLEN is too smal.
35091
c3b1bf7d
TS
350922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35093
35094 [BZ #13553]
35095 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35096 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35097
b1aa60f3
AJ
350982012-04-03 Andreas Jaeger <aj@suse.de>
35099
c3b1bf7d 35100 [BZ #13938]
67f60a26
AJ
35101 * manual/setjmp.texi (System V contexts): Fix sentence.
35102
b1aa60f3
AJ
35103 [BZ #13926]
35104 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35105 New macro for this case.
35106 [!__GNUC__] (__bswap_64): New inline function for this case.
35107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35108 * bits/byteswap.h: Likewise.
35109 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35110 ull, guard with __GLIBC_HAVE_LONG_LONG.
35111
35112 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35113 __GLIBC_HAVE_LONG_LONG.
35114
35115 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35116 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35117
39c59c35
TMQMF
351182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35119
35120 [BZ #13691]
35121 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35122 inptr and inend, rather than using last_ch.
35123
135ffda8
DM
351242012-04-02 David S. Miller <davem@davemloft.net>
35125
35126 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35127 * stdio-common/printf-parse.h (read_int): Change return type to
35128 'int', return -1 on INT_MAX overflow.
35129 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35130 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35131 overflows INT_MAX. Check for overflow of in-format-string precision
35132 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35133 SIZE_MAX not INT_MAX for integer overflow test.
35134 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35135 skip the construct in the format string but do not record anything.
35136 * stdio-common/bug22.c: Adjust to test both width/prevision
35137 INT_MAX overflow as well as total length INT_MAX overflow. Check
35138 explicitly for proper errno values.
35139
228c019e
TS
351402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35141
302cadd3
TS
35142 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35143 CHAR_MAX.
35144 * string/test-strcmp.c [! WIDE]: Likewise.
35145 * time/tst-mktime2.c: Likewise for INT_MAX.
35146 * string/test-string.h: #include <sys/param.h> for MIN.
35147
228c019e
TS
35148 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35149 * sysdeps/i386/init-first.c (init): Likewise.
35150 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35151 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35152 * sysdeps/sh/init-first.c (init): Likewise.
35153
cfa633f5
UD
351542012-04-01 Ulrich Drepper <drepper@gmail.com>
35155
35156 * po/ru.po: Update from translation team.
d1635ef8 35157 * po/vi.po: Likewise.
cfa633f5 35158
6cd0a5ea
SP
351592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35160
35161 * resolv/nss_dns/dns-host.c: Merge copyright years.
35162
4b43400f
LD
351632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35164
35165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35166 Optimize memcpy with prefetch if
35167 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35168 src, dst pointers have unequal 16 byte alignments.
35169
48c41d04
SP
351702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35171
35172 [BZ #13928]
35173 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35174 from a CNAME entry and return the minimum ttl for the query.
35175 (gaih_getanswer_slice): Likewise.
35176
b8dc394d
JL
351772012-03-30 Jeff Law <law@redhat.com>
35178
35179 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35180 due to long keys.
35181 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35182 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35183
2f5a5ed0
JL
35184 * resolv/nss_dns/dns-host.c: Update copyright year.
35185
1d39e359
UD
351862012-03-30 Ulrich Drepper <drepper@gmail.com>
35187
c030f70c 35188 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35189 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35190
1d39e359
UD
35191 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35192 comments for sendmmsg.
35193
351942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35195
35196 [BZ #13691]
35197 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35198 with only 1 character between 0x0041 and 0x01b0.
35199 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35200 * wcsmbs/tst-mbsnrtowcs.c: New file.
35201
20fde227
DM
352022012-03-29 David S. Miller <davem@davemloft.net>
35203
35204 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35205 small copies by hand.
35206
984a4237
JL
352072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35208
35209 [BZ #13761]
57f41c40
AS
35210 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35211 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35212 group memberships.
984a4237 35213
18c9d62b
DM
352142012-03-28 David S. Miller <davem@davemloft.net>
35215
88d85d4f
DM
35216 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35217 that branches into memcpy.
35218 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35220 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35221 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35223 bits.
35224 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35225 implementation too.
35226 * sysdeps/sparc/mempcpy.S: New file.
35227
e5aa83e1
DM
35228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35229 the IFUNC routine in the libc case.
35230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35231
88570753
DM
35232 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35233 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35234 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35235 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35236 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35237 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35238 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35239 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35240
249d7567
DM
35241 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35242 loop to 256 bytes instead of 64 bytes and fix test signedness.
35243
18c9d62b
DM
35244 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35245 * sysdeps/sparc/sparc32/Makefile: rather than here...
35246 * sysdeps/sparc/sparc64/Makefile: and here.
35247
05f3d1f6
UD
352482012-03-28 Ulrich Drepper <drepper@gmail.com>
35249
35250 * malloc/mallocbug.c: Avoid warnings about unused variables.
35251
86ae07a8
JL
352522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35253
35254 [BZ #13760]
35255 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35256 in the right place. Discard and retry query if response is
35257 larger than input buffer size.
35258
41bf21a1
JM
352592012-03-28 Joseph Myers <joseph@codesourcery.com>
35260
d6270972
JM
35261 [BZ #369]
35262 [BZ #2678]
35263 [BZ #3866]
35264 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35265 x for large integer exponent.
35266 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35267 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35268 sign of result as needed afterwards.
35269 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35270 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35271 result for underflowing pow the same as for overflow.
35272 (__kernel_standard_l): Handle powl overflow and underflow here
35273 rather than calling __kernel_standard.
35274 * math/libm-test.inc (pow_test): Add more tests.
35275
414fca03 35276 [BZ #3868]
41bf21a1
JM
35277 [BZ #13879]
35278 [BZ #13910]
35279 [BZ #13911]
35280 [BZ #13912]
35281 [BZ #13913]
35282 [BZ #13915]
35283 [BZ #13916]
35284 [BZ #13917]
35285 [BZ #13918]
35286 [BZ #13919]
35287 [BZ #13920]
35288 [BZ #13921]
35289 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35290 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35291 (__kernel_standard_l): New function.
35292 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35293 __kernel_standard.
35294 * math/w_acosl.c (__acosl): Likewise.
35295 * math/w_asinl.c (__asinl): Likewise.
35296 * math/w_atan2l.c (__atan2l): Likewise.
35297 * math/w_atanhl.c (__atanhl): Likewise.
35298 * math/w_coshl.c (__coshl): Likewise.
35299 * math/w_exp10l.c (__exp10l): Likewise.
35300 * math/w_exp2l.c (__exp2l): Likewise.
35301 * math/w_fmodl.c (__fmodl): Likewise.
35302 * math/w_hypotl.c (__hypotl): Likewise.
35303 * math/w_j0l.c (__j0l, __y0l): Likewise.
35304 * math/w_j1l.c (__j1l, __y1l): Likewise.
35305 * math/w_jnl.c (__jnl, __ynl): Likewise.
35306 * math/w_lgammal.c (__lgammal): Likewise.
35307 * math/w_log10l.c (__log10l): Likewise.
35308 * math/w_log2l.c (__log2l): Likewise.
35309 * math/w_logl.c (__logl): Likewise.
35310 * math/w_powl.c (__powl): Likewise.
35311 * math/w_remainderl.c (__remainderl): Likewise.
35312 * math/w_scalbl.c (sysv_scalbl): Likewise.
35313 * math/w_sinhl.c (__sinhl): Likewise.
35314 * math/w_sqrtl.c (__sqrtl): Likewise.
35315 * math/w_tgammal.c (__tgammal): Likewise.
35316 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35317 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35318 * math/libm-test.inc (acos_test): Add more tests.
35319 (acosh_test): Likewise.
35320 (asin_test): Likewise.
35321 (atanh_test): Likewise.
35322 (exp_test): Likewise.
35323 (exp10_test): Likewise.
35324 (exp2_test): Likewise.
35325 (expm1_test): Likewise.
35326 (lgamma_test): Likewise.
35327 (log_test): Likewise.
35328 (log10_test): Likewise.
35329 (log1p_test): Likewise.
35330 (log2_test): Likewise.
35331 (pow_test): Do not allow some spurious overflow exceptions.
35332 (sqrt_test): Add more tests.
35333 (tgamma_test): Likewise.
35334 (y0_test): Likewise.
35335 (y1_test): Likewise.
35336 (yn_test): Likewise.
35337
dd62fda6
AB
353382012-03-27 Anton Blanchard <anton@samba.org>
35339
35340 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35341 MAP_HUGETLB.
35342 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35343 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35345
1e3cdfda
AJ
353462012-03-27 David S. Miller <davem@davemloft.net>
35347
b855ab85
DM
35348 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35349
1e3cdfda
AJ
35350 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35351 have-as-vis3 check.
35352
353532012-03-27 Andreas Jaeger <aj@suse.de>
35354
35355 * sysdeps/x86_64/elf/configure.in: Moved to ...
35356 * sysdeps/x86_64/configure.in: ... here.
35357 * sysdeps/x86_64/elf/start.S: Moved to ...
35358 * sysdeps/x86_64/start.S: ... here.
35359 * sysdeps/x86_64/elf/configure: Delete.
35360
35361 * sysdeps/x86_64/configure.in: Merge contents from
35362 sysdeps/i386/configure.in (without i686 check).
35363
35364 * sysdeps/i386/elf/Versions: Merge into ...
35365 * sysdeps/i386/Versions: ... this.
35366 * sysdeps/i386/elf/Versions: Delete file.
35367 * sysdeps/i386/elf/start.S: Moved to ...
35368 * sysdeps/i386/start.S: ...here.
35369 * sysdeps/i386/elf/configure.in: Merge into...
35370 * sysdeps/i386/configure.in: ...here.
35371 * sysdeps/i386/elf/configure.in: Delete file.
35372 * sysdeps/i386/elf/configure: Delete file.
35373
35374 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35375 * debug/backtracesyms.c: ... here.
35376 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35377 * debug/backtracesymsfd.c: ... here.
35378 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35379 * sysdeps/generic/ifunc-sel.h: ... here.
35380
35381 * sysdeps/unix/i386/start.c: Delete file.
35382 * sysdeps/unix/sparc/start.c: Delete file.
35383 * sysdeps/unix/start.c: Delete file.
35384
35385 * sysdeps/sh/elf/configure.in: Moved to ...
35386 * sysdeps/sh/configure.in: ... here.
35387 * sysdeps/sh/elf/start.S: Moved to ...
35388 * sysdeps/sh/start.S: ... here.
35389 * sysdeps/sh/elf/configure: Delete file.
35390
35391 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35392 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35393 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35394 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35395 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35396 * sysdeps/powerpc/powerpc64/start.S: here.
35397 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35398 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35399 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35400 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35401 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35402
35403 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35404 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35405 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35406 * sysdeps/powerpc/powerpc32/start.S: ... here.
35407 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35408 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35409 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35410
35411 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35412 * sysdeps/powerpc/ifunc-sel.h: ... here.
35413 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35414 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35415
35416 * sysdeps/sparc/elf/configure.in: Moved to ...
35417 * sysdeps/sparc/configure.in: ... here.
35418 * sysdeps/sparc/elf/configure: Delete file.
35419 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35420 * sysdeps/sparc/sparc32/start.S: ... here.
35421 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35422 * sysdeps/sparc/sparc64/start.S: ... here.
35423 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35424 * sysdeps/sparc/sparc32/Makefile: ... this.
35425 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35426 * sysdeps/sparc/sparc64/Makefile: ... this.
35427
35428 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35429 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35430 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35431 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35432 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35433 * sysdeps/s390/s390-32/setjmp.S: ... here.
35434 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35435 * sysdeps/s390/s390-32/configure.in: ... here.
35436 * sysdeps/s390/s390-32/elf/configure: Delete file.
35437 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35438 * sysdeps/s390/s390-32/start.S: ... here.
35439
35440 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35441 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35442 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35443 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35444 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35445 * sysdeps/s390/s390-64/setjmp.S: ... here.
35446 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35447 * sysdeps/s390/s390-64/configure.in: ... here
35448 * sysdeps/s390/s390-64/elf/configure: Delete file.
35449 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35450 * sysdeps/s390/s390-64/start.S: ... here.
35451 * sysdeps/s390/s390-64/elf/configure: Delete.
35452
35453 * configure.in: Remove support for elf directories in sysdeps.
35454
35455 * configure: Regenerated.
35456 * sysdeps/i386/configure: Regenerated.
35457 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35458 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35459 * sysdeps/s390/s390-32/configure: Regenerated.
35460 * sysdeps/s390/s390-64/configure: Regenerated.
35461 * sysdeps/sh/configure: Regenerated.
35462 * sysdeps/sparc/configure: Regenerated.
35463 * sysdeps/x86_64/configure: Regenerated.
35464
a3f61311
AS
354652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35466
c876e002
AS
35467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35468
a3f61311
AS
35469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35470 denormal result into account.
35471
ac4c54f0
RM
354722012-03-25 Roland McGrath <roland@hack.frob.com>
35473
35474 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35475 Reported by Allan McRae <allan@archlinux.org>.
35476
6a9b9c02
JL
354772012-03-23 Jeff Law <law@redhat.com>
35478
35479 * nss/getnssent.c (__nss_getent): Fix typo.
35480
4c42a0c1
DM
354812012-03-23 David S. Miller <davem@davemloft.net>
35482
35483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35484
1532c7ac
L
354852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35486
35487 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35488 to pad to uint64_t for each field.
35489 (dl_tls_index): Replace unsigned long with uint64_t.
35490
3ff42526
PP
354912012-03-23 Daniel Jacobowitz <dmj@google.com>
35492 Paul Pluzhnikov <ppluzhnikov@google.com>
35493
35494 [BZ #6528]
35495 * grp/Makefile (otherlibs): Don't set it.
35496 * inet/Makefile (otherlibs): Likewise.
35497 * login/Makefile (otherlibs): Likewise.
35498 * nscd/Makefile (otherlibs): Likewise.
35499 * posix/Makefile (otherlibs): Likewise.
35500 * pwd/Makefile (otherlibs): Likewise.
35501 * rt/Makefile (otherlibs): Likewise.
35502 * sunrpc/Makefile (otherlibs): Likewise.
35503 * nss/Makefile (otherlibs): Likewise.
35504 Add libnss_files to routines and static-only-routines.
35505 ($(objpfx)getent): Remove rule.
35506 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35507 static-only-routines.
35508
7c69cd14
JM
355092012-03-22 Joseph Myers <joseph@codesourcery.com>
35510
35511 [BZ #13892]
35512 * math/s_cexp.c: Include <float.h>.
35513 (__cexp): Handle exp result overflowing not necessarily
35514 overflowing both real and imaginary parts of result.
35515 * math/s_cexpf.c: Likewise.
35516 * math/s_cexpl.c: Likewise.
35517 * math/libm-test.inc (cexp_test): Add more tests.
35518 * sysdeps/i386/fpu/libm-test-ulps: Update.
35519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35520
81b035fe
L
355212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35522
35523 * include/link.h (ELFW): New macro.
35524 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35525 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35526
1da7940c
L
355272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35528
35529 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35530 with uint64_t.
35531
b749dbb9
L
355322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35533
35534 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35535 declaration.
35536 (struct La_x32_retval): Likewise.
35537
2ff87f3f
L
355382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35539
35540 * sysdeps/x86_64/preconfigure.in: New file.
35541 * sysdeps/x86_64/preconfigure: New generated file.
35542
c0df8e69
JM
355432012-03-22 Joseph Myers <joseph@codesourcery.com>
35544
48e44791
JM
35545 [BZ #13824]
35546 * math/e_exp2l.c: Include <float.h>.
35547 (__ieee754_exp2l): Handle overflow and underflow cases
35548 separately. Only pass fractional part of argument to
35549 __ieee754_expl.
35550 * math/libm-test.inc (exp2_test): Add more tests.
35551
c0df8e69
JM
35552 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35553 negating x to take absolute value.
35554 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35555 Likewise.
35556 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35557 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35558 Likewise.
35559 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35560 computing low part if x was negated.
35561 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35562
c8e43ba7
L
355632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35564
35565 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35566 la_x32_gnu_pltexit.
35567 (pltexit): Cast int_retval to ptrdiff_t.
35568 * elf/tst-auditmod3b.c: Likewise.
35569 * elf/tst-auditmod4b.c: Likewise.
35570 * elf/tst-auditmod5b.c: Likewise.
35571 * elf/tst-auditmod6b.c: Likewise.
35572 * elf/tst-auditmod6c.c: Likewise.
35573 * elf/tst-auditmod7b.c: Likewise.
35574
35575 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35576 and x32_gnu_pltexit.
35577
35578 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35579 __ELF_NATIVE_CLASS.
35580 (La_x32_regs): New macro.
35581 (La_x32_retval): Likewise.
35582 (la_x32_gnu_pltenter): New function prototype.
35583 (la_x32_gnu_pltexit): Likewise.
35584
7998fa78
AS
355852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35586
dcb33988
AS
35587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35588 exponent.
35589
233fc563
AS
35590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35591
7998fa78
AS
35592 * configure.in (libc_cv_cc_nofma): Check for option to disable
35593 generation of FMA instructions.
35594 * configure: Regenerate.
35595 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35596 * sysdeps/ieee754/dbl-64/Makefile: New file.
35597 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35598 Remove brandred-fma4.
35599 (CFLAGS-brandred-fma4.c): Remove.
35600 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35602 define.
35603 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35604 define.
35605
8e95c99a
L
356062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35607
35608 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35609 LLONG_MAX != LONG_MAX.
35610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35611 (_fitoa_word): Likewise.
35612 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35613 LLONG_MAX != LONG_MAX.
35614 * stdio-common/_itowa.h: Include <_itoa.h>.
35615 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35616 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35617 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35618 only if not defined.
35619 (_ITOA_WORD_TYPE): Likewise.
35620 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35621 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35622
6f4db457
DM
356232012-03-21 David S. Miller <davem@davemloft.net>
35624
35625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35626
7785fe5a
L
356272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35628
35629 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35630 of x86_64 when setting libc_cv_slibdir, libdir and
35631 libc_cv_localedir.
35632 * sysdeps/unix/sysv/linux/configure: Regenerated.
35633
4535cd55
JM
356342012-03-21 Joseph Myers <joseph@codesourcery.com>
35635
35636 * manual/lang.texi (Old Varargs): Remove section.
35637 (How Variadic): Update menu.
35638 (va_start): Do not mention varargs.h.
35639
17228132
TS
356402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35641 Joseph Myers <joseph@codesourcery.com>
35642
35643 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35644 link test.
35645 * configure: Regenerated.
35646
8149f976
TS
356472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35648
05f3d1f6
UD
35649 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35650 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35651 conformtest.pl
8149f976 35652
1a4ac776
JM
356532012-03-21 Joseph Myers <joseph@codesourcery.com>
35654
be22ce65
JM
35655 * NOTES: Remove.
35656 * Makefile (files-for-dist): Remove NOTES.
35657 (NOTES): Remove rule.
35658 * README: Don't refer to NOTES.
35659 * manual/creature.texi: Don't include macros.texi.
35660 * manual/intro.texi (creature.texi): Remove comment referring to
35661 NOTES.
35662
40b601fb
JM
35663 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35664 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35665 * configure: Regenerated.
35666 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35667 LIBC_TRY_CC_OPTION.
35668 (libc_cv_as_i686): Likewise.
35669 (libc_cv_cc_avx): Likewise.
35670 (libc_cv_cc_sse2avx): Likewise.
35671 (libc_cv_cc_fma4): Likewise.
35672 (libc_cv_cc_novzeroupper): Likewise.
35673 * sysdeps/i386/configure: Regenerated.
35674
1a4ac776
JM
35675 [BZ #13883]
35676 * sysdeps/i386/fpu/s_cexp.S: Remove.
35677 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35678 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35679 * math/libm-test.inc (cexp_test): Add more tests.
35680 * sysdeps/i386/fpu/libm-test-ulps: Update.
35681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35682
a458e7fe
AM
356832012-03-21 Allan McRae <allan@archlinux.org>
35684
35685 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35686
0cb7efc5
JM
356872012-03-21 Joseph Myers <joseph@codesourcery.com>
35688
35689 [BZ #13871]
35690 * math/w_exp2.c: Do not include <float.h>.
35691 (o_threshold, u_threshold): Remove.
35692 (__exp2): Calculate result before checking finiteness and calling
35693 __kernel_standard.
35694 * math/w_exp2f.c: Likewise.
35695 * math/w_exp2l.c: Likewise.
35696 * math/libm-test.inc (exp2_test): Require overflow exception for
35697 1e6 input.
2460d3aa
JM
35698
35699 [BZ #3866]
35700 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35701 range of signed 64-bit integers before using fistpll. Remove
35702 checks for whether integers fit in mantissa bits.
35703 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35704 the range of signed 32-bit integers before using fistpl. Remove
35705 checks for whether integers fit in mantissa bits.
35706 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35707 (__ieee754_powl): Test for y outside the range of signed 64-bit
35708 integers before using fistpll. Reduce 64-bit values to 63-bit
35709 ones as needed.
35710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35711 divide-by-zero is raised for zero to large negative powers.
35712 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35713 (__ieee754_powl): Test for y outside the range of signed 64-bit
35714 integers before using fistpll. Reduce 64-bit values to 63-bit
35715 ones as needed.
35716 * math/libm-test.inc (pow_test): Add more tests.
35717
eb96ffb0
L
357182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35719
35720 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35721 <stdio-common/_itoa.h>.
35722 * debug/segfault.c: Likewise.
35723 * elf/dl-cache.c: Likewise.
35724 * elf/dl-minimal.c: Likewise.
35725 * elf/dl-misc.c: Likewise.
35726 * elf/dl-sysdep.c: Likewise.
35727 * elf/dl-version.c: Likewise.
35728 * elf/rtld.c: Likewise.
35729 * hurd/hurdsock.c: Likewise.
35730 * hurd/lookup-retry.c: Likewise.
35731 * malloc/malloc.c: Likewise.
35732 * malloc/mtrace.c: Likewise.
35733 * nscd/nscd_getgr_r.c: Likewise.
35734 * nscd/nscd_getpw_r.c: Likewise.
35735 * nscd/nscd_getserv_r.c: Likewise.
35736 * posix/getopt_init.c: Likewise.
35737 * posix/wordexp.c: Likewise.
35738 * stdio-common/_itoa.c: Likewise.
35739 * stdio-common/printf_fphex.c: Likewise.
35740 * stdio-common/vfprintf.c: Likewise.
35741 * string/_strerror.c: Likewise.
35742 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35743 * sysdeps/i386/i686/hp-timing.h: Likewise.
35744 * sysdeps/mach/_strerror.c: Likewise.
35745 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35746 * sysdeps/mach/hurd/sethostid.c: Likewise.
35747 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35748 * sysdeps/mach/xpg-strerror.c: Likewise.
35749 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35750 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35751 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35752 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35753 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35754 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35755 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35756 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35757 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35758 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35759 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35760 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35761 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35762 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35763 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35764 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35765 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35766 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35767 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35768 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35769 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35770
35771 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35772
35773 * stdio-common/_itoa.h: Moved to ...
35774 * sysdeps/generic/_itoa.h: Here.
35775
35776 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35777
35778 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35779 instead of "_itoa.h" and "_itowa.h".
35780 * stdio-common/vfprintf.: Likewise.
35781
d1af992d
L
357822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35783
35784 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35785 <bits/wordsize.h>.
35786 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35787 (__signbit): Likwise.
35788 (llrintf): Likwise.
35789 (llrint): Likwise.
35790
114883e0
L
357912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35792
35793 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35794 __WORDSIZE != 64.
35795
c135cc1b
JM
357962012-03-20 Joseph Myers <joseph@codesourcery.com>
35797
35798 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35799 OVERFLOW_EXCEPTION_OK.
35800 * math/libm-test.inc ("Philosophy"): Update comment about
35801 exception testing.
35802 (OVERFLOW_EXCEPTION): Define.
35803 (OVERFLOW_EXCEPTION_OK): Likewise.
35804 (INVALID_EXCEPTION_OK): Renumber.
35805 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35806 (IGNORE_ZERO_INF_SIGN): Likewise.
35807 (test_exceptions): Handle FE_OVERFLOW.
35808 (exp10_test): Expect overflow exceptions.
35809 (exp2_test): Likewise.
35810 (expm1_test): Likewise.
35811 (nextafter_test): Likewise.
35812 (pow_test): Likewise.
35813 (scalbn_test): Likewise.
35814 (scalbln_test): Likewise.
35815
95443d88
L
358162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35817
35818 * sysdeps/x86_64/bits/atomic.h
35819 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35820 64bit integer.
35821 (atomic_exchange_acq): Likewise.
35822 (__arch_exchange_and_add_body): Likewise.
35823 (__arch_add_body): Likewise.
35824 (atomic_add_negative): Likewise.
35825 (atomic_add_zero): Likewise.
35826
490df6c4
L
358272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35828
c2722551 35829 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35830 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35831
5e52b189
L
358322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35833
35834 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35835 Check __x86_64__ instead of __WORDSIZE.
35836
a9879d4c
L
358372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35838
35839 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35840
5df98260
DM
358412012-03-19 David S. Miller <davem@davemloft.net>
35842
e1497744
DM
35843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35844
5df98260
DM
35845 * sysdeps/sparc/fpu/fenv_private.h: New file.
35846 * sysdeps/sparc/fpu/math_private.h: Use it.
35847 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35848 Remove.
57f41c40 35849 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35850 (libc_feholdexcept_setroundl): Remove.
35851 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35852 Remove.
35853 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35854 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35855
b4c35121
L
358562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35857
35858 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35859 int64_t instead of long int.
35860 (INSERT_WORDS64): Likwise.
35861
56965fd7
L
358622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35863
35864 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35865 _Unwind_GetCFA return to _Unwind_Ptr first.
35866
83d1aec8
JM
358672012-03-19 Joseph Myers <joseph@codesourcery.com>
35868
1897ad44
JM
35869 [BZ #13629]
35870 * math/s_clog.c: Include <float.h>.
35871 (__clog): Scale large or subnormal inputs.
35872 * math/s_clogf.c: Likewise.
35873 * math/s_clogl.c: Likewise.
35874 * math/s_clog10.c: Include <float.h>.
35875 (M_LOG10_2): Define.
35876 (__clog10): Scale large or subnormal inputs.
35877 * math/s_clog10f.c: Likewise.
35878 * math/s_clog10l.c: Likewise.
35879 * math/libm-test.inc (clog_test): Add more tests.
35880 (clog10_test): Likewise.
35881 * sysdeps/i386/fpu/libm-test-ulps: Update.
35882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35883
7726d6a9
JM
35884 [BZ #11451]
35885 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35886 x and y.
35887 * math/libm-test.inc (atan2_test): Add another test.
35888
83d1aec8
JM
35889 * Makerules (common-objdir-compile): Remove.
35890 * sysdeps/unix/Makefile (config-generated): Do not add
35891 $(unix-generated) to variable.
35892 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35893 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35894 Remove rule.
35895 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35896 Likewise.
35897 [generic bits/local_lim.h] (before-compile): Do not append to
35898 variable.
35899 [generic bits/local_lim.h] (common-generated): Likewise.
35900 [generic sys/param.h] (before-compile): Do not append to variable.
35901 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35902 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35903 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35904 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35905 include.
35906 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35907 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35908 [generic sys/param.h] ($(addprefix
35909 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35910 [generic sys/param.h] (common-generated): Do not append to
35911 variable.
35912 [generic sys/param.h] (sysdep_headers): Likewise.
35913 [generic bits/errno.h] (before-compile): Do not append to
35914 variable.
35915 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35916 rule.
35917 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35918 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35919 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35920 [generic bits/errno.h] (common-generated): Do not append to
35921 variable.
35922 [generic bits/ioctls.h] (before-compile): Do not append to
35923 variable.
35924 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35925 rule.
35926 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35927 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35928 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35929 rule.
35930 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35931 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35932 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35933 [generic bits/ioctls.h] (common-generated): Do not append to
35934 variable.
35935 [generic sys/syscall.h] (syscall.h): Remove variable.
35936 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35937 rule.
35938 [generic sys/syscall.h] (before-compile): Do not append to
35939 variable.
35940 [generic sys/syscall.h] (common-generated): Likewise.
35941 * sysdeps/unix/errnos-tmpl.c: Remove file.
35942 * sysdeps/unix/errnos.awk: Likewise.
35943 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35944 * sysdeps/unix/ioctls.awk: Likewise.
35945 * sysdeps/unix/mk-local_lim.c: Likewise.
35946 * sysdeps/unix/snarf-ioctls: Likewise.
35947
4851a949
RH
359482012-03-19 Richard Henderson <rth@twiddle.net>
35949
bd37f2ee
RH
35950 * sysdeps/i386/fpu/fenv_private.h: New file.
35951 * sysdeps/i386/fpu/math_private.h: Use it.
35952 (math_opt_barrier, math_force_eval): Remove.
35953 (libc_feholdexcept_setround_53bit): Remove.
35954 (libc_feupdateenv_53bit): Remove.
35955 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35956 (math_opt_barrier, math_force_eval): Remove.
35957 (libc_feholdexcept): Remove.
35958 (libc_feholdexcept_setround): Remove.
35959 (libc_fetestexcept, libc_fesetenv): Remove.
35960 (libc_feupdateenv_test): Remove.
35961 (libc_feupdateenv, libc_feholdsetround): Remove.
35962 (libc_feresetround): Remove.
35963
d0adc922
RH
35964 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35965 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35966
0fe0f1f8
RH
35967 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35968 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35969 (libc_feupdateenv_testl): New.
35970 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35971 (libc_feupdateenv_testf): New.
35972 (libc_feupdateenv): Use libc_feupdateenv_test.
35973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35974 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35975
eb92c487
RH
35976 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35977 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35978 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35979 (libc_feresetround_noex): New.
35980 (libc_feresetround_noexf): New.
35981 (libc_feresetround_noexl): New.
35982 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35983 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35984 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35985 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35986 SET_RESTORE_ROUND.
35987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35989 (__cos): Likewise.
35990 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35991 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35992 SET_RESTORE_ROUND_NOEX.
35993 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35994 SET_RESTORE_ROUND_NOEXF.
35995 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35996 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35997 (libc_feholdsetroundf): New.
35998 (libc_feresetround, libc_feresetroundf): New.
35999
7d2e8012
RH
36000 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36001 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36002 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36003
b4dabbb4
RH
36004 * sysdeps/generic/math_private.h: Include <fenv.h>.
36005 (default_libc_feholdexcept): New.
36006 (default_libc_feholdexcept_setround): New.
36007 (default_libc_fesetenv, default_libc_feupdateenv): New.
36008 (libc_feholdexcept): Only define if undefined.
36009 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36010 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36011 (libc_feholdexcept_setroundl): Likewise.
36012 (libc_feholdexcept_setround_53bit): Likewise.
36013 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36014 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36015 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36016 (libc_feupdateenv_53bit): Likewise.
36017 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36018 (libc_feholdexcept): Convert from macro to inline function.
36019 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36020 (libc_fesetenv, libc_feupdateenv): Likewise.
36021
4851a949
RH
36022 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36023 not previously defined.
36024 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36025 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36026 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36027 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36028 * sysdeps/ieee754/flt-32/math_private.h: New file.
36029 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36030 math_private.h below SET_FLOAT_WORD.
36031 (__isnan, __isinf_ns, __finite): Remove.
36032 (__isnanf, __isinf_nsf, __finitef): Remove.
36033
e79d442e
AS
360342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36035
36036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36037
90b80344
DM
360382012-03-17 David S. Miller <davem@davemloft.net>
36039
36040 [BZ #6471]
36041 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36042 for 2.16.
36043
edc21804
DM
360442012-03-16 David S. Miller <davem@davemloft.net>
36045
77e927af
DM
36046 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36047 warnings.
36048
374976dd
DM
36049 [BZ #6471]
36050 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36051 properly.
36052 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36053 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36054 sysdep_routines when subdir is sysvipc.
36055 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36056 __getshmlba helper.
36057
edc21804
DM
36058 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36059
473c3ef3
L
360602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36061
36062 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36063 [__LP64__].
36064
eb0f39b6
L
360652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36066
36067 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36068 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36069 (__lround): Renamed to ...
36070 (__llround): This. Replace long int with long long int.
36071 Define lround functions as aliases of llround functions.
36072 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36073
6b6cd74b
L
360742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36075
36076 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36077 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36078 adresses to uintptr_t. Replace "long int" and "unsigned long
36079 int" with "greg_t" on va_arg.
36080
f1a77b01
L
360812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36082
36083 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36084 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36085
36086 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36087 Move e_machine check before EI_CLASS check. Handle x32
36088 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36089 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36090 SKIP_EM_IA_64 and include
36091 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36092
36093 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36094 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36095 (add_system_dir): New macro.
36096
36097 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36098 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36099
11b90b9f
JM
361002012-03-16 Joseph Myers <joseph@codesourcery.com>
36101
c36e1d23
JM
36102 [BZ #2551]
36103 [BZ #2552]
36104 [BZ #2553]
36105 [BZ #2554]
36106 [BZ #2562]
36107 [BZ #2563]
36108 [BZ #2565]
36109 [BZ #2566]
36110 [BZ #2576]
36111 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36112 (y0): Likewise.
36113 * math/w_j0f.c (j0f): Likewise.
36114 (y0f): Likewise.
36115 * math/w_j0l.c (__j0l): Likewise.
36116 (__y0l): Likewise.
36117 * math/w_j1.c (j1): Likewise.
36118 (y1): Likewise.
36119 * math/w_j1f.c (j1f): Likewise.
36120 (y1f): Likewise.
36121 * math/w_j1l.c (__j1l): Likewise.
36122 (__y1l): Likewise.
36123 * math/w_jn.c (jn): Likewise.
36124 (yn): Likewise.
36125 * math/w_jnf.c (jnf): Likewise.
36126 (ynf): Likewise.
36127 * math/w_jnl.c (__jnl): Likewise.
36128 (__ynl): Likewise.
36129 * math/libm-test.inc (j0_test): Add more tests.
36130 (j1_test): Likewise.
36131 (jn_test): Likewise. Add trailing semicolon to existing test.
36132 (y0_test): Likewise.
36133 (y1_test): Likewise.
36134 * sysdeps/i386/fpu/libm-test-ulps: Update.
36135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36136
11b90b9f
JM
36137 [BZ #13851]
36138 [BZ #13854]
36139 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36140 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36141 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36142 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36143 (__tanl): Set errno for infinite argument.
36144 * sysdeps/i386/fpu/mptan.c: Remove.
36145 * sysdeps/i386/fpu/s_tan.S: Likewise.
36146 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36147 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36148 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36149 * math/libm-test.inc (tan_test): Add more tests and enable more
36150 tests for double and long double.
36151 * sysdeps/i386/fpu/libm-test-ulps: Update.
36152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36153
6a1bd2a1
JK
361542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36155
36156 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36157 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36158
10a803e0
RM
361592012-03-16 Roland McGrath <roland@hack.frob.com>
36160
36161 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36162 * configure.in: Use it for both main tree and add-ons.
36163 * configure: Regenerated.
36164
f196c7f7
L
361652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36166
36167 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36168
8848d99d
JM
361692012-03-16 Joseph Myers <joseph@codesourcery.com>
36170
96cbe7f4
JM
36171 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36172 in comment.
36173
8848d99d
JM
36174 [BZ #13851]
36175 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36176 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36180 infinite argument.
36181 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36182 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36183 != 0 for prec == 2.
36184 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36185 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36186 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36187 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36188 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36189 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36190 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36191 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36192 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36193 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36194 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36195 * math/libm-test.inc (cos_test): Add more tests and enable more
36196 tests for long double.
36197 (sin_test): Likewise.
36198 (sincos_test): Likewise.
36199 * sysdeps/i386/fpu/libm-test-ulps: Update.
36200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36201
dd7f4703
DM
362022012-03-16 David S. Miller <davem@davemloft.net>
36203
36204 * sysdeps/sparc/fpu/math_private.h: New file.
36205
006f1daa
DM
362062012-03-15 David S. Miller <davem@davemloft.net>
36207
c0c83bc8
DM
36208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36209 file.
e6a62e18 36210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36212 file.
e6a62e18
DM
36213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36219 sysdep routines.
36220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36221
88cb87d9
DM
36222 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36223 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36224
006f1daa 36225 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36227 sparc-ifunc.h
006f1daa 36228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36230 Likewise.
36231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36232 Likewise.
006f1daa
DM
36233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36237 Likewise.
006f1daa
DM
36238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36243 Likewise.
36244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36245 Likewise.
006f1daa
DM
36246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36252 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36253 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36270
11e0098e
AS
362712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36272
36273 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36274 scaling.
36275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36276
e85b09d0
AJ
362772012-03-15 Andreas Jaeger <aj@suse.de>
36278
36279 [BZ #13852]
36280 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36281 ieee754/flt-32 implementation for sin, cos and sincos.
36282 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36283 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36284 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36285 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36286 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36287 ieee754/flt-32 implementation for tan.
36288
36289 * math/libm-test.inc (cos_test): Enable some large input tests for
36290 float as well
36291 (sin_test): Likewise.
36292 (sincos_test): Likewise.
36293 (tan_test): Add tests for large input.
36294
36295 * sysdeps/i386/fpu/libm-test-ulps: Update.
36296
81c64153
AJ
362972012-03-15 Andreas Jaeger <aj@suse.de>
36298
36299 [BZ #13658]
36300 * math/libm-test.inc (cos_test): Add more test cases.
36301 (sin_test): Likewise.
36302 (sincos_test): Likewise.
36303
7bbfa5c6
AJ
363042012-03-15 Andreas Jaeger <aj@suse.de>
36305
36306 [BZ #13837]
36307 * math/libm-test.inc (cos_test): Add a test case for large input
36308 value.
36309 (sin_test): Likewise.
36310 (sincos_test): Likewise.
36311
57f41c40
AS
363122012-03-15 Andreas Jaeger <aj@suse.de>
36313 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36314
36315 [BZ #13658]
0671f479 36316 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36317 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36318 * sysdeps/i386/fpu/branred.c: Likewise.
36319 * sysdeps/i386/fpu/dosincos.c: Likewise.
36320 * sysdeps/i386/fpu/mpa.c: Likewise.
36321 * sysdeps/i386/fpu/s_cos.S: Likewise.
36322 * sysdeps/i386/fpu/s_sin.S: Likewise.
36323 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36324 * sysdeps/i386/fpu/sincos32.c: Likewise.
36325
36326 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36327 Define.
36328 (libc_feupdateenv_53bit): Define.
36329 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36330 Define.
36331 (libc_feupdateenv_53bit): Define.
36332
36333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36334 53 bit (without extend i386 double precision).
36335
36336 * math/libm-test.inc (sincos_test): Add tests for large input.
36337 (sin): Likewise.
36338 (cos): Likewise.
36339
36340 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36341
9cad04ea
AS
363422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36343
36344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36345
f7062b9a
DM
363462012-03-15 David S. Miller <davem@davemloft.net>
36347
36348 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36349 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36350 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36351 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36364 file.
f7062b9a 36365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36367 file.
f7062b9a 36368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36370 file.
f7062b9a 36371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36373 file.
f7062b9a
DM
36374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36376 fmin/fmax sysdep routines.
36377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36378
7bd951ff
DM
363792012-03-14 David S. Miller <davem@davemloft.net>
36380
559398ab
DM
36381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36410 routines.
36411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36412 file.
559398ab 36413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36415 file.
559398ab 36416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36418 file.
559398ab 36419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36421 file.
559398ab 36422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36424 file.
559398ab 36425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36427 file.
36428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36429 file.
36430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36431 file.
36432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36433 file.
36434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36435 New file.
36436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36437 file.
36438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36439 file.
559398ab 36440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36442 file.
559398ab 36443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36445 file.
559398ab 36446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36448 file.
559398ab 36449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36451 VIS3 routines.
559398ab
DM
36452
36453 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36454 New file.
36455
5a1c1e32
DM
36456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36457
eae47a36
DM
36458 * sysdeps/sparc/configure.in: New file.
36459 * sysdeps/sparc/configure: Generate.
36460 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36461 * configure: Regenerate.
36462 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36463 * config.make.in (have-as-vis3): New.
36464 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36465 available use -Av9d instead of -Av9a.
36466 * sysdeps/sparc/sparc64/Makefile: Likewise.
36467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36469 New file.
36470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36471 file.
36472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36473 New file.
36474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36475 file.
eae47a36
DM
36476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36481
c0c83bc8
DM
36482 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36483 fzeros/fnegs to load 0x80000000 into a float register instead of
36484 using the stack.
7bd951ff
DM
36485 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36486
bd951ccb
JM
364872012-03-14 Joseph Myers <joseph@codesourcery.com>
36488
36489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36490 bits/syscall.h.
36491 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36492 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36493 ($(inst_includedir)/bits/syscall.h): Remove rule.
36494 ($(objpfx)bits/syscall.d): Include instead of
36495 $(objpfx)syscall-list.d.
36496 (generated): Change syscall-list.h and syscall-list.d to
36497 bits/syscall.h and bits/syscall.d.
36498
bb4e6db2
RM
364992012-03-14 Roland McGrath <roland@hack.frob.com>
36500
36501 [BZ #13846]
36502 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36503
aa4a2ae1
JM
365042012-03-14 Joseph Myers <joseph@codesourcery.com>
36505
e456826d
JM
36506 [BZ #13841]
36507 * math/s_csqrt.c: Include <float.h>.
36508 (__csqrt): Scale large or subnormal inputs.
36509 * math/s_csqrtf.c: Likewise.
36510 * math/s_csqrtl.c: Likewise.
36511 * math/libm-test.inc (csqrt_test): Add more tests.
36512 * sysdeps/i386/fpu/libm-test-ulps: Update.
36513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36514
aa4a2ae1
JM
36515 [BZ #13840]
36516 * math/libm-test.inc (hypot_test): Add more tests.
36517
7c10fd35
DM
365182012-03-13 David S. Miller <davem@davemloft.net>
36519
36520 [BZ #13840]
36521 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36522 double-precision for the calculation instead of scaling.
36523
f453b98b
JM
365242012-03-13 Joseph Myers <joseph@codesourcery.com>
36525
36526 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36527 manipulate bits before adding and subtracting TWO52[sx].
36528 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36530 Likewise.
36531 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36532
09a3453f
DM
365332012-03-13 David S. Miller <davem@davemloft.net>
36534
8e59da90
DM
36535 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36536 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36538 rtld-global-offsets.h
36539 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36540
2a8ab7f2
DM
36541 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36542 large parameters.
36543
10f62770
DM
36544 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36545
5f0bdb18
DM
36546 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36547 'err' in the ifdef scope in which it is actually used.
36548
09a3453f
DM
36549 * nss/nss_db/db-init.c: Include string.h
36550
b4b2eb5e
DM
365512012-03-12 David S. Miller <davem@davemloft.net>
36552
98bb2f1c
DM
36553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36554 masking out of the most significant byte of random value used.
36555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36556 Fix coding style in previous change.
36557
b4b2eb5e
DM
36558 * sysdeps/unix/sysv/linux/kernel-features.h
36559 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36560 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36561 expression.
36562 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36563 later.
36564
6e226b09
DM
365652012-03-11 David S. Miller <davem@davemloft.net>
36566
a1bcbd40
DM
36567 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36568 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36569 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36570 for 'resultvar' otherwise things get truncated on 64-bit.
36571
cb9d6174
DM
36572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36573 Fix masking out of the most significant byte of random value used.
36574
6e226b09
DM
36575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36576
058c132d
AS
365772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36578
36579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36580
2d2cd515
DM
365812012-03-09 David S. Miller <davem@davemloft.net>
36582
36583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36584 variables with appropriate CPP guards.
57f41c40
AS
36585 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36586 from the frame pointer, not the stack pointer. Correct layout
36587 comments. Fix test on resulting framesize and the management of
36588 the outregs buffer for pltexit. Preserve floating point return
36589 values across _dl_call_pltexit call.
2d2cd515
DM
36590 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36591 framesize and the management of the outregs buffer for pltexit.
36592 Preserve floating point return values across _dl_call_pltexit
36593 call.
57f41c40
AS
36594 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36595 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36596 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36597 (print_exit): Fix format string for return register value.
36598
9a07f9d0
JM
365992012-03-10 Joseph Myers <joseph@codesourcery.com>
36600
36601 * sunrpc/Makefile (others): Add rpcgen.
36602 ($(objpfx)rpcgen): Remove special build rule and dependency on
36603 libc.
36604 * sunrpc/rpcgen.c: New file.
36605
547b5e30
PE
366062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36607
c524201a
PE
36608 [BZ #13673]
36609 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36610 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36611 * sysdeps/i386/crti.S: Likewise.
36612 * sysdeps/i386/crtn.S: Likewise.
36613 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36614 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36615 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36616 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36617 * sysdeps/sh/crti.S: Likewise.
36618 * sysdeps/sh/crtn.S: Likewise.
36619 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36620
7b6235f2
PE
36621 [BZ #13673]
36622 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36623 with URL.
36624 * locale/programs/locfile-kw.gperf: Likewise.
36625 * locale/programs/charmap-kw.h: Regenerated.
36626 * locale/programs/locfile-kw.h: Likewise.
36627
547b5e30
PE
36628 [BZ #13673]
36629 * intl/plural.y: Replace FSF snail mail address with URL.
36630 * intl/plural.c: Regenerated.
36631
5f0a5dae
RH
366322012-03-09 Richard Henderson <rth@twiddle.net>
36633
36634 * include/math_private.h: Remove file.
36635 * math/math_private.h: Move file ...
36636 * sysdeps/generic/math_private.h: ... here.
36637
b8c03620
RH
36638 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36639 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36640 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36641
4e234f5d 36642 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36643 and <math_private.h>.
36644 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36645 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36646 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36647 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36648 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36649 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36650 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36652 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36656 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36658 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36659 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36663 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36665 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36666 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36668 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36670 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36674 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36676 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36681 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36682 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36684 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36685 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36686 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36687 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36688 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36689 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36690 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36691 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36692 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36694 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36695 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36696 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36697 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36698 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36699 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36702 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36703 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36705 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36707 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36708 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36709 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36710 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36711 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36712 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36715 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36718 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36724 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36726 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36727 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36728 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36731 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36732 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36733 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36734 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36735 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36737 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36738 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36739 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36740 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36741 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36742 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36743 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36744 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36745 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36746 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36747 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36748 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36749 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36750 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36751 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36756 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36758 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36759 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36760 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36761 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36763 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36764 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36765 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36766 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36767 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36768 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36769 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36770 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36771 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36772 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36773 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36774 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36775 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36776 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36777 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36778 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36779 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36780 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36781 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36782 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36783 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36785 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36786 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36787 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36788 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36789 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36790 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36791 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36792 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36793 * sysdeps/ieee754/k_standard.c: Likewise.
36794 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36795 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36796 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36797 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36798 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36800 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36801 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36802 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36803 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36804 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36805 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36806 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36807 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36808 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36809 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36811 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36812 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36813 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36814 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36815 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36817 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36819 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36821 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36824 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36825 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36827 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36828 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36829 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36833 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36834 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36839 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36845 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36846 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36847 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36850 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36851 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36852 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36861 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36866 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36867 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36871 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36873 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36874 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36876 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36877 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36878 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36879 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36882 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36884 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36885 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36886 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36887 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36890 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36891 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36892 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36893 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36898 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36901 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36902 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36903 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36904 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36905 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36906 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36907 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36908 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36909 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36910 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36911 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36912 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36913 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36914 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36915 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36916 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36917 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36918 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36919 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36920 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36921 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36922 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36923 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36924 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36925 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36926 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36927 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36928 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36929 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36930 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36931 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36932 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36933 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36934 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36935 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36936 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36937 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36938 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36939 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36940 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36941 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36942 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36943 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36944 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36945 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36948 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36949 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36950 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36951 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36952 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36953 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36954 * sysdeps/ieee754/s_lib_version.c: Likewise.
36955 * sysdeps/ieee754/s_matherr.c: Likewise.
36956 * sysdeps/ieee754/s_signgam.c: Likewise.
36957 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36958 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36959 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36960 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36961 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36962 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36963 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36964 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36965 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36966 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36967 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36968 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36969 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36970 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36971 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36972 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36973 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36974 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36975 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36978
1991fa03
JM
369792012-03-09 Joseph Myers <joseph@codesourcery.com>
36980
36981 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36982 * sunrpc/rpc_main.c: Likewise.
36983 * sunrpc/rpc_svcout.c: Likewise.
36984
60d6f5a6
DM
369852012-03-09 David S. Miller <davem@davemloft.net>
36986
36987 * include/math_private.h: New file.
36988
4962050e
JM
369892012-03-09 Joseph Myers <joseph@codesourcery.com>
36990
02a6f887
JM
36991 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36992 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36993 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36994 from <bits/socket_type.h>.
36995 (enum __socket_type): Don't define here.
36996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36998 bits/socket_type.h.
36999
c6e013c1
JM
37000 [BZ #13566]
37001 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37002 checking __USE_GNU.
37003
4962050e
JM
37004 * Makerules ($(inst_includedir)/%.h): New rule.
37005 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37006 (install-others): Remove variable setting.
37007 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37008
38842f45
RH
370092012-03-08 Richard Henderson <rth@twiddle.net>
37010
67bb6da6
RH
37011 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37012 from macro to inline function; merge with the
37013 !__LIBC_INTERNAL_MATH_INLINES version.
37014 (__ieee754_sqrtf): Likewise.
37015
15194b4b
RH
37016 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37017 to inline function.
37018 (__rintf, __floor, __floorf): Likewise.
37019
64e21ede
RH
37020 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37021 macro to inline function.
37022 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37023
38842f45
RH
37024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37025 not <math/math_private.h>.
37026
c64bf5fe
DM
370272012-03-08 David S. Miller <davem@davemloft.net>
37028
37029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37030 copyright year.
37031 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37032
82d86f28
TS
370332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37034
37035 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37036 normalization.
37037 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37038 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37039
aea5d727
UD
370402012-03-08 Ulrich Drepper <drepper@gmail.com>
37041
37042 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37043 be defined individually, they must be defined as a block. Define
37044 S for printing a string instead of hidint the different by using a
37045 macro for adding the 'l'.
37046 * stdio-common/tst-fphex-wide.c: Adjust.
37047
70bca0a3
MP
370482012-03-07 Marek Polacek <polacek@redhat.com>
37049
37050 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37051
65b81130
MP
370522012-03-08 Marek Polacek <polacek@redhat.com>
37053
37054 [BZ #13806]
37055 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37056 * stdio-common/tst-fphex.c: Define a few macros to make the
37057 test reusable. Use them.
37058 * stdio-common/tst-fphex-wide.c: New file.
37059
07037eeb
JM
370602012-03-08 Joseph Myers <joseph@codesourcery.com>
37061
a7a93d50
JM
37062 [BZ #6911]
37063 * manual/macros.texi (gnusystems): New macro.
37064 (nongnusystems): Likewise.
37065 (gnulinuxhurdsystems): Likewise.
37066 (gnuhurdsystems): Likewise..
37067 (gnulinuxsystems): Likewise.
37068 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37069 variants of the GNU system, not "GNU system".
37070 * manual/conf.texi: Likewise.
37071 * manual/errno.texi: Likewise. Update example of errno macro
37072 expansion.
37073 * manual/filesys.texi: Likewise.
37074 (getumask): Document as specific to GNU/Hurd.
37075 * manual/install.texi: Likewise. Reword some references to
37076 GNU/Linux.
37077 * manual/intro.texi: Likewise.
37078 * manual/io.texi: Likewise.
37079 (File Name Portability): Detail which constraints are inapplicable
37080 to all GNU systems and which are only inapplicable to GNU/Hurd.
37081 * manual/job.texi: Likewise.
37082 * manual/llio.texi: Likewise.
37083 (O_NOCTTY): Document as present on GNU/Linux.
37084 * manual/maint.texi: Likewise.
37085 * manual/memory.texi: Likewise.
37086 * manual/pattern.texi: Likewise.
37087 * manual/pipe.texi: Likewise.
37088 * manual/process.texi: Likewise.
37089 * manual/resource.texi: Likewise.
37090 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37091 child on GNU/Hurd.
37092 * manual/setjmp.texi: Likewise.
37093 * manual/signal.texi: Likewise.
37094 * manual/startup.texi: Likewise.
37095 * manual/stdio.texi: Likewise.
37096 * manual/terminal.texi: Likewise.
37097 (ONLCR): Document as POSIX.
37098 (OXTABS): Document availability on GNU/Linux as XTABS.
37099 (ONOEOT): Document availability separately from other bits.
37100 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37101 * manual/time.texi: Likewise.
37102 * manual/users.texi: Likewise.
37103 * INSTALL: Regenerated.
37104 * sysdeps/gnu/errlist.c: Regenerated.
37105
07037eeb
JM
37106 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37107 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37108 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37109 puts.
37110 * configure: Regenerated.
37111
d1d3431a
JM
371122012-03-07 Joseph Myers <joseph@codesourcery.com>
37113
af6a1e37
JM
37114 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37115 default includes instead of AC_HEADER_CHECK.
37116 * sysdeps/i386/configure: Regenerated.
37117
d1d3431a
JM
37118 [BZ #10716]
37119 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37120 * math/s_cacoshf.c (__cacoshf): Likewise.
37121 * math/s_cacoshl.c (__cacoshl): Likewise.
37122 * math/s_casinh.c (__casinh): Set signs of result from argument.
37123 * math/s_casinhf.c (__casinhf): Likewise.
37124 * math/s_casinhl.c (__casinhl): Likewise.
37125 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37126 (casinh_test): Add more tests.
37127 * sysdeps/i386/fpu/libm-test-ulps: Update.
37128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37129
482ff4da
UD
371302012-03-07 Ulrich Drepper <drepper@gmail.com>
37131
872fda05
UD
37132 * po/zh_TW.po: Update from translation team.
37133
a4300c7a
UD
37134 * login/Makefile (distribute): Remove variable.
37135 * catgets/Makefile: Likewise.
37136 * mach/Makefile: Likewise.
37137 * malloc/Makefile: Likewise.
37138 * misc/Makefile: Likewise.
37139 * iconv/Makefile: Likewise.
37140 * nscd/Makefile: Likewise.
37141 * hurd/Makefile: Likewise.
37142 * manual/Makefile: Likewise.
37143 * locale/Makefile: Likewise.
37144 * intl/Makefile: Likewise.
37145 * conform/Makefile: Likewise.
37146 * nss/Makefile: Likewise.
37147 * time/Makefile: Likewise.
37148 * soft-fp/Makefile: Likewise.
37149 * dirent/Makefile: Likewise.
37150 * gmon/Makefile: Likewise.
37151 * po/Makefile: Likewise.
37152 * rt/Makefile: Likewise.
37153 * socket/Makefile: Likewise.
37154 * math/Makefile: Likewise.
37155 * signal/Makefile: Likewise.
37156 * debug/Makefile: Likewise.
37157 * elf/Makefile: Likewise.
37158 * timezone/Makefile: Likewise.
37159 * stdlib/Makefile: Likewise.
37160 * iconvdata/Makefile: Likewise.
37161 * sunrpc/Makefile: Likewise.
37162 * io/Makefile: Likewise.
37163 * argp/Makefile: Likewise.
37164 * inet/Makefile: Likewise.
37165 * hesiod/Makefile: Likewise.
37166 * grp/Makefile: Likewise.
37167 * csu/Makefile: Likewise.
37168 * wctype/Makefile: Likewise.
37169 * crypt/Makefile: Likewise.
37170 * libio/Makefile: Likewise.
37171 * string/Makefile: Likewise.
37172 * nis/Makefile: Likewise.
37173 * resolv/Makefile: Likewise.
37174 * stdio-common/Makefile: Likewise.
37175 * wcsmbs/Makefile: Likewise.
37176 * dlfcn/Makefile: Likewise.
37177 * posix/Makefile: Likewise.
37178
3b7c4e74 37179 [BZ #6959]
482ff4da
UD
37180 * timezone/Makefile: Don't install timezone files, just the programs
37181 and scripts.
37182
f72ed77d
UD
371832012-03-06 Ulrich Drepper <drepper@gmail.com>
37184
a000466f
UD
37185 * nss/databases.def: Add missing gshadow entry.
37186
f72ed77d
UD
37187 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37188
a53b7a4e
MP
371892012-03-06 Marek Polacek <polacek@redhat.com>
37190
37191 [BZ #13726]
37192 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37193 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37194 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37195 * stdio-common/tst-long-dbl-fphex.c: New file.
37196
e9258400
DM
371972012-03-06 David S. Miller <davem@davemloft.net>
37198
37199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37200 (set_obp_int): New function.
37201 (get_obp_int): New function.
37202 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37204 Avoid unused variable warnings on 'val' and use builtin_expect.
37205 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37206 __builtin_expect.
e9258400
DM
37207 (INLINE_CLONE_SYSCALL): Likewise.
37208
3bd2c723
DM
372092012-03-05 David S. Miller <davem@davemloft.net>
37210
37211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37212
bbb78d03
AS
372132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37214
884c5db4
AS
37215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37216
bbb78d03
AS
37217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37218 only for |x| >= 40.
37219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37220
1c9f702a 372212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37222
37223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37224 Replace gettimeofday with __vdso_gettimeofday.
37225
7be16f82
RM
37226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37227 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37228 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37229
37230 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37231 time with __vdso_time.
37232
ed58a00f
JM
372332012-03-05 Joseph Myers <joseph@codesourcery.com>
37234
37235 * manual/lang.texi (size_t): Note types to which size_t may be
37236 equivalent with the GNU C Library, but do not describe when
37237 differences between them are significant.
37238
30ee4ced
AJ
372392012-03-05 Andreas Jaeger <aj@suse.de>
37240
37241 * sysdeps/i386/fpu/libm-test-ulps: Update.
37242
b7cd39e8
JM
372432012-03-05 Joseph Myers <joseph@codesourcery.com>
37244
37245 [BZ #3976]
37246 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37247 (__ieee754_pow): Save and restore rounding mode and use
37248 round-to-nearest for main computations.
37249 * math/libm-test.inc (pow_test_tonearest): New function.
37250 (pow_test_towardzero): Likewise.
37251 (pow_test_downward): Likewise.
37252 (pow_test_upward): Likewise.
37253 (main): Call the new functions.
37254 * sysdeps/i386/fpu/libm-test-ulps: Update.
37255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37256
37257 [BZ #3976]
37258 * math/libm-test.inc (cosh_test_tonearest): New function.
37259 (cosh_test_towardzero): Likewise.
37260 (cosh_test_downward): Likewise.
37261 (cosh_test_upward): Likewise.
37262 (sinh_test_tonearest): Likewise.
37263 (sinh_test_towardzero): Likewise.
37264 (sinh_test_downward): Likewise.
37265 (sinh_test_upward): Likewise.
37266 (main): Call the new functions.
37267 * sysdeps/i386/fpu/libm-test-ulps: Update.
37268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37269
6c6a98c9
TV
372702012-03-05 Tom de Vries <tom@codesourcery.com>
37271
37272 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37273 default stack guard is set in last bytes.
37274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37275
21bb2d2e 372762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37277
21bb2d2e 37278 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37279
21bb2d2e
AJ
37280 [BZ #13656]
37281 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37282 possibly allocate from heap instead of stack.
37283 * stdio-common/bug-vfprintf-nargs.c: New file.
37284 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37285
c6922934
AS
372862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37287
37288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37289
bc957d53
MP
372902012-03-03 Marek Polacek <polacek@redhat.com>
37291
37292 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37293 * math/math_private.h: Likewise.
37294 * stdlib/tst-strtod.c: Likewise.
37295 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37296 * sysdeps/x86_64/bits/atomic.h: Likewise.
37297
6358490d
DM
372982012-03-02 David S. Miller <davem@davemloft.net>
37299
37300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37304 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37305 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37306 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37307 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37308
01ae168d
RM
373092012-03-02 Roland McGrath <roland@hack.frob.com>
37310
d9a17c07
RM
37311 [BZ #13792]
37312 * manual/examples/README: New file, says the example source files
37313 can be used under GPL>=2.
37314 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37315 line containing just "*/".
37316 * manual/examples/add.c: Add copyright header (GPL>=2).
37317 * manual/examples/argp-ex1.c: Likewise.
37318 * manual/examples/argp-ex2.c: Likewise.
37319 * manual/examples/argp-ex3.c: Likewise.
37320 * manual/examples/argp-ex4.c: Likewise.
37321 * manual/examples/atexit.c: Likewise.
37322 * manual/examples/db.c: Likewise.
37323 * manual/examples/dir.c: Likewise.
37324 * manual/examples/dir2.c: Likewise.
37325 * manual/examples/execinfo.c: Likewise.
37326 * manual/examples/filecli.c: Likewise.
37327 * manual/examples/filesrv.c: Likewise.
37328 * manual/examples/fmtmsgexpl.c: Likewise.
37329 * manual/examples/genpass.c: Likewise.
37330 * manual/examples/inetcli.c: Likewise.
37331 * manual/examples/inetsrv.c: Likewise.
37332 * manual/examples/isockad.c: Likewise.
37333 * manual/examples/longopt.c: Likewise.
37334 * manual/examples/memopen.c: Likewise.
37335 * manual/examples/memstrm.c: Likewise.
37336 * manual/examples/mkfsock.c: Likewise.
37337 * manual/examples/mkisock.c: Likewise.
37338 * manual/examples/mygetpass.c: Likewise.
37339 * manual/examples/pipe.c: Likewise.
37340 * manual/examples/popen.c: Likewise.
37341 * manual/examples/rprintf.c: Likewise.
37342 * manual/examples/search.c: Likewise.
37343 * manual/examples/select.c: Likewise.
37344 * manual/examples/setjmp.c: Likewise.
37345 * manual/examples/sigh1.c: Likewise.
37346 * manual/examples/sigusr.c: Likewise.
37347 * manual/examples/stpcpy.c: Likewise.
37348 * manual/examples/strdupa.c: Likewise.
37349 * manual/examples/strftim.c: Likewise.
37350 * manual/examples/strncat.c: Likewise.
37351 * manual/examples/subopt.c: Likewise.
37352 * manual/examples/swapcontext.c: Likewise.
37353 * manual/examples/termios.c: Likewise.
37354 * manual/examples/testopt.c: Likewise.
37355 * manual/examples/testpass.c: Likewise.
37356 * manual/examples/timeval_subtract.c: Likewise.
37357
01ae168d
RM
37358 [BZ #13792]
37359 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37360 function to ...
37361 * manual/timeval_subtract.c.texi: ... here, new file.
37362
49efa33d
DM
373632012-03-02 David S. Miller <davem@davemloft.net>
37364
37365 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37366
28afd92d
JM
373672012-03-02 Joseph Myers <joseph@codesourcery.com>
37368
804360ed
JM
37369 [BZ #3976]
37370 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37371 (__sin): Save and restore rounding mode and use round-to-nearest
37372 for all computations.
37373 (__cos): Save and restore rounding mode and use round-to-nearest
37374 for all computations.
37375 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37376 <fenv.h>.
37377 (tan): Save and restore rounding mode and use round-to-nearest for
37378 all computations.
37379 * math/libm-test.inc (cos_test_tonearest): New function.
37380 (cos_test_towardzero): Likewise.
37381 (cos_test_downward): Likewise.
37382 (cos_test_upward): Likewise.
37383 (sin_test_tonearest): Likewise.
37384 (sin_test_towardzero): Likewise.
37385 (sin_test_downward): Likewise.
37386 (sin_test_upward): Likewise.
37387 (tan_test_tonearest): Likewise.
37388 (tan_test_towardzero): Likewise.
37389 (tan_test_downward): Likewise.
37390 (tan_test_upward): Likewise.
37391 (main): Call the new functions.
37392 * sysdeps/i386/fpu/libm-test-ulps: Update.
37393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37394
a6d06d7b
JM
37395 [BZ #10135]
37396 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37397 small n, then large n, before computing and testing k+n.
37398 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37400 Likewise.
37401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37402 Likewise.
37403 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37404 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37406 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37411 * math/libm-test.inc (scalbn_test): Add more tests.
37412 (scalbln_test): Likewise.
37413
07e12bb3
JM
37414 * manual/filesys.texi (mode_t): Describe constraints on size and
37415 signedness, not exact equivalence to a particular type.
37416 (ino_t): Likewise.
37417 (ino64_t): Likewise.
37418 (dev_t): Likewise.
37419 (nlink_t): Likewise.
37420 (blkcnt_t): Likewise.
37421 (blkcnt64_t): Likewise.
37422 * manual/llio.texi (off_t): Likewise.
37423
28afd92d
JM
37424 [BZ #3976]
37425 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37426 (__ieee754_exp): Save and restore rounding mode and use
37427 round-to-nearest for all computations.
37428 * math/libm-test.inc (exp_test_tonearest): New function.
37429 (exp_test_towardzero): Likewise.
37430 (exp_test_downward): Likewise.
37431 (exp_test_upward): Likewise.
37432 (main): Call the new functions.
37433 * sysdeps/i386/fpu/libm-test-ulps: Update.
37434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37435
b1eeb65d
CD
374362012-03-01 Chris Demetriou <cgd@google.com>
37437
37438 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37439 have predictable order.
37440
53362a4b
DM
374412012-03-01 David S. Miller <davem@davemloft.net>
37442
3c969083
DM
37443 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37444
759707de
DM
37445 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37446 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37447 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37448 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37449
dfdb8ff2
DM
37450 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37451 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37452 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37454 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37455 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37456 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37457 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37458 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37459
ead89f96
DM
37460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37461
7f66bd07
DM
37462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37463 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37464 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37465
53362a4b
DM
37466 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37467 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37468 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37473 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37474 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37475 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37476 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37482 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37483 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37484 * sysdeps/sparc/elf/configure: Regenerated.
37485
7b1902cb
JM
374862012-03-01 Joseph Myers <joseph@codesourcery.com>
37487
bec039bc
JM
37488 * configure.in (AS, LD): Require binutils 2.20 or later.
37489 * configure: Regenerated.
37490 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37491 as required minimum version.
37492 * INSTALL: Regenerated.
37493
7b1902cb
JM
37494 [BZ #2541]
37495 [BZ #4108]
37496 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37497 before squaring exponent.
37498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37499 bottom long double and 27 bits of top long double before squaring
37500 exponent.
37501 * math/libm-test.inc (erfc_test): Add more tests.
37502 * sysdeps/i386/fpu/libm-test-ulps: Update.
37503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37505
f775c276
KT
375062012-03-01 Kai Tietz <ktietz@redhat.com>
37507
37508 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37509 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37510 containing bit-fields.
37511 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37512 * soft-fp/single.h (_FP_UNION_S): Likewise.
37513 * soft-fp/double.h (_FP_UNION_D): Likewise.
37514
5b8a4d4a
JM
375152012-02-29 Joseph Myers <joseph@codesourcery.com>
37516
0bab47b6
JM
37517 [BZ #13786]
37518 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37519 not include ../strcmp.S.
37520 [USE_AS_STRNCASECMP_L]: Likewise.
37521 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37522 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37523 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37524 (__strncasecmp_l_ia32): Define as alias to
37525 __strncasecmp_l_nonascii.
37526
0fcad3e2
JM
37527 [BZ #5794]
37528 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37529 * sysdeps/i386/fpu/libm-test-ulps: Update.
37530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37531
5b8a4d4a
JM
37532 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37534
8fdceb2e
JL
375352012-02-29 Jeff Law <law@redhat.com>
37536
37537 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37538 out of bounds read.
37539
1f393a11
MP
375402012-02-29 Marek Polacek <polacek@redhat.com>
37541
37542 [BZ #13706]
37543 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37544 * elf/Makefile: Add rules to run tst-unused-dep.out.
37545
8847f037
DM
375462012-02-28 David S. Miller <davem@davemloft.net>
37547
37548 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37549 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37550 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37552 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37553 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37554
169d7f11
JM
375552012-02-29 Joseph Myers <joseph@codesourcery.com>
37556
37557 * math/libm-test.inc (llround_test): Move one test from
37558 lround_test. Use TEST_f_L in moved test.
37559 (lround_test): Move misplaced test to llround_test. Add testcase
37560 from bug 2561.
37561
39adf059
UD
375622012-02-28 Ulrich Drepper <drepper@gmail.com>
37563
37564 * sysdeps/x86_64/fpu/e_expf.S: New file.
37565 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37566
71b5d1c5
SB
375672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37568
37569 [BZ #13637]
37570 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37571 of remain_len that may cause incomplete multi-byte character and
37572 false match.
37573 * posix/bug-regex33.c: New file.
37574 * posix/Makefile (tests): Add bug-regex33.
37575
1f77f049
JM
375762012-02-28 Joseph Myers <joseph@codesourcery.com>
37577
37578 * manual/macros.texi: New file.
37579 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37580 * manual/libc.texinfo: Include macros.texi.
37581 * manual/creatute.texi: Likewise.
37582 * manual/install.texi: Likewise.
37583 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37584 @glibcadj{} in references to the GNU C Library.
37585 * manual/charset.texi: Likewise.
37586 * manual/conf.texi: Likewise.
37587 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37588 when not using those macros.
37589 * manual/creature.texi: Likewise.
37590 * manual/crypt.texi: Likewise.
37591 * manual/errno.texi: Likewise.
37592 * manual/filesys.texi: Likewise.
37593 * manual/header.texi: Likewise.
37594 * manual/install.texi: Likewise.
37595 * manual/intro.texi: Likewise.
37596 * manual/io.texi: Likewise.
37597 * manual/job.texi: Likewise.
37598 * manual/lang.texi: Likewise.
37599 * manual/libc.texiinfo: Likewise.
37600 * manual/llio.texi: Likewise.
37601 * manual/locale.texi: Likewise.
37602 * manual/maint.texi: Likewise.
37603 * manual/math.texi: Likewise.
37604 * manual/memory.texi: Likewise.
37605 * manual/message.texi: Likewise.
37606 * manual/nss.texi: Likewise.
37607 * manual/pattern.texi: Likewise.
37608 * manual/process.texi: Likewise.
37609 * manual/resource.texi: Likewise.
37610 * manual/search.texi: Likewise.
37611 * manual/setjmp.texi: Likewise.
37612 * manual/signal.texi: Likewise.
37613 * manual/socket.texi: Likewise.
37614 * manual/startup.texi: Likewise.
37615 * manual/stdio.texi: Likewise.
37616 * manual/string.texi: Likewise.
37617 * manual/sysinfo.texi: Likewise.
37618 * manual/syslog.texi: Likewise.
37619 * manual/terminal.texi: Likewise.
37620 * manual/time.texi: Likewise.
37621 * manual/users.texi: Likewise.
37622 * INSTALL: Regenerated.
37623 * NOTES: Regenerated.
d40c5d54 37624 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37625
450bf206
AS
376262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37627
37628 * include/dirent.h: Include <dirstream.h> before
37629 <dirent/dirent.h>.
37630
741a235b
DM
376312012-02-28 David S. Miller <davem@davemloft.net>
37632
37633 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37634 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37635 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37636 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37637
d6b5aa58
DM
376382012-02-27 David S. Miller <davem@davemloft.net>
37639
1aff59a3
DM
37640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37642 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37643 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37644
d6b5aa58
DM
37645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37646 frame pointer instead of stack pointer relative arg slot.
37647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37648 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37649 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37650
433f48bf
CD
376512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37652
37653 [BZ #3992]
37654 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37655
d674b76d
DM
376562012-02-27 David S. Miller <davem@davemloft.net>
37657
37658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37662 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37663 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37664 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37665 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37666
0e7727f7
JM
376672012-02-27 Joseph Myers <joseph@codesourcery.com>
37668
37669 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37670 later. Allow versions 5-9.
43be4ca2 37671 * configure: Regenerated.
0e7727f7
JM
37672 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37673 required minimum version and 4.6 as recommended version. Do not
37674 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37675 * INSTALL: Regenerated.
0e7727f7 37676
a78bc654
DM
376772012-02-27 David S. Miller <davem@davemloft.net>
37678
428d5830
DM
37679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37685 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37686 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37687
a78bc654
DM
37688 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37689 manipulate bits before adding and subtracting TWO112[sx].
37690 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37691
4579f81c
RM
376922012-02-27 Roland McGrath <roland@hack.frob.com>
37693
36c8acb4
RM
37694 [BZ #13775]
37695 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37696 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37697 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37698 being in POSIX, because they are in 1003.1-2008.
37699
84ad622b
RM
37700 * rt/tst-aio.c: Include <fcntl.h>.
37701 * rt/tst-aio7.c: Likewise.
37702 * rt/tst-aio64.c: Likewise.
37703
4579f81c
RM
37704 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37705
abd923db
JM
377062012-02-27 Joseph Myers <joseph@codesourcery.com>
37707
37708 * manual/install.texi (--with-headers): Describe headers as
37709 interface headers, not private headers.
37710 (Specific advice for GNU/Linux systems): Describe use of headers
37711 from "make headers_install", not private headers from older
37712 kernels.
43be4ca2 37713 * INSTALL: Regenerated.
abd923db
JM
37714 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37715 Change to 2.6.19.
37716 * sysdeps/unix/sysv/linux/configure: Regenerated.
37717
6664049b
JM
37718 * manual/llio.texi (fclean): Remove documentation.
37719
bb8b6697
JM
37720 * manual/Makefile (libc-texi-generated): New variable. Include
37721 version.texi.
37722 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37723 $(libc-texi-generated), not duplicated list of files.
37724 (version.texi, stamp-version): New rules.
37725 (realclean): Remove $(libc-texi-generated), not individual files
37726 from that list. Do not remove dir-add.texinfo.
37727 * manual/libc.texinfo: Comment out uses of edition numbers and
37728 references to printed manual. Remove last-updated dates.
37729 (EDITION): Comment out.
37730 (ISBN): Likewise.
37731 (VERSION, UPDATED): Remove.
37732 (version.texi): Include.
37733
12e5c3b9
AS
377342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37735
37736 * sysdeps/posix/spawni.c: Include <signal.h>.
37737 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37738 * sysdeps/pthread/aio_fsync.c: Likewise.
37739
4efeffc1 377402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37741
ba63ba08
UD
37742 * conform/Makefile (tests): Run only when not cross-compiling and
37743 when fast-check is not defined.
37744
d94a4670
UD
37745 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37746 * conform/data/limits.h-data: Fixes for POSIX2008.
37747 * conform/run-conformtest.sh: Run all tests.
37748 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37749 headers.
37750 * include/bits/dlfcn.h: Likewise.
37751 * include/langinfo.h: Likewise.
37752 * include/monetary.h: Likewise.
37753 * include/sys/poll.h: Likewise.
37754
37755 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37756 for __USE_GNU.
37757 * posix/spawn.h: Define __need_sigset_t.
37758 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37759 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37760 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37761 to get sigevent_t only.
37762 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37763 only for __USE_GNU.
37764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37765 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37766 process_vm_writev only for __USE_GNU.
37767 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37768
37769 * conform/Makefile: For now ignore errors from run-conformtest.
37770 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37771 POSIX to avoid namespace pollution. Don't prepend headers.
37772 * conform/data/aio.h-data: Fixes for POSIX testing.
37773 * conform/data/fcntl.h-data: Likewise.
37774 * conform/data/glob.h-data: Likewise.
37775 * conform/data/grp.h-data: Likewise.
37776 * conform/data/pthread.h-data: Likewise.
37777 * conform/data/pwd.h-data: Likewise.
37778 * conform/data/signal.h-data: Likewise.
37779 * conform/data/spawn.h-data: Likewise.
37780 * conform/data/stdio.h-data: Likewise.
37781 * conform/data/stdlib.h-data: Likewise.
37782 * conform/data/stropts.h-data: Likewise.
37783 * conform/data/sys/mman.h-data: Likewise.
37784 * conform/data/sys/stat.h-data: Likewise.
37785 * conform/data/sys/types.h-data: Likewise.
37786 * conform/data/sys/wait.h-data: Likewise.
37787 * conform/data/time.h-data: Likewise.
37788 * conform/data/unistd.h-data: Likewise.
37789 * conform/data/utime.h-data: Likewise.
37790
37791 * io/sys/stat.h: fchmod was always in POSIX.
37792 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37793 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37794 * rt/aio.h: Define __need_timespec before including <time.h>.
37795 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37796 struct. Add forward declaration of pthread_attr_t and use it in
37797 sigevent.
37798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37800 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37801 always remove CLK_TCK definition.
37802
c20105c3
AS
378032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37804
37805 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37806
7a270350
UD
378072012-02-25 Ulrich Drepper <drepper@gmail.com>
37808
31341567
UD
37809 * conform/run-conformtest.sh: New file.
37810 * conform/Makefile: Run run-conformtest for tests.
37811 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37812 support.
37813
37814 * conform/data/uchar.h-data: New file.
37815 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37816 * conform/data/arpa/inet.h-data: Likewise.
37817 * conform/data/assert.h-data: Likewise.
37818 * conform/data/complex.h-data: Likewise.
37819 * conform/data/cpio.h-data: Likewise.
37820 * conform/data/ctype.h-data: Likewise.
37821 * conform/data/dirent.h-data: Likewise.
37822 * conform/data/dlfcn.h-data: Likewise.
37823 * conform/data/errno.h-data: Likewise.
37824 * conform/data/fcntl.h-data: Likewise.
37825 * conform/data/float.h-data: Likewise.
37826 * conform/data/fmtmsg.h-data: Likewise.
37827 * conform/data/fnmatch.h-data: Likewise.
37828 * conform/data/ftw.h-data: Likewise.
37829 * conform/data/glob.h-data: Likewise.
37830 * conform/data/grp.h-data: Likewise.
37831 * conform/data/iconv.h-data: Likewise.
37832 * conform/data/inttypes.h-data: Likewise.
37833 * conform/data/langinfo.h-data: Likewise.
37834 * conform/data/libgen.h-data: Likewise.
37835 * conform/data/limits.h-data: Likewise.
37836 * conform/data/locale.h-data: Likewise.
37837 * conform/data/math.h-data: Likewise.
37838 * conform/data/monetary.h-data: Likewise.
37839 * conform/data/mqueue.h-data: Likewise.
37840 * conform/data/ndbm.h-data: Likewise.
37841 * conform/data/net/if.h-data: Likewise.
37842 * conform/data/netdb.h-data: Likewise.
37843 * conform/data/netinet/in.h-data: Likewise.
37844 * conform/data/nl_types.h-data: Likewise.
37845 * conform/data/poll.h-data: Likewise.
37846 * conform/data/pthread.h-data: Likewise.
37847 * conform/data/pwd.h-data: Likewise.
37848 * conform/data/regex.h-data: Likewise.
37849 * conform/data/sched.h-data: Likewise.
37850 * conform/data/search.h-data: Likewise.
37851 * conform/data/semaphore.h-data: Likewise.
37852 * conform/data/setjmp.h-data: Likewise.
37853 * conform/data/signal.h-data: Likewise.
37854 * conform/data/spawn.h-data: Likewise.
37855 * conform/data/stdarg.h-data: Likewise.
37856 * conform/data/stdio.h-data: Likewise.
37857 * conform/data/stdlib.h-data: Likewise.
37858 * conform/data/string.h-data: Likewise.
37859 * conform/data/strings.h-data: Likewise.
37860 * conform/data/stropts.h-data: Likewise.
37861 * conform/data/sys/ipc.h-data: Likewise.
37862 * conform/data/sys/mman.h-data: Likewise.
37863 * conform/data/sys/msg.h-data: Likewise.
37864 * conform/data/sys/resource.h-data: Likewise.
37865 * conform/data/sys/select.h-data: Likewise.
37866 * conform/data/sys/sem.h-data: Likewise.
37867 * conform/data/sys/shm.h-data: Likewise.
37868 * conform/data/sys/socket.h-data: Likewise.
37869 * conform/data/sys/stat.h-data: Likewise.
37870 * conform/data/sys/statvfs.h-data: Likewise.
37871 * conform/data/sys/time.h-data: Likewise.
37872 * conform/data/sys/timeb.h-data: Likewise.
37873 * conform/data/sys/times.h-data: Likewise.
37874 * conform/data/sys/types.h-data: Likewise.
37875 * conform/data/sys/uio.h-data: Likewise.
37876 * conform/data/sys/un.h-data: Likewise.
37877 * conform/data/sys/utsname.h-data: Likewise.
37878 * conform/data/sys/wait.h-data: Likewise.
37879 * conform/data/syslog.h-data: Likewise.
37880 * conform/data/tar.h-data: Likewise.
37881 * conform/data/termios.h-data: Likewise.
37882 * conform/data/utime.h-data: Likewise.
37883 * conform/data/utmpx.h-data: Likewise.
37884 * conform/data/varargs.h-data: Likewise.
37885 * conform/data/wchar.h-data: Likewise.
37886 * conform/data/wctype.h-data: Likewise.
37887 * conform/data/wordexp.h-data: Likewise.
37888
37889 * include/stropts.h: New file.
37890 * include/uchar.h: New file.
37891 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37892 * include/assert.h: Likewise.
37893 * include/ctype.h: Likewise.
37894 * include/dirent.h: Likewise.
37895 * include/dlfcn.h: Likewise.
37896 * include/fcntl.h: Likewise.
37897 * include/fnmatch.h: Likewise.
37898 * include/glob.h: Likewise.
37899 * include/grp.h: Likewise.
37900 * include/libio.h: Likewise.
37901 * include/locale.h: Likewise.
37902 * include/math.h: Likewise.
37903 * include/net/if.h: Likewise.
37904 * include/netdb.h: Likewise.
37905 * include/netinet/in.h: Likewise.
37906 * include/pthread.h: Likewise.
37907 * include/pwd.h: Likewise.
37908 * include/regex.h: Likewise.
37909 * include/sched.h: Likewise.
37910 * include/search.h: Likewise.
37911 * include/setjmp.h: Likewise.
37912 * include/signal.h: Likewise.
37913 * include/stdio.h: Likewise.
37914 * include/stdlib.h: Likewise.
37915 * include/string.h: Likewise.
37916 * include/sys/cdefs.h: Likewise.
37917 * include/sys/mman.h: Likewise.
37918 * include/sys/msg.h: Likewise.
37919 * include/sys/resource.h: Likewise.
37920 * include/sys/select.h: Likewise.
37921 * include/sys/socket.h: Likewise.
37922 * include/sys/stat.h: Likewise.
37923 * include/sys/statvfs.h: Likewise.
37924 * include/sys/time.h: Likewise.
37925 * include/sys/times.h: Likewise.
37926 * include/sys/uio.h: Likewise.
37927 * include/sys/utsname.h: Likewise.
37928 * include/sys/wait.h: Likewise.
37929 * include/termios.h: Likewise.
37930 * include/time.h: Likewise.
37931 * include/ulimit.h: Likewise.
37932 * include/unistd.h: Likewise.
37933 * include/utime.h: Likewise.
37934 * include/wchar.h: Likewise.
37935 * include/wctype.h: Likewise.
37936 * include/wordexp.h: Likewise.
37937
37938 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37939
7a270350
UD
37940 * time/time.h: TIME_UTC must be a macro.
37941 Make timespec_get available for ISO C11 only as well.
37942
7724defc
UD
379432012-02-24 Ulrich Drepper <drepper@gmail.com>
37944
37945 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37946 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37947
6b1d1d46
JM
379482012-02-24 Joseph Myers <joseph@codesourcery.com>
37949
37950 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37951
0f8bbd69
JM
379522012-02-24 Joseph Myers <joseph@codesourcery.com>
37953
37954 * manual/texinfo.tex: Update to version 2012-01-19.16.
37955
66ab80bc
JM
379562012-02-24 Joseph Myers <joseph@codesourcery.com>
37957
37958 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37959
74981cc5
RM
379602012-02-24 Roland McGrath <roland@hack.frob.com>
37961
ee968201
RM
37962 [BZ #13738]
37963 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37964 * manual/fdl-1.3.texi: New file.
37965 * manual/fdl-1.1.texi: File removed.
37966
74981cc5
RM
37967 [BZ #13738]
37968 * manual/libc.texinfo (FDL_VERSION): New @set.
37969 Use it for mention of FDL in cover text.
37970 (Documentation License): Use it in @include file name.
37971
7bb764bc
JM
379722012-02-22 Joseph Myers <joseph@codesourcery.com>
37973 Roland McGrath <roland@hack.frob.com>
37974
37975 [BZ #5461]
57f41c40
AS
37976 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37977 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37978 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37979 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37980 name.
37981 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37982
6cbeae47
JM
379832012-02-22 Joseph Myers <joseph@codesourcery.com>
37984
37985 [BZ #2547]
37986 [BZ #11365]
37987 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37988 manipulate bits before adding and subtracting TWO23[sx].
37989 * math/libm-test.inc (nearbyint_test): Add more tests.
37990
fe45ce09
JM
379912012-02-22 Joseph Myers <joseph@codesourcery.com>
37992
37993 [BZ #2548]
37994 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37995 bits before adding and subtracting TWO23[sx].
37996 * math/libm-test.inc (rint_test): Add more tests.
37997 (rint_test_tonearest): Likewise.
37998 (rint_test_towardzero): Likewise.
37999 (rint_test_downward): Likewise.
38000 (rint_test_upward: Likewise.
38001
ff3b3d82
JM
380022012-02-22 Joseph Myers <joseph@codesourcery.com>
38003
38004 [BZ #10110]
38005 * include/stdc-predef.h: New file. Extracted from features.h.
38006 * include/features.h: Include stdc-predef.h.
38007 * Makefile (headers): Add stdc-predef.h.
38008 * CONFORMANCE (Compiler limitations): Update.
38009
ef0aab35
JM
380102012-02-22 Joseph Myers <joseph@codesourcery.com>
38011
38012 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38013
58639409
DM
380142012-02-21 David S. Miller <davem@davemloft.net>
38015
38016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38017 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38018
c0e70b25
DM
380192012-02-20 David S. Miller <davem@davemloft.net>
38020
38021 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38022 using a normal save/restore sequence, rather than allocating a
38023 dummy stack frame just to store a frame pointer and restore.
38024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38025
fb06851d
JM
380262012-02-21 Joseph Myers <joseph@codesourcery.com>
38027
38028 * manual/install.texi: Fix stray word in line-wrapped comment.
38029
7a8b71c3
DM
380302012-02-20 David S. Miller <davem@davemloft.net>
38031
d510c123
DM
38032 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38033 both binutils and gcc support GOTDATA.
38034
0722d7c2
DM
38035 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38036 "rd %pc" in the PIC register setup sequences.
38037
3d2b3019
DM
38038 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38039 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38041 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38042 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38047 (SYSCALL_ERROR_HANDLER): Likewise.
38048 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38049 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38051 (SYSCALL_ERROR_HANDLER): Likewise.
38052
c80098a9
DM
38053 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38054 (HAVE_GCC_GOTDATA): New.
38055 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38056 relocation support in both binutils and gcc.
38057 * sysdeps/sparc/elf/configure: Regenerate.
38058
3a2545a0
DM
38059 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38060 * sysdeps/sparc/sparc32/elf/configure: Delete.
38061 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38062 * sysdeps/sparc/sparc64/elf/configure: Delete.
38063 * sysdeps/sparc/elf/configure.in: New file.
38064 * sysdeps/sparc/elf/configure: Generate.
38065
7a8b71c3
DM
38066 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38067 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38068 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38069 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38070 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38071
f1e86fca
JM
380722012-02-21 Joseph Myers <joseph@codesourcery.com>
38073
38074 * manual/install.texi: Do not mention specific glibc version
38075 numbers.
38076 * manual/libc.texinfo (VERSION, UPDATED): Update.
38077 (@copying): Use @copyright{} and range of years.
38078
0e7dfaef
JM
380792012-02-21 Joseph Myers <joseph@codesourcery.com>
38080
38081 [BZ #13695]
38082 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38083 [crti.S not in sysdirs] (generated): Do not append.
38084 [crti.S not in sysdirs] (omit-deps): Likewise.
38085 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38086 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38087 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38088 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38089 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38090 Likewise.
38091 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38092 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38093 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38094 * csu/defs.awk: Remove file.
38095 * sysdeps/generic/initfini.c: Likewise.
38096 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38097 variable.
38098 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38099 Likewise.
38100
599af3ca
JM
381012012-02-20 Joseph Myers <joseph@codesourcery.com>
38102
38103 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38104 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38105 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38106 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38107 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38108 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38109 <bits/epoll.h>.
38110 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38111 (__EPOLL_PACKED): Define to empty if not defined by
38112 <bits/epoll.h>.
38113 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38115 bits/epoll.h.
38116
0e499750
JM
381172012-02-20 Joseph Myers <joseph@codesourcery.com>
38118
38119 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38120 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38121 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38122 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38123 <bits/timerfd.h>.
38124 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38126 bits/timerfd.h.
38127
5ad91f6e
JM
381282012-02-20 Joseph Myers <joseph@codesourcery.com>
38129
38130 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38131 in C locale.
38132 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38133 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38136
06b99b02
AJ
381372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38138
38139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38140 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38141
7638c0fd
AS
381422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38143
38144 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38145 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38146 defined.
38147 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38148 Likewise.
38149 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38150 entry for 2.16.
38151
92221550
AJ
381522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38153
38154 * math/w_acos.c: Use non-signaling floating-point comparisons.
38155 * math/w_acosf.c: Likewise.
38156 * math/w_acosh.c: Likewise.
38157 * math/w_acoshf.c: Likewise.
38158 * math/w_acoshl.c: Likewise.
38159 * math/w_acosl.c: Likewise.
38160 * math/w_asin.c: Likewise.
38161 * math/w_asinf.c: Likewise.
38162 * math/w_asinl.c: Likewise.
38163 * math/w_atanh.c: Likewise.
38164 * math/w_atanhf.c: Likewise.
38165 * math/w_atanhl.c: Likewise.
38166 * math/w_exp2.c: Likewise.
38167 * math/w_exp2f.c: Likewise.
38168 * math/w_exp2l.c: Likewise.
38169 * math/w_j0.c: Likewise.
38170 * math/w_j0f.c: Likewise.
38171 * math/w_j0l.c: Likewise.
38172 * math/w_j1.c: Likewise.
38173 * math/w_j1f.c: Likewise.
38174 * math/w_j1l.c: Likewise.
38175 * math/w_jn.c: Likewise.
38176 * math/w_jnf.c: Likewise.
38177 * math/w_log.c: Likewise.
38178 * math/w_log10.c: Likewise.
38179 * math/w_log10f.c: Likewise.
38180 * math/w_log10l.c: Likewise.
38181 * math/w_log2.c: Likewise.
38182 * math/w_log2f.c: Likewise.
38183 * math/w_log2l.c: Likewise.
38184 * math/w_logf.c: Likewise.
38185 * math/w_logl.c: Likewise.
38186 * math/w_sqrt.c: Likewise.
38187 * math/w_sqrtf.c: Likewise.
38188 * math/w_sqrtl.c: Likewise.
38189 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38190 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38194
ebaf36eb
JM
381952012-02-19 Joseph Myers <joseph@codesourcery.com>
38196
38197 [BZ #9739]
38198 * manual/string.texi (strnlen): Use correct parameter name in
38199 equivalent expression.
38200
71c254a6
JM
382012012-02-19 Joseph Myers <joseph@codesourcery.com>
38202
38203 [BZ #11174]
38204 * manual/users.texi (seteuid): Consistently use neweuid for
38205 argument name.
38206
16d2c631
JM
382072012-02-19 Joseph Myers <joseph@codesourcery.com>
38208
38209 [BZ #13704]
38210 * manual/nss.texi (Services in the NSS configuration): Correct
38211 list of services in example configuration file.
38212
cd837b09
NB
382132012-02-19 Nick Bowler <nbowler@draconx.ca>
38214
38215 [BZ #11322]
38216 * manual/arith.texi: Remove statements about negative zero
38217 behaving identically to zero.
38218
02c4bbad
JM
382192012-02-18 Joseph Myers <joseph@codesourcery.com>
38220
38221 [BZ #5993]
38222 * manual/install.texi: Do not document upgrading from libc5.
38223
366842e7
JM
382242012-02-18 Joseph Myers <joseph@codesourcery.com>
38225
38226 [BZ #4596]
38227 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38228
dd54084d
DM
382292012-02-18 David S. Miller <davem@davemloft.net>
38230
38231 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38232 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38233 %o7 across the call.
38234 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38235 instead.
38236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38237 SETUP_PIC_REG_LEAF.
38238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38239 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38240 * sysdeps/sparc/crtn.S: Likewise.
38241
2bcc53a3
UD
382422012-02-17 Ulrich Drepper <drepper@gmail.com>
38243
38244 * aout/Makefile: Remove.
38245
09c093b5
RK
382462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38247
38248 [BZ #13058]
38249 * manual/examples/argp-ex1.c (main): Format definition in GNU
38250 style.
38251 * manual/examples/argp-ex2.c (main): Likewise.
38252 * manual/examples/argp-ex3.c (main): Likewise.
38253 * manual/examples/argp-ex4.c (main): Likewise.
38254 * manual/examples/longopt.c (main): Use new-style prototype
38255 definition.
38256 * manual/examples/strncat.c (main): Specify return type and use
38257 (void) for arguments.
38258 * manual/examples/subopt.c (main): Use char **argv argument.
38259
2ee633a2
JM
382602012-02-17 Joseph Myers <joseph@codesourcery.com>
38261
38262 [BZ #5077]
38263 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38264 rounding modes.
38265
0520adde
FB
382662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38267
38268 [BZ #6907]
38269 * manual/string.texi (strchr): Change when strchrnul is
38270 recommended.
38271
3f4081cd
DGM
382722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38273
38274 [BZ #174]
38275 * manual/locale.texi (setlocale): Document LOCPATH.
38276
d1b10e78
JM
382772012-02-17 Joseph Myers <joseph@codesourcery.com>
38278
38279 [BZ #10210]
38280 * manual/process.texi (execle): Move @dots{} before last argument.
38281
79c6869c
PB
382822012-02-17 Paul Bolle <pebolle@tiscali.nl>
38283
38284 [BZ #12047]
38285 * manual/charset.texi (Generic Charset Conversion): Fix typo
38286 (LC_TYPE -> LC_CTYPE).
38287
cc6e48bc
NB
382882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38289
38290 [BZ #5805]
38291 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38292 (scalbnf): Likewise.
38293 (scalbnl): Likewise.
38294 (scalbln): Likewise.
38295 (scalblnf): Likewise.
38296 (scalblnl): Likewise.
38297 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38298 (vwarnx): Likewise.
38299 (verr): Likewise.
38300 (verrx): Likewise.
38301 * manual/filesys.texi (telldir): Use braces around return type.
38302 * manual/llio.texi (mmap): Add space after comma.
38303 (mmap64): Likewise.
38304 * manual/math.texi (jn): Use @var{} on parameter names.
38305 (jnf): Likewise.
38306 (jnl): Likewise.
38307 (yn): Likewise.
38308 (ynf): Likewise.
38309 (ynl): Likewise.
38310 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38311 line.
38312 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38313 "...".
38314 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38315 (sched_get_priority_max): Likewise.
38316 * manual/signal.texi (sigvec): Add space after comma.
38317 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38318 names.
38319 (if_indextoname): Likewise.
38320 (if_freenameindex): Likewise.
38321 (sendto): Use ',' instead of '.' in prototype.
38322 * manual/startup.texi (syscall): Use @dots{} instead of literal
38323 "...".
38324 * manual/stdio.texi (__fpending): Separate initial words of
38325 paragraph from @deftypefun line.
38326 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38327 "...".
38328 (vsyslog): Use @var{} on parameter names.
38329 * manual/terminal.texi (stty): Use @var{} on parameter names.
38330 * manual/users.texi (getutmp): Use @var{} on parameter names.
38331 (getutmpx): Likewise.
38332
5b23062f
JM
383332012-02-17 Joseph Myers <joseph@codesourcery.com>
38334
38335 [BZ #6884]
38336 * manual/stdio.texi (fopen): Fix typos in description of
38337 ",ccs=STRING".
38338
8dee4833
AJ
383392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38340
38341 [BZ #4026]
38342 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38343 get clock_id definition.
38344
9078ce93
TS
383452012-02-17 Thomas Schwinge <thomas@schwinge.name>
38346
38347 [BZ #4822]
38348 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38349 (madvise): Cast every argument to void on its own.
38350
3835c55f
JM
383512012-02-17 Joseph Myers <joseph@codesourcery.com>
38352
38353 [BZ #9902]
38354 * manual/startup.texi (Exit Status): Fix typo.
38355
35c47e37
JM
383562012-02-17 Joseph Myers <joseph@codesourcery.com>
38357
38358 [BZ #10140]
38359 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38360 * manual/examples/argp-ex2.c: Likewise.
38361 * manual/examples/argp-ex3.c: Likewise.
38362
e3b69ca7
RH
383632012-02-16 Richard Henderson <rth@redhat.com>
38364
38365 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38366 * sysdeps/s390/s390-32/initfini.c: Remove.
38367 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38368 * sysdeps/s390/s390-64/initfini.c: Remove.
38369
df83af67
KK
383702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38371
38372 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38373 compiler output for sysdeps/generic/initfini.c.
38374 * sysdeps/sh/elf/initfini.c: Remove file.
38375
f63f3380
DM
383762012-02-16 David S. Miller <davem@davemloft.net>
38377
fb59b3a4
DM
38378 [BZ #11494]
38379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38380
f63f3380
DM
38381 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38382 * sysdeps/sparc/crti.S: New file.
38383 * sysdeps/sparc/crtn.S: New file.
38384 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38385 * sysdeps/sparc/sparc64/Makefile: Likewise.
38386
df6a4a4a
MF
383872012-02-15 Mike Frysinger <vapier@gentoo.org>
38388
6dd8f3dc 38389 [BZ #3335]
df6a4a4a
MF
38390 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38391
1cac7236
RM
383922012-02-15 Roland McGrath <roland@hack.frob.com>
38393
d2c736f8
RM
38394 [BZ #4822]
38395 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38396
1cac7236
RM
38397 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38398 (write, read, close): Likewise.
38399 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38400
8e475601
JM
384012012-02-15 Joseph Myers <joseph@codesourcery.com>
38402
38403 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38404 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38405 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38406 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38407 <bits/signalfd.h>.
38408 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38410 bits/signalfd.h.
38411
ed656b40
MP
384122012-02-14 Marek Polacek <polacek@redhat.com>
38413
38414 * sysdeps/x86_64/crti.S: New file.
38415 * sysdeps/x86_64/crtn.S: New file.
38416 * sysdeps/x86_64/elf/initfini.c: Remove file.
38417
2a979d3a
JM
384182012-02-13 Joseph Myers <joseph@codesourcery.com>
38419
38420 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38421 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38422 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38423 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38424 <bits/inotify.h>.
38425 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38427 bits/inotify.h.
38428
2a418ac3
JM
384292012-02-13 Joseph Myers <joseph@codesourcery.com>
38430
38431 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38432 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38433 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38434 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38435 <bits/eventfd.h>.
38436 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38438 bits/eventfd.h.
38439
fb779be7
TS
384402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38441
e19e83c5
RM
38442 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38443 __feraiseexcept instead of feraiseexcept.
7c35ffed 38444
fb779be7
TS
38445 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38446 nanosleep invocations.
38447 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38448 strings, and add error checking for a nanosleep invocations.
38449
59ba27a6
PE
384502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38451
38452 Replace FSF snail mail address with URLs, as per GNU coding standards.
38453 Most of the snail mail addresses were wrong anyway, and omitting
38454 them makes the source code easier to maintain. Almost all of the
38455 changes are to license notices and to locale LC_IDENTIFICATION
38456 addresses, except for this one:
38457 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38458 not its snail mail address.
38459
57b957eb
RH
384602012-02-09 Richard Henderson <rth@twiddle.net>
38461
af850b1c
RH
38462 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38463 of kernel-features.h.
38464
57b957eb
RH
38465 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38466
6b73181a
MP
384672012-02-08 Marek Polacek <polacek@redhat.com>
38468
38469 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38470 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38471 * sysdeps/gnu/_G_config.h: Likewise.
38472 * sysdeps/generic/_G_config.h: Likewise.
38473
26ecc33a
AS
384742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38475
6c6dbc63
AS
38476 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38477 tests.
38478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38479
e216c012
AS
38480 * sysdeps/powerpc/powerpc32/crti.S: New file.
38481 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38482 * sysdeps/powerpc/powerpc64/crti.S: New file.
38483 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38484
26ecc33a
AS
38485 * Makeconfig (have-initfini): Don't set.
38486 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38487 * configure.in (nopic_initfini): Don't substitute.
38488 * config.h.in (HAVE_INITFINI): Don't #undef.
38489 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38490 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38491
3add8e13
JM
384922012-02-08 Joseph Myers <joseph@codesourcery.com>
38493
38494 Support crti.S and crtn.S provided directly by architectures.
38495 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38496 [crti.S in sysdirs] (omit-deps): Likewise.
38497 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38498 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38499 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38500 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38501 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38502 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38503 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38504 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38505 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38506 compiler output for sysdeps/generic/initfini.c.
38507 * sysdeps/i386/elf/Makefile: Remove file.
38508 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38509
a22f12b4
MP
385102012-02-07 Marek Polacek <polacek@redhat.com>
38511
38512 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38513 * sysdeps/gnu/_G_config.h: Likewise.
38514 * sysdeps/mach/hurd/_G_config.h: Likewise.
38515
148cf100
MP
385162012-02-07 Marek Polacek <polacek@redhat.com>
38517
38518 * math/Makefile (tests): Add tst-CMPLX2.
38519 * math/tst-CMPLX2.c: New file.
38520
cfdc0dd7
AS
385212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38522
84ba42c4
AS
38523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38524
cfdc0dd7
AS
38525 * math/libm-test.inc (jn_test): Add missing L suffix.
38526
622c86f4
MP
385272012-02-06 Marek Polacek <polacek@redhat.com>
38528
38529 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38530 * sysdeps/i386/fpu/e_powf.S: Likewise.
38531 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38532 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38533 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38534 * sysdeps/i386/fpu/e_pow.S: Likewise.
38535 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38537 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38538 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38539 * sysdeps/i386/fpu/e_log2.S: Likewise.
38540 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38541 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38542 * sysdeps/i386/fpu/e_powl.S: Likewise.
38543 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38544 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38545 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38546 * sysdeps/i386/fpu/e_logl.S: Likewise.
38547 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38548 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38549 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38550 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38553 * sysdeps/i386/fpu/e_log.S: Likewise.
38554 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38556 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38557 * sysdeps/i386/fpu/e_logf.S: Likewise.
38558 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38559 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38560 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38561 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38562 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38563 * sysdeps/i386/fpu/e_log10.S: Likewise.
38564 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38565 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38566 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38567 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38568 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38569 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38570 * sysdeps/i386/asm-syntax.h: Likewise.
38571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38572 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38573 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38574 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38575 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38577 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38578 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38580 * sysdeps/powerpc/sysdep.h: Likewise.
38581 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38582 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38583
d4a54ac6
JM
385842012-02-06 Joseph Myers <joseph@codesourcery.com>
38585
38586 [BZ #411]
38587 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38588
314054ea
JM
385892012-02-06 Joseph Myers <joseph@codesourcery.com>
38590
38591 * sysdeps/i386/sysdep.h: Include <features.h>.
38592 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38593 version.
38594
d8e0ca50
JM
385952012-02-05 Joseph Myers <joseph@codesourcery.com>
38596
38597 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38598 Define.
38599 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38600 LOAD_PIC_REG_STR.
38601
b1da7dd9
JM
386022012-02-03 Joseph Myers <joseph@codesourcery.com>
38603
38604 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38605 (SETUP_PIC_REG): Use GET_PC_THUNK.
38606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38607 macro.
38608
9a1d9254
JM
386092012-02-03 Joseph Myers <joseph@codesourcery.com>
38610
38611 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38612 for non-PIC compilation.
38613 (SETUP_PIC_REG): Add .p2align directive.
38614 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38615 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38618 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38619 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38620 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38629 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38630 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38631 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38632 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38633 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38636 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38637 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38638 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38642 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38643 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38644 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38646 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38649 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38650 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38651 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38652 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38653 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38654 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38655
65dc3b75
JM
386562012-02-03 Joseph Myers <joseph@codesourcery.com>
38657
38658 * math/tst-CMPLX.c: Include <stdio.h>.
38659
d55bf177
JM
386602012-01-31 Joseph Myers <joseph@codesourcery.com>
38661
38662 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38663 float.
38664 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38665 * sysdeps/sparc/bits/mathdef.h: Likewise.
38666
69db4f8f
MP
386672012-01-31 Marek Polacek <polacek@redhat.com>
38668
38669 * libio/libio.h: Don't define _PARAMS.
38670 * locale/programs/config.h: Don't define PARAMS.
38671 * stdlib/strtol_l.c: Likewise.
38672 (__strtol_l): Remove PARAMS from the prototype.
38673
41b81892
UD
386742012-01-31 Ulrich Drepper <drepper@gmail.com>
38675
3b49edc0
UD
38676 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38677 names. Just use the correct names. Remove unnecessary wrapper
38678 functions.
38679 * malloc/arena.c: Likewise.
38680 * malloc/hooks.c: Likewise.
38681
41b81892
UD
38682 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38683 ARENA_TEST says not to. Simplify test for creation of a new arena.
38684 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38685
27a25b6e
UD
386862012-01-30 Ulrich Drepper <drepper@gmail.com>
38687
38688 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38689 into tail calls.
38690 (update_get_addr): New function.
38691 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38692 GET_ADDR_MODULE parameter.
38693
c8a89e7d
JM
386942012-01-30 Joseph Myers <joseph@codesourcery.com>
38695
38696 * crypt/cert.c: Remove __STDC__ conditionals.
38697 * crypt/crypt-entry.c: Likewise.
38698 * crypt/crypt_util.c: Likewise.
38699 * libio/filedoalloc.c: Likewise.
38700 * libio/fileops.c: Likewise.
38701 * libio/genops.c: Likewise.
38702 * libio/iofclose.c: Likewise.
38703 * libio/iofdopen.c: Likewise.
38704 * libio/iofopen.c: Likewise.
38705 * libio/iofopen64.c: Likewise.
38706 * libio/iogetdelim.c: Likewise.
38707 * libio/iopopen.c: Likewise.
38708 * libio/obprintf.c: Likewise.
38709 * libio/oldfileops.c: Likewise.
38710 * libio/oldiofclose.c: Likewise.
38711 * libio/oldiofdopen.c: Likewise.
38712 * libio/oldiofopen.c: Likewise.
38713 * libio/oldiopopen.c: Likewise.
38714 * libio/wfiledoalloc.c: Likewise.
38715 * libio/wgenops.c: Likewise.
38716 * locale/programs/xmalloc.c: Likewise.
38717 * misc/syslog.c: Likewise.
38718 * stdio-common/xbug.c: Likewise.
38719 * string/memchr.c: Likewise.
38720 * string/memcmp.c: Likewise.
38721 * string/memrchr.c: Likewise.
38722 * string/rawmemchr.c: Likewise.
38723 * sysdeps/posix/getcwd.c: Likewise.
38724 * time/strftime_l.c: Likewise.
38725
3b100462
JM
387262012-01-30 Joseph Myers <joseph@codesourcery.com>
38727
38728 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38729 * config.make.in (config-cflags-sse2avx): Define.
38730 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38731 Fix typo.
38732
607998af
CM
387332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38734
38735 * scripts/config.guess: Update from upstream config git repository.
38736 * scripts/config.sub: Likewise.
38737
3601428f
CM
387382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38739
3ac8b282
CM
38740 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38741 (EM_NUM): Update.
38742 (R_TILEPRO_*, R_TILEGX_*): New macros.
38743
e034841e
CM
38744 * scripts/firstversions.awk: Fix bug in version range handling.
38745
540d7568
CM
38746 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38747
3601428f
CM
38748 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38749
463de862
CM
38750 * include/sys/epoll.h: New file.
38751 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38752 libc_hidden_def.
38753
73139a76
UD
387542012-01-28 Ulrich Drepper <drepper@gmail.com>
38755
96bc5b45
UD
38756 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38757 Avoid unnecessary __WORDSIZE == 64 test.
38758 (fmaxf): Use VEX format if possible.
38759 (fmax): Likewise.
38760 (fminf): Likewise.
38761 (fmin): Likewise.
38762
56f6f6a2
UD
38763 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38764 * math/math_private.h: Remove libc_fegetround* and
38765 libc_fesetround*.
38766 * sysdeps/i386/configure.in: Check for -msse2avx.
38767 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38768 also if SSE2AVX is defined.
38769 Remove libc_fegetround* and libc_fesetround*.
38770 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38771 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38773 of HAS_YMM_USABLE.
38774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38775 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38777 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38779
73139a76
UD
38780 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38781
d73f93a4
AZ
387822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38783
38784 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38785 size is not set.
38786 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38787
6ee65ed6
UD
387882012-01-27 Ulrich Drepper <drepper@gmail.com>
38789
38790 [BZ #13618]
38791 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38792 relocation.
38793 * Makeconfig (libm): Define.
38794 * elf/Makefile: Add rules to build and run tst-relsort1.
38795 * elf/tst-relsort1.c: New file.
38796 * elf/tst-relsort1mod1.c: New file.
38797 * elf/tst-relsort1mod2.c: New file.
38798
8db21882
JM
387992012-01-27 Joseph Myers <joseph@codesourcery.com>
38800
38801 * math/s_ldexp.c: Remove __STDC__ conditionals.
38802 * math/s_ldexpf.c: Likewise.
38803 * math/s_ldexpl.c: Likewise.
38804 * math/s_nextafter.c: Likewise.
38805 * math/s_nexttowardf.c: Likewise.
38806 * math/s_significand.c: Likewise.
38807 * math/s_significandf.c: Likewise.
38808 * math/s_significandl.c: Likewise.
38809 * math/w_jnl.c: Likewise.
38810 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38811 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38812 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38813 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38814 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38822 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38831 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38832 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38836 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38837 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38838 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38839 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38840 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38841 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38843 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38844 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38846 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38847 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38848 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38849 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38850 * sysdeps/ieee754/k_standard.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38855 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38865 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38926 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38930 * sysdeps/ieee754/s_matherr.c: Likewise.
38931 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38932 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38935
965a54a4
JM
389362012-01-26 Joseph Myers <joseph@codesourcery.com>
38937
38938 * crypt/md5.h: Remove __STDC__ conditionals.
38939 * libio/libioP.h: Likewise.
38940 * locale/programs/config.h: Likewise.
38941 * sysdeps/generic/sysdep.h: Likewise.
38942 * sysdeps/i386/asm-syntax.h: Likewise.
38943 * sysdeps/s390/asm-syntax.h: Likewise.
38944 * sysdeps/unix/sysdep.h: Likewise.
38945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38947
7071ad79
JM
389482012-01-26 Joseph Myers <joseph@codesourcery.com>
38949
38950 * libio/libio.h: Remove __STDC__ conditionals.
38951 * malloc/obstack.h: Likewise.
38952 * math/complex.h: Likewise.
38953 * math/math.h: Likewise.
38954 * sysdeps/generic/_G_config.h: Likewise.
38955 * sysdeps/gnu/_G_config.h: Likewise.
38956 * sysdeps/mach/hurd/_G_config.h: Likewise.
38957 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38958 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38959 * sysdeps/sparc/bits/mathdef.h: Likewise.
38960
afc5ed09
UD
389612012-01-26 Ulrich Drepper <drepper@gmail.com>
38962
38963 [BZ #13583]
38964 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38965 Clean up HAS_* macros.
afc5ed09 38966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38967 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38968 possible.
38969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38970 HAS_AVX.
38971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38972 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38976
bdb6de1d
JM
389772012-01-25 Joseph Myers <joseph@codesourcery.com>
38978
38979 * elf/tst-unique3.cc (gets): Remove declaration.
38980 * elf/tst-unique3lib.cc (gets): Likewise.
38981 * elf/tst-unique3lib2.cc (gets): Likewise.
38982 * elf/tst-unique4.cc (gets): Likewise.
38983
b15549e6
UD
389842012-01-24 Ulrich Drepper <drepper@gmail.com>
38985
38986 * include/stdio.h: Add C++ protection. Add gets declarations and
38987 definitions.
38988 * debug/tst-chk1.c: Don't declare gets here.
38989 * stdio-common/tst-gets.c: Likewise.
38990
a037381f
JM
389912012-01-24 Joseph Myers <joseph@codesourcery.com>
38992
38993 * posix/glob: Remove directory.
38994
f1d4aa75
JM
389952012-01-24 Joseph Myers <joseph@codesourcery.com>
38996
38997 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38998
81c0c964
PT
389992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39000
39001 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39002 of the non-standard EPFNOSUPPORT.
39003
0ea698ae
ST
390042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39005
39006 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39007 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39008 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39009
d220b117
UD
390102012-01-21 Ulrich Drepper <drepper@gmail.com>
39011
39012 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39013
3e1aa84e
UD
390142012-01-20 Ulrich Drepper <drepper@gmail.com>
39015
39016 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39017 transient errors.
39018 * nscd/grpcache.c (cache_addgr): Likewise.
39019 * nscd/hstcache.c (cache_addhst): Likewise.
39020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39021 * nscd/pwdcache.c (cache_addpw): Likewise.
39022 * nscd/servicescache.c (cache_addserv): Likewise.
39023
400aa020
UD
390242012-01-16 Ulrich Drepper <drepper@gmail.com>
39025
d77e7869
UD
39026 * malloc/malloc.c: Various cleanups.
39027 * malloc/hooks.c: Likewise.
39028
400aa020
UD
39029 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39030 * stdlib/bug-fmtmsg1.c: New file.
39031
39032 * stdlib/fmtmsg.c (init): Add missing unlock.
39033 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39034
e0a309cf
MP
390352012-01-12 Marek Polacek <polacek@redhat.com>
39036
39037 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39038 and _GNU_SOURCE.
39039
929d11c7
WS
390402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39041
39042 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39043 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39044 macro to ensure uniqueness of label name.
39045 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39046 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39047
41d0e869
UD
390482012-01-11 Ulrich Drepper <drepper@gmail.com>
39049
0cc5ed3b
UD
39050 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39051
41d0e869
UD
39052 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39053 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39054 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39056
a47a831a
UD
390572012-01-10 Ulrich Drepper <drepper@gmail.com>
39058
daa891c0
UD
39059 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39060
39061 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39062 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39063 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39064
e58ef0f2
UD
39065 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39066
a47a831a 39067 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39068 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39071
39072 * math/bits/math-finite.h: Add ldexp support.
39073
a0bfc9c7
MP
390742012-01-10 Marek Polacek <polacek@redhat.com>
39075
39076 * locale/programs/localedef.h (show_archive_content): Add noreturn
39077 attribute.
39078
d6e97a1d
UD
390792012-01-09 Ulrich Drepper <drepper@gmail.com>
39080
39081 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39082
d5835c26
UD
390832012-01-08 Ulrich Drepper <drepper@gmail.com>
39084
e5f484c6
UD
39085 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39086
d5835c26
UD
39087 * io/Makefile (headers): Add bits/poll2.h.
39088
d1f741e9
WS
390892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39090
39091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39092 typo #include statement.
39093
ec09c1c4
UD
390942012-01-08 Ulrich Drepper <drepper@gmail.com>
39095
39096 * include/sys/cdefs.h: Define __attribute_alloc_size.
39097 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39098 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39099 * elf/pldd.c: Likewise.
39100 * iconv/iconv_charmap.c: Likewise.
39101 * iconv/iconvconfig.c: Likewise.
39102 * iconv/strtab.c: Likewise.
39103 * locale/programs/locale.c: Likewise.
39104 * locale/programs/localedef.h: Likewise.
39105 * locale/programs/simple-hash.c: Likewise.
39106 * nscd/nscd.h: Likewise.
39107 * nss/makedb.c: Likewise.
39108 * sysdeps/generic/ldconfig.h: Likewise.
39109 * locale/programs/localedef.c: Remove xmalloc prototype.
39110 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39111
20b38e03
PP
391122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39113
39114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39115 appropriate.
39116
a0da5fe1
UD
391172012-01-08 Ulrich Drepper <drepper@gmail.com>
39118
1d5a644a 39119 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39120 * math/tst-CMPLX.c: New file.
1d5a644a 39121
8784a6db
UD
39122 * math/complex.h (CMPLXL): Fix typo.
39123
d9a216c0
UD
39124 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39125 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39126 GLIBC_2.16.
39127 * debug/tst-chk1.c: Add poll and ppoll tests.
39128 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39129 * include/sys/poll.h: Add hidden proto for ppoll.
39130 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39131 * sysdeps/mach/hurd/ppoll.c: Likewise.
39132 * io/ppoll.c: Likewise.
39133 * debug/poll_chk.c: New file.
39134 * debug/ppoll_chk.c: New file.
39135 * include/bits/poll2.h: New file.
39136 * io/bits/poll2.h: New file.
39137
ac097f5c
UD
39138 [BZ #1350]
39139 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39140
2119dcfa
UD
39141 * configure.in: static is always set to yes. Remove.
39142 * config.make.in: Don't set build-static.
39143 * Makeconfig: Remove use of build-static.
39144 * dlfcn/Makefile: Likewise.
39145 * elf/Makefile: Likewise.
39146 * math/Makefile: Likewise.
39147 * misc/Makefile: Likewise.
39148 * nptl/Makefile: Likewise.
39149 * sysdeps/mach/hurd/Makefile: Likewise.
39150
121766a9
UD
39151 * configure.in: PWD_P is not used anymore.
39152 * config.make.in: Remove PWD_P entry.
39153
51a1d39c 39154 * configure.in: Remove last remnants of RANLIB.
8720d066 39155 No need to check for signed size_t anymore.
215f4bdc
UD
39156 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39157 and IA-64.
3857022a 39158 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39159 * aclocal.m4: Likewise.
39160
d3ed7225
UD
39161 * wcsmbs/mbrtoc16.c: Implement using towc function.
39162 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39163 * wcsmbs/wcsmbsload.c: Likewise.
39164 * iconv/gconv_simple.c: Likewise.
39165 * iconv/gconv_int.h: Likewise.
39166 * iconv/gconv_builtin.h: Likewise.
39167 * iconv/iconv_prog.c: Remove CHAR16 handling.
39168
39169 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39170
39171 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39172
a0da5fe1
UD
39173 * configure.in: Remove --with-elf and --enable-bounded options.
39174 Dont set base_machine for ia64. More non-ELF conditions removed.
39175 Remove testing and setting of leading underscore information.
39176 * config.make.in (build-bounded): Set to no.
39177 * config.h.in: Remove NO_UNDERSCORES entry.
39178 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39179 them.
39180 * csu/start.c: Remove !NO_UNDERSCORE code.
39181 * locale/localeinfo.h: Likewise.
39182 * sysdeps/generic/machine-gmon.h: Likewise.
39183 * sysdeps/generic/sysdep.h: Likewise.
39184 * sysdeps/i386/sysdep.h: Likewise.
39185 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39186 * sysdeps/mach/sysdep.h: Likewise.
39187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39189 * sysdeps/sh/sysdep.h: Likewise.
39190 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39191 * sysdeps/unix/i386/sysdep.S: Likewise.
39192 * sysdeps/unix/sparc/start.c: Likewise.
39193 * sysdeps/unix/sparc/sysdep.S: Likewise.
39194 * sysdeps/unix/sparc/sysdep.h: Likewise.
39195 * sysdeps/unix/start.c: Likewise.
39196 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39197 * sysdeps/x86_64/sysdep.h: Likewise.
39198
df78418a
UD
391992012-01-07 Ulrich Drepper <drepper@gmail.com>
39200
a784e502
UD
39201 [BZ #13553]
39202 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39203 for non-gcc.
39204 * argp/argp-fmtstream.h: Use const instead __const.
39205 * argp/argp.h: Likewise.
39206 * assert/assert.h: Likewise.
39207 * bits/fenv.h: Likewise.
39208 * bits/sched.h: Likewise.
39209 * bits/sigset.h: Likewise.
39210 * bits/sigthread.h: Likewise.
39211 * catgets/nl_types.h: Likewise.
39212 * conform/data/pthread.h-data: Likewise.
39213 * crypt/crypt-private.h: Likewise.
39214 * crypt/crypt.h: Likewise.
39215 * crypt/crypt_util.c: Likewise.
39216 * ctype/ctype.h: Likewise.
39217 * debug/execinfo.h: Likewise.
39218 * debug/mbsnrtowcs_chk.c: Likewise.
39219 * debug/mbsrtowcs_chk.c: Likewise.
39220 * debug/wcsnrtombs_chk.c: Likewise.
39221 * debug/wcsrtombs_chk.c: Likewise.
39222 * debug/wcstombs_chk.c: Likewise.
39223 * dirent/dirent.h: Likewise.
39224 * dlfcn/dlfcn.h: Likewise.
39225 * elf/neededtest4.c: Likewise.
39226 * grp/grp.h: Likewise.
39227 * gshadow/gshadow.h: Likewise.
39228 * iconv/gconv.h: Likewise.
39229 * iconv/gconv_int.h: Likewise.
39230 * iconv/gconv_simple.c: Likewise.
39231 * iconv/iconv.h: Likewise.
39232 * iconv/loop.c: Likewise.
39233 * iconv/skeleton.c: Likewise.
39234 * include/aio.h: Likewise.
39235 * include/aliases.h: Likewise.
39236 * include/argz.h: Likewise.
39237 * include/arpa/inet.h: Likewise.
39238 * include/assert.h: Likewise.
39239 * include/dirent.h: Likewise.
39240 * include/dlfcn.h: Likewise.
39241 * include/execinfo.h: Likewise.
39242 * include/fcntl.h: Likewise.
39243 * include/fenv.h: Likewise.
39244 * include/glob.h: Likewise.
39245 * include/grp.h: Likewise.
39246 * include/libintl.h: Likewise.
39247 * include/mntent.h: Likewise.
39248 * include/netdb.h: Likewise.
39249 * include/pwd.h: Likewise.
39250 * include/rpc/netdb.h: Likewise.
39251 * include/sched.h: Likewise.
39252 * include/search.h: Likewise.
39253 * include/shadow.h: Likewise.
39254 * include/signal.h: Likewise.
39255 * include/stdio.h: Likewise.
39256 * include/stdlib.h: Likewise.
39257 * include/string.h: Likewise.
39258 * include/sys/socket.h: Likewise.
39259 * include/sys/stat.h: Likewise.
39260 * include/sys/statfs.h: Likewise.
39261 * include/sys/statvfs.h: Likewise.
39262 * include/sys/syslog.h: Likewise.
39263 * include/sys/time.h: Likewise.
39264 * include/sys/uio.h: Likewise.
39265 * include/time.h: Likewise.
39266 * include/unistd.h: Likewise.
39267 * include/utmp.h: Likewise.
39268 * include/wchar.h: Likewise.
39269 * include/wctype.h: Likewise.
39270 * inet/aliases.h: Likewise.
39271 * inet/arpa/inet.h: Likewise.
39272 * inet/netinet/ether.h: Likewise.
39273 * inet/netinet/in.h: Likewise.
39274 * intl/libintl.h: Likewise.
39275 * io/bits/fcntl2.h: Likewise.
39276 * io/fcntl.h: Likewise.
39277 * io/ftw.h: Likewise.
39278 * io/sys/poll.h: Likewise.
39279 * io/sys/stat.h: Likewise.
39280 * io/sys/statfs.h: Likewise.
39281 * io/sys/statvfs.h: Likewise.
39282 * io/utime.h: Likewise.
39283 * libio/bits/stdio.h: Likewise.
39284 * libio/bits/stdio2.h: Likewise.
39285 * libio/libio.h: Likewise.
39286 * libio/libioP.h: Likewise.
39287 * libio/stdio.h: Likewise.
39288 * locale/lc-ctype.c: Likewise.
39289 * locale/locale.h: Likewise.
39290 * login/utmp.h: Likewise.
39291 * malloc/arena.c: Likewise.
39292 * malloc/malloc.c: Likewise.
39293 * malloc/malloc.h: Likewise.
39294 * malloc/mcheck.c: Likewise.
39295 * malloc/mtrace.c: Likewise.
39296 * math/bits/mathcalls.h: Likewise.
39297 * math/fenv.h: Likewise.
39298 * math/math_private.h: Likewise.
39299 * misc/bits/error.h: Likewise.
39300 * misc/bits/syslog.h: Likewise.
39301 * misc/err.h: Likewise.
39302 * misc/error.h: Likewise.
39303 * misc/fstab.h: Likewise.
39304 * misc/mntent.h: Likewise.
39305 * misc/regexp.h: Likewise.
39306 * misc/search.h: Likewise.
39307 * misc/sgtty.h: Likewise.
39308 * misc/sys/mman.h: Likewise.
39309 * misc/sys/syslog.h: Likewise.
39310 * misc/sys/uio.h: Likewise.
39311 * misc/sys/xattr.h: Likewise.
39312 * misc/ttyent.h: Likewise.
39313 * nis/rpcsvc/ypclnt.h: Likewise.
39314 * nss/nss.h: Likewise.
39315 * posix/bits/unistd.h: Likewise.
39316 * posix/fnmatch.h: Likewise.
39317 * posix/glob.h: Likewise.
39318 * posix/sched.h: Likewise.
39319 * posix/spawn.h: Likewise.
39320 * posix/sys/wait.h: Likewise.
39321 * posix/unistd.h: Likewise.
39322 * posix/wordexp.h: Likewise.
39323 * pwd/pwd.h: Likewise.
39324 * resolv/netdb.h: Likewise.
39325 * resource/sys/resource.h: Likewise.
39326 * rt/aio.h: Likewise.
39327 * rt/bits/mqueue2.h: Likewise.
39328 * rt/mqueue.h: Likewise.
39329 * shadow/shadow.h: Likewise.
39330 * signal/signal.h: Likewise.
39331 * socket/send.c: Likewise.
39332 * socket/sendto.c: Likewise.
39333 * socket/sys/socket.h: Likewise.
39334 * stdio-common/printf.h: Likewise.
39335 * stdlib/bits/stdlib.h: Likewise.
39336 * stdlib/fmtmsg.h: Likewise.
39337 * stdlib/monetary.h: Likewise.
39338 * stdlib/stdlib.h: Likewise.
39339 * stdlib/ucontext.h: Likewise.
39340 * streams/stropts.h: Likewise.
39341 * string/argz.h: Likewise.
39342 * string/bits/string2.h: Likewise.
39343 * string/string.h: Likewise.
39344 * string/strings.h: Likewise.
39345 * sunrpc/rpc/auth.h: Likewise.
39346 * sunrpc/rpc/auth_des.h: Likewise.
39347 * sunrpc/rpc/clnt.h: Likewise.
39348 * sunrpc/rpc/netdb.h: Likewise.
39349 * sunrpc/rpc/pmap_clnt.h: Likewise.
39350 * sunrpc/rpc/xdr.h: Likewise.
39351 * sysdeps/generic/inttypes.h: Likewise.
39352 * sysdeps/generic/net/if.h: Likewise.
39353 * sysdeps/generic/sys/swap.h: Likewise.
39354 * sysdeps/gnu/net/if.h: Likewise.
39355 * sysdeps/gnu/utmpx.h: Likewise.
39356 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39357 * sysdeps/i386/i486/bits/string.h: Likewise.
39358 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39359 * sysdeps/s390/bits/string.h: Likewise.
39360 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39361 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39362 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39363 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39364 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39365 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39366 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39367 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39368 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39369 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39370 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39371 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39372 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39373 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39374 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39375 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39376 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39381 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39382 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39383 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39384 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39385 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39386 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39388 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39389 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39390 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39391 * sysvipc/sys/ipc.h: Likewise.
39392 * sysvipc/sys/msg.h: Likewise.
39393 * sysvipc/sys/sem.h: Likewise.
39394 * sysvipc/sys/shm.h: Likewise.
39395 * termios/termios.h: Likewise.
39396 * time/sys/time.h: Likewise.
39397 * time/time.h: Likewise.
39398 * wcsmbs/bits/wchar2.h: Likewise.
39399 * wcsmbs/uchar.h: Likewise.
39400 * wcsmbs/wchar.h: Likewise.
39401 * wctype/wctype.h: Likewise.
39402
0269750c
UD
39403 [BZ #13551]
39404 * Makeconfig: Remove all but ELF support including AIX support.
39405 * Makerules: Likewise.
39406 * config.h.in: Likewise.
39407 * config.make.in: Likewise.
39408 * configure: Likewise.
39409 * configure.in: Likewise.
39410 * csu/Makefile: Likewise.
39411 * csu/version.c: Likewise.
39412 * debug/Makefile: Likewise.
39413 * dlfcn/Makefile: Likewise.
39414 * elf/Makefile: Likewise.
39415 * extra-lib.mk: Likewise.
39416 * iconv/Makefile: Likewise.
39417 * include/libc-symbols.h: Likewise.
39418 * include/shlib-compat.h: Likewise.
39419 * resolv/Makefile: Likewise.
39420 * resolv/res_libc.c: Likewise.
39421 * rt/Makefile: Likewise.
39422 * sysdeps/i386/asm-syntax.h: Likewise.
39423 * sysdeps/i386/sysdep.h: Likewise.
39424 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39425 * sysdeps/mach/sysdep.h: Likewise.
39426 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39427 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39428 * sysdeps/s390/asm-syntax.h: Likewise.
39429 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39431 * sysdeps/sh/sysdep.h: Likewise.
39432 * sysdeps/unix/sparc/sysdep.h: Likewise.
39433 * sysdeps/wordsize-32/divdi3.c: Likewise.
39434 * sysdeps/x86_64/sysdep.h: Likewise.
39435
00bbd29b
UD
39436 * argp/Versions: Remove _argp_unlock_xxx.
39437
39438 [BZ #13559]
39439 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39440 * abilist/libBrokenLocale.abilist: Likewise.
39441 * abilist/libanl.abilist: Likewise.
39442 * abilist/libc.abilist: Likewise.
39443 * abilist/libcrypt.abilist: Likewise.
39444 * abilist/libdl.abilist: Likewise.
39445 * abilist/libm.abilist: Likewise.
39446 * abilist/libnsl.abilist: Likewise.
39447 * abilist/libpthread.abilist: Likewise.
39448 * abilist/libresolv.abilist: Likewise.
39449 * abilist/librt.abilist: Likewise.
39450 * abilist/libthread_db.abilist: Likewise.
39451 * abilist/libutil.abilist: Likewise.
39452 * abilist/libnss_db.abilist: New file.
39453
39454 * scripts/abilist.awk: Add support for indirect functions.
39455
a2693a0e
UD
39456 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39457
3f05895f
UD
39458 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39459
ecb6fb48
UD
39460 * shlib-versions: Remove entries for ports architectures.
39461
664f8cb9
UD
39462 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39463 files in ports.
39464 * elf/stackguard-macros.h: Remove support for IA-64.
39465 * elf/tst-auditmod1.c: Likewise.
39466 * sysdeps/generic/ldsodefs.h: Likewise.
39467
7ae81d88
UD
39468 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39469 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39470 configure files.
39471
bdeba135
UD
39472 [BZ #13552]
39473 * configure.in: Remove --enable-omitfp support.
39474 * FAQ.in: Adjust.
39475 * config.make.in: Likewise.
39476 * Makeconfig: Likewise.
39477 * manual/install.texi: Likewise.
39478
d75a0a62
UD
39479 In case anyone cares, the IA-64 architecture could move to ports.
39480 * sysdeps/ia64/*: Removed.
39481 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39482 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39483
dcc9756b
UD
39484 [BZ #13555]
39485 * configure.in: Remove entries for unsupported architectures.
39486
d3761ebc 39487 [BZ #13533]
9954432e
UD
39488 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39489 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39490 routines.
39491 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39492 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39493 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39494 fall back to using wcrtomb.
39495 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39496 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39497 renaming.
39498 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39499 * wcsmbs/tst-c16c32-1.c: New file.
39500
39501 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39502 local variable.
39503
c3a87236
UD
39504 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39505
28926a1b
UD
39506 * elf/tst-unique3.cc: Add explicit declaration of gets.
39507 * elf/tst-unique3lib.cc: Likewise.
39508 * elf/tst-unique3lib2.cc: Likewise.
39509 * elf/tst-unique4.cc: Likewise.
39510
df78418a
UD
39511 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39512
8ecd6b2a
JM
395132012-01-06 Joseph Myers <joseph@codesourcery.com>
39514
39515 [BZ #13566]
39516 * assert/assert.h (static_assert): Don't define for C++.
39517 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39518 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39519
9f115170
UD
395202012-01-03 Ulrich Drepper <drepper@gmail.com>
39521
5e0d0300
UD
39522 * iconv/loop.c (single loop): Fix assertion in storing of
39523 remaining bytes.
39524
9f115170
UD
39525 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39526
81fb02b0
UD
395272012-01-01 Ulrich Drepper <drepper@gmail.com>
39528
39529 * posix/getconf.c: Update copyright year.
39530 * nss/getent.c: Likewise.
a316c1f6 39531 * nss/makedb.c: Likewise.
81fb02b0
UD
39532 * iconv/iconvconfig.c: Likewise.
39533 * iconv/iconv_prog.c: Likewise.
39534 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39535 * elf/pldd.c: Likewise.
39536 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39537 * catgets/gencat.c: Likewise.
39538 * csu/version.c: Likewise.
39539 * elf/ldd.bash.in: Likewise.
39540 * elf/sprof.c (print_version): Likewise.
39541 * locale/programs/locale.c: Likewise.
39542 * locale/programs/localedef.c: Likewise.
a316c1f6 39543 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39544 * nscd/nscd.c (print_version): Likewise.
39545 * debug/xtrace.sh: Likewise.
39546 * malloc/memusage.sh: Likewise.
39547 * malloc/mtrace.pl: Likewise.
39548 * debug/catchsegv.sh: Likewise.
39549
2ba92745
JJ
395502011-12-30 Jakub Jelinek <jakub@redhat.com>
39551
39552 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39553 pure attribute.
39554
dadebdae
UD
395552011-12-24 Ulrich Drepper <drepper@gmail.com>
39556
d3761ebc 39557 [BZ #13533]
db6af3eb
UD
39558 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39559 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39560 transformations.
39561 * iconv/gconv_int.h: Likewise.
39562 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39563 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39564 from libc for GLIBC_2.16.
39565 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39566 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39567 * wcsmbs/uchar.h: Really define mbstate_t.
39568 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39569 * wcsmbs/c16rtomb.c: New file.
39570 * wcsmbs/mbrtoc16.c: New file.
39571 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39572 for C/POSIX locale.
39573 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39574 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39575
dadebdae
UD
39576 * wcsmbs/wchar.h: Add missing __restrict.
39577
67371b56
UD
395782011-12-23 Ulrich Drepper <drepper@gmail.com>
39579
74033a25
UD
39580 [BZ #13532]
39581 * time/Makefile (routines): Add timespec_get.
39582 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39583 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39584 timespec for ISO C11.
39585 * time/timespec_get.c: New file.
39586 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39587 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39588
380d7e87
UD
39589 [BZ #13531]
39590 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39591 * stdlib/stdlib.h: Declare aligned_alloc.
39592 * Versions.def: Add GLIBC_2.16 for libc.
39593 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39594
4e9e7a35
UD
39595 [BZ 13527]
39596 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39597 ISO C11.
39598
380d7e87 39599 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39600 code.
39601
03a71829
UD
39602 [BZ #13528]
39603 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39604
839e283e
UD
39605 [BZ #13529]
39606 * assert/assert.h (static_assert): Define.
39607
ce5294e2 39608 * version.h: Update for 2.16 development version.
90fa7312 39609
8d44e150 39610 [BZ #13526]
d7809905
UD
39611 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39612 _ISOC11_SOURCE.
39613
c0da14cd
UD
39614 * version.h (RELEASE): Bump for 2.15 release.
39615 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39616
530a3249
MP
39617 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39618 Patch by Marek Polacek <mpolacek@redhat.com>.
39619
67371b56
UD
39620 * bits/byteswap.h: Protect long long constants with __extension__.
39621 * sysdeps/i386/bits/byteswap.h: Likewise.
39622 * sysdeps/ia64/bits/byteswap.h: Likewise.
39623 * sysdeps/s390/bits/byteswap.h: Likewise.
39624 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39625
15db4de1
LD
396262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39627
39628 [BZ #13540]
bbe315ea
LD
39629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39630 destination buffer.
15db4de1
LD
39631 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39632
2b2596b1
MP
396332011-12-23 Marek Polacek <polacek@redhat.com>
39634
39635 * elf/dl-addr.c (determine_info): Add inline keyword.
39636 * elf/tst-auditmod4b.c (check_avx): Likewise.
39637 * elf/tst-auditmod6b.c (check_avx): Likewise.
39638 * elf/tst-auditmod6c.c (check_avx): Likewise.
39639 * elf/tst-auditmod7b.c (check_avx): Likewise.
39640
70c6c246
UD
396412011-12-23 Ulrich Drepper <drepper@gmail.com>
39642
39643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39644 !__SSE_MATH__.
39645
c044cf14
LD
396462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39647
15db4de1 39648 [BZ #13540]
c044cf14
LD
39649 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39650 processing for last bytes.
39651
6b13d9d9
BH
396522011-08-06 Bruno Haible <bruno@clisp.org>
39653
d455f537
BH
39654 [BZ #13061]
39655 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39656 U+0385, not to U+1FEE.
39657
6b13d9d9
BH
39658 [BZ #13062]
39659 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39660 entry for U+00A5 U+0301.
39661
db910efd
UD
396622011-12-22 Ulrich Drepper <drepper@gmail.com>
39663
27deeafc
UD
39664 [BZ #13166]
39665 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39666 buffer for the output is too small.
39667
aed9d171
UD
39668 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39669 optimization.
39670
db910efd
UD
39671 [BZ #13185]
39672 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39673 SSE flags if possible.
39674
2bd779ae
LD
396752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39676
e7f9dac3 39677 [BZ #13540]
2bd779ae
LD
39678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39679 processing for last bytes.
39680
154bfc16
JM
396812011-12-22 Joseph Myers <joseph@codesourcery.com>
39682
39683 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39684 (syscall-list-default-options, syscall-list-default-condition)
39685 (syscall-list-includes): Define.
39686 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39687 list of ABIs and options and #if conditions for each ABI. Do not
39688 handle common syscalls between ABIs specially.
39689 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39690 Remove.
39691 (syscall-list-variants, syscall-list-32bit-options)
39692 (syscall-list-32bit-condition, syscall-list-64bit-options)
39693 (syscall-list-64bit-condition): Define.
39694 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39695 (syscall-list-variants, syscall-list-32bit-options)
39696 (syscall-list-32bit-condition, syscall-list-64bit-options)
39697 (syscall-list-64bit-condition): Define.
39698 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39699 Remove.
39700 (syscall-list-variants, syscall-list-32bit-options)
39701 (syscall-list-32bit-condition, syscall-list-64bit-options)
39702 (syscall-list-64bit-condition): Define.
39703 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39704 Remove.
39705 (syscall-list-variants, syscall-list-32bit-options)
39706 (syscall-list-32bit-condition, syscall-list-64bit-options)
39707 (syscall-list-64bit-condition): Define.
39708
21eaf3a5
UD
397092011-12-22 Ulrich Drepper <drepper@gmail.com>
39710
16c6f992
UD
39711 * locale/iso-639.def: Add brx entry.
39712
41043168
UD
39713 [BZ #13328]
39714 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39715 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39716
21eaf3a5
UD
39717 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39718 __feraiseexcept_renamed.
39719
e3a851a2
UD
397202011-12-21 Ulrich Drepper <drepper@gmail.com>
39721
4920765e
UD
39722 [BZ #13538]
39723 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39724 EPOLLET with unsigned values.
39725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39727
e3a851a2
UD
39728 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39729 to large cancellation.
39730 * math/s_cacoshf.c: Likewise.
39731 * math/s_cacoshl.c: Likewise.
39732
b27e24b8
RK
397332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39734
39735 [BZ #13305]
aebefeee 39736 [BZ #12786]
b27e24b8
RK
39737 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39738 * math/s_cacoshf.c: Likewise.
39739 * math/s_cacoshl.c: Likewise.
39740
ee190f67
UD
397412011-12-21 Ulrich Drepper <drepper@gmail.com>
39742
39743 [BZ #13439]
39744 * iconv/gconv.h: Define __GCONV_SWAP.
39745 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39746 * iconvdata/utf-16.c: Likewise.
39747 * iconvdata/utf-32.c: Likewise.
39748
707f25df
AS
397492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39750
39751 [BZ #13524]
39752 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39753 numerator after shifting it by one limb.
39754
d2daaa1e
RÁE
397552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39756
39757 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39758 under [__USE_EXTERN_INLINES].
39759
a4647e72
UD
397602011-12-17 Ulrich Drepper <drepper@gmail.com>
39761
39762 [BZ #13446]
39763 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39764
f0b264f1
AZ
397652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39766
39767 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39768 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39769 optimized code.
39770 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39771 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39772 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39773 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39774 for strncasecmp/strncasecmp_l compilation.
39775 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39776 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39777
8ef4f244
MP
397782011-12-08 Marek Polacek <mpolacek@redhat.com>
39779
39780 [BZ #13484]
39781 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39782 of __asm__.
39783
97ac2654
UD
397842011-12-17 Ulrich Drepper <drepper@gmail.com>
39785
39786 [BZ #13506]
39787 * time/tzfile.c (__tzfile_read): Check values from file header.
39788
91d2a845
WS
397892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39790
39791 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39792 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39793 * powerpc/powerpc32/dl-start.S: Likewise.
39794 * powerpc/powerpc32/elf/start.S: Likewise.
39795 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39796 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39797 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39798 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39799 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39800 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39801 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39802 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39803 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39804 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39805 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39806 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39807 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39808 * powerpc/powerpc32/memset.S: Likewise.
39809 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39810 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39811 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39812 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39813 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39814 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39815 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39816 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39817 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39818 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39819 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39820 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39821 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39822
a1267ba1
AZ
398232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39824
39825 * math/libm-test.inc: Added more nearbyint tests.
39826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39830
ad8ac1bd
RL
398312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39832
39833 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39834 FD_CLOEXEC.
39835
1d3e4b61
UD
398362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39837
39838 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39839 Add wcscpy-ssse3 wcscpy-c.
39840 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39841 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39842 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39843 * sysdeps/x86_64/wcschr.S: New file.
39844 * sysdeps/x86_64/wcsrchr.S: New file.
39845 * string/test-strcmp.c: Remove checking of wcscmp function for
39846 wrong alignments.
39847 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39848 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39849 wcsrchr-sse2 wcsrchr-c.
39850 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39851 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39852 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39853 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39854 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39855 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39856 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39857 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39858 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39859 * wcsmbc/wcschr.c (WCSCHR): New macro.
39860
5b330a2d
UD
398612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39862
39863 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39864 * wcsmbs/test-wcsrchr.c: New file.
39865 * string/test-strrchr.c: Add wcsrchr support.
39866 (WIDE): New macro.
39867 * wcsmbs/test-wcscpy.c: New file.
39868 * string/test-strcpy.c: Add wcscpy support.
39869 (WIDE): New macro.
26428b7c 39870
f039c043
UD
398712011-12-10 Ulrich Drepper <drepper@gmail.com>
39872
39873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39874 the inner loop.
39875
850fb039
AS
398762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39877
39878 [BZ #13472]
39879 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39880
4efbd5cb
UD
398812011-12-04 Ulrich Drepper <drepper@gmail.com>
39882
52ff5dd0 39883 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39884 Minor optimizations.
52ff5dd0 39885
4efbd5cb
UD
39886 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39887 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39888 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39889
8a426e12
UD
398902011-12-03 Ulrich Drepper <drepper@gmail.com>
39891
aff2453d
UD
39892 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39893 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39894 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39895 for gcc to avoid warnings.
39896 * inet/Makefile (tests): Add tst-checks.
39897 * inet/tst-checks.c: New file.
39898
39899 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39900 warning.
39901
39902 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39903 __wmemcmp_sse2.
39904
39905 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39906 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39907
8a426e12
UD
39908 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39909
9bea3473
UD
399102011-12-02 Ulrich Drepper <drepper@gmail.com>
39911
3a965496
UD
39912 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39913 problem.
39914
9bea3473
UD
39915 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39916
f101631b
UD
399172011-11-29 Joseph Myers <joseph@codesourcery.com>
39918
39919 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39920 conditional on GCC version.
39921 (__arch_compare_and_exchange_val_8_acq)
39922 (__arch_compare_and_exchange_val_16_acq)
39923 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39924 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39925 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39926
a98275aa
UD
399272011-12-02 Joseph Myers <joseph@codesourcery.com>
39928
39929 * sysdeps/sh/backtrace.c: New file.
39930
d4cc29a2
AS
399312011-12-02 Andreas Schwab <schwab@redhat.com>
39932
39933 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39934 parenthesis.
39935
6257af2d
AS
399362011-12-01 Andreas Schwab <schwab@redhat.com>
39937
39938 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39939 falling back to utime.
39940
b5f44c1a
AS
399412011-11-30 Andreas Schwab <schwab@redhat.com>
39942
39943 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39944 expectations for float.
39945
f3a6cc0a
AS
399462011-11-29 Andreas Schwab <schwab@redhat.com>
39947
39948 * locale/weight.h (findidx): Add parameter len.
39949 * locale/weightwc.h (findidx): Likewise.
39950 * posix/fnmatch_loop.c (FCT): Adjust caller.
39951 * posix/regcomp.c (build_equiv_class): Likewise.
39952 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39953 * posix/regexec.c (check_node_accept_bytes): Likewise.
39954 * string/strcoll_l.c (STRCOLL): Likewise.
39955 * string/strxfrm_l.c (STRXFRM): Likewise.
39956
9d65ea3a
UD
399572011-11-17 Ulrich Drepper <drepper@gmail.com>
39958
39959 * Makefile.in: Remove CVSOPT handling.
39960 * configure.in: Remove use of AC_REVISION.
39961 * iconvdata/Makefile (distribute): No need to filter out CVS.
39962 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39963 handling.
39964
5583a086
AS
399652011-11-16 Andreas Schwab <schwab@redhat.com>
39966
39967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39968 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39969 [USE_AS_STRNCASECMP_L]: Likewise.
39970 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39971 NO_TLS_DIRECT_SEG_REFS.
39972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39973 Fix argument offsets for non-PIC.
39974 [USE_AS_STRNCASECMP_L]: Likewise.
39975 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39976 NO_TLS_DIRECT_SEG_REFS.
39977
d62a8200
UD
399782011-11-15 Ulrich Drepper <drepper@gmail.com>
39979
9d65ea3a 39980 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39981 O_CLOEXEC.
39982 * locale/loadlocale.c (_nl_load_locale): Likewise.
39983
09f93bd3
AS
399842011-11-15 Andreas Schwab <schwab@redhat.com>
39985
446514f9
AS
39986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39987 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39989 (SYSCALL_GETTIME): Set errno on error.
39990
09f93bd3
AS
39991 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39992 count references to noai6ai_cached.
39993
312be3f9
UD
399942011-11-15 Ulrich Drepper <drepper@gmail.com>
39995
39996 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39997
39998 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39999 FD_CLOEXEC for /proc/self/maps.
40000
40001 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40002 FD_CLOEXEC for /proc/meminfo.
40003
40004 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40005 gai.conf.
40006
40007 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40008 FD_CLOEXEC for given file.
40009
40010 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40011
40012 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40013 FD_CLOEXEC for /etc/hosts.
40014 (_gethtent): Likewise.
40015
40016 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40017
40018 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40019 cancellation and set FD_CLOEXEC for /etc/netgroup.
40020
40021 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40022 reading /etc/publickey.
40023
40024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40025 allow cancellation when reading /etc/group.
40026
40027 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40028 cancellation.
40029 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40030
40031 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40032 when using data file.
40033
40034 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40035
40036 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40037 (write_nis_obj): Use "c" and "e" in fopen.
40038
40039 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40040
40041 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40042
40043 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40044
40045 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40046
40047 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40048 locale.alias.
40049
40050 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40051
40052 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40053
40054 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40055
40056 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40057 file parsing and set FD_CLOEXEC.
40058
82af0fa8
UD
400592011-11-14 Ulrich Drepper <drepper@gmail.com>
40060
40061 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40062
a5fb313c
AS
400632011-11-14 Andreas Schwab <schwab@redhat.com>
40064
40065 * malloc/arena.c (arena_get2): Don't call reused_arena when
40066 _int_new_arena failed.
40067
6abf3465
UD
400682011-11-14 Ulrich Drepper <drepper@gmail.com>
40069
40070 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40071 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40073 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40074 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40075 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40076 to compile strcasecmp and strncasecmp.
40077 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40078 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40079
40080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40081
76e3966e
UD
400822011-11-13 Ulrich Drepper <drepper@gmail.com>
40083
40084 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40085 locale-defines.sym to gen-as-const-headers.
40086 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40087 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40089 to compile strcasecmp and strncasecmp.
40090 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40091 strcasecmp_l and strncasecmp_l.
40092 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40093 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40094 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40095 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40096 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40097 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40098 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40099 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40100 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40101 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40102 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40103
ab26144e
UD
401042011-11-12 Ulrich Drepper <drepper@gmail.com>
40105
7edb22ef
UD
40106 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40107 result of SYSDEP_GETTIME_CPU to retval.
40108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40109 parameter list to macro. Remove trailing semicolon. Adjust users.
40110
9694fc44
UD
40111 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40112 variable.
40113
8ad89ef8
UD
40114 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40115 mantissa words.
40116 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40117
0c822ef9
UD
40118 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40119 from unused variable.
40120
874e0564
UD
40121 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40122 DWARF definitions.
40123 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40124 for assembling.
40125
3a2edc79
UD
40126 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40127 over namespaces.
40128
f3c2577f
UD
40129 * sunrpc/rpc_prot.c (rejected): Fix case value.
40130
294ce126
UD
40131 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40132 unsigned long long int to avoid warnings in shift.
40133
5e2b63c6
UD
40134 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40135 of use of trans.
40136 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40137 variable tmp.
40138
e7f4b08e
UD
40139 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40140 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40142
ab26144e
UD
40143 * nis/nis_table.c (nis_list): Use variable of correct type for
40144 result of __follow_path call.
40145
8a6d5255
AZ
401462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40147
40148 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40149 of math functions ceil, trunc, floor, round, and sqrt, when
40150 avaliable on the platform.
40151 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40152 name clash.
40153 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40154 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40155 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40156
aaddc98c
MP
401572011-10-30 Marek Polacek <mpolacek@redhat.com>
40158
40159 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40160 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40161
95b7042b
RM
401622011-11-11 Roland McGrath <roland@hack.frob.com>
40163
40164 * include/unistd.h: Fix __readlink return type.
40165 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40166
57769839
UD
401672011-11-11 Ulrich Drepper <drepper@gmail.com>
40168
40169 * stdlib/ucontext.h: Undo last change for makecontext.
40170
edc5984d
AS
401712011-11-11 Andreas Schwab <schwab@redhat.com>
40172
98591e58
AS
40173 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40174
edc5984d
AS
40175 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40176 * setjmp/setjmp.h: Mark functions as non-leaf.
40177 * setjmp/bits/setjmp2.h: Likewise.
40178 * stdlib/ucontext.h: Likewise.
40179
77cdc054
AS
401802011-11-10 Andreas Schwab <schwab@redhat.com>
40181
40182 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40183 (reused_arena): Don't check arena limit.
40184 (arena_get2): Atomically check arena limit.
40185
fe72eebd
UD
401862011-11-08 Ulrich Drepper <drepper@gmail.com>
40187
5f078c32
UD
40188 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40189 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40190
fe72eebd
UD
40191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40192 instructions.
40193
ae1bc2fa
AS
401942011-11-07 Andreas Schwab <schwab@redhat.com>
40195
7583a88d
AS
40196 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40197 handler when locking.
40198
ae1bc2fa
AS
40199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40200 Fix size of allocated buffer.
40201
10fb0bfa
AS
402022011-11-04 Andreas Schwab <schwab@redhat.com>
40203
998832a4
AS
40204 [BZ #10103]
40205 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40206 declarations for long double functions.
40207 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40208
10fb0bfa
AS
40209 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40210
3d7ba52b
AS
402112011-11-03 Andreas Schwab <schwab@redhat.com>
40212
a9ae54a1
AS
40213 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40214 installed.
40215
3d7ba52b
AS
40216 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40217 is disabled.
40218
bc8db248
ST
402192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40220
40221 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40222
45b96dd6
AS
402232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40224
647776f6
AS
40225 * include/alloca.h (stackinfo_alloca_round): Define.
40226 (extend_alloca): Use it.
40227 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40228 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40229 here.
40230
d91a8b93
AS
40231 * scripts/check-local-headers.sh: Ignore libaudit.h.
40232
45b96dd6
AS
40233 * nscd/Makefile (extra-objs): Make recursively expanded.
40234
432d41ce
UD
402352011-11-01 Ulrich Drepper <drepper@gmail.com>
40236
34372fc6
UD
40237 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40239
fadb59f8
UD
40240 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40241 * posix/tst-rfc3484-2.c: Likewise.
40242 * posix/tst-rfc3484-3.c: Likewise.
40243
78239589
UD
40244 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40245 process_vm_writev.
40246 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40247 process_vm_writev.
40248 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40249 process_vm_writev from libc using GLIBC_2.15 version.
40250
432d41ce
UD
40251 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40252
02f9c6cf
PP
402532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40254
40255 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40256 stack usage.
40257
3a2c0242
UD
402582011-10-31 Ulrich Drepper <drepper@gmail.com>
40259
f4ec4833
UD
40260 [BZ #13367]
40261 * nss/getent.c (initgroups_keys): Show error message in case no group
40262 names are given.
40263
3a2c0242
UD
40264 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40265 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40266 __bump_nl_timestamp.
40267 * nscd/connections (nscd_init): When host database is served open
40268 netlink socket and request notification about configuration changes.
40269 (main_loop_poll): Track netlink file descriptor and bump timestamp
40270 in case data becomes available.
40271 (main_loop_epoll): Likewise.
40272 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40273 (database_pers_head): Add extra_data fileds.
40274 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40275 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40276 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40277 Adjust caller.
40278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40279 in6ai data, call __free_in6ai.
40280 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40281 Add -DHAVE_NETLINK.
40282 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40283 interface information. Reuse previous data if netlink timestamp
40284 is not changed.
40285 (__bump_nl_timestamp): New function.
40286 (__free_in6ai): New function.
40287
636064eb
UD
402882011-10-30 Ulrich Drepper <drepper@gmail.com>
40289
40290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40291 close_not_cancel_no_status here.
40292 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40293
9beb2334
UD
402942011-10-29 Ulrich Drepper <drepper@gmail.com>
40295
6ef76f3b
UD
40296 [BZ #13276]
40297 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40298 return value.
40299
0ffc4f3e 40300 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40301 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40302 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40303
cb95113e
UD
403042011-07-03 Andreas Jaeger <aj@suse.de>
40305
40306 [BZ #10709]
40307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40308 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40309 * math/libm-test.inc (sin_test): Add test case.
40310
a1b560ff
UD
403112011-10-29 Ulrich Drepper <drepper@gmail.com>
40312
c9aaface
UD
40313 [BZ #13337]
40314 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40315 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40316
d272e7f1
UD
40317 * elf/chroot_canon.c (chroot_canon): Cleanups.
40318
1bc33071
UD
40319 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40320
1760874d
TJ
40321 [BZ #13335]
40322 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40323 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40324
51d91b18
UD
40325 * string/test-strchr.c: Make usable for strchrnul testing.
40326 * string/test-strchrnul.c: New file.
40327 * string/Makefile (strop-tests): Add strchrnul.
40328
a1b560ff 40329 * po/it.po: Update from translation team.
b611fb81 40330 * po/es.po: Likewise.
a1b560ff 40331
a5b81e1f
UD
403322011-10-28 Ulrich Drepper <drepper@gmail.com>
40333
fd52bc6d
UD
40334 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40335 the three constants needed as parameters. Drop the others.
40336 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40337 __m128i_strloadu_tolower.
52e4b9eb
UD
40338 Create and initialize variable zero and use it in all the places
40339 where _mm_setzero_si128 was used.
fd52bc6d 40340
a5b81e1f
UD
40341 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40342 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40343 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40345 anymore.
40346 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40347 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40348 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40349 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40350 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40351 __mpranred, __mptan.
40352 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40353 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40354 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40355 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40356 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40357 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40359 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40360 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40361
b4343346
AS
403622011-10-28 Andreas Schwab <schwab@redhat.com>
40363
0c92d8a8
AS
40364 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40365 redefine if SHARED.
40366 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40367
b4343346
AS
40368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40369 wide char related routines to wcsmbs subdir.
40370
3871f58f
AS
403712011-10-27 Andreas Schwab <schwab@redhat.com>
40372
40373 [BZ #13344]
40374 * misc/sys/cdefs.h (__THROWNL): Define.
40375 * posix/unistd.h: Use __THREADNL instead of __THREAD
40376 for memory synchronization functions.
40377
94d44d9f
RM
403782011-10-26 Roland McGrath <roland@hack.frob.com>
40379
21b64b15 40380 [BZ #13349]
94d44d9f
RM
40381 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40382 doesn't exist.
40383 * manual/stdio.texi (Obstack Streams): Node removed.
40384
f6ce9294
AS
403852011-10-26 Andreas Schwab <schwab@redhat.com>
40386
80479147
AS
40387 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40390
f6ce9294
AS
40391 * math/math_private.h (math_force_eval): Allow non-addressable
40392 arguments.
40393 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40394
618280a1
UD
403952011-10-25 Ulrich Drepper <drepper@gmail.com>
40396
e0016b11
UD
40397 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40398 file is not needed.
40399
40400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40402 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40403 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40404 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40406 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40407 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40408 Add AVX variants.
40409 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40410 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40411 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40412 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40413 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40414 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40415 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40416 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40417 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40418 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40419 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40420 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40422 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40423 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40424 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40425 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40427 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40428
40429 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40430 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40431
618280a1
UD
40432 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40433 place. Use VEX encoding when compiling for AVX.
40434
37822576
AS
404352011-10-25 Andreas Schwab <schwab@redhat.com>
40436
1f1e1947
AS
40437 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40438 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40439
37822576
AS
40440 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40441
31ea014d
UD
404422011-10-25 Ulrich Drepper <drepper@gmail.com>
40443
d7826aa1 40444 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40445 useless if() expression.
d7826aa1
UD
40446 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40448 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40450 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40454 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40455 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40456 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40457 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40458 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40460 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40462 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40464 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40465
31ea014d
UD
40466 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40467
16437fec
AS
404682011-10-25 Andreas Schwab <schwab@redhat.com>
40469
40470 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40471 condition.
40472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40473
31d3cc00
UD
404742011-10-25 Ulrich Drepper <drepper@gmail.com>
40475
40476 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40477 .text section. Avoid duplicate constants.
40478 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40480 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40488 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40490 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40493 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40495 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40496 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40498 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40502 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40503 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40504 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40505 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40506 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40508 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40509 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40510 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40511 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40512 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40513 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40514 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40515 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40516 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40517 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40519 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40520 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40522 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40523
58985aa9
UD
405242011-10-24 Ulrich Drepper <drepper@gmail.com>
40525
202c9deb
UD
40526 * sysdeps/x86_64/dla.h: Move to ...
40527 * sysdeps/x86_64/fpu/dla.h: ...here.
40528 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40529 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40530
af968f62
UD
40531 * config.make.in: Add have-mfma4 entry.
40532 * configure.in: Substitute libc_cv_cc_fma4.
40533 * math/Makefile (dbl-only-routines): Add sincostab.
40534 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40535 Use __sincostab not sincos.
40536 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40537 name is a macro.
40538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40542 using __copysign.
40543 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40544 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40545 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40546 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40547 and __inv.
40548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40549 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40550 __copysign.
40551 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40552 define aliases when function name is a macro.
40553 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40554 sysdeps/ieee754/dbl-64/sincos.tbl.
40555 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40556 fma4-enabled routines.
40557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40558 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40559 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40560 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40562 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40565 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40567 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40569 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40570 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40572 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40573 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40574 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40575 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40577 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40578 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40581 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40582 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40583 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40584 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40586 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40587
58985aa9
UD
40588 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40589 rename.
40590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40598
a201fbcf
AS
405992011-10-24 Andreas Schwab <schwab@redhat.com>
40600
40601 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40602
fc2ee42a
LD
406032011-10-23 Ulrich Drepper <drepper@gmail.com>
40604
bb3129bd
UD
40605 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40606
0275fff8
UD
40607 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40608 prediction.
40609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40610
2fa2ae85
UD
40611 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40612 Remove unused variable magic_bits.
40613 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40614
fc2ee42a
LD
40615 * string/strnlen.c: Define and use STRNLEN macro.
40616 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40617 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40619 * wcsmbs/wcslen.c: Define and use WCSLEN.
40620 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40621 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40622 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40623 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40624 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40625 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40626 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40627
ce7dd29f
LD
406282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40629
40630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40631 strnlen-sse2-no-bsf.
40632 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40634 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40635 Add strnlen support.
40636 (USE_AS_STRNLEN): New macro.
40637 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40638 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40639 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40640 * sysdeps/x86_64/wcslen.S: New file.
40641
979c70a3
MZ
406422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40643
40644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40645 XMM-moves are used for copying on small sizes.
40646
2d09f82f
LD
406472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40648
40649 * wcsmbs/Makefile (strop-tests): Add wcschr.
40650 * wcsmbs/test-wcschr.c: New file.
40651 * string/test-strchr.c: Update.
40652 Add wcschr support.
40653 (WIDE): New macro.
40654
619fccca
LD
406552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40656
2d09f82f 40657 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40658 * wcsmbs/test-wcslen.c: New file.
40659 * string/test-strlen.c: Update.
40660 Add wcslen support.
40661 (WIDE): New macro.
40662
09f699ea
UD
406632011-10-23 Ulrich Drepper <drepper@gmail.com>
40664
40665 * po/it.po: Update from translation team.
40666
95584d3b
LD
406672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40668
40669 * sysdeps/x86_64/wcscmp.S: Update.
40670 Fix wrong comparison semantics.
40671 wcscmp shall use signed comparison not unsigned.
40672 Don't use substraction to avoid overflow bug.
40673 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40674 * wcsmbc/wcscmp.c: Likewise.
40675 * string/test-strcmp.c: Likewise.
40676 Add new tests to check cases with negative values.
40677
c8b3296b
UD
406782011-10-23 Ulrich Drepper <drepper@gmail.com>
40679
40680 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40681 * sysdeps/x86_64/dla.h: ...here. New file.
40682 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40687 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40691
246ad57a
AS
406922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40693
40694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40695 __ynl_finite aliases.
40696
a1a87169
UD
406972011-10-22 Ulrich Drepper <drepper@gmail.com>
40698
0d355eb7
UD
40699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40700
a1a87169
UD
40701 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40702 define DLA_FMA.
40703 [DLA_FMA] (EMULV): Use DLA_FMA.
40704 [DLA_FMA] (MUL12): Use EMULV.
40705 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40706 that are not needed.
40707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40714
ee2aafe0
AS
407152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40716
40717 * math/s_nan.c: Undef __nan.
40718 * math/s_nanf.c: Undef __nanf.
40719 * math/s_nanl.c: Undef __nanl.
40720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40721 "math_private.h".
40722
bc62c2fb
UD
407232011-10-22 Ulrich Drepper <drepper@gmail.com>
40724
77425c63
UD
40725 * math/s_catan.c: Add branch predictions.
40726 * math/s_catanf.c: Likewise.
40727 * math/s_catanh.c: Likewise.
40728 * math/s_catanhf.c: Likewise.
40729 * math/s_catanhl.c: Likewise.
40730 * math/s_catanl.c: Likewise.
40731 * math/s_cexp.c: Likewise.
40732 * math/s_cexpf.c: Likewise.
40733 * math/s_cexpl.c: Likewise.
40734 * math/s_clog.c: Likewise.
40735 * math/s_clog10.c: Likewise.
40736 * math/s_clog10f.c: Likewise.
40737 * math/s_clog10l.c: Likewise.
40738 * math/s_clogf.c: Likewise.
40739 * math/s_clogl.c: Likewise.
40740 * math/s_csqrt.c: Likewise.
40741 * math/s_csqrtf.c: Likewise.
40742 * math/s_csqrtl.c: Likewise.
40743 * math/s_ctanf.c: Likewise.
40744 * math/s_ctanh.c: Likewise.
40745 * math/s_ctanhf.c: Likewise.
40746 * math/s_ctanhl.c: Likewise.
40747 * math/s_ctanl.c: Likewise.
40748
bc62c2fb
UD
40749 * math/math_private.h: Define __nan, __nanf, __nanl.
40750 * math/s_cacosh.c: Include <math_private.h>.
40751 * math/s_cacoshl.c: Likewise.
40752 * math/s_casinh.c: Likewise.
40753 * math/s_casinhf.c: Likewise.
40754 * math/s_casinhl.c: Likewise.
40755 * math/s_ccos.c: Rely entire on ccosh.
40756 * math/s_ccosf.c: Rely entire on ccoshf.
40757 * math/s_ccosl.c: Rely entirely on ccoshl.
40758 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40759 Remove tests for FE_INVALID.
40760 * math/s_ccoshf.c: Likewise.
40761 * math/s_ccoshl.c: Likewise.
40762 * math/s_csin.c: Likewise.
40763 * math/s_csinf.c: Likewise.
40764 * math/s_csinh.c Likewise.
40765 * math/s_csinhf.c: Likewise.
40766 * math/s_csinhl.c: Likewise.
40767 * math/s_csinl.c: Likewise.
40768 * math/s_ctan.c: Likewise.
40769 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40770 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40771 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40772
8ec250a4
UD
407732011-10-21 Ulrich Drepper <drepper@gmail.com>
40774
c196fed8
UD
40775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40776 compilation problems.
40777
8ec250a4
UD
40778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40779 __builtin_expect.
40780
8d4f46c6
UD
407812011-10-20 Ulrich Drepper <drepper@gmail.com>
40782
ed72b654
UD
40783 * sysdeps/i386/configure.in: Test for -mfma4 option.
40784 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40785 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40786 COMMON_CPUID_INDEX_80000001.
40787 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40788 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40789 use it if FMA3 is not supported.
40790 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40791
8d4f46c6
UD
40792 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40793 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40794
d45c60c2
AS
407952011-10-20 Andreas Schwab <schwab@redhat.com>
40796
40797 [BZ #12892]
40798 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40799 it would create a cycle with a link time dependency.
40800
d9a4d2ab
UD
408012011-10-19 Ulrich Drepper <drepper@gmail.com>
40802
855d1560
UD
40803 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40804 instruction.
40805 * string/Makefile (strop-tests): Add rawmemchr.
40806 * string/test-rawmemchr.c: New file.
40807
d9a4d2ab
UD
40808 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40810 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40811 when compiling str{,n}casecmp and when AVX is available. Hook up
40812 new optimized code in initializers.
40813
8f3b1ffe
AS
408142011-10-19 Andreas Schwab <schwab@redhat.com>
40815
40816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40817 __feraiseexcept instead of feraiseexcept.
40818
d38f1dba
UD
408192011-10-18 Ulrich Drepper <drepper@gmail.com>
40820
d9a8d0ab
UD
40821 * math/math_private.h: Define defaults for libc_fetestexcept and
40822 libc_feupdateenv.
40823 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40824 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40825 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40826 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40829 libc_fetestexcept and libc_feupdateenv.
40830
4855e3dd
UD
40831 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40832 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40833 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40834 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40835 libc_feholdexcept_setround.
40836
581d30e3
UD
40837 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40838 Add s_nearbyint-c and s_nearbyintf-c.
40839 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40840 nearbyintf inlines.
40841 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40843 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40845
d38f1dba
UD
40846 * math/math_private.h: Define defaults for libc_fegetround,
40847 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40848 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40849 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40851 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40852 standard functions.
40853 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40854 Remove comments and hacks for old compiler versions.
40855 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40856 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40857 libc_feholdexceptl.
40858
caa6c9d8
AS
408592011-10-18 Andreas Schwab <schwab@redhat.com>
40860
40861 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40862 (__feraiseexcept_renamed): Add __NTH.
40863 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40864 namespace violations.
40865
97c066e6
UD
408662011-10-17 Ulrich Drepper <drepper@gmail.com>
40867
99ce7b04
UD
40868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40869
1004d182
UD
40870 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40871
228a984d
UD
40872 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40873 recently added interfaces.
40874 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40875
c8553a6a
UD
40876 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40877 about macro parameter expansion.
40878
ed22dcf6
UD
40879 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40880 __NO_MATH_INLINES is defined. Cleanups.
40881
40882 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40883 and __floorf is target has SSE4.1.
40884 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40885 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40886 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40887 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40888
b171c137
UD
40889 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40890 name.
40891 (floorf): Likewise.
40892
97c066e6
UD
40893 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40894
629f62ef
AS
408952011-10-17 Andreas Schwab <schwab@redhat.com>
40896
49a43d80
AS
40897 * misc/sys/cdefs.h: Fix last change.
40898
629f62ef
AS
40899 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40900 database lookup.
40901
e453f6cd
UD
409022011-10-16 Ulrich Drepper <drepper@gmail.com>
40903
aa78043a
UD
40904 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40905
ad0f5cad
UD
40906 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40907 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40913 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40914 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40915 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40916 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40917 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40918 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40919 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40920 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40921 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40923 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40924 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40925 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40926 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40927 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40928
40929 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40930 ceil, ceilf, floor, floorf.
40931
40932 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40933 Perform IRELATIVE relocations last.
40934
e453f6cd
UD
40935 * elf/do-rel.h: Add another parameter nrelative, replacing the
40936 local variable with the same name. Change name of the function
40937 to end in Rel or Rela (uppercase).
40938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40939 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40940 elf_dynamic_do_##reloc function.
40941
fd5bdc09
UD
409422011-10-15 Ulrich Drepper <drepper@gmail.com>
40943
79b195b5
UD
40944 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40945 is sufficient, at least on modern CPUs.
40946
d4a28569
UD
40947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40948
b61099b5
UD
40949 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40951
bcf01e6d
UD
40952 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40953 __expl_finite.
40954 * math/bits/math-finite.h: Add entries for exp.
40955 * math/e_expl.c: Add __*_finite alias.
40956 * sysdeps/i386/fpu/e_exp.S: Likewise.
40957 * sysdeps/i386/fpu/e_expf.S: Likewise.
40958 * sysdeps/i386/fpu/e_expl.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40960 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40963 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40966
ba1a0d59
UD
40967 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40968 is sufficient, at least on modern CPUs.
40969
fd5bdc09
UD
40970 * ctype/ctype-info.c (__ctype_init): Define.
40971 * include/ctype.h (__ctype_init): Declare.
40972 (__ctype_b_loc): The variable is always initialized.
40973 (__ctype_toupper_loc): Likewise.
40974 (__ctype_tolower_loc): Likewise.
40975 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40976 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40977
7872cfb0
AS
409782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40979
b468825a
AS
40980 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40981
7872cfb0
AS
40982 * configure.in: Also look in $cxxmachine/include for C++ system
40983 headers.
40984
be13f7bf
LD
409852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40986
40987 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40988 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40989 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40990 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40992 (USE_AS_WMEMCMP): New macro.
40993 Fixing indents.
40994 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40995 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40996 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40997 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40999 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41000 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41002 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41003 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41004 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41005 (USE_AS_WMEMCMP): New macro.
41006 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41007 * sysdeps/string/test-memcmp.c: Update.
41008 Fix simple_wmemcmp.
41009 Add new tests.
41010 * wcsmbs/wmemcmp.c: Update.
41011 (WMEMCMP): New macro.
41012 Fix overflow bug.
41013
556a2007
AJ
410142011-10-12 Andreas Jaeger <aj@suse.de>
41015
41016 [BZ #13268]
41017 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41018
538faaa7
UD
410192011-10-15 Ulrich Drepper <drepper@gmail.com>
41020
ab6737ff
UD
41021 * libio/iofwide.c (do_length): Avoid warning.
41022
538faaa7
UD
41023 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41024
396a21b1
UD
410252011-10-14 Ulrich Drepper <drepper@gmail.com>
41026
cdf2901f
UD
41027 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41028
38ad40ce
UD
41029 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41030 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41031 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41032 * sysdeps/i386/i686/fpu/e_log.S: New file.
41033 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41034 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41035
396a21b1
UD
41036 * ctype/ctype.h: Add support for inlined isXXX functions when
41037 compiling C++ code.
41038
6b1f68c9
AS
410392011-10-14 Andreas Schwab <schwab@redhat.com>
41040
349290c0
AS
41041 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41042
6b1f68c9
AS
41043 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41044
f2282d42
RM
410452011-10-13 Roland McGrath <roland@hack.frob.com>
41046
41047 [BZ #13291]
41048 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41049
5298ffa8
AS
410502011-10-13 Andreas Schwab <schwab@redhat.com>
41051
714fad23
AS
41052 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41053 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41054 feraiseexcept.
41055
81dcc7fb
AS
41056 * sysdeps/x86_64/memrchr.S: Check for zero size.
41057
5298ffa8
AS
41058 * string/stratcliff.c: Add memrchr tests.
41059
951fbcec
LD
410602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41061
41062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41063 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41064 rawmemchr-sse2 rawmemchr-sse2-bsf.
41065 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41066 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41067 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41068 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41069 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41070 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41071 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41072 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41073 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41074 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41075 * string/memrchr.c (MEMRCHR): New macro.
41076
0ac5ae23
UD
410772011-10-12 Ulrich Drepper <drepper@gmail.com>
41078
41079 Add integration with gcc's -ffinite-math-only and optimize wrapper
41080 functions in libm.
41081 * Versions.def: Define GLIBC_2.15 version for libm.
41082 * math/Makefile (headers): Add bits/math-finite.h.
41083 * math/bits/math-finite.h: New file.
41084 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41085 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41086 * math/e_acoshl.c: Add __*_finite alias.
41087 * math/e_acosl.c: Likewise.
41088 * math/e_asinl.c: Likewise.
41089 * math/e_atan2l.c: Likewise.
41090 * math/e_atanhl.c: Likewise.
41091 * math/e_coshl.c: Likewise.
41092 * math/e_exp10.c: Likewise.
41093 * math/e_exp10f.c: Likewise.
41094 * math/e_exp10l.c: Likewise.
41095 * math/e_exp2l.c: Likewise.
41096 * math/e_fmodl.c: Likewise.
41097 * math/e_gammal_r.c: Likewise.
41098 * math/e_hypotl.c: Likewise.
41099 * math/e_j0l.c: Likewise.
41100 * math/e_j1l.c: Likewise.
41101 * math/e_jnl.c: Likewise.
41102 * math/e_lgammal_r.c: Likewise.
41103 * math/e_log10l.c: Likewise.
41104 * math/e_log2l.c: Likewise.
41105 * math/e_logl.c: Likewise.
41106 * math/e_powl.c: Likewise.
41107 * math/e_sinhl.c: Likewise.
41108 * math/e_sqrtl.c: Likewise.
41109 * math/e_scalb.c: Completely rewritten and optimized.
41110 * math/e_scalbf.c: Likewise.
41111 * math/e_scalbl.c: Likewise.
41112 * math/w_acos.c: Likewise.
41113 * math/w_acosf.c: Likewise.
41114 * math/w_acosl.c: Likewise.
41115 * math/w_acosh.c: Likewise.
41116 * math/w_acoshf.c: Likewise.
41117 * math/w_acoshl.c: Likewise.
41118 * math/w_asin.c: Likewise.
41119 * math/w_asinf.c: Likewise.
41120 * math/w_asinl.c: Likewise.
41121 * math/w_atan2.c: Likewise.
41122 * math/w_atan2f.c: Likewise.
41123 * math/w_atan2l.c: Likewise.
41124 * math/w_atanh.c: Likewise.
41125 * math/w_atanhf.c: Likewise.
41126 * math/w_atanhl.c: Likewise.
41127 * math/w_exp10.c: Likewise.
41128 * math/w_exp10f.c: Likewise.
41129 * math/w_exp10l.c: Likewise.
41130 * math/w_fmod.c: Likewise.
41131 * math/w_fmodf.c: Likewise.
41132 * math/w_fmodl.c: Likewise.
41133 * math/w_j0.c: Likewise.
41134 * math/w_j0f.c: Likewise.
41135 * math/w_j0l.c: Likewise.
41136 * math/w_j1.c: Likewise.
41137 * math/w_j1f.c: Likewise.
41138 * math/w_j1l.c: Likewise.
41139 * math/w_jn.c: Likewise.
41140 * math/w_jnf.c: Likewise.
41141 * math/w_log.c: Likewise.
41142 * math/w_logf.c: Likewise.
41143 * math/w_logl.c: Likewise.
41144 * math/w_log10.c: Likewise.
41145 * math/w_log10f.c: Likewise.
41146 * math/w_log10l.c: Likewise.
41147 * math/w_log2.c: Likewise.
41148 * math/w_log2f.c: Likewise.
41149 * math/w_log2l.c: Likewise.
41150 * math/w_pow.c: Likewise.
41151 * math/w_powf.c: Likewise.
41152 * math/w_powl.c: Likewise.
41153 * math/w_remainder.c: Likewise.
41154 * math/w_remainderf.c: Likewise.
41155 * math/w_remainderl.c: Likewise.
41156 * math/w_scalb.c: Likewise.
41157 * math/w_scalbf.c: Likewise.
41158 * math/w_scalbl.c: Likewise.
41159 * math/w_sqrt.c: Likewise.
41160 * math/w_sqrtf.c: Likewise.
41161 * math/w_sqrtl.c: Likewise.
41162 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41163 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41164 used.
41165 * math/math_private.h: Declare __kernel_standard_f.
41166 * math/w_cosh.c: Remove cruft and optimize a bit.
41167 * math/w_coshf.c: Likewise.
41168 * math/w_coshl.c: Likewise.
41169 * math/w_exp2.c: Likewise.
41170 * math/w_exp2f.c: Likewise.
41171 * math/w_exp2l.c: Likewise.
41172 * math/w_hypot.c: Likewise.
41173 * math/w_hypotf.c: Likewise.
41174 * math/w_hypotl.c: Likewise.
41175 * math/w_lgamma.c: Likewise.
41176 * math/w_lgamma_r.c: Likewise.
41177 * math/w_lgammaf.c: Likewise.
41178 * math/w_lgammaf_r.c: Likewise.
41179 * math/w_lgammal.c: Likewise.
41180 * math/w_lgammal_r.c: Likewise.
41181 * math/w_sinh.c: Likewise.
41182 * math/w_sinhf.c: Likewise.
41183 * math/w_sinhl.c: Likewise.
41184 * math/w_tgamma.c: Likewise.
41185 * math/w_tgammaf.c: Likewise.
41186 * math/w_tgammal.c: Likewise.
41187 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41189 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41190 Minor optimizations. Pretty printing. Remove cruft.
41191 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41193 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41195 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41196 * sysdeps/i386/fpu/e_asin.S: Likewise.
41197 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41198 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41199 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41200 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41204 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41205 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41206 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41207 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41208 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41209 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41210 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41211 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41212 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41213 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41214 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41215 * sysdeps/i386/fpu/e_log.S: Likewise.
41216 * sysdeps/i386/fpu/e_log10.S: Likewise.
41217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41219 * sysdeps/i386/fpu/e_log2.S: Likewise.
41220 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41222 * sysdeps/i386/fpu/e_logf.S: Likewise.
41223 * sysdeps/i386/fpu/e_logl.S: Likewise.
41224 * sysdeps/i386/fpu/e_pow.S: Likewise.
41225 * sysdeps/i386/fpu/e_powf.S: Likewise.
41226 * sysdeps/i386/fpu/e_powl.S: Likewise.
41227 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41228 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41229 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41230 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41231 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41233 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41234 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41235 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41236 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41239 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41241 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41242 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41243 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41244 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41246 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41247 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41249 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41250 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41253 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41256 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41257 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41258 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41260 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41261 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41262 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41263 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41265 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41267 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41269 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41270 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41271 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41272 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41273 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41274 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41275 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41276 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41277 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41279 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41281 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41282 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41283 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41284 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41286 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41287 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41288 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41289 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41290 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41291 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41292 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41293 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41294 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41295 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41296 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41297 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41302 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41304 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41308 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41312 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41313 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41317 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41321 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41322 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41323 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41324 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41327 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41328 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41329 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41330 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41331 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41332 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41333 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41334 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41335 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41336 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41337 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41338 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41339 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41340 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41341 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41342 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41343 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41344 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41345 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41346 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41347 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41348 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41349 (__isnanf): Likewise.
41350 (__isinf_ns): Likewise.
41351 (__isinf_nsf): Likewise.
41352 (__finite): Likewise.
41353 (__finitef): Likewise.
41354 (__ieee754_sqrt): Define as macro.
41355 (__ieee754_sqrtf): Define as macro.
41356 (__ieee754_sqrtl): Define as macro.
41357 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41358 inlined copy.
41359 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41360 __FINITE_MATH_ONLY__ consistent.
41361 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41362
12cc2fcd
AS
413632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41364
a843a204
AS
41365 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41366 of rawmemchr.
41367
12cc2fcd
AS
41368 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41369
c853acd5
UD
413702011-10-09 Ulrich Drepper <drepper@gmail.com>
41371
41372 * po/ja.po: Update from translation team.
41373
c658d255
RM
413742011-10-08 Roland McGrath <roland@hack.frob.com>
41375
110946e4
RM
41376 * locale/programs/locarchive.c (prepare_address_space): New function.
41377 (create_archive, enlarge_archive, open_archive): Use it.
41378
50604220
RM
41379 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41380 inside [SHARED], where it is used.
41381
c658d255
RM
41382 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41383
41384 * nss/getent.c (netgroup_keys): Remove unused variable.
41385 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41386
6a621eb7
UD
413872011-10-08 Ulrich Drepper <drepper@gmail.com>
41388
7edb55ce
UD
41389 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41390 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41393 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41394 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41395 * math/Makefile (libm-calls): Add s_isinf_ns.
41396 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41397 * math/multc3.c: Likewise.
41398 * math/s_casin.c: Likewise.
41399 * math/s_casinf.c: Likewise.
41400 * math/s_casinl.c: Likewise.
41401 * math/s_ccos.c: Likewise.
41402 * math/s_ccosf.c: Likewise.
41403 * math/s_ccosl.c: Likewise.
41404 * math/s_ctan.c: Likewise.
41405 * math/s_ctanf.c: Likewise.
41406 * math/s_ctanh.c: Likewise.
41407 * math/s_ctanhf.c: Likewise.
41408 * math/s_ctanhl.c: Likewise.
41409 * math/s_ctanl.c: Likewise.
41410 * math/w_fmod.c: Likewise.
41411 * math/w_fmodf.c: Likewise.
41412 * math/w_fmodl.c: Likewise.
41413 * math/w_remainder.c: Likewise.
41414 * math/w_remainderf.c: Likewise.
41415 * math/w_remainderl.c: Likewise.
41416 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41417 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41420 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41421 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41422 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41423 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41424
187da0ae
UD
41425 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41426 of the number.
41427 * stdio-common/printf_fphex.c: Likewise.
41428 * stdio-common/printf_size.c: Likewise.
41429
9277c064
UD
41430 * math/e_exp10.c: Include math_private.h using <...> not "...".
41431 * math/e_exp10f.c: Likewise.
41432 * math/e_exp10l.c: Likewise.
41433 * math/e_exp2l.c: Likewise.
41434 * math/e_j0l.c: Likewise.
41435 * math/e_j1l.c: Likewise.
41436 * math/e_jnl.c: Likewise.
41437 * math/e_lgammal_r.c: Likewise.
41438 * math/e_rem_pio2l.c: Likewise.
41439 * math/e_scalb.c: Likewise.
41440 * math/e_scalbf.c: Likewise.
41441 * math/e_scalbl.c: Likewise.
41442 * math/k_cosl.c: Likewise.
41443 * math/k_sinl.c: Likewise.
41444 * math/k_tanl.c: Likewise.
41445 * math/s_cacoshf.c: Likewise.
41446 * math/s_catan.c: Likewise.
41447 * math/s_catanf.c: Likewise.
41448 * math/s_catanh.c: Likewise.
41449 * math/s_catanhf.c: Likewise.
41450 * math/s_catanhl.c: Likewise.
41451 * math/s_catanl.c: Likewise.
41452 * math/s_ccosh.c: Likewise.
41453 * math/s_ccoshf.c: Likewise.
41454 * math/s_ccoshl.c: Likewise.
41455 * math/s_cexp.c: Likewise.
41456 * math/s_cexpf.c: Likewise.
41457 * math/s_cexpl.c: Likewise.
41458 * math/s_clog.c: Likewise.
41459 * math/s_clog10.c: Likewise.
41460 * math/s_clog10f.c: Likewise.
41461 * math/s_clog10l.c: Likewise.
41462 * math/s_clogf.c: Likewise.
41463 * math/s_clogl.c: Likewise.
41464 * math/s_csin.c: Likewise.
41465 * math/s_csinf.c: Likewise.
41466 * math/s_csinh.c: Likewise.
41467 * math/s_csinhf.c: Likewise.
41468 * math/s_csinhl.c: Likewise.
41469 * math/s_csinl.c: Likewise.
41470 * math/s_csqrt.c: Likewise.
41471 * math/s_csqrtf.c: Likewise.
41472 * math/s_csqrtl.c: Likewise.
41473 * math/s_ctan.c: Likewise.
41474 * math/s_ctanf.c: Likewise.
41475 * math/s_ctanh.c: Likewise.
41476 * math/s_ctanhf.c: Likewise.
41477 * math/s_ctanhl.c: Likewise.
41478 * math/s_ctanl.c: Likewise.
41479 * math/s_ldexp.c: Likewise.
41480 * math/s_ldexpf.c: Likewise.
41481 * math/s_ldexpl.c: Likewise.
41482 * math/s_significand.c: Likewise.
41483 * math/s_significandf.c: Likewise.
41484 * math/s_significandl.c: Likewise.
41485 * math/w_acos.c: Likewise.
41486 * math/w_acosf.c: Likewise.
41487 * math/w_acosh.c: Likewise.
41488 * math/w_acoshf.c: Likewise.
41489 * math/w_acoshl.c: Likewise.
41490 * math/w_acosl.c: Likewise.
41491 * math/w_asin.c: Likewise.
41492 * math/w_asinf.c: Likewise.
41493 * math/w_asinl.c: Likewise.
41494 * math/w_atan2.c: Likewise.
41495 * math/w_atan2f.c: Likewise.
41496 * math/w_atan2l.c: Likewise.
41497 * math/w_atanh.c: Likewise.
41498 * math/w_atanhf.c: Likewise.
41499 * math/w_atanhl.c: Likewise.
41500 * math/w_cosh.c: Likewise.
41501 * math/w_coshf.c: Likewise.
41502 * math/w_coshl.c: Likewise.
41503 * math/w_dremf.c: Likewise.
41504 * math/w_exp10.c: Likewise.
41505 * math/w_exp10f.c: Likewise.
41506 * math/w_exp10l.c: Likewise.
41507 * math/w_exp2.c: Likewise.
41508 * math/w_exp2f.c: Likewise.
41509 * math/w_fmod.c: Likewise.
41510 * math/w_fmodf.c: Likewise.
41511 * math/w_fmodl.c: Likewise.
41512 * math/w_hypot.c: Likewise.
41513 * math/w_hypotf.c: Likewise.
41514 * math/w_hypotl.c: Likewise.
41515 * math/w_j0.c: Likewise.
41516 * math/w_j0f.c: Likewise.
41517 * math/w_j0l.c: Likewise.
41518 * math/w_j1.c: Likewise.
41519 * math/w_j1f.c: Likewise.
41520 * math/w_j1l.c: Likewise.
41521 * math/w_jn.c: Likewise.
41522 * math/w_jnf.c: Likewise.
41523 * math/w_jnl.c: Likewise.
41524 * math/w_lgamma.c: Likewise.
41525 * math/w_lgamma_r.c: Likewise.
41526 * math/w_lgammaf.c: Likewise.
41527 * math/w_lgammaf_r.c: Likewise.
41528 * math/w_lgammal.c: Likewise.
41529 * math/w_lgammal_r.c: Likewise.
41530 * math/w_log.c: Likewise.
41531 * math/w_log10.c: Likewise.
41532 * math/w_log10f.c: Likewise.
41533 * math/w_log10l.c: Likewise.
41534 * math/w_log2.c: Likewise.
41535 * math/w_log2f.c: Likewise.
41536 * math/w_log2l.c: Likewise.
41537 * math/w_logf.c: Likewise.
41538 * math/w_logl.c: Likewise.
41539 * math/w_pow.c: Likewise.
41540 * math/w_powf.c: Likewise.
41541 * math/w_powl.c: Likewise.
41542 * math/w_remainder.c: Likewise.
41543 * math/w_remainderf.c: Likewise.
41544 * math/w_remainderl.c: Likewise.
41545 * math/w_scalb.c: Likewise.
41546 * math/w_scalbf.c: Likewise.
41547 * math/w_scalbl.c: Likewise.
41548 * math/w_sinh.c: Likewise.
41549 * math/w_sinhf.c: Likewise.
41550 * math/w_sinhl.c: Likewise.
41551 * math/w_sqrt.c: Likewise.
41552 * math/w_sqrtf.c: Likewise.
41553 * math/w_sqrtl.c: Likewise.
41554 * math/w_tgamma.c: Likewise.
41555 * math/w_tgammaf.c: Likewise.
41556 * math/w_tgammal.c: Likewise.
41557
6a621eb7
UD
41558 * po/ja.po: Update from translation team.
41559
bf582445
AJ
415602011-09-29 Andreas Jaeger <aj@suse.de>
41561
f9efbf3a
AJ
41562 [BZ #13179]
41563 * sunrpc/netname.c (netname2host): Fix logic.
41564
bf582445
AJ
41565 [BZ #6779]
41566 [BZ #6783]
41567 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41568 correctly.
41569 * math/w_remainder.c (__remainder): Likewise.
41570 * math/w_remainderf.c (__remainderf): Likewise.
41571 * math/libm-test.inc (remainder_test): Add test cases.
41572
48693bea
AK
415732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41574
41575 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41576 sdiv_qrnnd.
41577
42622229
LD
415782011-10-07 Ulrich Drepper <drepper@gmail.com>
41579
41580 * string/test-memcmp.c: Avoid unncessary #defines.
41581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41582
093ecf92
LD
415832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41584
41585 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41586 Use new sse2 version for core i3 - i7 as it's faster
41587 than sse42 version.
41588 (bit_Prefer_PMINUB_for_stringop): New.
41589 * sysdeps/x86_64/rawmemchr.S: Update.
41590 Replace with faster SSE2 version.
41591 * sysdeps/x86_64/memrchr.S: New file.
41592 * sysdeps/x86_64/memchr.S: Update.
41593 Replace with faster SSE2 version.
41594
fde56e5c
MP
415952011-09-12 Marek Polacek <mpolacek@redhat.com>
41596
41597 * elf/dl-load.c (lose): Add cast to avoid warning.
41598
21fd49a9
UD
415992011-10-07 Ulrich Drepper <drepper@gmail.com>
41600
5a06e643
UD
41601 * po/ca.po: Update from translation team.
41602
684ae515
UD
41603 * inet/getnetgrent_r.c: Hook up nscd.
41604 * nscd/Makefile (routines): Add nscd_netgroup.
41605 (nscd-modules): Add netgroupcache.
41606 (CFLAGS-netgroupcache.c): Define.
41607 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41608 (cache_search): Add const to second parameter.
41609 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41610 INNETGR.
41611 (dbs): Add netgrdb entry.
41612 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41613 (verify_persistent_db): Handle netgrdb.
41614 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41615 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41616 GETFDNETGR.
41617 (netgroup_response_header): Define.
41618 (innetgroup_response_header): Define.
41619 (datahead): Add netgroup_response_header and innetgroup_response_header
41620 elements.
41621 * nscd/nscd.conf: Add entries for netgroup cache.
41622 * nscd/nscd.h (dbtype): Add netgrdb.
41623 (_PATH_NSCD_NETGROUP_DB): Define.
41624 (netgroup_iov_disabled): Declare.
41625 (xmalloc, xcalloc, xrealloc): Move declarations here.
41626 (cache_search): Adjust prototype.
41627 Add netgroup-related prototypes.
41628 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41629 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41630 (__nscd_innetgr): Declare.
41631 * nscd/selinux.c (perms): Use access_vector_t as element type and
41632 add netgroup-related initializers.
41633 * nscd/netgroupcache.c: New file.
41634 * nscd/nscd_netgroup.c: New file.
41635 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41636 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41637 For four parameters use innetgr.
41638 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41639 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41640 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41641 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41642
21fd49a9
UD
41643 * nscd/connections.c (register_traced_file): Don't register file
41644 for disabled databases.
41645
054c0457
UD
416462011-10-06 Ulrich Drepper <drepper@gmail.com>
41647
32b63198
UD
41648 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41649
054c0457
UD
41650 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41651 from tree and freeing node.
41652
64031225
JO
416532011-09-25 Jiri Olsa <jolsa@redhat.com>
41654
41655 * nss/nsswitch.c (__nss_database_lookup): Handle
41656 nss_parse_service_list out of memory case.
41657
0490345c
JO
416582011-09-15 Jiri Olsa <jolsa@redhat.com>
41659
41660 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41661 out of memory case.
41662
3a62d00d
AS
416632011-10-04 Andreas Schwab <schwab@redhat.com>
41664
41665 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41666 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41667 pass it down.
41668 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41669 elf_machine_rela, elf_machine_lazy_rel.
41670 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41671 (ELF_DYNAMIC_DO_REL): Likewise.
41672 (ELF_DYNAMIC_DO_RELA): Likewise.
41673 (ELF_DYNAMIC_RELOCATE): Likewise.
41674 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41675 to ELF_DYNAMIC_DO_REL.
41676 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41677 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41678 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41679 elf_machine_rela.
41680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41681 skip_ifunc, don't call ifunc function if non-zero.
41682 (elf_machine_rela): Likewise.
41683 (elf_machine_lazy_rel): Likewise.
41684 (elf_machine_lazy_rela): Likewise.
41685 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41686 (elf_machine_lazy_rel): Likewise.
41687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41688 Likewise.
41689 (elf_machine_lazy_rel): Likewise.
41690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41691 Likewise.
41692 (elf_machine_lazy_rel): Likewise.
41693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41694 (elf_machine_lazy_rel): Likewise.
41695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41696 (elf_machine_lazy_rel): Likewise.
41697 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41698 (elf_machine_lazy_rel): Likewise.
41699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41700 (elf_machine_lazy_rel): Likewise.
41701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41702 (elf_machine_lazy_rel): Likewise.
41703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41704 (elf_machine_lazy_rel): Likewise.
41705
68577918
UD
417062011-09-28 Ulrich Drepper <drepper@gmail.com>
41707
41708 * nss/nss_files/files-init.c (_nss_files_init): Use static
41709 initialization for all the *_traced_file variables.
41710
68822d74
AS
417112011-09-28 Andreas Schwab <schwab@redhat.com>
41712
41713 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41714
2056100b
RM
417152011-09-27 Roland McGrath <roland@hack.frob.com>
41716
41717 [BZ #13226]
41718 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41719
32c76b63
AS
417202011-09-27 Andreas Schwab <schwab@redhat.com>
41721
41722 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41723 Reread the line before reparsing it.
41724
bf972c9d
AS
417252011-09-26 Andreas Schwab <schwab@redhat.com>
41726
41727 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41728
e057a1b5
JM
417292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41730 Maxim Kuvyrkov <maxim@codesourcery.com>
41731 Joseph Myers <joseph@codesourcery.com>
41732
41733 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41734 if needed for __stack_chk_guard.
41735
bc7e1c36
RM
417362011-09-19 Roland McGrath <roland@hack.frob.com>
41737
ecb1482f
RM
41738 * sysdeps/posix/spawni.c (script_execute): Always define it.
41739 It will be optimized away if unused.
41740 (maybe_script_execute): New function.
41741 (__spawni): Call it.
41742
bc7e1c36
RM
41743 * Makerules: Don't include tls.make.
41744 (config-tls): Always set to thread.
41745 * tls.make.c: File removed.
41746
1c3b002b
MF
417472011-09-19 Mike Frysinger <vapier@gentoo.org>
41748
41749 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41750 * config.make.in (CPPFLAGS-config): New substituted variable.
41751
2840865d
UD
417522011-09-15 Ulrich Drepper <drepper@gmail.com>
41753
88738eb6
UD
41754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41755
cbf645a6 41756 [BZ #13192]
2840865d
UD
41757 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41758 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41759
b402e91a
RM
417602011-09-15 Roland McGrath <roland@hack.frob.com>
41761
41762 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41763 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41765 (CALL_FAIL): Likewise.
41766 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41767 (CALL_FAIL): Macro removed.
41768 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41769
4c1a1f71
UD
417702011-09-15 Ulrich Drepper <drepper@gmail.com>
41771
41772 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41773 for __FINITE_MATH_ONLY__ == 1.
41774
edc121be
AS
417752011-09-15 Andreas Schwab <schwab@redhat.com>
41776
41777 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41778 __ieee754_sqrt instead of sqrt.
41779 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41780 __ieee754_sqrtf instead of sqrtf.
41781 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41782 __floorf instead of floorf.
41783 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41784 __floorf, __truncf instead of floorf, truncf.
41785
cd205654
UD
417862011-09-14 Ulrich Drepper <drepper@gmail.com>
41787
ee4d0315
UD
41788 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41789
cd205654
UD
41790 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41791 __extern_always_inline.
41792 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41793 32-bit.
41794
48b67d71
AS
417952011-09-14 Andreas Schwab <schwab@redhat.com>
41796
41797 * elf/rtld.c (dl_main): Also relocate in dependency order when
41798 doing symbol dependency testing.
41799
1ae12c75
AS
418002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41801
41802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41803 Always define `refsym'.
41804
995a80df
AS
418052011-09-13 Andreas Schwab <schwab@redhat.com>
41806
e529793b
AS
41807 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41808 (__FD_ELT): Renamed from __FDELT.
41809 * misc/bits/select2.h (__FD_ELT): Likewise.
41810 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41811 __FD_MASK instead of __FDELT, __FDMASK.
41812 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41813 Likewise.
41814 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41815 Likewise.
41816
52d4fef8
AS
41817 * elf/Makefile (gen-ldd): Fix pattern.
41818
995a80df
AS
41819 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41820 (init_tls): Likewise.
41821
8682f8b0
UD
418222011-09-12 Ulrich Drepper <drepper@gmail.com>
41823
41824 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41825
de82006d
AS
418262011-09-12 Andreas Schwab <schwab@redhat.com>
41827
a7c8e6a1
AS
41828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41829 `struct cmsghdr *' instead of `void *'.
41830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41831 Likewise.
41832
0f31fe77
AS
418332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41834
41835 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41836 if non-absolute.
41837 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41838 ldd_rewrite_script.
0f31fe77 41839
32b4c839
UD
418402011-09-11 Ulrich Drepper <drepper@gmail.com>
41841
83cd1420
UD
41842 * configure.in: Remove --with-tls option.
41843 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41844 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41845 out in case it is missing.
41846 * sysdeps/ia64/elf/configure.in: Likewise.
41847 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41848 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41849 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41850 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41851 * sysdeps/sh/elf/configure.in: Likewise.
41852 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41853 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41854 * sysdeps/x86_64/elf/configure.in: Likewise.
41855 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41856 * sysdeps/mach/hurd/tls.h: Likewise.
41857
633f745d
UD
41858 [BZ #13067]
41859 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41860
f318beb8
UD
41861 [BZ #13090]
41862 * configure.in: Fix use of AC_INIT.
41863
32b4c839
UD
41864 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41865
3ce1f295
UD
418662011-09-10 Ulrich Drepper <drepper@gmail.com>
41867
bb016596
UD
41868 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41869 __set_errno.
8e58439c
UD
41870 * malloc/hooks.c: Likewise.
41871
aebae053 41872 [BZ #11929]
02d46fc4
UD
41873 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41874 variables statically.
41875 (narenas): Initialize.
41876 (list_lock): Initialize.
bb016596
UD
41877 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41878 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41879 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41880 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41881 Add initializers to main_arena and mp_.
41882 (malloc_state): Remove pagesize member. Change all users to use
41883 GLRO(dl_pagesize).
41884
41885 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41886 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41887 is always initialized.
41888
22a89187
UD
41889 * malloc/malloc.c: Removed unused configurations and dead code.
41890 * malloc/arena.c: Likewise.
41891 * malloc/hooks.c: Likewise.
02d46fc4 41892 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41893
d063d164
UD
41894 * include/tls.h: Removed. USE___THREAD must always be defined.
41895 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41896 * elf/dl-libc.c: Likewise.
41897 * elf/dl-tsd.c: Likewise.
41898 * include/errno.h: Likewise.
41899 * include/netdb.h: Likewise.
41900 * include/resolv.h: Likewise.
41901 * inet/herrno-loc.c: Likewise.
41902 * inet/herrno.c: Likewise.
41903 * malloc/arena.c: Likewise.
41904 * malloc/hooks.c: Likewise.
41905 * malloc/malloc.c: Likewise.
41906 * resolv/res-state.c: Likewise.
41907 * resolv/res_libc.c: Likewise.
41908 * sysdeps/i386/dl-machine.h: Likewise.
41909 * sysdeps/ia64/dl-machine.h: Likewise.
41910 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41911 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41912 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41913 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41914 * sysdeps/sh/dl-machine.h: Likewise.
41915 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41916 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41917 * sysdeps/unix/i386/sysdep.S: Likewise.
41918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41919 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41924 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41928 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41929 * sysdeps/x86_64/dl-machine.h: Likewise.
41930 * tls.make.c: Likewise.
41931
3ce1f295
UD
41932 * configure.in: Remove --with-__thread option. Make tests for
41933 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41934 tls_model attribute fail if no support is available. Remove
41935 USE_IN_LIBIO.
41936 * Makeconfig: Adjust for dropped configure option. All features are
41937 now mandatory.
41938 * Makerules: Likewise.
41939 * Versions.def: Likewise.
41940 * argp/argp-fmtstream.c: Likewise.
41941 * argp/argp-fmtstream.h: Likewise.
41942 * argp/argp-help.c: Likewise.
41943 * assert/assert.c: Likewise.
41944 * config.h.in: Likewise.
41945 * config.make.in: Likewise.
41946 * configure: Likewise.
41947 * configure.in: Likewise.
41948 * csu/Versions: Likewise.
41949 * csu/init.c: Likewise.
41950 * elf/tst-audit2.c: Likewise.
41951 * elf/tst-tls10.c: Likewise.
41952 * elf/tst-tls10.h: Likewise.
41953 * elf/tst-tls11.c: Likewise.
41954 * elf/tst-tls12.c: Likewise.
41955 * elf/tst-tls14.c: Likewise.
41956 * elf/tst-tlsmod11.c: Likewise.
41957 * elf/tst-tlsmod12.c: Likewise.
41958 * elf/tst-tlsmod13.c: Likewise.
41959 * elf/tst-tlsmod13a.c: Likewise.
41960 * elf/tst-tlsmod14a.c: Likewise.
41961 * elf/tst-tlsmod15b.c: Likewise.
41962 * elf/tst-tlsmod16a.c: Likewise.
41963 * elf/tst-tlsmod16b.c: Likewise.
41964 * elf/tst-tlsmod7.c: Likewise.
41965 * elf/tst-tlsmod8.c: Likewise.
41966 * elf/tst-tlsmod9.c: Likewise.
41967 * gmon/gmon.c: Likewise.
41968 * grp/fgetgrent_r.c: Likewise.
41969 * grp/putgrent.c: Likewise.
41970 * hurd/fopenport.c: Likewise.
41971 * include/libc-symbols.h: Likewise.
41972 * include/tls.h: Likewise.
41973 * intl/gettextP.h: Likewise.
41974 * intl/loadinfo.h: Likewise.
41975 * locale/global-locale.c: Likewise.
41976 * locale/localeinfo.h: Likewise.
41977 * mach/devstream.c: Likewise.
41978 * malloc/arena.c: Likewise.
41979 * malloc/set-freeres.c: Likewise.
41980 * misc/err.c: Likewise.
41981 * misc/getttyent.c: Likewise.
41982 * misc/mntent_r.c: Likewise.
41983 * posix/getopt.c: Likewise.
41984 * posix/wordexp.c: Likewise.
41985 * pwd/fgetpwent_r.c: Likewise.
41986 * resolv/Versions: Likewise.
41987 * resolv/res_hconf.c: Likewise.
41988 * shadow/fgetspent_r.c: Likewise.
41989 * shadow/putspent.c: Likewise.
41990 * stdio-common/printf_fphex.c: Likewise.
41991 * stdio-common/tmpfile.c: Likewise.
41992 * stdlib/abort.c: Likewise.
41993 * stdlib/fmtmsg.c: Likewise.
41994 * sunrpc/auth_unix.c: Likewise.
41995 * sunrpc/clnt_perr.c: Likewise.
41996 * sunrpc/clnt_tcp.c: Likewise.
41997 * sunrpc/clnt_udp.c: Likewise.
41998 * sunrpc/clnt_unix.c: Likewise.
41999 * sunrpc/openchild.c: Likewise.
42000 * sunrpc/svc_simple.c: Likewise.
42001 * sunrpc/svc_tcp.c: Likewise.
42002 * sunrpc/svc_udp.c: Likewise.
42003 * sunrpc/svc_unix.c: Likewise.
42004 * sunrpc/xdr.c: Likewise.
42005 * sunrpc/xdr_array.c: Likewise.
42006 * sunrpc/xdr_rec.c: Likewise.
42007 * sunrpc/xdr_ref.c: Likewise.
42008 * sunrpc/xdr_stdio.c: Likewise.
42009
1248c1c4
PB
420102011-09-09 Ulrich Drepper <drepper@gmail.com>
42011
42012 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42013
420142011-07-03 Andreas Jaeger <aj@suse.de>
42015
42016 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42017 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42018 regenerate with gen-libm-tests.pl.
42019
420202010-05-12 Petr Baudis <pasky@suse.cz>
42021
42022 [BZ #11589]
42023 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42024 around j0() zero points by switching to j1().
42025 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42029
f22e1074
UD
420302011-09-09 Ulrich Drepper <drepper@gmail.com>
42031
f19009c1
UD
42032 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42033 instead of 0.
42034 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42035 instead of 0.
f19009c1
UD
42036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42037 Patch in part by Pavel Roskin <proski@gnu.org>.
42038
3f8cc204
UD
42039 [BZ #13138]
42040 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42041 realloc.
42042 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42043 Free memory block if necessary.
42044
f22e1074
UD
42045 [BZ #12847]
42046 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42047 be NULL. Don't lock in this case.
42048
0a2349f9
RM
420492011-09-09 Roland McGrath <roland@hack.frob.com>
42050
42051 * elf/elf.h (ELFOSABI_GNU): New macro.
42052 (ELFOSABI_LINUX): Define to that.
42053
f3cdd467
DZ
420542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42055
42056 * string/strncat.c (strncat): Undef the symbol in case it has been
42057 defined in bits/string.h.
42058
74718d13
UD
420592011-09-09 Ulrich Drepper <drepper@gmail.com>
42060
633e9e0f
UD
42061 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42062
0a2349f9 42063 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42064 link map.
42065
f9924780
AJ
420662011-08-17 Andreas Jaeger <aj@suse.de>
42067
42068 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42069
7f5517aa
PP
420702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42071 Ian Lance Taylor <iant@google.com>
42072
42073 * math/libm-test.inc (lround_test): New testcase.
42074 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42075
762011fe
UD
420762011-09-08 Ulrich Drepper <drepper@gmail.com>
42077
92963737
UD
42078 * Makefile: Remove support for automatic cvs check-ins.
42079 * Makerules: Likewise.
42080 * config.make.in: Likewise.
42081 * configure.in: Likewise.
42082 * intl/Makefile: Likewise.
42083 * locale/Makefile: Likewise.
42084 * po/Makefile: Likewise.
42085 * posix/Makefile: Likewise.
42086 * sysdeps/gnu/Makefile: Likewise.
42087 * sysdeps/mach/hurd/Makefile: Likewise.
42088 * sysdeps/sparc/sparc32/Makefile: Likewise.
42089
b0727fd8
JS
42090 [BZ #13118]
42091 * posix/Makefile (bug-regex32-ENV): Define.
42092 Patch by John Stanley <jpsinthemix@verizon.net>.
42093
a0f33f99
UD
42094 * misc/Makefile (headers): Add bits/select2.h.
42095 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42096 * misc/bits/select2.h: New file.
42097 * include/bits/select2.h: New file.
42098 * debug/Makefile (routines): Add fdelt_chk.
42099 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42100 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42101 FD_ISSET.
42102 * debug/fdelt_chk.c: New file.
42103
762011fe
UD
42104 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42105 * wcsmbs/test-wmemcmp.c: Likewise.
42106 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42107 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42108
421092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42110
42111 * string/Makefile (strop-tests): Add memcmp.
42112 * string/test-wmemcmp.c: New file.
42113 * string/test-memcmp.c: Add wmemcmp support.
42114
7f513ec8
RM
421152011-09-08 Roland McGrath <roland@hack.frob.com>
42116
0442afb4
RM
42117 [BZ #13153]
42118 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42119 2011-07-19 change.
42120
7f513ec8
RM
42121 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42122 garbage value in a __mach_port_mod_refs call in the cases of the
42123 task-self and thread-self ports.
42124
a12b2239
ST
421252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42126
42127 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42128
610f9ab4
AS
421292011-09-08 Andreas Schwab <schwab@redhat.com>
42130
7f513ec8 42131 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42132
48882a1a
LD
421332011-09-07 Ulrich Drepper <drepper@gmail.com>
42134
b49865be
UD
42135 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42136
fdc86bc9
UD
42137 * elf/dl-libc.c (dlerror_run): Pass back error code from
42138 dl_catch_error.
42139
c966526a
UD
42140 [BZ #13123]
42141 * elf/dl-load.c (lose): Free l_origin if it is valid.
42142
48882a1a
LD
42143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42144 names.
42145 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42150 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42151
77a2a8b4
AZ
421522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42153
42154 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42155 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42156 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42157 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42158 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42159 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42160 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42161 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42162 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42163 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42164
24f579d8
AM
421652011-08-15 Alan Modra <amodra@gmail.com>
42166
42167 [BZ #13092]
42168 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42169 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42170 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42171 ppc_mcount to static-only-routines.
42172 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42173 __mcount_internal.
42174 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42175 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42176
3d4837df
UD
421772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42178
42179 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42180 for finite and infinity parameters.
42181
22700377
WS
421822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42183
42184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42185 and add nop instructions for throughput optimization.
42186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42187
5025581e
WS
421882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42189
42190 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42191 aligned copy for power7 with vector-scalar instructions.
42192 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42193
08a300c9
L
421942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42195
42196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42197 AVX check.
42198
59178ef9
AS
421992011-09-07 Andreas Schwab <schwab@redhat.com>
42200
42201 [BZ #13144]
42202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42203 last change.
42204
e38ba7ab
UD
422052011-09-07 Ulrich Drepper <drepper@gmail.com>
42206
42207 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42208 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42209 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42211 clock_gettime.
42212
d53a73ac
UD
422132011-09-06 Ulrich Drepper <drepper@gmail.com>
42214
fc8bffcc
UD
42215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42216 Forgot to demangle the pointer.
42217
ceaa0c5d
UD
42218 * sysdeps/i386/sysdep.h: Define atom_text_section.
42219 * sysdeps/x86_64/sysdep.h: Likewise.
42220 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42221 section with atom_text_section.
42222 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42223 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42224 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42225 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42227
a77d3c17
UD
42228 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42229 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42230 already be defined. Change to take two parameters and don't assign
42231 result to variable. Adjust all users.
42232 Define INTERNAL_GETTIME if not already defined.
42233 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42234 call.
42235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42236 HAVE_CLOCK_GETTIME_VSYSCALL.
42237 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42238
d53a73ac
UD
42239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42240 gettimeofday vsyscall, just use time.
42241
a8f84144
AS
422422011-09-06 Andreas Schwab <schwab@redhat.com>
42243
42244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42245 <errno.h>.
42246
ef606249
UD
422472011-09-06 Ulrich Drepper <drepper@gmail.com>
42248
42249 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42250 syscall on x86-64.
42251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42252 syscall.
42253 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42255 syscall if possible.
42256
6585cb60
UD
422572011-09-05 Ulrich Drepper <drepper@gmail.com>
42258
42259 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42260 e_ident. Don't pass to find_mapsXX.
42261 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42262
a5f524e4
LD
422632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42264
42265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42266 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42267 * sysdeps/x86_64/multiarch/strchr.S: Update.
42268 Check bit_slow_BSF bit.
42269 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42270 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42271 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42272
554881ef
UD
422732011-09-05 Ulrich Drepper <drepper@gmail.com>
42274
d96de963
UD
42275 [BZ #13134]
42276 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42277 before glibc 2.15.
42278 (tryshell): Define.
42279 (__spawni): Change last parameter to be flag. Test
42280 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42281 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42282 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42283 * posix/spawni.c: Likewise.
42284 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42285 * posix/spawnp.c: Likewise. Change normal version to use
42286 SPAWN_XFLAGS_USE_PATH.
42287 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42288 SPAWN_XFLAGS_TRY_SHELL.
42289
d48e5868
UD
42290 [BZ #13150]
42291 * posix/glob.h: Remove gcc 1.x support.
42292
554881ef
UD
42293 [BZ #13068]
42294 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42295
693fb948
LD
422962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42297
42298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42299 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42300 strrchr-sse2-bsf
42301 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42302 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42303 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42304 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42305 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42306 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42307
1b48c537
UD
423082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42309
49d42c37
UD
42310 * sysdeps/x86_64/wcscmp.S: New file.
42311
1b48c537
UD
42312 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42313 wcscmp-c wcscmp-sse2
42314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42315 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42316 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42317 * wcsmbs/wcscmp.c: Allow renaming.
42318
15c95c5d
DM
423192011-09-05 David S. Miller <davem@davemloft.net>
42320
42321 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42322 stack slot, rather than the struct return pointer slot.
42323 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42324 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42326 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42327
2f0ad8f3
UD
423282011-09-05 Ulrich Drepper <drepper@gmail.com>
42329
d88ae418
UD
42330 * po/ja.po: Update from translation team.
42331
2f0ad8f3
UD
42332 [BZ #13144]
42333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42334 kernel in 64-bit binaries.
42335
5f4318d1
DM
423362011-09-01 David S. Miller <davem@davemloft.net>
42337
42338 * elf/elf.h (HWCAP_SPARC_*): Move to..
42339 * sysdeps/sparc/sysdep.h: this new file and add new values.
42340 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42341 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42342 _DL_HWCAP_COUNT to 24.
42343 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42344 entries.
42345 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42346 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42347 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42349 instead of magic constants.
42350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42351
3ba57516
DM
423522011-08-31 David S. Miller <davem@davemloft.net>
42353
42354 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42356 Reimplement to do errno handling inline.
42357 (SYSCALL_ERROR_HANDLER): New macro.
42358 (__SYSCALL_STRING): Do not do errno handling in asm.
42359 (__CLONE_SYSCALL_STRING): Delete.
42360 (__INTERNAL_SYSCALL_STRING): Delete.
42361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42362 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42363 (PSEUDO): Reimplement to do errno handling inline.
42364 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42365 (SYSCALL_ERROR_HANDLER): New macro.
42366 (__SYSCALL_STRING): Do not do errno handling in asm.
42367 (__CLONE_SYSCALL_STRING): Delete.
42368 (__INTERNAL_SYSCALL_STRING): Delete.
42369 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42370 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42371 i386.
42372 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42373 (inline_syscall*): Add 'err' argument.
42374 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42375 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42376 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42377 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42378
42379 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42380 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42381
2bc17433
AS
423822011-08-30 Andreas Schwab <schwab@redhat.com>
42383
42384 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42385
fbeb5f4d
JO
423862011-08-29 Jiri Olsa <jolsa@redhat.com>
42387
42388 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42389 directive.
42390
ad69cc26
DM
423912011-08-24 David S. Miller <davem@davemloft.net>
42392
42393 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42394
39dd69df
AS
423952011-08-24 Andreas Schwab <schwab@redhat.com>
42396
42397 * elf/Makefile: Add rules to build and run unload8 test.
42398 * elf/unload8.c: New file.
42399 * elf/unload8mod1.c: New file.
42400 * elf/unload8mod1x.c: New file.
42401 * elf/unload8mod2.c: New file.
42402 * elf/unload8mod3.c: New file.
42403
42404 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42405 it wasn't used.
42406
2c0b250a
DM
424072011-08-23 David S. Miller <davem@davemloft.net>
42408
42409 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42410 subtract stack bias.
42411 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42412 %sp not %fp in calculations.
42413 (_JMPBUF_UNWINDS_ADJ): Likewise.
42414
22044b48
DM
42415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42416 (aio_suspend): Call it to force an exception region around the
42417 AIO_MISC_WAIT() invocation.
42418
2cae4995
AS
424192011-08-23 Andreas Schwab <schwab@redhat.com>
42420
42421 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42422 backslash.
42423
873a772e
AJ
424242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42425
42426 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42427 protection macro.
42428 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42429 and <dl-machine.h>.
42430 (Elf64_FuncDesc): Remove.
42431
25ad0df1
DM
424322011-08-22 David S. Miller <davem@davemloft.net>
42433
42434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42435 sigaltstack check, add missing cfi directives.
42436 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42437 missing cfi directives, and sigaltstack handling.
42438
e888bcbe
AS
424392011-08-16 Andreas Schwab <schwab@redhat.com>
42440
42441 [BZ #11724]
42442 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42443 object is seen twice.
42444 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42445
42446 * elf/Makefile (distribute): Add tst-initorder2.c.
42447 (tests): Add tst-initorder2.
42448 (modules-names): Add tst-initorder2a tst-initorder2b
42449 tst-initorder2c tst-initorder2d. Add rules to build them.
42450 ($(objpfx)tst-initorder2.out): New rule.
42451 * elf/tst-initorder2.c: New file.
42452 * elf/tst-initorder2.exp: New file.
42453
87162f46
AS
424542011-08-22 Andreas Schwab <schwab@redhat.com>
42455
70538b7f
AS
42456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42457
f55ffe58
AS
42458 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42459 dependencies back to end of function.
42460
87162f46
AS
42461 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42462 $(elfobjdir)/ld.so.
42463
91b392a4
UD
424642011-08-21 Ulrich Drepper <drepper@gmail.com>
42465
42466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42467 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42469 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42470 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42471 of __vdso_gettimeofday.
42472 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42473 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42474 attribute_hidden.
42475 (_libc_vdso_platform_setup): Remove initialization of
42476 __vdso_gettimeofday and __vdso_time.
42477
5c43483f
UD
424782011-08-20 Ulrich Drepper <drepper@gmail.com>
42479
775a77e7
UD
42480 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42481 and fgetc_unlocked.
42482 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42483 getc_unlocked.
89f447ed 42484
49c74ba9
UD
42485 * elf/dl-open.c (add_to_global): Report additions to the global scope
42486 for LD_DEBUG=scopes.
42487 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42488 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42489
5c43483f
UD
42490 [BZ #13114]
42491 * stdio-common/Makefile (tests): Add bug24.
42492 * stdio-common/bug24.c: New file.
42493
a101b025
AJ
424942011-08-19 Andreas Jaeger <aj@suse.de>
42495
42496 [BZ #13114]
42497 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42498 non-existant file when using close-on-exec mode.
42499
c88f1766
UD
425002011-08-20 Ulrich Drepper <drepper@gmail.com>
42501
0276a718
UD
42502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42503 the very first instruction.
42504
c88f1766
UD
42505 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42506 the CFI state in the end.
42507 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42508 inclusion of dl-trampoline.h.
42509 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42510
51ccffa0
AS
425112011-08-19 Andreas Schwab <schwab@redhat.com>
42512
94d7165f
AS
42513 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42514 expectations for long double.
42515
51ccffa0
AS
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42517 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42518
fd708658 425192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42520
42521 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42522 artificual limit depends upon the system page size.
42523
44f0a71e
UD
425242011-08-17 Ulrich Drepper <drepper@gmail.com>
42525
42526 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42527 * resolv/Makefile: Define CFLAGS-libresolv.
42528
8de79a24
AS
425292011-08-17 Andreas Schwab <schwab@redhat.com>
42530
42531 * nss/makedb.c (compute_tables): Make variables used in nested
42532 function static.
42533
27724598
UD
425342011-08-17 Ulrich Drepper <drepper@gmail.com>
42535
c5305d88
UD
42536 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42537 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42538 if buffer was too small.
42539
27724598
UD
42540 * elf/pldd.c (main): Attach to all threads in the process.
42541 Rewrite /proc handling to use *at functions.
42542
076fe015
UD
425432011-08-16 Ulrich Drepper <drepper@gmail.com>
42544
174baab3
UD
42545 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42546 specifies first scope to show.
42547 (dl_open_worker): Update callers. Move printing scope of new
42548 object to before the relocation.
44f0a71e 42549 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42550 * sysdeps/generic/ldsodefs.h: Update declaration.
42551
076fe015
UD
42552 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42553 string for the scope number.
42554
a60df2c3
UD
425552011-08-14 Ulrich Drepper <drepper@gmail.com>
42556
42557 * nscd/servicescache.c (cache_addserv): Make sure written is always
42558 initialized.
42559
5e4287d1
RM
425602011-08-14 Roland McGrath <roland@hack.frob.com>
42561
85ae0589
RM
42562 * sysdeps/i386/i486/bits/atomic.h
42563 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42564 statement expression, so as to suppress "set but not used" warning.
42565 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42566
69f63097
RM
42567 * string/strncat.c (STRNCAT): Use prototype definition.
42568
675456ef
RM
42569 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42570 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42571 -Iprograms here.
42572 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42573 (localedef-modules): Add localedef.
42574 (locale-modules): Add locale.
42575
5e4287d1
RM
42576 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42577 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42578 to avoid a warning.
42579
9c96ff23
DM
425802011-08-14 David S. Miller <davem@davemloft.net>
42581
42582 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42583 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42584
f9ddf089
UD
425852011-08-13 Ulrich Drepper <drepper@gmail.com>
42586
44f0a71e 42587 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42588 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42589 * elf/rtld.c (dl_main): Set l_name of vDSO.
42590 Call _dl_show_scope when DL_DEBUG_SCOPES.
42591 (process_dl_debug): Recognize scopes flag and also set it for all.
42592 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42593 Declare _dl_show_scope.
42594
1dc27704
UD
42595 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42596 (do_dlopen): Pass caller_dlopen to dl_open.
42597 (__libc_dlopen_mode): Initialize caller_dlopen.
42598
f9ddf089
UD
42599 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42600 of libc. Make tolower call locale-independent. Optimize a bit by
42601 using isdigit instead of isalnum.
42602 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42603
9ac533d3
UD
426042011-08-12 Ulrich Drepper <drepper@gmail.com>
42605
42606 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42607 was a dependency or dynamically loaded.
42608
89edf2e9
UD
426092011-08-11 Ulrich Drepper <drepper@gmail.com>
42610
8e999d29
UD
42611 * intl/l10nflist.c: Allow architecture-specific pop function.
42612 * sysdeps/x86_64/l10nflist.c: New file.
42613
89edf2e9
UD
42614 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42615 classification.
42616
14d96785
AS
426172011-08-10 Andreas Schwab <schwab@redhat.com>
42618
42619 * include/dirent.h: Add libc_hidden_proto for scandirat and
42620 scandirat64. Don't declare __scandirat64.
42621 * dirent/scandirat.c: Add libc_hidden_def.
42622 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42623 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42624
6761ac04
DM
426252011-08-10 David S. Miller <davem@davemloft.net>
42626
42627 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42628 enum.
42629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42632
c55fbd1e
UD
426332011-08-09 Ulrich Drepper <drepper@gmail.com>
42634
42635 * Versions.def [libc]: Add GLIBC_2.15.
42636 * dirent/Makefile (routines): Add scandirat and scandirat64.
42637 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42638 GLIBC_2.15.
42639 * dirent/dirent.h: Declare scandirat and scandirat64.
42640 * dirent/scandirat.c: New file.
42641 * dirent/scandirat64.c: New file.
42642 * sysdeps/wordsize-64/scandirat.c: New file.
42643 * sysdeps/wordsize-64/scandirat64.c: New file.
42644 * dirent/opendir.c: Define opendirat.
42645 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42646 using scandirat.
42647 * dirent/scandir64.c: Adjust for scandir.c change.
42648 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42649 __scandirat64, and __scandir_cancel_handler.
42650 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42651 additional parameter and use openat instead of open (outside of ld.so).
42652 Add new __opendir as wrapper around __opendirat.
42653 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42654 here without requiring old scandirat implementation.
42655
879165f2
UD
426562011-08-08 Ulrich Drepper <drepper@gmail.com>
42657
42658 * dirent/scandir.c (cancel_handler): Renamed to
42659 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42660 defined. Adjust users.
42661 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42662 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42663
cb7e923b
UD
426642011-08-04 Ulrich Drepper <drepper@gmail.com>
42665
16292edd
UD
42666 * string/test-string.h (IMPL): Use __STRING to expand name and then
42667 stringify it.
42668
cb7e923b
UD
42669 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42670 of cleanups.
42671
cff82933
LD
426722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42673
42674 * string/Makefile: Update.
42675 (strop-tests): Append strncat.
42676 * string/test-wcscmp.c: New file.
42677 New comprehensive test for wcscmp.
42678 * string/test-strcmp.c: Update.
42679 (WIDE): New define.
42680
9be9bfcc
AS
426812011-07-22 Andreas Schwab <schwab@redhat.com>
42682
42683 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42684 line.
42685
2e96f1c7
AS
426862011-07-26 Andreas Schwab <schwab@redhat.com>
42687
42688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42689 encoding to ACE if AI_IDN.
42690
85188888
JJ
426912011-08-01 Jakub Jelinek <jakub@redhat.com>
42692
42693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42694 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42695
5fa16e9b
LD
426962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42697
42698 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42699 Fix overflow bug in strncat.
42700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42701
42702 * string/test-strncat.c: Update.
42703 Add new tests for checking overflow bugs.
42704
427052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42706
42707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42708 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42709 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42710 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42712 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42713 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42714 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42715 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42716
42717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42718 (USE_AS_STRCAT): Define.
42719 Add strcat and strncat support.
42720 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42721
8c1a459f
AS
427222011-07-25 Andreas Schwab <schwab@redhat.com>
42723
42724 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42725 __n bigger than INT_MAX+1.
42726 (__strncmp_g): Likewise.
42727
bba33c28
UD
427282011-07-23 Ulrich Drepper <drepper@gmail.com>
42729
798be72d
UD
42730 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42731 * libio/stido.h: Likewise.
42732
8accd4dc
UD
42733 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42734 (AF_NFC): Define.
42735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42736 (AF_NFC): Define.
42737
cbff0d96
UD
42738 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42743
9191c04a
UD
42744 [BZ #13021]
42745 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42746 installed.
42747
bba33c28
UD
42748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42749 typo.
42750 (_dl_x86_64_save_sse): Likewise.
42751
90f139dd
UD
427522011-07-22 Ulrich Drepper <drepper@gmail.com>
42753
1aae088a
UD
42754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42755 OSXSAVE.
42756 (_dl_x86_64_save_sse): Likewise.
42757
8e2045f5
UD
42758 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42759
90f139dd
UD
42760 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42761
1d002f25
AS
427622011-07-21 Andreas Schwab <schwab@redhat.com>
42763
42764 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42765 change.
42766 (_dl_x86_64_save_sse): Use correct AVX check.
42767
21137f89
UD
427682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42769
42770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42771 bug in strncpy/strncat.
42772 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42773
a65c0b7a
UD
427742011-07-21 Ulrich Drepper <drepper@gmail.com>
42775
42776 * string/tester.c (test_strcat): Add tests for different alignments
42777 of source and destination.
42778 (test_strncat): Likewise.
42779
6986b98a
UD
427802011-07-20 Ulrich Drepper <drepper@gmail.com>
42781
90bb2039
UD
42782 [BZ #12852]
42783 * posix/glob.c (glob): Check passed in values before using them in
42784 expressions to avoid some overflows.
42785 (glob_in_dir): Likewise.
42786
5644ef54
UD
42787 [BZ #13007]
42788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42789 check for AVX enablement so that we don't crash with old kernels and
42790 new hardware.
42791 * elf/tst-audit4.c: Add same checks here.
42792 * elf/tst-audit6.c: Likewise.
42793
42794 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42795
bfc9dc9b
AS
427962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42797
42798 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42799
702e64bb
UD
428002011-07-20 Ulrich Drepper <drepper@gmail.com>
42801
42802 * po/cs.po: Update from translation team.
42803 * po/bg.po: Likewise.
42804
295e904f
MP
428052011-07-12 Marek Polacek <mpolacek@redhat.com>
42806
42807 * misc/sys/cdefs.h: Add support for const attribute.
42808 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42809 to gnu_dev_{major,minor,makedev} functions.
42810
3ff94596
MP
428112011-07-20 Marek Polacek <mpolacek@redhat.com>
42812
42813 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42814
28b59fca
AS
428152011-07-20 Andreas Schwab <schwab@redhat.com>
42816
42817 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42818 strlen results.
42819
19df733e
AK
428202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42821
42822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42823 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42824 register in order to avoid conflicts with the soft frame pointer
42825 being held in r11 when necessary.
42826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42827 (INTERNAL_VSYSCALL_NCS): Likewise.
42828
c8835729
MP
428292011-07-14 Marek Polacek <mpolacek@redhat.com>
42830
42831 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42832 * elf/dl-fini.c (_dl_fini): Adjust caller.
42833 * elf/dl-close.c (_dl_close_worker): Likewise.
42834 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42835
b902330c
MP
428362011-07-15 Marek Polacek <mpolacek@redhat.com>
42837
8991e135
MP
42838 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42839 "aux_cache->nlibs < 0".
42840
b902330c
MP
42841 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42842 in the reload-count case.
42843
99710781
LD
428442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42845
42846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42847 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42848 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42849 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42850 * sysdeps/x86_64/multiarch/strcat.S: New file.
42851 * sysdeps/x86_64/multiarch/strncat.S: New file.
42852 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42854 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42855 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42857 (USE_AS_STRCAT): Define.
42858 Add strcat and strncat support.
42859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42861 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42862 * string/strncat.c: Update.
42863 (USE_AS_STRNCAT): Define.
42864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42865 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42866 and i7.
42867 * sysdeps/x86_64/multiarch/init-arch.h
42868 (bit_Prefer_PMINUB_for_stringop): New.
42869 (index_Prefer_PMINUB_for_stringop): Likewise.
42870 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42871 bit_Prefer_PMINUB_for_stringop.
42872
7dc6bd90
UD
428732011-07-19 Ulrich Drepper <drepper@gmail.com>
42874
42875 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42876 buffer64.
42877 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42878 of casting of buffer.
42879 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42880 buffer32 and buffer64.
42881 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42882 writes instead of casting of buffer.
42883 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42884 buffer32.
42885 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42886 casting of buffer.
42887
e0e72284
AS
428882011-07-19 Andreas Schwab <schwab@redhat.com>
42889
42890 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42891
feb1eb0b
UD
428922011-07-19 Ulrich Drepper <drepper@gmail.com>
42893
42894 * nscd/nscd.c (termination_handler): Don't do anything for a database
42895 if it has not yet been initialized.
42896
298711ff
UD
428972011-07-18 Ulrich Drepper <drepper@gmail.com>
42898
42899 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42900
429012011-07-15 Marek Polacek <mpolacek@redhat.com>
42902
42903 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42904
f9d68389
UD
429052011-07-18 Ulrich Drepper <drepper@gmail.com>
42906
42907 * po/nl.po: Update from translation team.
42908 * po/sv.po: Likewise.
42909
db290cf5
RM
429102011-07-16 Roland McGrath <roland@hack.frob.com>
42911
42912 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42913 now disallowed by GCC.
5c550700 42914
fd5e21c7
RM
42915 * configure.in (use-default-link): Default to yes if a test -shared
42916 link meets our qualifications.
42917 * configure: Regenerated.
42918
5c550700
RM
42919 * config.make.in (output-format): New variable.
42920 * configure.in: Check for ld --print-output-format support.
42921 * configure: Regenerated.
42922 * Makerules ($(common-objpfx)format.lds)
42923 [$(output-format) != unknown]: Just use $(output-format),
42924 instead of the linker-script munging.
42925
9fa2c032
RM
429262011-07-14 Roland McGrath <roland@hack.frob.com>
42927
a6928d51
RM
42928 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42929 of $(common-objpfx)shlib.lds.
42930 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42931
661607b3
RM
42932 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42933 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42934
9fa2c032
RM
42935 * configure.in (-z relro check): Adjust test code to add a large
42936 writable data section after it.
42937 * configure: Regenerated.
42938
defe9061
RM
429392011-07-11 Roland McGrath <roland@hack.frob.com>
42940
42941 * configure.in (-z relro check): Fix test code to make the variable
42942 truly const.
42943 * configure: Regenerated.
42944
319b9ad4
UD
429452011-07-11 Ulrich Drepper <drepper@gmail.com>
42946
42947 * nscd/nscd.h (struct traced_file): Define.
42948 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42949 elements. Add traced_files.
42950 (inotify_fd): Declare.
42951 (register_traced_file): Declare.
42952 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42953 (inotify_fd): Export.
42954 (resolv_conf_descr): Remove.
42955 (nscd_init): Move inotify descriptor creation to main.
42956 Don't register files for notification here.
42957 (register_traced_file): New function.
42958 (invalidate_cache): Don't use reset_res to determine whether to call
42959 res_init, go through the list of registered files.
42960 (main_loop_poll): The inotify descriptors are now stored in the
42961 structures for the traced files.
42962 (main_loop_epoll): Likewise
42963 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42964 to __nss_disable_nscd.
42965 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42966 for a database anymore. Check the records for all the registered
42967 files instead.
42968 * nss/Makefile (libnss_files-routines): Add files-init.
42969 (libnss_db-routines): Add db-init.
42970 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42971 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42972 * nss/nss_db/db-init.c: New file.
42973 * nss/nss_files/files-init.c: New file.
42974 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42975 __nss_lookup_function.
42976 (__nss_lookup_function): Call nss_load_library.
42977 (nss_load_all_libraries): New function.
42978 (__nss_disable_nscd): Take parameter with callback function for files
42979 to register. Set is_nscd. Load all the DSOs for the NSS modules
42980 used for the cached services.
42981 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42982 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42983 options for features to all the files in nscd.
42984
42985 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42986
23bee3e8
RM
429872011-07-10 Roland McGrath <roland@hack.frob.com>
42988
42989 * csu/elf-init.c (__libc_csu_init): Comment typo.
42990
46a5b7f0
UD
429912011-07-09 Ulrich Drepper <drepper@gmail.com>
42992
42993 * po/pl.po: Update from translation team.
42994 * po/ja.po: Likewise.
42995 * po/ru.po: Likewise.
42996 * po/ko.po: Likewise.
42997 * po/fr.po: Likewise.
42998
d30cf5bb
RM
429992011-07-09 Roland McGrath <roland@hack.frob.com>
43000
113ddea4
RM
43001 * configure.in (.ctors/.dtors header and trailer check):
43002 Use an empirical test on a built program.
43003 * configure: Regenerated.
43004
574920b4
RM
43005 * configure.in (-z relro check): Use an empirical test on a built DSO.
43006 Detect, but do not require, on ia64.
43007 * configure: Regenerated.
43008
d30cf5bb
RM
43009 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43010 Update tests that use readelf to use $READELF instead.
43011 * configure: Regenerated.
43012
8538fdb3
UD
430132011-07-08 Ulrich Drepper <drepper@gmail.com>
43014
43015 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43016 if the result is not used.
43017
04d08991
AJ
430182011-07-05 Andreas Jaeger <aj@suse.de>
43019
43020 [BZ#9696]
43021 * stdlib/tst-strtod.c: Add testcase.
43022
de283087
AD
430232011-07-07 Ulrich Drepper <drepper@gmail.com>
43024
4e5f31c8 43025 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43026 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43027 The latter has a higher limit. Take additional parameter to pass to
43028 the new function.
43029 (__pathconf): Pass file to __statfs_link_max.
43030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43031 __statfs_link_max.
43032 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43033 __statfs_link_max.
43034
de283087
AD
43035 [BZ #12868]
43036 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43038 Handle Lustre.
43039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43040 (__statfs_filesize_max): Likewise.
43041 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43042
c75fa153
AJ
430432011-07-05 Andreas Jaeger <aj@suse.de>
43044
43045 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43046
1a544854
UD
430472011-07-06 Marek Polacek <mpolacek@redhat.com>
43048
43049 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43050 `status' variable.
43051 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43052 Likewise.
43053
6f0eec67
UD
430542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43055
43056 * Makefile (strop-tests): Add strncat.
43057 * string/test-strncat.c: New file.
43058
aae30307
UD
430592011-06-30 Marek Polacek <mpolacek@redhat.com>
43060
43061 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43062
c0cfb5eb
UD
430632011-06-21 Andreas Jaeger <aj@suse.de>
43064
43065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43066 Copy rule from iconvdata/Makefile.
43067
01636b21
UD
430682011-07-06 Ulrich Drepper <drepper@gmail.com>
43069
43070 [BZ #12922]
43071 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43072 but no long options are defined, just return 'W'.
43073
9895c8bc
UD
430742011-06-22 Marek Polacek <mpolacek@redhat.com>
43075
43076 [BZ #9696]
43077 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43078
5d4cf042
UD
430792011-07-06 Ulrich Drepper <drepper@gmail.com>
43080
43081 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43082 netgroups to read.
960e5535 43083 (innetgr): Likewise.
5d4cf042 43084
751eb97e
RM
430852011-07-05 Roland McGrath <roland@hack.frob.com>
43086
43087 * config.make.in (install_root): Default to $(DESTDIR).
43088
f15f1e45
UD
430892011-07-05 Ulrich Drepper <drepper@gmail.com>
43090
43091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43092
4e34ac6a
RM
430932011-07-02 Roland McGrath <roland@hack.frob.com>
43094
5e9b6af4
RM
43095 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43096
84f9ea0f
RM
43097 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43098 containing directory rather than embedding absolute directory names.
43099
ea5ee9f7
RM
43100 * scripts/check-local-headers.sh: Rewritten using awk.
43101 Match by word, not by line. Print error messages for matches.
43102 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43103
1b74661a
RM
43104 * Makerules [shlib-lds-flags empty]:
43105 ($(common-objpfx)libc_pic.opts): New target.
43106 ($(common-objpfx)libc_pic.os.clean): New target.
43107 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43108
43109 * config.make.in (OBJCOPY): New variable.
43110 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43111 * configure: Regenerated.
43112
f781ef40
RM
43113 * config.make.in (use-default-link): New variable.
43114 * configure.in (use_default_link): Grok --with-default-link to set it.
43115 * configure: Regenerated.
43116 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43117 (shlib-lds, shlib-lds-flags): Define to empty.
43118
2d4fa81e
RM
43119 * Makerules (shlib-lds): New variable.
43120 (shlib-lds-flags): New variable.
43121 (build-shlib, build-moduile, build-module-asneeded): Use it.
43122 ($(common-objpfx)libc.so): Use $(shlib-lds).
43123 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43124 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43125
31fffa6b
RM
43126 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43127 DT_FLAGS/DT_FLAGS_1 with zero flags.
43128
4e34ac6a
RM
43129 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43130 linker script munging.
43131
fcfc776b
UD
431322011-07-02 Ulrich Drepper <drepper@gmail.com>
43133
43134 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43135 as 128-bit value.
43136 * crypt/sha512.c (sha512_process_block): Perform total addition using
43137 128-bit if possible.
43138 (__sha512_finish_ctx): Likewise.
43139 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43140 as 64-bit value.
43141 * crypt/sha256.c (SWAP64): Define.
43142 (sha256_process_block): Perform total addition using 64-bit if
43143 possible.
43144 (__sha256_finish_ctx): Likewise.
43145
99231d9a
UD
431462011-07-01 Ulrich Drepper <drepper@gmail.com>
43147
43148 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43149 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43150 * nscd/hstcache.c (cache_addhst): Likewise.
43151 * nscd/grpcache.c (cache_addgr): Likewise.
43152 * nscd/aicache.c (addhstaiX): Likewise
43153 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43154
445b4a53
TK
431552011-07-01 Thorsten Kukuk <kukuk@suse.de>
43156
43157 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43158 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43159 * nscd/hstcache.c (cache_addhst): Likewise.
43160 * nscd/grpcache.c (cache_addgr): Likewise.
43161 * nscd/aicache.c (addhstaiX): Likewise
43162
6d4d8e8e
AS
431632011-07-01 Andreas Schwab <schwab@redhat.com>
43164
43165 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43166 domain only when needed.
43167
89f654c5
AS
431682011-06-30 Andreas Schwab <schwab@redhat.com>
43169
43170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43171 is always restored.
43172
cf3b23ff
UD
431732011-06-29 Ulrich Drepper <drepper@gmail.com>
43174
43175 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43176 are re-adding the entry.
43177 * nscd/servicescache.c (cache_addserv): Likewise.
43178
751626f9
AJ
431792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43180
43181 * sysdeps/generic/dl-irel.h: fix protection against multiple
43182 inclusions.
43183 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43184
9113ea1f
UD
431852011-06-28 Ulrich Drepper <drepper@gmail.com>
43186
5c0b8d90
UD
43187 [BZ #12935]
43188 * malloc/memusage.sh: Fix quoting in message.
43189 * debug/xtrace.sh: Likewise.
43190
9113ea1f
UD
43191 * configure.in: Remove support for --experimental-malloc option, make
43192 it the default.
43193 * config.make.in: Likewise.
43194 * malloc/Makefile: Likewise.
43195
a4172181
AS
431962011-06-27 Andreas Schwab <schwab@redhat.com>
43197
43198 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43199 two-byte characters.
43200
78a7eee7
RM
432012011-06-27 Roland McGrath <roland@hack.frob.com>
43202
62bede13
RM
43203 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43204 AC_CACHE_CHECK invocation.
43205 * configure: Regenerated.
43206
78a7eee7
RM
43207 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43208
5ce33a62
UD
432092011-06-27 Ulrich Drepper <drepper@gmail.com>
43210
034807a9
UD
43211 [BZ #12350]
43212 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43213 bit from old_res_options.
43214
4902da17
UD
43215 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43216
5ce33a62
UD
43217 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43218 value type for setfct.
43219
c2344f56
L
432202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43221
43222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43223 __gettimeofday instead of gettimeofday.
43224
68468076
UD
432252011-06-26 Ulrich Drepper <drepper@gmail.com>
43226
43227 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43228
acb0d739
L
432292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43230
43231 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43232
43233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43234 info.
43235
8912479f
L
432362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43237
43238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43239 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43240 strcpy-sse2-unaligned strncpy-sse2-unaligned
43241 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43242 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43243 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43244 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43245 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43247 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43248 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43249 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43250 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43251 (STRCPY): Support SSE2 and SSSE3 versions.
43252
d5495a11
UD
432532011-06-24 Ulrich Drepper <drepper@gmail.com>
43254
43255 [BZ #12874]
43256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43257 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43258 kernels which artificially limit size of requests.
43259
0b1cbaae
L
432602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43261
43262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43263 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43264 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43265 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43266 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43267 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43268 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43269 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43270 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43272 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43273 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43274 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43275 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43276 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43278 Enable unaligned load optimization for Intel Core i3, i5 and i7
43279 processors.
43280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43281 Define.
43282 (index_Fast_Unaligned_Load): Define.
43283 (HAS_FAST_UNALIGNED_LOAD): Define.
43284
07f494a0
MP
432852011-06-23 Marek Polacek <mpolacek@redhat.com>
43286
43287 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43288
fa3fc0fe
UD
432892011-06-22 Ulrich Drepper <drepper@gmail.com>
43290
43291 [BZ #12907]
43292 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43293 until it is clear that the information is realy needed.
43294 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43295
e12df166
AS
432962011-06-22 Andreas Schwab <schwab@redhat.com>
43297
43298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43299
852eb34d
UD
433002011-06-22 Ulrich Drepper <drepper@gmail.com>
43301
84e2a551
UD
43302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43303 /sys/devices/system/cpu/online if it is usable.
43304
852eb34d
UD
43305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43306 reading the information from the /proc filesystem to once a second.
43307
6e502e19
UD
433082011-06-21 Andreas Jaeger <aj@suse.de>
43309
43310 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43311 NULL after inclusion of kernel headers.
43312
75d39ff2
UD
433132011-06-21 Ulrich Drepper <drepper@gmail.com>
43314
51f9aa6a
UD
43315 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43316 calls to internal_setent.
43317
c0244a9d
UD
43318 [BZ #12885]
43319 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43320 addresses using gethostbyname4_r ignore IPv4 addresses.
43321
c5e3c2ae
UD
43322 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43323 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43324
75d39ff2
UD
43325 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43326
42675c6f
DM
433272011-06-20 David S. Miller <davem@davemloft.net>
43328
43329 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43330 inclusions.
43331 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43332
43333 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43334 (elf_irel): Use it.
43335 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43336 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43337 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43338 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43339 * sysdeps/x86_64/dl-irel.h: Likewise.
43340
43341 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43342 * elf/dl-sym.c: Likewise.
43343
57912a71
UD
433442011-06-15 Ulrich Drepper <drepper@gmail.com>
43345
43346 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43347 need to dereference resplen2.
43348
ee22793d
AS
433492011-06-14 Andreas Schwab <schwab@redhat.com>
43350
43351 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43352
a9e836b0
UD
433532011-06-15 Ulrich Drepper <drepper@gmail.com>
43354
77fb9117
UD
43355 * Makeconfig: Define vardbdir and inst_vardbdir.
43356 * nss/Makefile: Add rules to install db-Makefile.
43357
40c1b22c
UD
43358 * nss/nss_db/db-XXX.c: Cleanup.
43359
9f2da732
UD
43360 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43361 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43362 GLIBC_PRIVATE.
43363 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43364 * nss/makedb.c: Implement -g option to specify that value strings
43365 are generated and should not be added to table iterated over for
43366 get*ent calls.
43367 * nss/nss_db/db-initgroups.c: New file.
43368
82e9a1f7
UD
43369 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43370 interface.
43371
c41af17e
UD
43372 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43373 (internal_getgrouplist): Adjust to name change.
43374 Update use_initgroups_entry if this is not the first call.
43375 * nss/databases.def: Add initgroups entry.
43376
a9e836b0
UD
43377 * nss/makedb.c (compute_tables): Check result of multiple hash table
43378 sizes to minimize maximum chain length.
43379
2666d441
UD
433802011-06-14 Ulrich Drepper <drepper@gmail.com>
43381
43382 * Versions.def: Add entry for libnss_db.
43383 * shlib-versions: Likewise.
43384 * nss/Makefile: Add rules to build libnss_db.
43385 * nss/Versions: Add libnss_db information. Organize libnss_files
43386 entries better.
43387 * nss/db-Makefile: Add gshadow support. Change rules for the new
43388 makedb progra. Some minor improvements to generate smaller files.
43389 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43390 here from...
43391 * nss/makedb.c: ...here.
43392 Improve database format to be smaller and require less memory at
43393 runtime.
43394 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43395 db anymore.
43396 * nss/nss_db/db-netgrp.c: Likewise.
43397 * nss/nss_db/db-open.c: Likewise.
43398 * nss/nss_files/flies-XXX.x: Adjust comments.
43399 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43400 * nss/nss_files/files-grp.c: Likewise.
43401 * nss/nss_files/files-hosts.c: Likewise.
43402 * nss/nss_files/files-network.c: Likewise.
43403 * nss/nss_files/files-proto.c: Likewise.
43404 * nss/nss_files/files-pwd.c: Likewise.
43405 * nss/nss_files/files-rpc.c: Likewise.
43406 * nss/nss_files/files-service.c: Likewise.
43407 * nss/nss_files/files-sgrp.c: Likewise.
43408 * nss/nss_files/files-spwd.c: Likewise.
43409 * nss/nss_db/db-alias.c: Removed.
43410 * nss/nss_db/dummy-db.h: Removed.
43411
9ee76b5a
UD
434122011-06-02 Ulrich Drepper <drepper@gmail.com>
43413
43414 * nss/makedb.c: Rewritten to not use database library.
43415 * nss/Makefile: Update to build new makedb program.
43416
c71ca1f8
AJ
434172011-06-14 Andreas Jaeger <aj@suse.de>
43418
43419 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43420 memset declaration.
43421
3154bfb8
UD
434222011-06-10 Andreas Schwab <schwab@redhat.com>
43423
43424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43425 tmpbuf.
43426
b350afab
RM
434272011-06-10 Roland McGrath <roland@hack.frob.com>
43428
decd4e50
RM
43429 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43430 * elf/Makefile ($(objpfx)ld.so): Likewise.
43431
5615eaf2
RM
43432 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43433 Don't list ld.so twice in dependencies.
43434
43435 * posix/bug-regex31.c: Include <stdlib.h>.
43436
43437 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43438
43439 * nis/nss_compat/compat-spwd.c
43440 (getspent_next_nss_netgr): Remove unused variable.
43441 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43442
43443 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43444 nonmembers" output to use the right array.
43445
43446 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43447
43448 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43449
43450 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43451 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43452 * catgets/gencat.c (read_input_file): Likewise.
43453 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43454
43455 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43456 variable definition inside #if's controlling its use.
43457
43458 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43459
43460 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43461
43462 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43463
43464 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43465 unreachable code.
43466
43467 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43468
b68e08db
RM
43469 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43470 * configure: Regenerated.
43471
b350afab
RM
43472 * Makerules: Revert last change.
43473 * elf/Makefile: Likewise.
43474
28368601
RM
434752011-06-09 Roland McGrath <roland@hack.frob.com>
43476
43477 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43478 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43479 (reloc-link): Likewise.
43480
11988f8f
UD
434812011-06-09 Ulrich Drepper <drepper@gmail.com>
43482
43483 * elf/Makefile: Add rules to build pldd.
43484 * elf/pldd.c: New file.
43485 * elf/pldd-xx.c: New file.
43486
e80fab37
UD
434872011-06-07 Ulrich Drepper <drepper@gmail.com>
43488
43489 * version.h: Update for 2.15 development version.
43490
9b849836
DM
434912011-06-07 David S. Miller <davem@davemloft.net>
43492
43493 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43494 ifuncs.
43495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43496 elf_machine_lazy_rel): Likewise.
43497 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43499 elf_machine_lazy_rel): Likewise.
43500 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43501 dl_hwcap via passed in argument.
43502 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43503 Likewise.
43504
5a31b283
AK
435052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43506
43507 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43508
069e52f8
RM
435092011-06-06 Roland McGrath <roland@hack.frob.com>
43510
43511 [BZ #12849]
43512 * manual/fdl-1.1.texi: New file, verbatim from:
43513 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43514 * manual/lgpl-2.1.texi: New file, verbatim from:
43515 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43516 * manual/Makefile (licenses): New variable, list those new file names.
43517 (texis): Use it.
43518 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43519
43520 * manual/fdl.texi: File removed.
43521 * manual/lesser.texi: File removed.
43522 * manual/libc.texinfo (Copying, Documentation License):
43523 Use new @include file names, put @appendix directive before @include.
43524
f16846a5
JJ
435252011-06-04 Jakub Jelinek <jakub@redhat.com>
43526
43527 [BZ #12841]
43528 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43529 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43530 (mq_open): Add __NTH.
43531
3d29045b
L
435322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43533
43534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43535 Assume Intel Core i3/i5/i7 processor if AVX is available.
43536
8c297311
UD
435372011-05-31 Ulrich Drepper <drepper@gmail.com>
43538
43539 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43540 typo.
43541
c8fc0c91
UD
435422011-05-31 Andreas Schwab <schwab@redhat.com>
43543
43544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43545 memory. Use alloca_account. Fix memory leak when retrying.
43546
5b27a807
UD
435472011-05-31 Ulrich Drepper <drepper@gmail.com>
43548
356f8bc6
UD
43549 * version.h (RELEASE): Bump for 2.14 release.
43550 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43551
5b27a807
UD
43552 * config.make.in (RANLIB): Remove entry.
43553
01f16ab0
UD
435542011-05-30 Ulrich Drepper <drepper@gmail.com>
43555
41fce8bd
UD
43556 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43557 (libc.pot): Work around missing support for .ksh extension in xgettext.
43558
4769ae77
UD
43559 [BZ #12684]
43560 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43561 if both request failed.
43562 (send_dg): In case of server errors clear resplen or *resplen2.
43563
6b1e7d19
UD
43564 [BZ #12454]
43565 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43566 when there are multiple maps.
43567 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43568 (_dl_fini): Remove test here.
43569
01f16ab0
UD
43570 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43571
b1ebd700
UD
435722011-05-29 Ulrich Drepper <drepper@gmail.com>
43573
7ae22829
UD
43574 [BZ #12350]
43575 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43576 bit from old_res_options.
43577 (gaih_inet): Likewise.
43578
553149f6 43579 [BZ #11099]
18a84741 43580 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43581 as signed.
43582
652ffab1
UD
43583 * resolv/res_init.c (res_setoptions): Make the code more compact.
43584
16985fd0
UD
43585 [BZ #11558]
43586 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43587 set RES_USEVC.
43588
0464f746
UD
43589 [BZ #11634]
43590 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43591
7d17596c
UD
43592 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43593
cf6bbbd7
UD
43594 [BZ #11781]
43595 * malloc/malloc.h: Declare malloc hook variables as volatile.
43596
13f1ab36
UD
43597 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43598 in last patch.
43599
b1ebd700
UD
43600 [BZ #11799]
43601 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43602 raise in the comment.
80e2212d
UD
43603 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43604 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43605 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43606
ce67228d
UD
436072011-05-28 Ulrich Drepper <drepper@gmail.com>
43608
8887a920
UD
43609 [BZ #12811]
43610 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43611 grow the buffers more if it already has to be sufficient.
43612 (build_wcs_upper_buffer): Likewise.
43613 * posix/regexec.c (check_matching): Likewise.
43614 (clean_state_log_if_needed): Likewise.
43615 (extend_buffers): Don't enlarge buffers beyond size of the input
43616 buffer.
43617 Patches mostly by Emil Wojak <emil@wojak.eu>.
43618 * posix/bug-regex32.c: New file.
43619 * posix/Makefile (tests): Add bug-regex32.
43620
4f031072
UD
43621 * locale/findlocale.c (_nl_find_locale): Return right away if
43622 _nl_explode_name failed.
43623 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43624
d0478f0c
UD
43625 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43626
de81b246
UD
43627 * debug/xtrace.sh: Unify messages.
43628 * malloc/memusage.sh: Likewise.
43629
c738465a
UD
43630 [BZ #12813]
43631 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43632 time symbol from vDSO. Substitute with vsyscall if not available.
43633 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43634 __vdso_time.
43635
f1f929d7
UD
43636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43637 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43638 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43639 Add sendmmsg and internal_sendmmsg.
43640 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43641 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43642 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43643
ce67228d
UD
43644 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43645 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43647
e57420c6
UD
436482011-05-27 Ulrich Drepper <drepper@gmail.com>
43649
a8509ca5
UD
43650 [BZ #12813]
43651 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43652 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43653 available.
43654 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43655 __vdso_getcpu.
43656
e57420c6
UD
43657 [BZ #12814]
43658 * iconvdata/Makefile (tests): Add bug-iconv9.
43659 * iconvdata/bug-iconv9.c: New file.
43660
4d07db15
AS
436612011-05-27 Andreas Schwab <schwab@redhat.com>
43662
43663 [BZ #12814]
43664 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43665
ea486f69
JJ
436662011-05-25 Jakub Jelinek <jakub@redhat.com>
43667
43668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43669 (struct user_regs_struct): Change intcs field back to cs.
43670
6f038433
UD
436712011-05-25 Ulrich Drepper <drepper@gmail.com>
43672
43673 * po/ja.po: Update from translation team.
43674
67f86a25
UD
436752011-05-23 Ulrich Drepper <drepper@gmail.com>
43676
43677 [BZ #12795]
43678 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43679 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43680
def7fbd6
AS
436812011-05-20 Andreas Schwab <schwab@redhat.com>
43682
43683 * stdlib/longlong.h: Update from GCC.
43684
f50ef8f1
AS
436852011-05-23 Andreas Schwab <schwab@redhat.com>
43686
43687 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43688 parameter name.
43689 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43690 Add parameter name.
43691 (__sysconf): Pass it down.
43692
de7ce8f1
UD
436932011-05-22 Ulrich Drepper <drepper@gmail.com>
43694
f2962a71
UD
43695 [BZ #12671]
43696 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43697 some situations.
43698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43699 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43700 add in in __libc_use_alloca calls. Adjust callers.
43701 (glob): Use malloc in some situations.
43702
de7ce8f1
UD
43703 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43704 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43705 pltexit.
43706
aec84f53
UD
437072011-05-21 Ulrich Drepper <drepper@gmail.com>
43708
05bb4a68
UD
43709 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43710 and CLOCK_BOOTTIME_ALARM.
43711
7ea72f99
UD
43712 [BZ #12782]
43713 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43714 is returned.
43715
7e4afad5
UD
43716 * string/_strerror.c (__strerror_r): Print negative errors as signed
43717 numbers.
43718
8e211fec
UD
43719 [BZ #12777]
43720 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43721 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43722 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43723
f7d82dc9
UD
43724 * configure.in: Fix typo in redirection and correct removal of test
43725 files in two cases.
43726
cc9e536d
UD
43727 [BZ #12788]
43728 * locale/setlocale.c (new_composite_name): Fix test to check for
43729 identical name of all categories.
43730
aec84f53
UD
43731 [BZ #12792]
43732 * libio/filedoalloc.c (local_isatty): New function.
43733 (_IO_file_doallocate): Use local_isatty.
43734 * stdio-common/perror.c (perror): In case a new stream is used
43735 forward the stream error.
43736 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43737 error flag.
43738
78e64fdc
RT
437392011-05-20 Ulrich Drepper <drepper@gmail.com>
43740
34a9094f
UD
43741 [BZ #11869]
43742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43743 alloca.
43744 * include/alloca.h (extend_alloca_account): Define.
43745
78e64fdc
RT
43746 [BZ #11857]
43747 * posix/regex.h: Fix comments with documentation of user-accessible
43748 fields after compilation and describe correct free'ing of pattern
43749 after re_compile_pattern.
43750 Patch by Reuben Thomas <rrt@sc3d.org>.
43751
457bddfc
RA
437522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43753
43754 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43755 and -mno-altivec to prevent the compiler from using Altivec and/or
43756 VSX instructions when the corresponding registers are not available.
43757
a4527b51
AS
437582011-05-19 Andreas Schwab <schwab@redhat.com>
43759
43760 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43761
ed690b2f
UD
437622011-05-19 Ulrich Drepper <drepper@gmail.com>
43763
43764 * libio/freopen.c (freopen): Use __dup2, not dup2.
43765 * libio/freopen64.c (freopen64): Likewise.
43766
8db73634
L
437672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43768
43769 [BZ #12775]
43770 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43771 * math/Makefile (tests): Add test-powl.
43772 (CFLAGS-test-powl.c): Define.
43773 * math/test-powl.c: New file.
43774
0a197a9d
L
437752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43776
43777 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43778
ee30c380
UD
437792011-05-17 Ulrich Drepper <drepper@gmail.com>
43780
43781 [BZ #11837]
43782 * iconvdata/gb18030.c: Update to GB18020-2005.
43783
6ce75379
UD
437842011-05-16 Ulrich Drepper <drepper@gmail.com>
43785
a4b89fd8
AR
43786 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43787 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43788 Patch by Aharon Robbins <arnold@skeeve.com>.
43789
ea389b12
UD
43790 [BZ #11892]
43791 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43792 on the stack.
43793
68a3f91f
UD
43794 [BZ #11895]
43795 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43796 through underflows.
43797
15cc7dd1
UD
43798 [BZ #12766]
43799 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43800 point to strings before performing equality test for error_one_per_line
43801 mode.
43802
f3799213
UD
43803 [BZ #11697]
43804 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43805
d79a9c94
UD
43806 [BZ #11820]
43807 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43808 (struct user_fpregs_struct): Avoid __uint*_t types.
43809
56e5eb46
UD
43810 [BZ #6420]
43811 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43812 symbol info. Use it instead of calling _dl_addr locally.
43813 (lock_and_info): New function.
43814 (tr_freehook): Call lock_and_info and pass symbol info as additional
43815 parameter to tr_where.
43816 (tr_mallochook): Likewise.
43817 (tr_reallochook): Likewise.
43818 (tr_memalignhook): Likewise.
43819
6ce75379
UD
43820 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43821 used and couldn't be at all thread-safe.
43822
f8a3b5bf
UD
438232011-05-15 Ulrich Drepper <drepper@gmail.com>
43824
94b7cc37
UD
43825 * libio/freopen.c (freopen): Don't close old file descriptor
43826 before the new one is opened. Instead dup the new file descriptor
43827 to the old one after the new stream is created.
43828 * libio/freopen64.c (freopen64): Likewise.
43829 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43830 * libio/fileops.c (_IO_new_file_close_it): Handle new
43831 _IO_FLAGS2_NOCLOSE flag.
43832 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43833 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43834 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43835 _IO_FLAGS2_NOCLOSE flag.
43836 * include/unistd.h: Add hidden_proto for dup3.
43837 Define __have_dup3.
43838 * io/dup3.c: Define hidden symbol.
43839 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43840
bd25564e
UD
43841 [BZ #7101]
43842 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43843 when an incomplete long option is used.
43844 * posix/tst-getopt_long1.c: New file.
43845 * posix/Makefile (tests): Add tst-getopt_long1.
43846
c84cfef4
UD
43847 [BZ #10138]
43848 * scripts/config.guess: Update from autoconf-2.68.
43849 * scripts/config.sub: Likewise.
43850
3b85df27
UD
43851 [BZ #10157]
43852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43853 tests into ...
43854 (has_cpuclock): ...this. New function.
43855 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43856 macro here based on has_cpuclock code.
43857
15a856b1
UD
43858 [BZ #10149]
43859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43860 First byte (not low byte) is now always NUL.
43861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43862
05f399e6
UD
43863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43864 Use non-cancelable interfaces.
43865
10a52685 43866 [BZ #9809]
94ecc67d
UD
43867 * locale/iso-639.def: Add entry for Sorani.
43868
f8a3b5bf
UD
43869 [BZ #11901]
43870 * include/stdlib.h: Move include protection to the right place.
43871 Define abort_msg_s. Declare __abort_msg with it.
43872 * stdlib/abort.c (__abort_msg): Adjust type.
43873 * assert/assert.c (__assert_fail_base): New function. Majority
43874 of code from __assert_fail. Allocate memory for __abort_msg with
43875 mmap.
43876 (__assert_fail): Now call __assert_fail_base.
43877 * assert/assert-perr.c: Remove bulk of implementation. Use
43878 __assert_fail_base.
43879 * include/assert.hL Declare __assert_fail_base.
43880 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43881 mmap.
43882 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43883
1af4e298
UD
438842011-05-14 Ulrich Drepper <drepper@gmail.com>
43885
f8a3b5bf 43886 [BZ #11952]
d26dfc60
MG
43887 [BZ #12453]
43888 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43889 until all modules are registered in the DTV.
43890 * elf/Makefile: Add rules to build and run tst-tls19.
43891 * elf/tst-tls19.c: New file.
43892 * elf/tst-tls19mod1.c: New file.
43893 * elf/tst-tls19mod2.c: New file.
43894 * elf/tst-tls19mod3.c: New file.
43895 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43896
2fc54d6f
UD
43897 [BZ #12083]
43898 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43899 correctly.
43900
98d76b46
UD
43901 [BZ #12601]
43902 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43903 two-byte sequence errors.
43904 * iconvdata/Makefile (tests): Add bug-iconv8.
43905 * iconvdata/bug-iconv8.c: New file.
43906
da3c19ef
UD
43907 [BZ #12626]
43908 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43909 buf2 definition.
43910
ca408c15
UD
43911 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43912
d6f67f7d
UD
43913 [BZ #12432]
43914 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43915 (dummy_getcfa): New function.
43916 (init): Get _Unwind_GetCFA address, use dummy if not found.
43917 (backtrace_helper): In recursion check, also check whether CFA changes.
43918 (__backtrace): Completely initialize arg.
43919
1af4e298 43920 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43921 storing incomplete byte sequence in state object. Avoid testing for
43922 guaranteed too small input if we know there is enough data available.
1af4e298 43923
da62f81b
AS
439242011-05-11 Andreas Schwab <schwab@redhat.com>
43925
43926 * Makeconfig (+link-pie): Indent.
43927 * Rules (binaries-pie): Define if $(have-fpie) and
43928 $(build-shared).
43929 (binaries-shared): Also filter out $(binaries-pie).
43930 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43931 * nscd/Makefile (others-pie): Add nscd.
43932 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43933 ($(objpfx)nscd): Remove command override.
43934 * login/Makefile (others-pie): Add pt_chown.
43935 ($(objpfx)pt_chown): Remove command override.
43936 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43937 remove command overrides.
43938
fcabc0f8
UD
439392011-05-13 Ulrich Drepper <drepper@gmail.com>
43940
20030ae6
UD
43941 * libio/tst_putwc.c: Fix error messages.
43942
fcabc0f8
UD
43943 [BZ #12724]
43944 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43945 currently writing and seek to current position when not.
43946 * libio/Makefile (tests): Add bug-fclose1.
43947 * libio/bug-fclose1.c: New file.
43948
320a5dc0
PB
439492011-05-12 Ulrich Drepper <drepper@gmail.com>
43950
43951 [BZ #12511]
43952 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43953 don't set DF_1_NODELETE here.
43954 (do_lookup_x): When entering new entry test for copy relocation
43955 and if necessary set DF_1_NODELETE flag.
43956 * elf/tst-unique4.cc: New file.
43957 * elf/tst-unique4.h: New file.
43958 * elf/tst-unique4lib.cc: New file.
43959 * elf/Makefile: Add rules to build and run tst-unique4.
43960 Patch by Piotr Bury <pbury@goahead.com>.
43961
22836f52
UD
439622011-05-11 Ulrich Drepper <drepper@gmail.com>
43963
f574184a
UD
43964 [BZ #12052]
43965 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43966
e1fb097f
UD
43967 [BZ #12625]
43968 * misc/mntent_r.c (addmntent): Flush the stream after the output
43969
22836f52
UD
43970 [BZ #12393]
43971 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43972 (is_trusted_path_normalize): Skip initial colon. Append slash
43973 to empty buffer. Duplicate is_trusted_path code but allow
43974 constructed patch to be prefix.
43975 (is_dst): Allow $ORIGIN followed by /.
43976 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43977 Correct testing of result of is_trusted_path_normalize
43978 (decompose_rpath): Fix warning.
43979
7b3b0b2a
UD
439802011-05-10 Ulrich Drepper <drepper@gmail.com>
43981
43982 [BZ #11257]
43983 * grp/initgroups.c (internal_getgrouplist): When we found the service
43984 list through the initgroups entry in nsswitch.conf do not always
43985 continue on a successful lookup. Don't always use the
eac80ce2 43986 __nss_group_database value if it is set.
7b3b0b2a
UD
43987 * nss/nsswitch.conf (initgroups): Change action for successful db
43988 lookup to continue for compatibility.
43989
2a81eaa5
UD
439902011-05-09 Ulrich Drepper <drepper@gmail.com>
43991
be97a69e
UD
43992 [BZ #11532]
43993 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43994 and CP774 modules.
43995 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43996 and CP774 modules.
43997 * iconvdata/tst-tables.sh: Likewise.
43998 * iconvdata/cp770.c: New file.
43999 * iconvdata/cp771.c: New file.
44000 * iconvdata/cp772.c: New file.
44001 * iconvdata/cp773.c: New file.
44002 * iconvdata/cp774.c: New file.
44003 * iconvdata/testdata/CP770: New file.
44004 * iconvdata/testdata/CP770..UTF8: New file.
44005 * iconvdata/testdata/CP771: New file.
44006 * iconvdata/testdata/CP771..UTF8: New file.
44007 * iconvdata/testdata/CP772: New file.
44008 * iconvdata/testdata/CP772..UTF8: New file.
44009 * iconvdata/testdata/CP773: New file.
44010 * iconvdata/testdata/CP773..UTF8: New file.
44011 * iconvdata/testdata/CP774: New file.
44012 * iconvdata/testdata/CP774..UTF8: New file.
44013
44014 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44015 END CHARMAP line.
44016 * iconvdata/gen-8bit-gap.sh: Likewise.
44017 * iconvdata/gen-8bit.sh: Likewise.
44018
c1e9e399
UD
44019 * locale/iso-639.def: Add ary entry.
44020
24c55fb3 44021 [BZ #11258]
96b4b1b0
UD
44022 * locale/C-translit.h.in: Add U20A1 transliteration.
44023
bdc2f971
KB
44024 [BZ #12178]
44025 * locale/iso-639.def: Add wae entry.
44026 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44027
2952b117
UD
44028 [BZ #12545]
44029 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44030 for n.
44031
2a81eaa5
UD
44032 [BZ #12711]
44033 * locale/C-translit.h.in: Add entry for U20B9.
44034 Patch by pravin.d.s@gmail.com.
44035
28377d1b
UD
440362011-05-08 Ulrich Drepper <drepper@gmail.com>
44037
7fb90fb8
UD
44038 [BZ #12713]
44039 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44040 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44041 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44042 in rtld. Use *stat64.
7fb90fb8 44043 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44044 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44045 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44046 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44047 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44048 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44049 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44050 __fstatat64 macros.
7fb90fb8
UD
44051 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44052 * dirent/rewinddir.c: Add libc_hidden_def.
44053 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44054 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44055
28377d1b
UD
44056 * include/dirent.h (__alloc_dir): Add flags parameter.
44057 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44058 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44059 __alloc_dir.
44060 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44061 from fdopendir if O_CLOEXEC is already set.
44062
66bdbaa4
AM
440632011-03-15 Alan Modra <amodra@gmail.com>
44064
44065 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44066 l_tls_firstbyte_offset non-zero. Save padding offset in
44067 l_tls_firstbyte_offset for later use.
44068 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44069 freeing static tls block.
44070
95721191
JN
440712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44072
44073 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44074 where #ifdef was intended. The intent is to prevent ARG_MAX from
44075 being defined by the kernel headers.
44076
f87dfb1f
UD
440772011-05-07 Ulrich Drepper <drepper@gmail.com>
44078
44079 [BZ #12734]
44080 * resolv/resolv.h: Define RES_NOTLDQUERY.
44081 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44082 no-tld-query and set RES_NOTLDQUERY.
44083 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44084 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44085 modern BIND to search name as TLD unless forbidden.
44086
47c3cd7a
UD
440872011-05-07 Petr Baudis <pasky@suse.cz>
44088 Ulrich Drepper <drepper@gmail.com>
44089
44090 [BZ #12393]
44091 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44092 (is_trusted_path): ...to here.
c1e9ea35 44093 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 44094 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 44095 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 44096
8a35c912
PP
440972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44098
44099 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44100 __BEGIN/__END_DECLS.
44101
acd41f47
UD
441022011-05-06 Ulrich Drepper <drepper@gmail.com>
44103
44104 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44105 NSS_STATUS_NOTFOUND if no record was found.
44106
597df647
AS
441072011-05-05 Andreas Schwab <schwab@redhat.com>
44108
44109 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44110 (headers-not-in-tirpc): Remove rpc/netdb.h
44111 * resolv/netdb.h: Revert last change.
44112
b9af1301
PP
441132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44114
44115 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44116 circular dependency between libgcc.a and libc.a.
44117
4e34d5f5
AS
441182011-05-05 Andreas Schwab <schwab@redhat.com>
44119
44120 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44121 * nis/Makefile: Don't install rpcsvc/*.
44122 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44123 instead of <rpc/types.h>.
44124 (MAXHOSTNAMELEN): Define.
44125
00ee369c
AS
441262011-05-03 Andreas Schwab <schwab@redhat.com>
44127
44128 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44129
0b592a30
MB
441302011-04-28 Maciej Babinski <mbabinski@google.com>
44131
44132 [BZ #12714]
44133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44134 gethostbyname4_r when IPv6 results are possible.
44135
6e04cbbe
UD
441362011-05-02 Ulrich Drepper <drepper@gmail.com>
44137
44138 [BZ #12723]
44139 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44140 _PC_PIPE_BUF handling.
44141
e4ecafe0
BH
441422011-04-30 Bruno Haible <bruno@clisp.org>
44143
44144 [BZ #12717]
44145 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44146 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44147 to 'int'.
44148 * inet/getnameinfo.c (getnameinfo): Likewise.
44149
125ee683
UD
441502011-04-29 Ulrich Drepper <drepper@gmail.com>
44151
44152 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44153 to groups setting in database lookup.
44154 * nss/nsswitch.conf: Add initgroups entry.
44155
b722481a
EB
441562011-04-22 Ulrich Drepper <drepper@gmail.com>
44157
44158 [BZ #12685]
44159 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44160 mode string.
44161 Patch by Eric Blake <eblake@redhat.com>.
44162
4df46dbd
L
441632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44164
44165 * sunrpc/Makefile (need-export-routines): Add svc_run.
44166 (routines): Remove svc_run.
44167 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44168 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44169 * sunrpc/svc_run.c (svc_run): Likewise.
44170 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44171
e84142d2
UD
441722011-04-21 Ulrich Drepper <drepper@gmail.com>
44173
44174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44175 problem in reallocation in last patch.
44176
877175d8
UD
441772011-04-20 Ulrich Drepper <drepper@gmail.com>
44178
44179 * sunrpc/Makefile: Move inclusion of Rules.
44180
ab8eed78
UD
441812011-04-19 Ulrich Drepper <drepper@gmail.com>
44182
44183 * nss/nss_files/files-initgroups.c: New file.
44184 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44185 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44186 _nss_files_initgroups_dyn.
44187
e3d8f584
RS
441882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44189
44190 * elf/elf.h (R_ARM_IRELATIVE): Define.
44191
af190f45
UD
441922011-04-19 Ulrich Drepper <drepper@gmail.com>
44193
44194 * po/ru.po: Update from translation team.
44195
53cf59ef
UD
441962011-04-17 Ulrich Drepper <drepper@gmail.com>
44197
44198 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44199 dependencies.
44200
4c559bcd
MF
442012011-02-06 Mike Frysinger <vapier@gentoo.org>
44202
44203 [BZ #12653]
44204 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44205 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44209
4420675c
AS
442102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44211
44212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44213 differing bytes.
44214 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44215 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44217
75ea32ab
UD
442182011-04-17 Ulrich Drepper <drepper@gmail.com>
44219
44220 [BZ #12420]
44221 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44222 storing it.
44223 * stdlib/bug-getcontext.c: New file.
44224 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44225
27390476
AK
442262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44227
44228 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44229 instructions into .machine "z9-109".
44230 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44231 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44232
10442705
AK
442332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44234
44235 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44236 between environment variables and auxiliary vector.
44237
7b57bfe5
UD
442382011-04-16 Ulrich Drepper <drepper@gmail.com>
44239
44240 * Makefile: Add rules to build linkobj/libc.so.
44241 * include/libc-symbols.h: Define libc_hidden_nolink.
44242 * include/rpc/auth.h: Mark functions which are to be hidden.
44243 * include/rpc/auth_des.h: Likewise.
44244 * include/rpc/auth_unix.h: Likewise.
44245 * include/rpc/clnt.h: Likewise.
44246 * include/rpc/des_crypt.h: Likewise.
44247 * include/rpc/key_prot.h: Likewise.
44248 * include/rpc/pmap_clnt.h: Likewise.
44249 * include/rpc/pmap_prot.h: Likewise.
44250 * include/rpc/pmap_rmt.h: Likewise.
44251 * include/rpc/rpc_msg.h: Likewise.
44252 * include/rpc/svc.h: Likewise.
44253 * include/rpc/svc_auth.h: Likewise.
44254 * include/rpc/xdr.h: Likewise.
44255 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44256 * nss/Makefile: Likewise.
44257 * sunrpc/Makefile: Don't install headers. Build library with normal
44258 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44259 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44260 for the compat linking library. Remove use of INTDEF/INTUSE.
44261 * sunrpc/auth_none.c: Likewise.
44262 * sunrpc/auth_unix.c: Likewise.
44263 * sunrpc/authdes_prot.c: Likewise.
44264 * sunrpc/authuxprot.c: Likewise.
44265 * sunrpc/clnt_gen.c: Likewise.
44266 * sunrpc/clnt_perr.c: Likewise.
44267 * sunrpc/clnt_raw.c: Likewise.
44268 * sunrpc/clnt_simp.c: Likewise.
44269 * sunrpc/clnt_tcp.c: Likewise.
44270 * sunrpc/clnt_udp.c: Likewise.
44271 * sunrpc/clnt_unix.c: Likewise.
44272 * sunrpc/des_crypt.c: Likewise.
44273 * sunrpc/des_soft.c: Likewise.
44274 * sunrpc/get_myaddr.c: Likewise.
44275 * sunrpc/key_call.c: Likewise.
44276 * sunrpc/key_prot.c: Likewise.
44277 * sunrpc/netname.c: Likewise.
44278 * sunrpc/pm_getmaps.c: Likewise.
44279 * sunrpc/pm_getport.c: Likewise.
44280 * sunrpc/pmap_clnt.c: Likewise.
44281 * sunrpc/pmap_prot.c: Likewise.
44282 * sunrpc/pmap_prot2.c: Likewise.
44283 * sunrpc/pmap_rmt.c: Likewise.
44284 * sunrpc/publickey.c: Likewise.
44285 * sunrpc/rpc_cmsg.c: Likewise.
44286 * sunrpc/rpc_common.c: Likewise.
44287 * sunrpc/rpc_dtable.c: Likewise.
44288 * sunrpc/rpc_prot.c: Likewise.
44289 * sunrpc/rpc_thread.c: Likewise.
44290 * sunrpc/rtime.c: Likewise.
44291 * sunrpc/svc.c: Likewise.
44292 * sunrpc/svc_auth.c: Likewise.
44293 * sunrpc/svc_authux.c: Likewise.
44294 * sunrpc/svc_raw.c: Likewise.
44295 * sunrpc/svc_run.c: Likewise.
44296 * sunrpc/svc_simple.c: Likewise.
44297 * sunrpc/svc_tcp.c: Likewise.
44298 * sunrpc/svc_udp.c: Likewise.
44299 * sunrpc/svc_unix.c: Likewise.
44300 * sunrpc/svcauth_des.c: Likewise.
44301 * sunrpc/xcrypt.c: Likewise.
44302 * sunrpc/xdr.c: Likewise.
44303 * sunrpc/xdr_array.c: Likewise.
44304 * sunrpc/xdr_float.c: Likewise.
44305 * sunrpc/xdr_intXX_t.c: Likewise.
44306 * sunrpc/xdr_mem.c: Likewise.
44307 * sunrpc/xdr_rec.c: Likewise.
44308 * sunrpc/xdr_ref.c: Likewise.
44309 * sunrpc/xdr_sizeof.c: Likewise.
44310 * sunrpc/xdr_stdio.c: Likewise.
44311
e6c61494
UD
443122011-04-10 Ulrich Drepper <drepper@gmail.com>
44313
44314 [BZ #12650]
44315 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44316 * sysdeps/ia64/dl-tls.h: Likewise.
44317 * sysdeps/powerpc/dl-tls.h: Likewise.
44318 * sysdeps/s390/dl-tls.h: Likewise.
44319 * sysdeps/sh/dl-tls.h: Likewise.
44320 * sysdeps/sparc/dl-tls.h: Likewise.
44321 * sysdeps/x86_64/dl-tls.h: Likewise.
44322 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44323
34fe483e
AS
443242011-03-14 Andreas Schwab <schwab@redhat.com>
44325
44326 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44327 rpath element also skip the following colon.
44328 (expand_dynamic_string_token): Add is_path parameter and pass
44329 down to DL_DST_REQUIRED and _dl_dst_substitute.
44330 (decompose_rpath): Call expand_dynamic_string_token with
44331 non-zero is_path. Ignore empty rpaths.
44332 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44333 with zero is_path.
44334
f12a32e6
AS
443352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44336
44337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44338 Make cancelable.
44339
38a7d692
UD
443402011-04-09 Ulrich Drepper <drepper@gmail.com>
44341
44342 [BZ #12655]
44343 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44344 Patch by Filipe David Manana <fdmanana@apache.org>.
44345
e451d22b
AS
443462011-04-07 Andreas Schwab <schwab@redhat.com>
44347
44348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44349 Maintain aligned stack.
44350 (CHECK_RSP): Remove unused macro.
44351
dedc7c7b
UD
443522011-04-03 Ulrich Drepper <drepper@gmail.com>
44353
44354 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44356
94521213
UD
443572011-04-02 Ulrich Drepper <drepper@gmail.com>
44358
44359 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44360
8cb700c0 44361 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44362
0354e355
L
443632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44364
44365 [BZ #12518]
44366 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44367 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44368 * sysdeps/x86_64/memmove.c: New file.
44369 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44370 (memcpy): Renamed to ...
44371 (__new_memcpy): This.
44372 (memcpy): Provide GLIBC_2_14 memcpy.
44373 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44374 (memcpy): Provide GLIBC_2_2_5 memcpy.
44375
8593482f
UD
443762011-04-01 Ulrich Drepper <drepper@gmail.com>
44377
44378 [BZ #12631]
44379 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44380
81a5726b
AS
443812011-03-30 Andreas Schwab <schwab@redhat.com>
44382
44383 * misc/syncfs.c: New file.
44384 * misc/Makefile (routines): Add syncfs.
44385 * posix/unistd.h: Declare syncfs.
44386 * sysdeps/unix/syscalls.list: Add syncfs.
44387
00e5419f
AS
443882011-04-01 Andreas Schwab <schwab@redhat.com>
44389
44390 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44391 open_by_handle_at.
44392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44393 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44397 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44399
748876bf
UD
444002011-04-01 Ulrich Drepper <drepper@gmail.com>
44401
658e451d
UD
44402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44403 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44404 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44409
748876bf
UD
44410 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44411 sync_file_range.c with -fexceptions.
44412 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44413 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44414 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44415 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44416 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44417 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44419 sync_file_range as cancellation point
44420 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44421 now a wrapper around __call_sync_file_range with cancellation handling.
44422 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44423 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44424 function name to __call_sync_file_range.
44425 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44426 Add call_sync_file_range.
748876bf 44427
6e63d5e1
AS
444282011-04-01 Andreas Schwab <schwab@redhat.com>
44429
44430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44431 bits/timex.h.
6e63d5e1 44432
46998f74
UD
444332011-04-01 Ulrich Drepper <drepper@gmail.com>
44434
4c1423ed
UD
44435 * iconv/iconv.h: Fix typo in comment.
44436 * io/fcntl.h: Likewise.
44437 * libio/stdio.h: Likewise.
44438 * posix/spawn.h: Likewise.
44439 * posix/unistd.h: Likewise.
44440 * stdlib/stdlib.h: Likewise.
44441 * time/time.h: Likewise.
44442 * wcsmbs/wchar.h: Likewise.
44443
158648c0
UD
44444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44445 open_by_handle): Add.
44446 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44447 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44448 Augment a few comments.
44449 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44454 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44455 open_by_handle.
44456
46998f74
UD
44457 * io/fcntl.h (AT_EMPTY_PATH): Define.
44458
83fe108b
UD
444592011-03-30 Ulrich Drepper <drepper@gmail.com>
44460
44461 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44462 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44463 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44464 to...
44465 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44466 * Versions.def: Add GLIBC_2.14.
44467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44468 Export.
83fe108b 44469
bb242059
UD
444702011-03-22 Ulrich Drepper <drepper@gmail.com>
44471
44472 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44473 round counter.
44474 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44475
c97a1282
L
444762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44477
44478 [BZ #12597]
44479 * string/test-strncmp.c (do_page_test): New function.
44480 (check2): Likewise.
44481 (test_main): Call check2.
44482 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44483
2a115601
UD
444842011-03-20 Ulrich Drepper <drepper@gmail.com>
44485
44486 [BZ #12587]
44487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44488 Handle cache information in CPU leaf 4.
44489 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44490
8126d904
UD
444912011-03-18 Ulrich Drepper <drepper@gmail.com>
44492
042c49c6 44493 [BZ #12583]
8126d904
UD
44494 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44495 character representation.
44496 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44497
ccfe366e
RA
444982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44499
44500 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44501 END(__isnan) to END(__isnanf) to match function entry point/label
44502 EALIGN(__isnanf,...).
44503
c6e13027
JJ
445042011-03-10 Jakub Jelinek <jakub@redhat.com>
44505
44506 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44507
33f85a3f
UD
445082011-03-10 Ulrich Drepper <drepper@gmail.com>
44509
028478fa
UD
44510 [BZ #12510]
44511 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44512 copy from the symbol referenced in the relocation to initialize the
44513 used variable.
44514 Patch by Piotr Bury <pbury@goahead.com>.
44515 * elf/Makefile: Add rules to build and tst-unique3.
44516 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44517 * elf/tst-unique3.cc: New file.
44518 * elf/tst-unique3.h: New file.
44519 * elf/tst-unique3lib.cc: New file.
44520 * elf/tst-unique3lib2.cc: New file.
44521
33f85a3f
UD
44522 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44523
03592fc7
MF
445242011-03-10 Mike Frysinger <vapier@gentoo.org>
44525
44526 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44527 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44528 to _start.
03592fc7 44529
6a5ee102
UD
445302011-03-06 Ulrich Drepper <drepper@gmail.com>
44531
44532 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44533 to-be-loaded object along a path to loader is ld.so.
44534
7e4ba49c
HJ
445352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44536 Ulrich Drepper <drepper@gmail.com>
44537
44538 * sysdeps/x86_64/memset.S: After aligning destination, code
44539 branches to different locations depending on the value of
44540 misalignment, when multiarch is enabled. Fix this.
44541
445422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44543
44544 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44545 Set _x86_64_preferred_memory_instruction for AMD processsors.
44546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44547 Set bit_Prefer_SSE_for_memop for AMD processors.
44548
13a804de
UD
445492011-03-04 Ulrich Drepper <drepper@gmail.com>
44550
44551 * libio/fmemopen.c (fmemopen): Optimize a bit.
44552
9d25c392
AS
445532011-03-03 Andreas Schwab <schwab@redhat.com>
44554
44555 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44556
a5543c6a
RM
445572011-03-03 Roland McGrath <roland@redhat.com>
44558
44559 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44560
012d35f7
DM
445612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44562
7e4ba49c 44563 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44564 __bzero_ultra1 instead of __memset_ultra1.
44565
4bff6e01
AS
445662011-02-23 Andreas Schwab <schwab@redhat.com>
44567 Ulrich Drepper <drepper@gmail.com>
44568
44569 [BZ #12509]
44570 * include/link.h (struct link_map): Add l_orig_initfini.
44571 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44572 returning unsuccessfully.
44573 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44574 close of a file loaded at startup, restore the original l_initfini
44575 list.
44576 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44577 list, store the pointer.
44578 * elf/Makefile ($(objpfx)noload-mem): New rule.
44579 (noload-ENV): Define.
44580 (tests): Add $(objpfx)noload-mem.
44581 * elf/noload.c: Include <memcheck.h>.
44582 (main): Call mtrace. Close all opened handles.
44583
f2092faf
AS
445842011-02-17 Andreas Schwab <schwab@redhat.com>
44585
44586 [BZ #12454]
44587 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44588 dependencies are missing.
44589
6c8a2e88
ST
445902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44591
f2092faf 44592 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44593 Hurd needs munmap.
44594 * sysdeps/mach/hurd/ifreq.h: New file.
44595
84a42118
PB
445962011-01-27 Petr Baudis <pasky@suse.cz>
44597 Ulrich Drepper <drepper@gmail.com>
44598
071f805e 44599 [BZ 12445]#
84a42118
PB
44600 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44601 to extend_alloca().
44602 * stdio-common/bug23.c: New file.
44603 * stdio-common/Makefile (tests): Add bug23.
44604
e23fe25b
AS
446052010-09-28 Andreas Schwab <schwab@redhat.com>
44606 Ulrich Drepper <drepper@gmail.com>
44607
44608 [BZ #12489]
44609 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44610 before performing relro protection. At old place add assertion
44611 to make sure nothing changed.
44612
d3f02e10
NS
446132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44614 Glauber de Oliveira Costa <glommer@gmail.com>
44615
44616 * elf/elf.h: Add new ARM TLS relocs.
44617
d55fd7a5
RA
446182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44619
44620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44621 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44622 cast from r3.
44623 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44624 'tests' variable.
44625 * sysdeps/wordsize-64/tst-writev.c: New file.
44626
2206397e
RA
446272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44628
44629 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44630 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44631 insns in _dl_start to prevent a TOC reference before relocs are
44632 resolved.
44633
e9433893
UD
446342011-02-15 Ulrich Drepper <drepper@gmail.com>
44635
44636 [BZ #12469]
44637 * Makeconfig: Remove RANLIB definition.
44638 * Makerules: Don't use RANLIB.
44639 * aclocal.m4: Remove ranlib test.
44640 * configure.in: No need to check for ranlib.
44641 * elf/rtld-Rules: Don't use RANLIB.
44642
f75286c6
ST
446432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44644
8e31c82d
ST
44645 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44646 protection macro.
44647 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44648 inclusion protection macro.
44649
f75286c6
ST
44650 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44651 SIGRTMIN and SIGRTMAX and print information in that case only when
44652 SIGRTMIN is defined.
44653
c1d0e639
JJ
446542011-02-11 Jakub Jelinek <jakub@redhat.com>
44655
44656 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44657 arginfo fn returning -1.
44658
44659 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44660 and thousands string is zero terminated.
44661
edf9294e
AS
446622011-02-03 Andreas Schwab <schwab@redhat.com>
44663
44664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44665 sysdeps/unix/sysv/linux/bits/socket.h.
44666
2b7e92df
ST
446672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44668
edf9294e
AS
44669 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44670 (__CPU_COUNT): Remove old macros.
44671 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44672 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44673 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44674 (__sched_cpualloc, __sched_cpufree): Add declarations.
44675
a4c7ea7b
UD
446762011-02-05 Ulrich Drepper <drepper@gmail.com>
44677
44678 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44679 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44680 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44681 (readdhstai): Return value of addhstaiX call.
44682 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44683 (addgrbyX): Return value returned by cache_addgr.
44684 (readdgrbyname): Return value returned by addgrbyX.
44685 (readdgrbygid): Likewise.
44686 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44687 (addpwbyX): Return value returned by cache_addpw.
44688 (readdpwbyname): Return value returned by addhstbyX.
44689 (readdpwbyuid): Likewise.
44690 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44691 (addservbyX): Return value returned by cache_addserv.
44692 (readdservbyname): Return value returned by addservbyX:
44693 (readdservbyport): Likewise.
44694 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44695 (addhstbyX): Return value returned by cache_addhst.
44696 (readdhstbyname): Return value returned by addhstbyX.
44697 (readdhstbyaddr): Likewise.
44698 (readdhstbynamev6): Likewise.
44699 (readdhstbyaddrv6): Likewise.
44700 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44701 (readdinitgroups): Return value returned by addinitgroupsX.
44702 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44703 (prune_cache): Keep track of timeout value of re-added entries.
44704 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44705 * nscd/nscd.h: Adjust prototypes of readd* functions.
44706
a0bf67cc
RM
447072011-02-04 Roland McGrath <roland@redhat.com>
44708
44709 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44710 (nis_stats): Likewise.
44711 * nis/nis_modify.c (nis_modify): Likewise.
44712 * nis/nis_remove.c (nis_remove): Likewise.
44713 * nis/nis_add.c (nis_add): Likewise.
44714
44715 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44716
44717 * posix/fnmatch_loop.c: Add some consts.
44718
44719 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44720
435b95eb
L
447212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44722
44723 [BZ #12460]
44724 * config.make.in (config-cflags-novzeroupper): Define.
44725 * configure.in: Substitute libc_cv_cc_novzeroupper.
44726 * elf/Makefile (AVX-CFLAGS): Define.
44727 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44728 (CFLAGS-tst-auditmod4a.c): Likewise.
44729 (CFLAGS-tst-auditmod4b.c): Likewise.
44730 (CFLAGS-tst-auditmod6b.c): Likewise.
44731 (CFLAGS-tst-auditmod6c.c): Likewise.
44732 (CFLAGS-tst-auditmod7b.c): Likewise.
44733 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44734
8517b15e
UD
447352011-02-02 Ulrich Drepper <drepper@gmail.com>
44736
44737 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44738 function to the callback.
44739 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44740
10a656fe
AS
447412011-02-02 Andreas Schwab <schwab@redhat.com>
44742
44743 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44744 of errno.
44745
968dad0a
UD
447462011-01-19 Ulrich Drepper <drepper@gmail.com>
44747
9f94d2ea 44748 [BZ #11724]
968dad0a
UD
44749 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44750 of constructors.
44751 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44752 of destructors.
44753 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44754
44755 [BZ #11724]
44756 * elf/Makefile: Add rules to build and run new test.
44757 * elf/tst-initorder.c: New file.
44758 * elf/tst-initorder.exp: New file.
44759 * elf/tst-initordera1.c: New file.
44760 * elf/tst-initordera2.c: New file.
44761 * elf/tst-initordera3.c: New file.
44762 * elf/tst-initordera4.c: New file.
44763 * elf/tst-initorderb1.c: New file.
44764 * elf/tst-initorderb2.c: New file.
44765 * elf/tst-order-a1.c: New file.
44766 * elf/tst-order-a2.c: New file.
44767 * elf/tst-order-a3.c: New file.
44768 * elf/tst-order-a4.c: New file.
44769 * elf/tst-order-b1.c: New file.
44770 * elf/tst-order-b2.c: New file.
44771 * elf/tst-order-main.c: New file.
44772 New test case by George Gensure <werkt0@gmail.com>.
44773
86e92359
UD
447742010-10-01 Andreas Schwab <schwab@redhat.com>
44775
44776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44777 decoding ACE if AI_CANONIDN.
44778
5d5732b0
UD
447792011-01-18 Ulrich Drepper <drepper@gmail.com>
44780
44781 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44782
a77e8cbc
UD
447832011-01-17 Ulrich Drepper <drepper@gmail.com>
44784
6392473f
UD
44785 * version.h (RELEASE): Bump for 2.13 release.
44786 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44787
620a0529
UD
44788 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44789
18ba70a5
UD
44790 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44791 MADV_NOHUGEPAGE.
32465c3e
UD
44792 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44793 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44798
c0dafcf1
UD
44799 * posix/getconf.c: Update copyright year.
44800 * catgets/gencat.c: Likewise.
44801 * csu/version.c: Likewise.
44802 * debug/catchsegv.sh: Likewise.
44803 * debug/xtrace.sh: Likewise.
44804 * elf/ldconfig.c: Likewise.
44805 * elf/ldd.bash.in: Likewise.
44806 * elf/sprof.c (print_version): Likewise.
44807 * iconv/iconv_prog.c: Likewise.
44808 * iconv/iconvconfig.c: Likewise.
44809 * locale/programs/locale.c: Likewise.
44810 * locale/programs/localedef.c: Likewise.
44811 * malloc/memusage.sh: Likewise.
44812 * malloc/mtrace.pl: Likewise.
44813 * nscd/nscd.c (print_version): Likewise.
44814 * nss/getent.c: Likewise.
44815
a77e8cbc
UD
44816 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44817 PF_CAIF, and PF_ALG.
44818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44819
77e8bddf
AS
448202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44821
1f20b93a
AS
44822 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44823 (modules-names): Use them.
44824 (ifunc-test-modules, ifunc-pie-tests): Define.
44825 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44826 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44827 (test-extras): Likewise.
44828 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44829 $(compile-command.c).
44830 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44831 (all-built-dso): Define.
44832 (check-textrel.out, check-execstack.out): Depend on it.
44833
77e8bddf
AS
44834 * configure.in: Don't override --enable-multi-arch.
44835
bc425b33
UD
448362011-01-15 Ulrich Drepper <drepper@gmail.com>
44837
44838 [BZ #6812]
44839 * nscd/hstcache.c (tryagain): Define.
44840 (cache_addhst): Return tryagain not notfound for temporary errors.
44841 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44842 failed.
44843
794c3ad3
UD
448442011-01-14 Ulrich Drepper <drepper@gmail.com>
44845
70181fdd
UD
44846 [BZ #10563]
44847 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44848 to make the syscall.
44849 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44850
794c3ad3
UD
44851 [BZ #12378]
44852 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44853 and fall back to matching as normal character if the string ends before
44854 the matching ']' is found. This is what POSIX requires.
44855 * posix/testfnm.c: Adjust test result.
44856 * posix/globtest.sh: Adjust test result. Add new test.
44857 * posix/tst-fnmatch.input: Likewise.
44858 * posix/tst-fnmatch2.c: Add new test.
44859
68dc9497
AS
448602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44861
44862 * elf/Makefile (check-execstack): Revert last change. Depend on
44863 check-execstack.h.
44864 (check-execstack.h): New target.
44865 (generated): Add check-execstack.h.
44866 * elf/check-execstack.c: Include "check-execstack.h".
44867 (main): Revert last change.
44868 (handle_file): Return zero if GNU_STACK is absent and
44869 DEFAULT_STACK_PERMS doesn't include PF_X.
44870
451f001b
UD
448712011-01-13 Ulrich Drepper <drepper@gmail.com>
44872
cfa28e56
UD
44873 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44874 in child fails because the descriptor is already closed.
8cf8ce17
UD
44875 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44876 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44877 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44878
1086d70d
UD
44879 [BZ #12397]
44880 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44881 syscall.
44882
451f001b
UD
44883 [BZ #10484]
44884 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44885 temporary buffer used to handle multi lookups locally.
a85b5cb4 44886 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44887
08769175
UD
448882011-01-12 Ulrich Drepper <drepper@gmail.com>
44889
44890 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44891 loader is ld.so.
44892
5e49c52e
UD
448932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44894
44895 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44896 alignment for SSE2.
44897
60522a5f
UD
448982011-01-12 Ulrich Drepper <drepper@gmail.com>
44899
44900 [BZ #12394]
44901 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44902 characters. When rounding increased number of integer digits recompute
44903 number of groups.
44904 * stdio-common/tst-grouping.c: New file.
44905 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44906
f257bbd7
UD
449072011-01-09 Ulrich Drepper <drepper@gmail.com>
44908
44909 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44910 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44911
44912 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44913 void.
44914 * bits/select.h: Likewise.
44915
fa9c15cb
UD
449162011-01-08 Ulrich Drepper <drepper@gmail.com>
44917
44918 * po/ja.po: Update from translation team.
44919
16c2895f
DM
449202011-01-04 David S. Miller <davem@sunset.davemloft.net>
44921
44922 [BZ #11155]
44923 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44924 implementation just like for lxstat, fxstatat, et al.
44925
2543fef2
JM
449262010-12-27 Jim Meyering <meyering@redhat.com>
44927
44928 [BZ #12348]
44929 * posix/regexec.c (build_trtable): Return failure indication upon
44930 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44931
98727dbe
UD
449322010-12-25 Ulrich Drepper <drepper@gmail.com>
44933
5bd6dc5c
UD
44934 [BZ #12201]
44935 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44936 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44937 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44939
97983464
UD
44940 [BZ #12207]
44941 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44942
98727dbe
UD
44943 [BZ #12204]
44944 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44945 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44946
4a531bb0
L
449472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44948
44949 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44950 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44951 script has SORT_BY_INIT_PRIORITY.
44952 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44953 NO_CTORS_DTORS_SECTIONS is defined.
44954 * elf/soinit.c: Likewise.
44955 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44956 NO_CTORS_DTORS_SECTIONS is defined.
44957 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44958 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44959 * sysdeps/sh/init-first.c: Likewise.
44960 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44961
07eb4b71
UD
449622010-12-24 Ulrich Drepper <drepper@gmail.com>
44963
44964 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44965 always use the slow path.
44966
30950a5f
RA
449672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44968
44969 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44970 similar rule which adds the sysdep directories to the header search in
44971 order to pick up the correct platform stackinfo.h.
44972 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44973 perform test if it is, otherwise return successfully without testing.
44974 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44975 DEFAULT_STACK_PERMS define in stackinfo.h.
44976 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44977 defined in stackinfo.h.
44978 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44979 DEFAULT_STACK_PERMS defined in stackinfo.h.
44980 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44981 * sysdeps/ia64/stackinfo.h: Likewise.
44982 * sysdeps/s390/stackinfo.h: Likewise.
44983 * sysdeps/sh/stackinfo.h: Likewise.
44984 * sysdeps/sparc/stackinfo.h: Likewise.
44985 * sysdeps/x86_64/stackinfo.h: Likewise.
44986 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44987 PF_X for powerpc64. Retain PF_X for powerpc32.
44988
db753e2c
UD
449892010-12-19 Ulrich Drepper <drepper@gmail.com>
44990
14b697f7
UD
44991 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44992 accurately.
db753e2c
UD
44993 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44994 GETDENTS_64BIT_ALIGNED.
44995
28300719
UD
449962010-12-14 Ulrich Drepper <dreper@gmail.com>
44997
14b697f7 44998 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44999
4f197237
AS
450002010-12-10 Andreas Schwab <schwab@redhat.com>
45001
dbb0472f
AS
45002 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45003 _GNU_SOURCE.
45004
4f197237
AS
45005 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45006 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45007 Remove __restrict.
45008 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45009 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45010
fb88ac72
UD
450112010-12-09 Ulrich Drepper <drepper@gmail.com>
45012
45013 [BZ #11655]
45014 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45015 are initialized.
45016
42acbb92
JJ
450172010-12-09 Jakub Jelinek <jakub@redhat.com>
45018
45019 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45020
c038d98d
UD
450212010-12-03 Ulrich Drepper <drepper@gmail.com>
45022
45023 * po/it.po: Update from translation team.
45024
3a4a2499
L
450252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45026
45027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45028 unused codes.
45029
1e24cf6e
UD
450302010-11-30 Ulrich Drepper <drepper@gmail.com>
45031
45032 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45033
a7690819
AS
450342010-11-24 Andreas Schwab <schwab@redhat.com>
45035
45036 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45037 specially.
45038 (gaih_getanswer_slice): Likewise.
45039
3bf8d1b1
JJ
450402010-10-20 Jakub Jelinek <jakub@redhat.com>
45041
45042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45043
6db52fbb
PB
450442010-05-31 Petr Baudis <pasky@suse.cz>
45045
45046 [BZ #11149]
45047 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45048 silently even in the chroot mode.
45049
eaca7569
UD
450502010-11-22 Ulrich Drepper <drepper@gmail.com>
45051
45052 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45053 last patch a bit. Pretty printing
45054
3056dcdb
UD
450552010-05-31 Petr Baudis <pasky@suse.cz>
45056
45057 [BZ #10085]
45058 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45059 initialization of skip_initgroups_dyn.
45060
cf7c9078
UD
450612010-11-19 Ulrich Drepper <drepper@gmail.com>
45062
45063 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45065
a1fb5e3e
UD
450662010-11-16 Ulrich Drepper <drepper@gmail.com>
45067
45068 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45069
3540d66b
AS
450702010-11-11 Andreas Schwab <schwab@redhat.com>
45071
45072 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45073 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45074 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45075 ($(objpfx)tst-fnmatch-mem): New rule.
45076 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45077 * posix/tst-fnmatch.c (main): Call mtrace.
45078
13b69574
L
450792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45080
45081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45082 Support Intel processor model 6 and model 0x2c.
45083
da93d214
LM
450842010-11-10 Luis Machado <luisgpm@br.ibm.com>
45085
45086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45087 signed comparison.
45088
8ca52c6e
L
450892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45090
45091 [BZ #12205]
45092 * string/test-strncasecmp.c (check_result): New function.
45093 (do_one_test): Use it.
45094 (check1): New function.
45095 (test_main): Use it.
45096 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45097 Support strcasecmp and strncasecmp.
45098
69da074d
UD
450992010-11-08 Ulrich Drepper <drepper@gmail.com>
45100
45101 [BZ #12194]
45102 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45103 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45104
ff02d528
L
451052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45106
45107 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45108 IFUNC support.
45109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45110 memset-x86-64.
45111 * sysdeps/x86_64/multiarch/bzero.S: New file.
45112 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45113 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45114 * sysdeps/x86_64/multiarch/memset.S: New file.
45115 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45117 Set bit_Prefer_SSE_for_memop for Intel processors.
45118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45119 Define.
45120 (index_Prefer_SSE_for_memop): Define.
45121 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45122
344d0b54
LM
451232010-11-04 Luis Machado <luisgpm@br.ibm.com>
45124
45125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45126 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45127
c0dde15b
UD
451282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45129
45130 [BZ #12191]
45131 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45132 (__x86_64_raw_data_cache_size_half): Likewise.
45133 (__x86_64_raw_shared_cache_size): Likewise.
45134 (__x86_64_raw_shared_cache_size_half): Likewise.
45135
45136 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45137 (__x86_64_raw_data_cache_size_half): Likewise.
45138 (__x86_64_raw_shared_cache_size): Likewise.
45139 (__x86_64_raw_shared_cache_size_half): Likewise.
45140 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45141 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45142 and __x86_64_raw_shared_cache_size_half. Round
45143 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45144 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45145 to multiple of 256 bytes.
45146
0e516e0e
MS
451472010-11-03 Ulrich Drepper <drepper@gmail.com>
45148
45149 [BZ #12167]
45150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45151 of inacessible symlinks. Verify result of symlink before returning it.
45152 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45153 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45154
0e012e87
ER
451552010-10-28 Erich Ritz <erichritz@gmail.com>
45156
45157 * math/math.h (isinf): Fix typo in comment.
45158
de0ff7bc
UD
451592010-11-01 Ulrich Drepper <drepper@gmail.com>
45160
45161 * po/da.po: Update from translation team.
45162
fa41c84d
UD
451632010-10-26 Ulrich Drepper <drepper@gmail.com>
45164
45165 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45166 is added to the list.
45167
f0967738
AK
451682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45169 Ulrich Drepper <drepper@gmail.com>
45170
45171 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45172 the global list here. Move code to...
45173 (_dl_add_to_namespace_list): ...here. New function.
45174 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45175 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45176 * elf/dl-load.c (lose): Don't remove the element from the list.
45177 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45178 (_dl_map_object): Likewise.
45179
451802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45181
45182 [BZ #12159]
45183 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45184 into all bytes of SSE register.
45185 Patch by Richard Li <richardpku@gmail.com>.
45186
f0967738 451872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45188
45189 [BZ #12140]
45190 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45191 perturbing.
45192
d0b9e94f
MB
451932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45194
45195 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45196 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45197 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45198 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45200 submachine.
45201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45202
8e9f92e9
AS
452032010-10-22 Andreas Schwab <schwab@redhat.com>
45204
45205 * include/dlfcn.h (__RTLD_SECURE): Define.
45206 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45207 mode & __RTLD_SECURE instead.
45208 (open_path): Rename preloaded parameter to secure.
45209 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45210 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45211 * elf/dl-deps.c (openaux): Likewise.
45212 * elf/rtld.c (struct map_args): Remove is_preloaded.
45213 (map_doit): Don't use it.
45214 (dl_main): Likewise.
45215 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45216 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45217
bc96fbda
AS
452182010-09-09 Andreas Schwab <schwab@redhat.com>
45219
45220 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45221 (sysd-rules-targets): Remove duplicates.
45222 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45223 rtld-%.$o dependency.
45224
22cd1c9b
AS
452252010-10-18 Andreas Schwab <schwab@redhat.com>
45226
45227 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45228 _dl_map_object do it.
45229
18edac48
UD
452302010-10-19 Ulrich Drepper <drepper@gmail.com>
45231
45232 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45233 fast fma builtins, define the macros in the C99 standard.
45234 (FP_FAST_FMAF): Likewise.
45235 (FP_FAST_FMAL): Likewise.
45236 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45237
45238 * bits/mathdef.h: Update copyright year.
45239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45240
d2050124
MM
452412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45242
45243 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45244 builtins, define the macros in the C99 standard.
45245 (FP_FAST_FMAF): Likewise.
45246 (FP_FAST_FMAL): Likewise.
45247 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45248 multiply/add.
45249 (FP_FAST_FMAF): Likewise.
45250
475facd1
JJ
452512010-10-15 Jakub Jelinek <jakub@redhat.com>
45252
45253 [BZ #3268]
45254 * math/libm-test.inc (fma_test): Some new testcases.
45255 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45257 y and infinite z. Do multiplication by C already in long double.
45258 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45260 y and infinite z. Do bitwise or of inexact bit into u.d.
45261 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45262 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45263 * sysdeps/i386/fpu/s_fma.S: Removed.
45264 * sysdeps/i386/fpu/s_fmal.S: Removed.
45265
7c08a05c
JJ
452662010-10-16 Jakub Jelinek <jakub@redhat.com>
45267
45268 [BZ #3268]
45269 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45271 computation is not scheduled after fetestexcept. Fix value
45272 of minimum denormal long double.
45273
f3f7372d
JJ
452742010-10-14 Jakub Jelinek <jakub@redhat.com>
45275
45276 [BZ #3268]
45277 * math/libm-test.inc (fma_test): Add some more tests.
45278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45279 correctly.
45280
14d43591
AS
452812010-10-15 Andreas Schwab <schwab@redhat.com>
45282
45283 * scripts/data/localplt-s390-linux-gnu.data: New file.
45284 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45285
5e908464
JJ
452862010-10-13 Jakub Jelinek <jakub@redhat.com>
45287
45288 [BZ #3268]
45289 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45290 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45291 instead of dbl-64.
45292 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45293 inlines.
45294 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45296 if one of x and y is very large and the other is subnormal.
45297 * sysdeps/s390/fpu/s_fmaf.c: New file.
45298 * sysdeps/s390/fpu/s_fma.c: New file.
45299 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45300 * sysdeps/powerpc/fpu/s_fma.S: New file.
45301 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45302 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45303 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45304
453052010-10-12 Jakub Jelinek <jakub@redhat.com>
45306
45307 [BZ #3268]
45308 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45309 fma tests.
45310 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45311 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45312 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45313 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45314 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45315 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45316 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45317
b833d51f
UD
453182010-10-12 Ulrich Drepper <drepper@redhat.com>
45319
45320 [BZ #12078]
45321 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45322 * posix/bug-regex31.input: Add test case.
45323
1751705d
UD
453242010-10-11 Ulrich Drepper <drepper@gmail.com>
45325
e9b9cbf5
UD
45326 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45327 * posix/bug-regex31.input: New file.
45328
45329 [BZ #12078]
45330 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45331 (parse_sub_exp): Fix last change, use postorder.
45332
ef06edbe
UD
45333 * posix/bug-regex31.c: New file.
45334 * posix/Makefile: Add rules to build and run bug-regex31.
45335
a129c80d
UD
45336 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45337
45338 [BZ #12078]
45339 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45340
b76b818e
UD
45341 [BZ #12108]
45342 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45343 to have entries in sys_siglist.
45344
1751705d
UD
45345 [BZ #12093]
45346 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45347 be NULL.
45348
9ff8d36f
JJ
453492010-10-07 Jakub Jelinek <jakub@redhat.com>
45350
45351 [BZ #3268]
45352 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45353 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45354 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45355 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45356 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45357 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45358 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45359 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45360 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45361 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45362 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45363 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45364 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45365 * math/ftestexcept.c (fetestexcept): Likewise.
45366 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45367 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45368 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45369 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45370 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45371 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45372 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45373
af325969
UD
453742010-10-11 Ulrich Drepper <drepper@gmail.com>
45375
c579b202 45376 [BZ #12107]
af325969
UD
45377 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45378 newline.
45379
67a67b95
UD
453802010-10-06 Ulrich Drepper <drepper@gmail.com>
45381
45382 * string/bug-strstr1.c: New file.
45383 * string/Makefile: Add rules to build and run bug-strstr1.
45384
5fb308bc
EB
453852010-10-05 Eric Blake <eblake@redhat.com>
45386
45387 [BZ #12092]
45388 * string/str-two-way.h (two_way_long_needle): Always clear memory
45389 when skipping input due to the shift table.
45390
45db99c7
UD
453912010-10-03 Ulrich Drepper <drepper@gmail.com>
45392
3b111893
UD
45393 [BZ #12005]
45394 * malloc/mcheck.c: Handle large requests.
45395
45db99c7
UD
45396 [BZ #12077]
45397 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45398 for strncmp and strncasecmp.
45399 * string/stratcliff.c: Add tests for strcmp and strncmp.
45400 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45401
cf7a1eb8
NI
454022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45403
45404 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45405 __set_fpscr.
45406
6484ba5e
AJ
454072010-09-30 Andreas Jaeger <aj@suse.de>
45408
45409 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45410 (CGROUP_SUPER_MAGIC): Define.
45411 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45412 Handle btrfs and cgroup file systems.
45413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45414 Likewise.
45415
91c42559
LM
454162010-09-27 Luis Machado <luisgpm@br.ibm.com>
45417
45418 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45419 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45420
87a97932
AK
454212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45422
45423 [BZ #12067]
45424 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45425 trying to locate the ELF header.
45426
c21cc9bc
AS
454272010-09-27 Andreas Schwab <schwab@redhat.com>
45428
45429 [BZ #11611]
45430 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45431 Mask out sign-bit copies when constructing f_fsid.
45432
315970f6
PB
454332010-09-24 Petr Baudis <pasky@suse.cz>
45434
45435 * debug/stack_chk_fail_local.c: Add missing licence exception.
45436 * debug/warning-nop.c: Likewise.
45437
1ac7a2c7
JM
454382010-09-15 Joseph Myers <joseph@codesourcery.com>
45439
45440 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45441 implementing getdents64 using getdents syscall, set d_type if
45442 __ASSUME_GETDENTS32_D_TYPE.
45443
56801c50
AS
454442010-09-16 Andreas Schwab <schwab@redhat.com>
45445
45446 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45447 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45448
dda51327
UD
454492010-09-21 Ulrich Drepper <drepper@redhat.com>
45450
45451 [BZ #12037]
45452 * posix/unistd.h: Undo change of feature selection for ftruncate from
45453 2010-01-11.
45454
8ffcee4a
UD
454552010-09-20 Ulrich Drepper <drepper@redhat.com>
45456
a545ecd9 45457 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45458 detection.
45459
e24f0a8b
AS
454602010-09-20 Andreas Schwab <schwab@redhat.com>
45461
45462 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45463 fanotify_mark.
45464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45465
7291c56f
AS
454662010-09-14 Andreas Schwab <schwab@redhat.com>
45467
45468 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45469 variables after CHECK_SP call.
45470 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45471
bc5fb037
AS
454722010-09-13 Andreas Schwab <schwab@redhat.com>
45473 Ulrich Drepper <drepper@redhat.com>
45474
45475 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45476 re-relocationg ld.so.
45477 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45478 _dl_init_paths call.
45479 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45480 here anymore.
45481
e66e7419
UD
454822010-09-14 Ulrich Drepper <drepper@redhat.com>
45483
45484 * resolv/res_init.c (__res_vinit): Count the default server we added.
45485
c044aa75
CLT
454862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45487 Ulrich Drepper <drepper@redhat.com>
45488
45489 [BZ #11968]
45490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45491 (____longjmp_chk): Use %ebx for saving value across system call.
45492 Add unwind info.
45493
32cf4069
AS
454942010-09-06 Andreas Schwab <schwab@redhat.com>
45495
45496 * manual/Makefile: Don't mix pattern rules with normal rules.
45497
817328ee
AS
454982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45499
45500 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45501 operation.
45502 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45503 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45504 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45505 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45507 Likewise.
45508
29fddf61
UD
455092010-09-04 Ulrich Drepper <drepper@redhat.com>
45510
45511 [BZ #11979]
45512 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45513 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45514
0959ffc9
UD
455152010-09-02 Ulrich Drepper <drepper@redhat.com>
45516
45517 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45518 * sysdeps/x86_64/addmul_1.S: Likewise.
45519 * sysdeps/x86_64/lshift.S: Likewise.
45520 * sysdeps/x86_64/mul_1.S: Likewise.
45521 * sysdeps/x86_64/rshift.S: Likewise.
45522 * sysdeps/x86_64/sub_n.S: Likewise.
45523 * sysdeps/x86_64/submul_1.S: Likewise.
45524
ece29840
ST
455252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45526
0959ffc9
UD
45527 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45528 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45529 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45530 * bits/sched.h [__need_schedparam]
ece29840 45531 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45532 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45533 (__defined_schedparam): Define to 1.
ece29840
ST
45534 (__sched_param): New structure, identical to sched_param.
45535 (__need_schedparam): Undefine.
45536
e53a31fe
MF
455372010-08-31 Mike Frysinger <vapier@gentoo.org>
45538
fdc0c10d
MF
45539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45540 (epoll_create1): Declare.
45541
e53a31fe
MF
45542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45543
a726d796
AS
455442010-08-31 Andreas Schwab <schwab@redhat.com>
45545
45546 [BZ #7066]
45547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45548 shifting retval into place.
45549
2f3e3dc7
UD
455502010-09-01 Ulrich Drepper <drepper@redhat.com>
45551
f2933da9
UD
45552 * nis/rpcsvc/nis.h: Update copyright notice.
45553 * nis/rpcsvc/nis.x: Likewise.
45554 * nis/rpcsvc/nis_callback.h: Likewise.
45555 * nis/rpcsvc/nis_callback.x: Likewise.
45556 * nis/rpcsvc/nis_object.x: Likewise.
45557 * nis/rpcsvc/nis_tags.h: Likewise.
45558 * nis/rpcsvc/yp.h: Likewise.
45559 * nis/rpcsvc/yp.x: Likewise.
45560 * nis/rpcsvc/ypupd.h: Likewise.
45561 * nis/yp_xdr.c: Likewise.
45562 * nis/ypupdate_xdr.c: Likewise.
45563
2f3e3dc7
UD
45564 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45565 mainly the body of pmap_getport. Add parameters to specify timeouts.
45566 (pmap_getport): Use __libc_rpc_getport.
45567 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45568 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45569 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45570
f3dcc2f9
AS
455712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45572
45573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45574 fanotify_mark.
45575
6d34eb5b
RM
455762010-08-27 Roland McGrath <roland@redhat.com>
45577
45578 * sysdeps/i386/i686/multiarch/Makefile
45579 (CFLAGS-varshift.c): New variable.
45580
9ea3de11
UD
455812010-08-27 Ulrich Drepper <drepper@redhat.com>
45582
c96d23fc
UD
45583 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45584 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45585
9ea3de11
UD
45586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45587
45588 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45589
623aac7f
L
455902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45591
45592 * sysdeps/x86_64/strlen.S: Unroll the loop.
45593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45594 strlen-sse2 strlen-sse2-bsf.
45595 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45596 __strlen_no_bsf if bit_Slow_BSF is set.
45597 (__strlen_sse42): Removed.
45598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45599 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45600
8b2b7715
RM
456012010-08-25 Roland McGrath <roland@redhat.com>
45602
45603 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45604 * sysdeps/x86_64/multiarch/varshift.c: New file.
45605 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45606 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45607 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45608 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45609
e73015f2
L
456102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45611
45612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45613 strlen-sse2 strlen-sse2-bsf.
45614 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45615 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45616 (__strlen_sse2): Removed.
45617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45620 bit_Slow_BSF for Atom.
45621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45622 (index_Slow_BSF): Define.
45623 (HAS_SLOW_BSF): Define.
45624
df24a73e
UD
456252010-08-25 Ulrich Drepper <drepper@redhat.com>
45626
45627 [BZ #10851]
45628 * resolv/res_init.c (__res_vinit): When no server address at all
45629 is given default to loopback.
45630
f2ac4868
RM
456312010-08-24 Roland McGrath <roland@redhat.com>
45632
09055553
RM
45633 * configure.in: Remove config-name.h generation.
45634 * configure: Regenerated.
45635 * config-name.in: File removed.
45636 * scripts/config-uname.sh: New file.
45637 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45638 ($(objdir)config-name.h): New target.
45639
f2ac4868
RM
45640 * sunrpc/rpc_parse.h: Avoid nested comment.
45641
73f27d5e
RH
456422010-08-24 Richard Henderson <rth@redhat.com>
45643 Ulrich Drepper <drepper@redhat.com>
45644 H.J. Lu <hongjiu.lu@intel.com>
45645
45646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45648 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45649 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45650 _mm_alignr_epi8 with _mm_loadu_si128.
45651 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45652 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45653 (__m128i_shift_right): Removed.
45654 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45655 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45656 * sysdeps/x86_64/multiarch/varshift.h: New file.
45657 * sysdeps/x86_64/multiarch/varshift.S: New file.
45658
84b9230c
MF
456592010-08-21 Mike Frysinger <vapier@gentoo.org>
45660
45661 * configure.in: Move assembler checks to before sysdep dir checking.
45662
9bbd0ddc
PB
456632010-08-20 Petr Baudis <pasky@suse.cz>
45664
45665 * LICENSES: Sync the sunrpc license.
45666
9da4bb31
UD
456672010-08-19 Ulrich Drepper <drepper@redhat.com>
45668
a7ab6ec8
UD
45669 * sunrpc/auth_des.c: Update copyright notice once again.
45670 * sunrpc/auth_none.c: Likewise.
45671 * sunrpc/auth_unix.c: Likewise.
45672 * sunrpc/authdes_prot.c: Likewise.
45673 * sunrpc/authuxprot.c: Likewise.
45674 * sunrpc/bindrsvprt.c: Likewise.
45675 * sunrpc/clnt_gen.c: Likewise.
45676 * sunrpc/clnt_perr.c: Likewise.
45677 * sunrpc/clnt_raw.c: Likewise.
45678 * sunrpc/clnt_simp.c: Likewise.
45679 * sunrpc/clnt_tcp.c: Likewise.
45680 * sunrpc/clnt_udp.c: Likewise.
45681 * sunrpc/clnt_unix.c: Likewise.
45682 * sunrpc/des_crypt.c: Likewise.
45683 * sunrpc/des_soft.c: Likewise.
45684 * sunrpc/get_myaddr.c: Likewise.
45685 * sunrpc/getrpcport.c: Likewise.
45686 * sunrpc/key_call.c: Likewise.
45687 * sunrpc/key_prot.c: Likewise.
45688 * sunrpc/openchild.c: Likewise.
45689 * sunrpc/pm_getmaps.c: Likewise.
45690 * sunrpc/pm_getport.c: Likewise.
45691 * sunrpc/pmap_clnt.c: Likewise.
45692 * sunrpc/pmap_prot.c: Likewise.
45693 * sunrpc/pmap_prot2.c: Likewise.
45694 * sunrpc/pmap_rmt.c: Likewise.
45695 * sunrpc/rpc/auth.h: Likewise.
45696 * sunrpc/rpc/auth_unix.h: Likewise.
45697 * sunrpc/rpc/clnt.h: Likewise.
45698 * sunrpc/rpc/des_crypt.h: Likewise.
45699 * sunrpc/rpc/key_prot.h: Likewise.
45700 * sunrpc/rpc/netdb.h: Likewise.
45701 * sunrpc/rpc/pmap_clnt.h: Likewise.
45702 * sunrpc/rpc/pmap_prot.h: Likewise.
45703 * sunrpc/rpc/pmap_rmt.h: Likewise.
45704 * sunrpc/rpc/rpc.h: Likewise.
45705 * sunrpc/rpc/rpc_des.h: Likewise.
45706 * sunrpc/rpc/rpc_msg.h: Likewise.
45707 * sunrpc/rpc/svc.h: Likewise.
45708 * sunrpc/rpc/svc_auth.h: Likewise.
45709 * sunrpc/rpc/types.h: Likewise.
45710 * sunrpc/rpc/xdr.h: Likewise.
45711 * sunrpc/rpc_clntout.c: Likewise.
45712 * sunrpc/rpc_cmsg.c: Likewise.
45713 * sunrpc/rpc_common.c: Likewise.
45714 * sunrpc/rpc_cout.c: Likewise.
45715 * sunrpc/rpc_dtable.c: Likewise.
45716 * sunrpc/rpc_hout.c: Likewise.
45717 * sunrpc/rpc_main.c: Likewise.
45718 * sunrpc/rpc_parse.c: Likewise.
45719 * sunrpc/rpc_parse.h: Likewise.
45720 * sunrpc/rpc_prot.c: Likewise.
45721 * sunrpc/rpc_sample.c: Likewise.
45722 * sunrpc/rpc_scan.c: Likewise.
45723 * sunrpc/rpc_scan.h: Likewise.
45724 * sunrpc/rpc_svcout.c: Likewise.
45725 * sunrpc/rpc_tblout.c: Likewise.
45726 * sunrpc/rpc_util.c: Likewise.
45727 * sunrpc/rpc_util.h: Likewise.
45728 * sunrpc/rpcinfo.c: Likewise.
45729 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45730 * sunrpc/rpcsvc/key_prot.x: Likewise.
45731 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45732 * sunrpc/rpcsvc/mount.x: Likewise.
45733 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45734 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45735 * sunrpc/rpcsvc/rex.x: Likewise.
45736 * sunrpc/rpcsvc/rstat.x: Likewise.
45737 * sunrpc/rpcsvc/rusers.x: Likewise.
45738 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45739 * sunrpc/rpcsvc/spray.x: Likewise.
45740 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45741 * sunrpc/rtime.c: Likewise.
45742 * sunrpc/svc.c: Likewise.
45743 * sunrpc/svc_auth.c: Likewise.
45744 * sunrpc/svc_authux.c: Likewise.
45745 * sunrpc/svc_raw.c: Likewise.
45746 * sunrpc/svc_run.c: Likewise.
45747 * sunrpc/svc_simple.c: Likewise.
45748 * sunrpc/svc_tcp.c: Likewise.
45749 * sunrpc/svc_udp.c: Likewise.
45750 * sunrpc/svc_unix.c: Likewise.
45751 * sunrpc/svcauth_des.c: Likewise.
45752 * sunrpc/xcrypt.c: Likewise.
45753 * sunrpc/xdr.c: Likewise.
45754 * sunrpc/xdr_array.c: Likewise.
45755 * sunrpc/xdr_float.c: Likewise.
45756 * sunrpc/xdr_mem.c: Likewise.
45757 * sunrpc/xdr_rec.c: Likewise.
45758 * sunrpc/xdr_ref.c: Likewise.
45759 * sunrpc/xdr_sizeof.c: Likewise.
45760 * sunrpc/xdr_stdio.c: Likewise.
45761
9da4bb31
UD
45762 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45763 handling.
45764
bdaa77bc
AS
457652010-08-19 Andreas Schwab <schwab@redhat.com>
45766
45767 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45768
fe2f79db
LM
457692010-08-19 Luis Machado <luisgpm@br.ibm.com>
45770
45771 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45772 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45773 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45774 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45775 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45776 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45777 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45778 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45780 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45781 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45782 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45783 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45784 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45785
b9b42ee0
AB
457862010-07-26 Anton Blanchard <anton@samba.org>
45787
45788 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45789 * malloc/arena.c (heap_trim): Likewise.
45790
1c06ba31
UD
457912010-08-16 Ulrich Drepper <drepper@redhat.com>
45792
45793 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45794 here. Not...
45795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45796 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45797
f8392f40
L
457982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45799
45800 * sysdeps/i386/elf/Makefile: New file.
45801
3162f12e
AS
458022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45803
45804 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45805 from fanotify_init.
45806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45808
28c90b2c
UD
458092010-08-15 Ulrich Drepper <drepper@redhat.com>
45810
45811 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45812 of strncasecmp_l.
1feccb6c 45813 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45814
ca6bb004
UD
458152010-08-14 Ulrich Drepper <drepper@redhat.com>
45816
e9f82e0d
UD
45817 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45818 strncase_l-nonascii.
45819 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45820 Add strncase_l-ssse3.
45821 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45822 * sysdeps/x86_64/strcmp.S: Likewise.
45823 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45824 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45825 * sysdeps/x86_64/strncase.S: New file.
45826 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45827 * sysdeps/x86_64/strncase_l.S: New file.
45828 * string/Makefile (strop-tests): Add strncasecmp.
45829 * string/test-strncasecmp.c: New file.
45830
45831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45832 warning.
45833
ca6bb004
UD
45834 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45835 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45836
052fa7b3
AS
458372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45838
45839 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45840
962dba78
UD
458412010-08-12 Ulrich Drepper <drepper@redhat.com>
45842
45843 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45845 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45846
bebff237
AM
458472010-05-01 Alan Modra <amodra@gmail.com>
45848
45849 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45850 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45851 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45852 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45853 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45854 tidying. Don't tail-call __sigjmp_save for static lib.
45855 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45856 save location.
45857 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45858 (CALL_MCOUNT): Add eh info, and nop after bl.
45859 (TAIL_CALL_SYSCALL_ERROR): New macro.
45860 (PSEUDO_RET): Use it.
45861 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45862 Correct save location of integer regs and cr.
45863 (_dl_profile_resolve): Correct cr save location. Delete nops
45864 after bl when SHARED. Reduce cfi size a little by better
45865 placement of cfi directives.
45866 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45867 make a stack frame. Instead use parm save area as a temp.
45868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45869 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45871 Don't make a stack frame for parent, use parm save area.
45872 Increase child stack frame to 112 bytes. Don't save unused reg,
45873 and adjust reg usage. Set up cfi on error recovery and
45874 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45876 (__makecontext): Add dummy nop after jump to exit.
45877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45878 Use correct parm save area and cr save, reduce stack frame.
45879 Correct cfi for possible PSEUDO_RET frame setup.
45880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45881 Branch to local label emitted by PSEUDO_RET rather than
45882 __syscall_error.
45883
02637374
AS
458842010-08-12 Andreas Schwab <schwab@redhat.com>
45885
45886 [BZ #11904]
45887 * locale/programs/locale.c (print_assignment): New function.
45888 (show_locale_vars): Use it.
45889
c3e2f19b
UD
458902010-08-11 Ulrich Drepper <drepper@redhat.com>
45891
3cdaa6ad
UD
45892 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45893 field.
45894 (struct statfs64): Likewise.
45895 (_STATFS_F_FLAGS): Define.
45896 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45898 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45899 (ST_VALID): Define locally.
45900 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45901 __statvfs_getflags, use the provided value.
45902 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45903 __ASSUME_STATFS_F_FLAGS.
45904
754f7da3
UD
45905 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45906
10b3bedc
UD
45907 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45908 Add sys/fanotify.h.
45909 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45910 fanotify_mask for GLIBC_2.13.
45911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45912 fanotify_init and fanotify_mark.
45913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45914 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45915
c08fb0d7
UD
45916 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45917 Add prlimit.
45918 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45919 prlimit64 for GLIBC_2.13.
45920 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45921 prlimit64.
45922 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45923 syscall.
45924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45926 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45927 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45929 add prlimit alias.
45930 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45931
15bac72b
UD
45932 [BZ #11903]
45933 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45934 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45935
c3e2f19b
UD
45936 * nss/Makefile: Add rules to build and run tst-nss-test1.
45937 * shlib-versions: Add entry for libnss_test1.
45938 * nss/nss_test1.c: New file.
45939 * nss/tst-nss-test1.c: New file.
45940
45941 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45942 (__nss_configure_lookup): Set appropriate entry in
45943 __nss_configure_lookup to true.
45944 * nss/nsswitch.h: Define enum with indeces of databases in
45945 databases and __nss_database_custom arrays. Declare
45946 __nss_database_custom.
45947 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45948 to avoid using nscd when custom rules are installed.
45949 * nss/getXXbyYY_r.c: Likewise.
45950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45951
45952 * nss/nss_files/files-parse.c: Whitespace fixes.
45953
f15ce4d8
UD
459542010-08-09 Ulrich Drepper <drepper@redhat.com>
45955
45956 [BZ #11883]
45957 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45958 * posix/fnmatch_loop.c: Likewise.
45959
d22e4cc9
AK
459602010-07-17 Andi Kleen <ak@linux.intel.com>
45961
45962 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45963 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45964 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45965 * Versions.def [GLIBC_2.13]: Add.
45966
805bc17d
UD
459672010-08-06 Ulrich Drepper <drepper@redhat.com>
45968
45969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45970 Also fail if tpwd after pwuid call is NULL.
45971
5a42321d
ST
459722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45973
45974 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45975 when converting to ms.
45976
fd3ebeda
ST
459772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45978
45979 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45980 EOPNOTSUPP errors with ENOTTY.
45981 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45982 EOPNOTSUPP errors with ENOTTY.
45983
73507d3a
UD
459842010-07-31 Ulrich Drepper <drepper@redhat.com>
45985
45986 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45987 Add strcasecmp_l-ssse3.
45988 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45989 strcasecmp.
45990 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45991 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45992 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45993
fe36dd02
UD
459942010-07-30 Ulrich Drepper <drepper@redhat.com>
45995
66f6765a
UD
45996 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45997
42e08a54
UD
45998 * string/Makefile (strop-tests): Add strcasecmp.
45999 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46000 strcasecmp_l-nonascii.
46001 (gen-as-const-headers): Add locale-defines.sym.
46002 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46003 * sysdeps/x86_64/strcasecmp.S: New file.
46004 * sysdeps/x86_64/strcasecmp_l.S: New file.
46005 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46006 * sysdeps/x86_64/locale-defines.sym: New file.
46007 * string/test-strcasecmp.c: New file.
46008
fe36dd02
UD
46009 * string/test-strcasestr.c: Test both ends of the range of characters.
46010 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46011
48cbc0d6
RM
460122010-07-29 Roland McGrath <roland@redhat.com>
46013
76e6d6bc 46014 [BZ #11856]
48cbc0d6
RM
46015 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46016
880113d9
UD
460172010-07-27 Ulrich Drepper <drepper@redhat.com>
46018
46019 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46020 for ld.so.
46021
deb9cabb
AS
460222010-07-27 Andreas Schwab <schwab@redhat.com>
46023
46024 * manual/memory.texi (Malloc Tunable Parameters): Document
46025 M_PERTURB.
46026
1c7570ff
RM
460272010-07-26 Roland McGrath <roland@redhat.com>
46028
46029 [BZ #11840]
46030 * configure.in (-fgnu89-inline check): Set and substitute
46031 gnu89_inline, not libc_cv_gnu89_inline.
46032 * configure: Regenerated.
46033 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46034
24fb0f88
UD
460352010-07-26 Ulrich Drepper <drepper@redhat.com>
46036
46037 * string/test-strnlen.c: New file.
46038 * string/Makefile (strop-tests): Add strnlen.
46039 * string/tester.c (test_strnlen): Add a few more test cases.
46040 * string/tst-strlen.c: Better error reporting.
46041
46042 * sysdeps/x86_64/strnlen.S: New file.
46043
8e96b93a
UD
460442010-07-24 Ulrich Drepper <drepper@redhat.com>
46045
46046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46047 lower-latency instructions.
46048
dbc676d4
UD
460492010-07-23 Ulrich Drepper <drepper@redhat.com>
46050
46051 * string/test-strcasestr.c: New file.
46052 * string/test-strstr.c: New file.
46053 * string/Makefile (strop-tests): Add strstr and strcasestr.
46054 * string/str-two-way.h: Don't undefine MAX.
46055 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46056
f6a31e0e
AS
460572010-07-21 Andreas Schwab <schwab@redhat.com>
46058
46059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46060 strcasestr-nonascii.
46061 (CFLAGS-strcasestr-nonascii.c): Define.
46062 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46063 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46064 Remove unused attribute.
46065
5dbc3b6c
RM
460662010-07-20 Roland McGrath <roland@redhat.com>
46067
46068 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46069 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46070 ld.so.cache was broken. With it, there is no way to disable dsocaps
46071 like LD_HWCAP_MASK can disable hwcaps.
46072
23d101d8
EPM
460732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46074
46075 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46076
cc9f2e47
UD
460772010-07-16 Ulrich Drepper <drepper@redhat.com>
46078
46079 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46080 call in strcasestr.
46081 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46082 __strcasestr_sse42_nonascii.
46083 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46084 strcasestr-nonascii.c.
46085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46086
77c1b069
LM
460872010-06-15 Luis Machado <luisgpm@br.ibm.com>
46088
46089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46093
440566c3
UD
460942010-07-09 Ulrich Drepper <drepper@redhat.com>
46095
46096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46097 fcntl.
46098
5be9d05d
AS
460992010-07-06 Andreas Schwab <schwab@redhat.com>
46100
c30b7ee2 46101 [BZ #11577]
5be9d05d
AS
46102 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46103 dl_signal_cerror.
46104
8a492a67
UD
461052010-07-06 Ulrich Drepper <drepper@redhat.com>
46106
46107 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46108 _PC_PIPE_BUF using F_GETPIPE_SZ.
46109
713df3d5
RM
461102010-07-05 Roland McGrath <roland@redhat.com>
46111
46112 * manual/arith.texi (Rounding Functions): Fix rint description
46113 implicit in round description.
46114
702e8f14
UD
461152010-07-02 Ulrich Drepper <drepper@redhat.com>
46116
46117 * elf/Makefile: Fix linking for a few tests to make recent linker
46118 happy.
46119
52ed8be9
AS
461202010-06-30 Andreas Schwab <schwab@redhat.com>
46121
46122 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46123 $(common-objpfx)libc_nonshared.a.
46124
f47c9a11
LM
461252010-06-21 Luis Machado <luisgpm@br.ibm.com>
46126
46127 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46128 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46129 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46130 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46131 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46132 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46133 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46134 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46149 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46150 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46151 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46152 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46153 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46154 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46155 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46156 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46157 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46158 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46159 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46160 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46175
6fb8cbcb
L
461762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46177
46178 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46179 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46180 * string/memmove.c (memmove): Renamed to ...
46181 (MEMMOVE): ...this. Default to memmove.
46182 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46183 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46184 (END_CHK): Define.
46185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46186 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46187 mempcpy-ssse3-back memmove-ssse3-back.
46188 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46191 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46192 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46193 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46194 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46195 * sysdeps/x86_64/multiarch/memmove.c: New file.
46196 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46197 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46198 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46199 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46202 Define.
46203 (index_Fast_Copy_Backward): Define.
46204 (HAS_ARCH_FEATURE): Define.
46205 (HAS_FAST_REP_STRING): Define.
46206 (HAS_FAST_COPY_BACKWARD): Define.
46207
4e733bac 462082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46209
46210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46211 Restore proper fallback handling.
46212
63c4ed22
UD
462132010-06-19 Ulrich Drepper <drepper@redhat.com>
46214
ac2b484c
UD
46215 [BZ #11701]
46216 * posix/group_member.c (__group_member): Correct checking loop.
46217
63c4ed22
UD
46218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46219 OOM in getpwuid_r correctly. Return error number when the caller
46220 should return, otherwise -1.
46221 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46222 call returning > 0 value.
46223 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46224
765ade4b
AS
462252010-06-07 Andreas Schwab <schwab@redhat.com>
46226
46227 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46228 libc_nonshared.a from targets in modules-names.
46229
80da2e09
KS
462302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46231
46232 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46233 requires it.
46234
158db122
LM
462352010-06-10 Luis Machado <luisgpm@br.ibm.com>
46236
46237 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46238 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46240 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46241
caa78cf8
AS
462422010-06-02 Andreas Schwab <schwab@redhat.com>
46243
46244 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46245
b2ef2c01
UD
462462010-06-14 Ulrich Drepper <drepper@redhat.com>
46247
46248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46249 and F_GETPIPE_SZ.
46250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46256
fbd643b6
RM
462572010-06-14 Roland McGrath <roland@redhat.com>
46258
46259 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46260
f32f2869
JJ
462612010-06-07 Jakub Jelinek <jakub@redhat.com>
46262
46263 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46264 __REDIRECT followed by __THROW.
46265 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46266 * posix/getopt.h (getopt): Likewise.
46267
2a50c078
EPM
462682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46269
46270 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46271 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46272 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46273 in AT_FLAGS.
46274 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46275 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46276
eb5ad2eb
LM
462772010-05-28 Luis Machado <luisgpm@br.ibm.com>
46278
46279 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46280
3c88fe1e
L
462812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46282
46283 [BZ #11640]
46284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46285 Properly check family and model.
46286
d2f73151
TY
462872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46288
46289 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46290
ebd2e13d
LM
462912010-05-24 Luis Machado <luisgpm@br.ibm.com>
46292
46293 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46294
b32b8b45
UD
462952010-05-21 Ulrich Drepper <drepper@redhat.com>
46296
46297 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46298 symbol reference.
46299
9acbe24d
AS
463002010-05-19 Andreas Schwab <schwab@redhat.com>
46301
46302 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46303 symbol reference.
46304
f0ccf6ea
AS
463052010-05-21 Andreas Schwab <schwab@redhat.com>
46306
3d04ff3a
AS
46307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46308 and internal_recvmmsg.
46309 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46310 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46311 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46312 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46313
f0ccf6ea
AS
46314 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46315 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46316 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46317
5b08ac57
AS
463182010-05-20 Andreas Schwab <schwab@redhat.com>
46319
46320 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46321
4828935d
LM
463222010-05-17 Luis Machado <luisgpm@br.ibm.com>
46323
46324 POWER7 optimizations.
46325 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46326 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46327
373d545e
UD
463282010-05-19 Ulrich Drepper <drepper@redhat.com>
46329
46330 * version.h: Update for 2.13 development version.
46331
21a2b1ae
AS
463322010-05-12 Andrew Stubbs <ams@codesourcery.com>
46333
46334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46335 exceptions. Return 0.
46336
3f7dcb2b
RM
463372010-05-07 Roland McGrath <roland@redhat.com>
46338
46339 * elf/ldconfig.c (main): Add a const.
46340
5f24d53a 463412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46342
a160f8d8
UD
46343 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46344 (args_options): Add no-idn option.
46345 (ahosts_keys_int): Add idn_flags to ai_flags.
46346 (parse_option): Handle 'i' option to clear idn_flags.
46347
5f24d53a
UD
46348 * malloc/malloc.c (_int_free): Possible race in the most recently
46349 added check. Only act on the data if no current modification
46350 happened.
265bb1ce
UD
46351
46352See ChangeLog.17 for earlier changes.