Remove MULTI_PTRS_ARE_ALIASES in dns-hosts.c
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * resolv/nss_dns/dns-host.c (getanswer_r)
4         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5
6 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7
8         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10         undefine.
11         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13
14 2014-07-01  Roland McGrath <roland@hack.frob.com>
15
16         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18
19         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
21
22         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24         ... here.
25         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27
28         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32
33         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
38         Moved ...
39         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40         ... here.
41         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
49         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
50         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
51         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
52         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
53         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
54         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
55         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
56         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
57         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
58         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
59         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
60         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
61         ... here.
62         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
63         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
64         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
65         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
66         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
67         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
68         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
69         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
70
71 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
72
73         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
74         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
75         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
76         Add sysdep.
77
78 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79
80         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81
82 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
83
84         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
85         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
86
87         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
88
89         * sysdeps/arm/libm-test-ulps: Regenerated.
90
91 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
92             Roland McGrath <roland@hack.frob.com>
93
94         * test-skeleton.c (signal_handler): Kill the whole process group
95         before killing the child individually.
96         (main): Report any failure on `setpgid'.
97
98 2014-06-30  Roland McGrath  <roland@hack.frob.com>
99
100         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
101         from _TLS_H to _ARM_NPTL_TLS_H.
102         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
103         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
104
105 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
106
107         [BZ #16539]
108         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
109         (__expm1l): Return argument unchanged when small but not
110         subnormal.
111
112         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
113         include macro name.
114         (_FP_UNPACK_RAW_1_P): Likewise.
115         (_FP_PACK_RAW_1): Likewise.
116         (_FP_PACK_RAW_1_P): Likewise.
117         (_FP_MUL_MEAT_1_wide): Likewise.
118         (_FP_MUL_MEAT_DW_1_hard): Likewise.
119         (_FP_MUL_MEAT_1_hard): Likewise.
120         (_FP_DIV_MEAT_1_imm): Likewise.
121         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
122         (_FP_DIV_MEAT_1_udiv): Likewise.
123         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
124         (_FP_UNPACK_RAW_2): Likewise.
125         (_FP_UNPACK_RAW_2_P): Likewise.
126         (_FP_PACK_RAW_2): Likewise.
127         (_FP_PACK_RAW_2_P): Likewise.
128         (_FP_MUL_MEAT_DW_2_wide): Likewise.
129         (_FP_MUL_MEAT_2_wide): Likewise.
130         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
131         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
132         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
133         (_FP_MUL_MEAT_2_gmp): Likewise.
134         (_FP_DIV_MEAT_2_udiv): Likewise.
135         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
136         (_FP_FRAC_SRL_4): Likewise.
137         (_FP_FRAC_SRST_4): Likewise.
138         (_FP_FRAC_SRS_4): Likewise.
139         (_FP_UNPACK_RAW_4): Likewise.
140         (_FP_UNPACK_RAW_4_P): Likewise.
141         (_FP_PACK_RAW_4): Likewise.
142         (_FP_PACK_RAW_4_P): Likewise.
143         (_FP_MUL_MEAT_DW_4_wide): Likewise.
144         (_FP_MUL_MEAT_4_wide): Likewise.
145         (_FP_MUL_MEAT_4_gmp): Likewise.
146         (umul_ppppmnnn): Likewise.
147         (_FP_DIV_MEAT_4_udiv): Likewise.
148         (__FP_FRAC_ADD_4): Likewise.
149         (__FP_FRAC_SUB_3): Likewise.
150         (__FP_FRAC_SUB_4): Likewise.
151         (__FP_FRAC_DEC_3): Likewise.
152         (__FP_FRAC_DEC_4): Likewise.
153         (__FP_FRAC_ADDI_4): Likewise.
154         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
155         (_FP_FRAC_SRL_8): Likewise.
156         (_FP_FRAC_SRS_8): Likewise.
157
158         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
159         include macro name.
160         (FP_UNPACK_RAW_EP): Likewise.
161         (FP_PACK_RAW_E): Likewise.
162         (FP_PACK_RAW_EP): Likewise.
163         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
164         (_FP_ISSIGNAN): Likewise.
165         (_FP_ADD_INTERNAL): Likewise.
166         (_FP_FMA): Likewise.
167         (_FP_CMP): Likewise.
168         (_FP_SQRT): Likewise.
169         (_FP_TO_INT): Likewise.
170         (_FP_FROM_INT): Likewise.
171         (FP_EXTEND): Likewise.
172         (_FP_DIV_MEAT_N_loop): Likewise.
173
174 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
175
176         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
177         throughout.
178
179 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
180
181         [BZ #17097]
182         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
183         result with correct sign in case of exponents that produce
184         overflow except for X very close to 1.
185
186 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
187
188         mktime: merge #if/#ifdef usage from glibc
189         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
190         as that works with both Glibc's and Gnulib's style.
191         See thread starting at Siddhesh Poyarekar's bug report at:
192         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
193
194 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
195
196         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
197         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
198         * sysdeps/tile/tilegx/memmove.c: Remove file.
199
200 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
201
202         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
203         abi-name definition.
204         * scripts/soversions.awk: Do not handle or generate ABI lines.
205         * shlib-versions: Remove ABI entries.
206         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
207         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
208
209 2014-06-27  Roland McGrath  <roland@hack.frob.com>
210
211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
212         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
213         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
214         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
216         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
218         Moved ...
219         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
220         ... here.
221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
222         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
224         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
225         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
226         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
228         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
230         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
232         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
234         Moved ...
235         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
237         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
239         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
241         Moved ...
242         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
244         Moved ...
245         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
247         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
249         Moved ...
250         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
252         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
254         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
256         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
258         Moved ...
259         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
261         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
262         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
263         Moved ...
264         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
266         Moved ...
267         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
268         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
269         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
270         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
271         Moved ...
272         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
273         ... here.
274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
275         Identical file removed.
276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
277         Moved ...
278         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
280         Identical file removed.
281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
282         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
284         Moved ...
285         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
286         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
287         Identical file removed.
288         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
289         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
291         Identical file removed.
292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
293         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
294         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
295         Identical file removed.
296         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
297         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
299         Identical file removed.
300         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
301         Moved ...
302         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
304         Identical file removed.
305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
306         Moved ...
307         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
308         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
309         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
311         Identical file removed.
312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
313         Moved ...
314         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
315         ... here.
316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
317         Identical file removed.
318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
319         Moved ...
320         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
322         Identical file removed.
323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
324         Moved ...
325         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
326         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
327         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
329         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
330         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
331         Moved ...
332         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
333         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
334         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
335
336         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
337         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
338         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
339         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
340         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
341
342 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
343
344         [BZ #17092]
345         * nscd/nscd.c (monitor_child): Return exit status of child
346         instead of return value from wait syscall.
347
348 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
349
350         * configure.ac (libc_commonpagesize): Remove variable.
351         (libc_relro_required): Likewise.
352         (libc_cv_z_relro): Remove configure test.
353         * configure: Regenerated.
354         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
355         variable.
356         (libc_relro_required): Likewise.
357         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
358         (libc_relro_required): Likewise.
359         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
360         (libc_relro_required): Likewise.
361         * sysdeps/arm/preconfigure: Regenerated.
362         * sysdeps/ia64/preconfigure: Remove file.
363         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
364         variable.
365         (libc_relro_required): Likewise.
366
367         [BZ #16561]
368         [BZ #16562]
369         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
370         (__ieee754_yn): Set FE_TONEAREST mode internally and then
371         recompute overflowing results in original rounding mode.
372         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
373         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
374         recompute overflowing results in original rounding mode.
375         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
376         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
377         recompute overflowing results in original rounding mode.
378         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
379         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
380         recompute overflowing results in original rounding mode.
381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
382         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
383         recompute overflowing results in original rounding mode.
384         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
385         (libc_feholdsetround_ctx): New macro.
386         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
387         * sysdeps/i386/fpu/libm-test-ulps: Update.
388         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
389
390 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
391
392         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
393         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
394         corresponding .cpsetup call.
395
396 2014-06-26  Roland McGrath  <roland@hack.frob.com>
397
398         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
399         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
400         * sysdeps/arm/Makefile [$(subdir) = csu]
401         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
402         (static-only-routines): Add aeabi_read_tp here.
403         (shared-only-routines): Add libc-aeabi_read_tp here.
404         (CFLAGS-libc-start.c): Add -fexceptions here.
405         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
406         (sysdep_routines, static-only-routines, shared-only-routines):
407         Don't add to these here.
408         (CFLAGS-libc-start.c): Likewise.
409
410         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
411         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
412         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
413         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
414         * sysdeps/arm/Makefile [$(subdir) = rt]
415         (librt-sysdep_routines, librt-shared-only-routines):
416         Append rt-aeabi_unwind_cpp_pr1 here.
417         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
418         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
419         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
420         (libpthread-sysdep_routines, libpthread-shared-only-routines):
421         Append nptl-aeabi_unwind_cpp_pr1 here.
422         (tests): Filter out tst-cleanupx4 here.
423         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
424         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
425         Don't do those here.
426
427 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
428
429         * scripts/list-sources.sh: Do not handle ports specially.
430
431 2014-06-26  Roland McGrath  <roland@hack.frob.com>
432
433         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
434         * sysdeps/arm/feupdateenv.c: Likewise.
435
436         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
437
438 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
439
440         * manual/texinfo.tex: Update to version 2014-05-05.10 with
441         trailing whitespace removed.
442         * scripts/config.guess: Update to version 2014-03-23.
443         * scripts/config.sub: Update to version 2014-05-01
444         * scripts/install-sh: Update to version 2013-12-25.23.
445         * scripts/move-if-change: Update from gnulib.
446
447 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
448
449         * debug/memmove_chk.c: Remove pagecopy.h include.
450
451 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
452
453         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
454         identical to gnulib mktime.
455
456 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
457
458         * configure.ac: Do not test for machine being rs6000.  Do not test
459         for powerpc*-*soft.
460         * configure: Regenerated.
461
462         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
463         test.
464         * configure: Regenerated.
465         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
466         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
467         Remove configure test.
468         * sysdeps/arm/configure: Regenerated.
469         * sysdeps/nptl/configure.ac: Do not check
470         libc_cv_asm_cfi_directives.
471         * sysdeps/nptl/configure: Regenerated.
472         * sysdeps/x86_64/nptl/configure.ac: Remove file.
473         * sysdeps/x86_64/nptl/configure: Remove generated file.
474         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
475         unconditional.
476         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
477
478 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
479
480         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
481         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
482         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
483         it is defined.
484
485         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
486         instead of whether it is defined.
487         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
488         * sysdeps/hppa/dl-machine.h: Likewise.
489         * sysdeps/ia64/dl-machine.h: Likewise.
490         * sysdeps/m68k/dl-machine.h: Likewise.
491         * sysdeps/microblaze/dl-machine.h: Likewise.
492         * sysdeps/mips/dl-machine.: Likewise.
493         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
494         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
495         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
496         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
497         * sysdeps/sh/dl-machine.h: Likewise.
498         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
499         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
500         * sysdeps/tile/dl-machine.h: Likewise.
501         * sysdeps/x86_64/dl-machine.h: Likewise.
502
503         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
504         code.
505         (verify_persistent_db): Likewise.
506
507 2014-06-26  Roland McGrath  <roland@hack.frob.com>
508
509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
510         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
512         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
514         Moved ...
515         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
516         ... here.
517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
518         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
520         Identical file removed.
521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
522         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
524         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
526         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
528         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
530         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
532         Moved ...
533         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
535         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
537         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
539         Moved ...
540         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
542         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
544         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
546         Identical file removed.
547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
548         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
550         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
552         Moved ...
553         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
554         ... here.
555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
556         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
558         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
560         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
562         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
566         Moved ...
567         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
569         Moved ...
570         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
572         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
574         Moved ...
575         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
577         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
578
579         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
580         folded into ...
581         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
582         * sysdeps/unix/sysv/linux/s390/Versions
583         (libpthread: GLIBC_2.19): New version set.
584         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
585         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
586         (librt: GLIBC_2.3.3): New version set.
587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
588         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
589         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
590         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
591         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
592         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
593         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
594         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
595         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
596         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
597         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
598         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
599         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
600         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
601         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
602         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
603         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
604         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
605         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
606         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
607         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
608         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
609         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
610         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
611         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
612         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
613         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
614         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
615         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
617         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
618         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
623         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
625         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
627         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
629         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
631         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
632
633         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
634         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
635         (__libc_vfork): Define the function under this name.
636         [!NOT_IN_libc] (__vfork): Make this an alias.
637         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
639         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
640         (__libc_vfork): Define the function under this name.
641         [!NOT_IN_libc] (__vfork): Make this an alias.
642         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
643         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
644         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
646         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
647         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
648
649         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
650         code that was previously under [RESET_PID].
651         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
652         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
654
655         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
656         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
657         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
658         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
659         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
660         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
661         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
662         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
663         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
664         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
665         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
666         Moved ...
667         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
668         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
669         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
670         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
671         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
672         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
673         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
674         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
675         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
676         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
677         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
678         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
679         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
680         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
681         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
682         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
683         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
684         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
685         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
686         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
687         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
688         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
689         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
690         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
691         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
692         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
693         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
694         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
695         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
696
697 2014-06-25  Roland McGrath  <roland@hack.frob.com>
698
699         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
700         that was previously under [RESET_PID].
701         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
702
703 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
704
705         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
706         not undefine and redefine.
707         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
708         [O_CLOEXEC]: Make code unconditional.
709         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
710         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
711         <kernel-features.h>.
712         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
713         conditional variable definition.
714         (shm_open) [O_CLOEXEC]: Make code unconditional.
715         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
716         code.
717
718         * configure.ac (USE_REGPARMS): Don't define here.
719         * configure: Regenerated.
720         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
721         * sysdeps/i386/configure: Regenerated.
722
723         * nptl/createthread.c: Don't include kernel-features.h.
724         * nptl/pthread_cancel.c: Likewise.
725         * nptl/pthread_condattr_setclock.c: Likewise.
726         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
727         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
728         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
729         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
730         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
731         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
732         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
734         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
735         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
736         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
737         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
738         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
739         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
740         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
741         * nscd/gai.c: Likewise.
742         * nss/nss_db/db-open.c: Likewise.
743         * sysdeps/generic/ldsodefs.h: Likewise.
744         * sysdeps/sh/nptl/tls.h: Likewise.
745         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
746         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
747         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
748         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
749         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
750         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
751         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
752         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
753         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
754         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
755         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
756         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
757         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
758         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
759         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
760         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
761         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
762         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
763         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
764         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
767         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
768         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
771         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
773         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
774         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
775         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
776         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
777         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
778         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
779         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
780         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
781         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
782         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
783         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
784         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
785         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
786         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
787         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
788         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
789         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
790         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
791         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
792         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
793         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
794         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
795         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
796         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
797         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
798         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
799         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
800         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
802         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
825         * sysdeps/unix/sysv/linux/pread.c: Likewise.
826         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
827         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
828         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
829         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
830         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
831         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
832         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
833         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
834         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
835         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
836         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
837         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
838         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
839         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
840         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
841         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
842         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
843         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
844         * sysdeps/unix/sysv/linux/system.c: Likewise.
845         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
846         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
847         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
848         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
849         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
850         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
851         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
852
853         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
854         * configure: Regenerated.
855         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
856
857         * configure.ac (base_machine): Do not set specially for particular
858         machines here.
859         * configure: Regenerated.
860         * sysdeps/powerpc/preconfigure: Move machine and base_machine
861         settings from configure.ac.
862         * sysdeps/i386/preconfigure: New file.
863         * sysdeps/s390/preconfigure: Likewise.
864         * sysdeps/sh/preconfigure: Likewise.
865         * sysdeps/sparc/preconfigure: Likewise.
866
867 2014-06-25  Roland McGrath  <roland@hack.frob.com>
868
869         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
870         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
871         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
872         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
873         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
874         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
875         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
876         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
877         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
878         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
879         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
880         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
881         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
882         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
883         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
884         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
886         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
887         * sysdeps/sparc/sparc64/Makefile: ... appended here.
888
889         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
890         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
891         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
892         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
893         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
894         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
895         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
896         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
897         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
898         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
899         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
900         * sysdeps/sparc/sparc32/sem_post.c: ... here.
901         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
902         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
903         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
904         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
905         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
906         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
907         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
908         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
909         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
910         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
911         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
912         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
914         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
915         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
916         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
918         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
919         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
920         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
921         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
922         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
923         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
924         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
925         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
926         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
927
928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
929         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
931         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
933         Moved ...
934         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
935         ... here.
936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
937         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
939         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
941         Moved ...
942         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
944         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
946         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
948         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
950         Moved ...
951         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
953         Moved ...
954         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
956         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
958         Moved ...
959         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
961         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
963         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
965         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
967         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
969         Moved ...
970         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
971         ... here.
972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
973         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
975         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
977         Moved ...
978         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
980         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
982         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
984         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
986         Moved ...
987         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
989         Moved ...
990         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
992         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
994         Moved ...
995         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
997         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
999         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1000
1001 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1002
1003         * timezone/checktab.awk: Update from tzcode 2014e.
1004         * timezone/private.h: Likewise.
1005         * timezone/tzfile.h: Likewise.
1006         * timezone/zdump.c: Likewise.
1007         * timezone/zic.c: Likewise.
1008
1009         * sysdeps/unix/sysv/linux/kernel-features.h
1010         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1011         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1012         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1013         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1014         Remove conditional code.
1015
1016 2014-06-25  Will Newton  <will.newton@linaro.org>
1017
1018         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1019         (_dl_arm_cap_flags): Add HWCAP2 values.
1020         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1021         (_DL_HWCAP_COUNT): Increase to 37.
1022         (_DL_HWCAP_LAST): New define.
1023         (_DL_HWCAP2_LAST): New define.
1024         (_dl_procinfo): Add support for printing
1025         AT_HWCAP2 entries.
1026         (_dl_string_hwcap): Use _dl_hwcap_string.
1027
1028 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1029
1030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1031
1032 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1033
1034         * README: Do not mention ports directory.
1035
1036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1037         Remove macro.
1038         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1039         <kernel-features.h>.
1040         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1041         conditional variable definition.
1042         (__futimes): Update comment.
1043         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1044         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1045
1046         [BZ #16560]
1047         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1048         arguments close to 0.
1049         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1050         Likewise.
1051         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1052         Likewise.
1053         * math/auto-libm-test-in: Add more tests of exp10.
1054         * math/auto-libm-test-out: Regenerated.
1055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1056
1057         * sysdeps/unix/sysv/linux/kernel-features.h
1058         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1059         * sysdeps/unix/sysv/linux/readv.c: Do not include
1060         <kernel-features.h>.
1061         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1062         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1063         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1064         unconditional.
1065         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1066         conditional code.
1067         * sysdeps/unix/sysv/linux/writev.c: Do not include
1068         <kernel-features.h>.
1069         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1070         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1071         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1072         unconditional.
1073         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1074         conditional code.
1075
1076 2014-06-25  Will Newton  <will.newton@linaro.org>
1077
1078         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1079         comment changes throughout the file.  Remove checks
1080         for HAVE_*_H definitions that are not required.
1081         (__gen_tempname): Call abort if an unknown kind value is
1082         passed.
1083
1084 2014-06-25  Andreas Schwab  <schwab@suse.de>
1085
1086         [BZ #17086]
1087         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1088         scalbln, scalblnf, scalblnl in libc.
1089
1090 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1091
1092         [BZ #17086]
1093         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1094         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1095         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1096
1097 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1098
1099         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1100         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1101         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1102         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1103         Update #include.
1104         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1105         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1106         Update #include.
1107         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1108         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1109         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1110         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1111         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1112         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1113         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1114         * sysdeps/x86/bits/semaphore.h: ... here.
1115         * sysdeps/x86/nptl/elide.h: Moved ...
1116         * sysdeps/x86/elide.h: ... here.
1117         * sysdeps/x86_64/nptl/Implies: File removed.
1118         * sysdeps/i386/nptl/Implies: File removed.
1119
1120 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1121
1122         [BZ #16539]
1123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1124         return the argument for normal arguments with exponent below -64.
1125         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1126         Likewise.
1127         * math/auto-libm-test-in: Add another test of expm1.
1128         * math/auto-libm-test-out: Regenerated.
1129
1130         [BZ #16287]
1131         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1132         calling __erfcl for arguments at least 16.
1133         * math/auto-libm-test-in: Add more tests of erf.
1134         * math/auto-libm-test-out: Regenerated.
1135
1136         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1137         individual architectures.
1138         * sysdeps/unix/sysv/linux/configure: Regenerated.
1139         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1140         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1141         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1142         (ldd_rewrite_script): Define variable.
1143         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1145         file.
1146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1147         generated file.
1148         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1149         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1150         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1151         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1152         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1153         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1154         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1155         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1156
1157 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1158
1159         [BZ #17084]
1160         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1161         Rename member __data.d to __data.__elision_data.
1162
1163 2014-06-24  Wilco  <wdijkstr@arm.com>
1164
1165         * NEWS: Add 16918 to fixed bug list.
1166
1167 2014-06-24  Wilco  <wdijkstr@arm.com>
1168
1169         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1170
1171 2014-06-24  Wilco  <wdijkstr@arm.com>
1172
1173         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1174         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1175         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1176         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1177         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1178         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1179         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1180         Use _FPU_MASK_RM.
1181
1182 2014-06-24  Wilco  <wdijkstr@arm.com>
1183
1184         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1185
1186 2014-06-24  Wilco  <wdijkstr@arm.com>
1187
1188         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1189         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1190         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1191         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1192
1193 2014-06-24  Wilco  <wdijkstr@arm.com>
1194
1195         [BZ #16918]
1196         * sysdeps/arm/feupdateenv.c (feupdateenv):
1197         Rewrite to reduce FPSCR accesses and fix return value.
1198
1199 2014-06-24  Wilco  <wdijkstr@arm.com>
1200
1201         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1202         Optimize to avoid unnecessary FPSCR writes.
1203         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1204         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1205         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1206         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1207
1208 2014-06-24  Wilco  <wdijkstr@arm.com>
1209
1210         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1211         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1212         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1213         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1214         Call libc_fetestexcept_vfp.
1215         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1216         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1217         __SOFTFP__ ifdef so that they can be built for softfp.
1218
1219 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1220
1221         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1222         argument type signed char.
1223
1224         * Makerules (check-abi): Dump diff of symlist if the test
1225         fails.
1226
1227 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1228
1229         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1230         using abort.
1231
1232         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1233         Remove unused variable ST.
1234
1235 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1236
1237         [BZ #16354]
1238         [BZ #17061]
1239         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1240         small arguments before calling __expm1.
1241         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1242         small arguments before calling __expm1f.
1243         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1244         small arguments before calling __expm1l.
1245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1246         Likewise.
1247         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1248         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1249         spurious underflow for some cosh tests.
1250         * math/auto-libm-test-out: Regenerated.
1251         * sysdeps/i386/fpu/libm-test-ulps: Update.
1252
1253         [BZ #17050]
1254         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1255         (__ieee754_y1): Set errno if return value overflows.
1256         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1257         (__ieee754_y1f): Set errno if return value overflows.
1258         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1259         (__ieee754_y1l): Set errno if return value overflows.
1260         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1261         (__ieee754_y1l): Set errno if return value overflows.
1262         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1263         * math/auto-libm-test-out: Regenerated.
1264
1265         * math/gen-auto-libm-tests.c: Document use of
1266         ignore-zero-inf-sign.
1267         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1268         (input_flags): Add ignore-zero-inf-sign.
1269         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1270         * math/gen-libm-test.pl (generate_testfile): Handle
1271         ignore-zero-inf-sign.
1272         * math/auto-libm-test-in: Mark some cpow tests with
1273         ignore-zero-inf-sign and some with xfail-rounding.
1274         * math/auto-libm-test-out: Regenerated.
1275         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1276         * sysdeps/i386/fpu/libm-test-ulps: Update.
1277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1278
1279         [BZ #16315]
1280         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1281         overflowing or underflowing operations take place with sign of
1282         result.
1283         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1284         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1285         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1286         (__ieee754_pow): Recompute overflowing and underflowing results in
1287         original rounding mode.
1288         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1289         (__powl_helper): Allow negative argument X and scale negated value
1290         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1291         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1292         overflowing or underflowing operations take place with sign of
1293         result.
1294         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1295         Include <math.h>.
1296         * math/auto-libm-test-in: Add more tests of pow.
1297         * math/auto-libm-test-out: Regenerated.
1298         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1299         (pow_tonearest_test_data): Remove.
1300         (pow_test_tonearest): Likewise.
1301         (pow_towardzero_test_data): Likewise.
1302         (pow_test_towardzero): Likewise.
1303         (pow_downward_test_data): Likewise.
1304         (pow_test_downward): Likewise.
1305         (pow_upward_test_data): Likewise.
1306         (pow_test_upward): Likewise.
1307         (main): Don't call removed functions.
1308         * sysdeps/i386/fpu/libm-test-ulps: Update.
1309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1310
1311 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1312
1313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1314         Moved ...
1315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1317         Moved ...
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1320         Moved ...
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1323         Moved ...
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1326         File removed.
1327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1328         File removed.
1329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1330         File removed.
1331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1332         File removed.
1333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1334         File removed.
1335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1336         File removed.
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1338         File removed.
1339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1340         File removed.
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1342         File removed.
1343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1344         File removed.
1345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1346         File removed.
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1348         File removed.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1350         Moved ...
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1353         Moved ...
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1355         ... here.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1357         Moved ...
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1360         Moved ...
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1363         Moved ...
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1366         Moved ...
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1369         Moved ...
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1372         Moved ...
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1375         Moved ...
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1379         ... here.
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1381         Moved ...
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1384         Moved ...
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1386         ... here.
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1388         Moved ...
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1390         ... here.
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1392         Moved ...
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1394         ... here.
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1396         Moved ...
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1399         Moved ...
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1404         Moved ...
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1406         ... here.
1407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1408         Moved ...
1409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1410         ... here.
1411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1412         Moved ...
1413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1415         Moved ...
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1418         Moved ...
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1421         Moved ...
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1424         Moved ...
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1426         ... here.
1427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1428         Moved ...
1429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1431         Moved ...
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1434         Moved ...
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1437         Moved ...
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1442         Moved ...
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1445         Moved ...
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1448         Moved ...
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1450         ... here.
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1452         Moved ...
1453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1454         ... here.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1456         Moved ...
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1458         ... here.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1460         Moved ...
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1463         Moved ...
1464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1466         Moved ...
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1469         Moved ...
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1471         ... here.
1472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1473         Moved ...
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1475         ... here.
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1477         Moved ...
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1479         ... here.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1481         Moved ...
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1484         Moved ...
1485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1486
1487 2014-06-23  Will Newton  <will.newton@linaro.org>
1488             Wilco  <wdijkstr@arm.com>
1489
1490         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1491         implementation.  Include get-rounding-mode.h.
1492         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1493         [!libc_feholdsetround_noex_ctx]: Define
1494         libc_feholdsetround_noex_ctx.
1495         [!libc_feholdsetround_noexf_ctx]: Define
1496         libc_feholdsetround_noexf_ctx.
1497         [!libc_feholdsetround_noexl_ctx]: Define
1498         libc_feholdsetround_noexl_ctx.
1499         (libc_feholdsetround_ctx): New function.
1500         (libc_feresetround_ctx): New function.
1501         (libc_feholdsetround_noex_ctx): New function.
1502         (libc_feresetround_noex_ctx): New function.
1503
1504 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1505
1506         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1507         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1508         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1509         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1510         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1511         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1512
1513         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1514         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1515         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1516         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1517         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1518         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1520         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1522         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1524         Moved ...
1525         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1526         ... here.
1527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1528         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1530         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1532         Moved ...
1533         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1535         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1537         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1539         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1541         Moved ...
1542         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1544         Moved ...
1545         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1547         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1549         Moved ...
1550         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1552         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1554         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1555         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1556         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1558         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1560         Moved ...
1561         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1562         ... here.
1563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1564         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1566         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1568         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1570         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1572         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1574         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1576         Moved ...
1577         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1578         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1579         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1580         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1581         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1583         Moved ...
1584         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1586         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1587         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1588         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1589
1590         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1591         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1592         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1593         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1594         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1595         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1596         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1597         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1599         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1601         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1602         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1603         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1604         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1605         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1607         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1609         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1610         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1611         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1612         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1613         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1614         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1615         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1616         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1617         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1618
1619 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1620
1621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1622         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1623         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1624         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1625         (IPV6_PMTUDISC_INTERFACE): Likewise.
1626         (IPV6_PMTUDISC_OMIT): Likewise.
1627
1628 2014-06-23  Andreas Schwab  <schwab@suse.de>
1629
1630         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1631         Remove unused errout label.
1632
1633 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1634
1635         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1636         macro: hardware supports Vector Crypto instructions.
1637
1638 2014-06-23  Will Newton  <will.newton@linaro.org>
1639
1640         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1641         rather than __builtin_expect.
1642
1643         * elf/dl-lookup.c (undefined_msg): Remove variable.
1644         (_dl_lookup_symbol_x): Replace undefined_msg with string
1645         literal.
1646
1647         * elf/dl-lookup.c (do_lookup_unique): New function.
1648         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1649         to a separate function.
1650
1651 2014-06-23  Andreas Schwab  <schwab@suse.de>
1652
1653         [BZ #17079]
1654         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1655         before reading the next line.
1656
1657 2014-06-23  Will Newton  <will.newton@linaro.org>
1658
1659         * test-skeleton.c (signal_handler): Use printf and %m
1660         rather than perror.  Use printf rather than fprintf to
1661         stderr.  Use puts rather than fputs to stderr.
1662         (main): Likewise.
1663
1664 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1665
1666         * nscd/nscd.c (thread_info_t): Remove typedef.
1667         (thread_info): Remove variable.
1668
1669 2014-06-21  Allan McRae  <allan@archlinux.org>
1670
1671         * NEWS: Mention CVE-2014-4043.
1672
1673 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1674
1675         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1676         * nptl/smp.h: ... here.
1677
1678         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1679
1680         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1681         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1682         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1683         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1684
1685         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1686         * nptl/stack-aliasing.h: New file.
1687         * sysdeps/i386/i686/stack-aliasing.h: New file.
1688         * sysdeps/i386/i686/nptl/Makefile: File removed.
1689         * sysdeps/x86_64/stack-aliasing.h: New file.
1690         * sysdeps/x86_64/nptl/Makefile
1691         (CFLAGS-pthread_create.c): Variable removed.
1692
1693         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1694         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1695         old file.
1696         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1697         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1698         old file.
1699
1700 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1701
1702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1703         (__ASSUME_SIGFRAME_V2): Remove macro.
1704         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1705         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1706         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1707         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1708         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1709         Declare as function.  Remove conditional macro definitions.
1710         (__default_rt_sa_restorer): Likewise.
1711         (__default_sa_restorer_v1): Remove declaration.
1712         (__default_sa_restorer_v2): Likewise.
1713         (__default_rt_sa_restorer_v1): Likewise.
1714         (__default_rt_sa_restorer_v2): Likewise.
1715         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1716         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1717         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1718
1719 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1720
1721         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1722         (libpthread-routines): Add sysdep.
1723         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1724         * sysdeps/unix/sysv/linux/sparc/Versions
1725         (libpthread: GLIBC_2.3.3): New version set.
1726         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1727         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1728         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1730         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1731         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1732         Moved ...
1733         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1735         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1736         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1737         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1738         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1739         * sysdeps/sparc/nptl/sem_init.c: ... here.
1740         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1741         * sysdeps/sparc/nptl/sem_post.c: ... here.
1742         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1743         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1744         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1745         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1746         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1747         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1748         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1749         (libpthread-routines): Add cpu_relax.
1750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1751         File removed.
1752         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1753         (librt: GLIBC_2.3.3): New version set.
1754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1755         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1756         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1757         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1760         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1762         Moved ...
1763         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1765         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1767         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1769         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1771         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1773         Moved ...
1774         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1775         Update #include.
1776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1777         Moved ...
1778         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1779         Update #include.
1780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1781         Moved ...
1782         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1783         Update #include.
1784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1785         Moved ...
1786         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1787         Update #include.
1788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1789         Moved ...
1790         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1791         Update #include.
1792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1793         Moved ...
1794         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1795         Update #include.
1796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1797         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1803         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1805         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1807         Moved ...
1808         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1810         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1812         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1813
1814 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1815
1816         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1817         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1818         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1819         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1820         * nscd/nscd.c: Likewise.
1821         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1822         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1823         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1824         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1825
1826         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1827         <kernel-features.h>.
1828         (init_mq_netlink): Remove conditional have_sock_cloexec
1829         definitions.  Remove code conditional on have_sock_cloexec < 0.
1830         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1831         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1832         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1833         <kernel-features.h>.
1834         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1835         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1836
1837 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1838
1839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1840         Add tests for memset_chk and memset.
1841
1842         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1843         with AVX2_Usable.
1844
1845 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1846
1847         [BZ #16046]
1848         * elf/tst-dl-iter-static.c: New file.
1849         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1850
1851         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1852         error.
1853
1854 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1855
1856         * sysdeps/unix/sysv/linux/kernel-features.h
1857         (__ASSUME_F_GETOWN_EX): Remove macro.
1858         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1859         <kernel-features.h>.
1860         (miss_F_GETOWN_EX): Remove variable or macro.
1861         (do_fcntl): Do not check miss_F_GETOWN_EX.
1862         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1863
1864         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1865         Remove macro.
1866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1867         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1868         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1869
1870         * sysdeps/unix/sysv/linux/kernel-features.h
1871         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1872         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1873         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1874         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1875
1876 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1877
1878         [BZ #17075]
1879         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1880         Fix calculation of the symbol's value.
1881         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1882         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1883         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1884         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1885         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1886         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1887         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1888         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1889         (modules-names): Add `tst-armtlsdescmod',
1890         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1891         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1892         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1893         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1894         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1895         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1896         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1897         ($(objpfx)tst-armtlsdescloc): New dependency.
1898         ($(objpfx)tst-armtlsdescextnow): Likewise.
1899         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1900         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1901         TLS scheme support.
1902         * sysdeps/arm/configure: Regenerate.
1903
1904 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1905
1906         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1907         (__atfct_seterrno_2): Likewise.
1908         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1909         <kernel-features.h>.
1910         (__ASSUME_ATFCTS): Do not undefine and redefine.
1911         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1912         (__have_atfcts): Remove conditional definition.
1913         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1914         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1915         unreachable if [__ASSUME_ATFCTS].
1916         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1917         not undefine and redefine.
1918         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1919         <kernel-features.h>.
1920         (faccessat) [__NR_faccessat]: Make code unconditional.
1921         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1922         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1923         <kernel-features.h>.
1924         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1925         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1926         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1927         <kernel-features.h>.
1928         (fchownat) [__NR_fchownat]: Make code unconditional.
1929         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1930         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1931         <kernel-features.h>.
1932         (futimesat) [__NR_futimesat]: Make code unconditional.
1933         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1934         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1935         <kernel-features.h>.
1936         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1937         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1938         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1939         <kernel-features.h>.
1940         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1941         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1942         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1943         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1944         <kernel-features.h>.
1945         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1946         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1947         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1948         <kernel-features.h>.
1949         (linkat) [__NR_linkat]: Make code unconditional.
1950         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1951         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1952         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1953         <kernel-features.h>.
1954         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1955         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1956         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1957         <kernel-features.h>.
1958         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1959         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1960         * sysdeps/unix/sysv/linux/openat.c: Do not include
1961         <kernel-features.h>.
1962         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1963         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1964         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1965         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1967         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1968         <kernel-features.h>.
1969         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1970         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1971         result of INLINE_SYSCALL directly, not via int variable.
1972         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1973         <kernel-features.h>.
1974         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1975         (renameat) [__NR_renameat]: Make code unconditional.
1976         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1977         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1978         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1979         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1980         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1981         (__ASSUME_ATFCTS): Do not undefine and redefine.
1982         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1983         <kernel-features.h>.
1984         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1985         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1986         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1987         <kernel-features.h>.
1988         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1989         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1990         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1991         (__ASSUME_ATFCTS): Do not undefine and redefine.
1992         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1993         <kernel-features.h>.
1994         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1995         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1996         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1997         <kernel-features.h>.
1998         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1999         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2000
2001 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2002
2003         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2004
2005 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2006
2007         [BZ #17069]
2008         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2009         constructed tree before returning error.
2010         * posix/bug-regexp36.c: Expand test case.
2011
2012 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2013
2014         [BZ #6803]
2015         * math/libm-test.inc (scalbln_test_date):
2016         Add errno expectations.
2017         * math/w_scalblnf.c: New File.
2018         Add wrapper which checks for setting errno to ERANGE.
2019         Add weak_alias for corresponding scalbln function.
2020         * math/w_scalbln.c: Likewise.
2021         * math/w_scalblnl.c: Likewise.
2022         * math/Makefile (libm-calls): Add w_scalbln.
2023         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2024         Remove weak_alias for corresponding scalbln function.
2025         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2026         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2027         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2029         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2030         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2031         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2032         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2033         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2034         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2035         Remove long_double_symbol for scalblnl function in libm, libc.
2036         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2037         Add wrapper which checks for setting errno to ERANGE.
2038         Add long_double_symbol for scalblnl function in libm, libc.
2039         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2040         Remove long_double_symbol for scalblnl in libm.
2041         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2042         Add wrapper which checks for setting errno to ERANGE.
2043         Add long_double_symbol for scalblnl function in libm.
2044         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2045         Do not use wrapper because of own implementation.
2046
2047 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2048
2049         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2050         3 bytes for __pad1 for x32.
2051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2052
2053 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2054             H.J. Lu  <hongjiu.lu@intel.com>
2055
2056         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2057         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2060         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2061
2062 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2063
2064         [BZ #17069]
2065         * posix/regcomp.c (parse_expression): Deallocate partially
2066         constructed tree before returning error.
2067         * posix/Makefile.c (tests): Add bug-regex36.
2068         (generated): Add bug-regex36.mtrace.
2069         (tests-special): Add $(objpfx)bug-regex36-mem.out
2070         (bug-regex36-ENV): New variable.
2071         ($(objpfx)bug-regex36-mem.out): New rule.
2072         * posix/bug-regex36.c: New file.
2073
2074 2014-06-19  Will Newton  <will.newton@linaro.org>
2075
2076         * malloc/malloc.c (systrim): If extra is zero then return
2077         early.
2078
2079 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2080
2081         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2082
2083 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2084
2085         * sysdeps/aarch64/strchr.S: New file.
2086
2087 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2088
2089         [BZ #17022]
2090         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2091         from arguments -2 or below.
2092         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2093         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2094
2095 2014-06-18  Andreas Schwab  <schwab@suse.de>
2096
2097         [BZ #17062]
2098         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2099         of a bracket expr not to run off the end of the string.
2100         * posix/Makefile (tests): Add tst-fnmatch3.
2101         * posix/tst-fnmatch3.c: New file.
2102
2103 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2104
2105         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2106         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2107         [$(cross-compiling) = no]: Likewise.
2108         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2109         [$(cross-compiling) = no]: Likewise.
2110
2111 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2112
2113         [BZ #17031]
2114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2115         double, adjusted for any remainder from the high double.
2116         * math/libm-test.inc (nearbyint): Add tests.
2117         (rint): Likewise.
2118
2119 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2120
2121         * nptl/sysdeps/powerpc/Makefile: Moved ...
2122         * sysdeps/powerpc/nptl/Makefile: ... here.
2123         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2124         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2125         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2126         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2127         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2128         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2129         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2130         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2131         * nptl/sysdeps/powerpc/tls.h: Moved ...
2132         * sysdeps/powerpc/nptl/tls.h: ... here.
2133
2134 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2135
2136         [BZ #16681]
2137         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2138         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2139         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2140         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2141         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2142         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2143         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2144         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2145         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2146
2147 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2148
2149         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2150
2151 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2152
2153         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2154         defined operator.
2155
2156         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2157         $TIMEOUTFACTOR.
2158
2159 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2160
2161         [BZ #17058]
2162         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2163         non-executed part of the test.
2164
2165 2014-06-16  Andreas Schwab  <schwab@suse.de>
2166
2167         * string/bits/string2.h (strdup, strndup): Update feature guard.
2168
2169 2014-06-14  David S. Miller  <davem@davemloft.net>
2170
2171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2172
2173 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2174
2175         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2176         that was previously under [RESET_PID].
2177         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2178
2179         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2180         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2181         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2183         (__libc_vfork): New strong alias.
2184         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2185
2186 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2187
2188         * sysdeps/generic/elide.h: New file.
2189
2190 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2191
2192         * Makefile (installed-headers): Adjust path of pthread.h header.
2193
2194 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2195
2196         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2197         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2198         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2199         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2200
2201         * nptl/sysdeps/s390/Makefile: Moved ...
2202         * sysdeps/s390/nptl/Makefile: ... here.
2203         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2204         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2205         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2206         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2207         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2208         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2209         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2210         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2211         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2212         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2213         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2214         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2215         * nptl/sysdeps/s390/tls.h: Moved ...
2216         * sysdeps/s390/nptl/tls.h: ... here.
2217
2218         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2219         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2220
2221 2014-06-13  David S. Miller  <davem@davemloft.net>
2222
2223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2226         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2230         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2231         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2232         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2233         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2234         Remove RESET_PID cpp guards.
2235         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2236         Remove RESET_PID cpp guards.
2237         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2238
2239 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2240
2241         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2242         __sp to uintptr_t.
2243
2244 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2245
2246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2251         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2254         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2257         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2258         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2259         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2263         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2265         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2266
2267         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2268         (pthread_rwlock_rdlock): Add elision.
2269         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2270         (pthread_rwlock_wrlock): Add elision.
2271         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2272         (pthread_rwlock_trywrlock): Add elision.
2273         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2274         (pthread_rwlock_tryrdlock): Add elision.
2275         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2276         (pthread_rwlock_tryrdlock): Add elision unlock.
2277         * nptl/sysdeps/pthread/pthread.h:
2278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2279         (PTHREAD_RWLOCK_INITIALIZER,
2280         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2281         Handle new elision field.
2282         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2283         * sysdeps/arm/nptl/bits/pthreadtypes.h
2284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2285         * sysdeps/sh/nptl/bits/pthreadtypes.h
2286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2287         * sysdeps/tile/nptl/bits/pthreadtypes.h
2288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2289         * sysdeps/a/nptl/bits/pthreadtypes.h
2290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2291         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2293         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2295         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2297         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2299         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2301         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2303         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2305         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2307         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2308         (elision_init): Set try_xbegin to zero when no RTM.
2309         * sysdeps/x86/nptl/bits/pthreadtypes.h
2310         (pthread_rwlock_t): Change __pad1 to __rwelision.
2311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2312
2313 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2314
2315         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2316         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2317         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2318         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2319
2320 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2321
2322         [BZ #16996]
2323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2324         that the cached result has been set before returning it.
2325
2326 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2327
2328         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2329         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2330         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2331         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2332         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2333         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2334
2335         * nptl/sysdeps/sparc/Makefile: Moved ...
2336         * sysdeps/sparc/nptl/Makefile: ... here.
2337         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2338         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2339         * nptl/sysdeps/sparc/tls.h: Moved ...
2340         * sysdeps/sparc/nptl/tls.h: ... here.
2341         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2342         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2343         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2344         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2345         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2346         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2347         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2348         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2349         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2350         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2351         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2352         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2353         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2354         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2355         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2356         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2359         Update #include.
2360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2362         Update #include.
2363         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2365         Update #include.
2366         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2367         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2368         Update #include.
2369
2370         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2371
2372         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2373         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2374
2375         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2376         (struct list_links): Type removed.
2377         (struct thread_node, struct timer_node): Replace struct list_links
2378         with struct list_head.
2379         (list_unlink_ip): Likewise.
2380         * sysdeps/pthread/timer_routines.c
2381         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2382         (list_append, list_insbefore): Likewise.
2383         (list_init): Function removed.
2384         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2385         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2386         * sysdeps/pthread/Makefile: ... here, new file.
2387
2388         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2389         * sysdeps/nptl/Implies: ... here.
2390         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2391         * nptl/sysdeps/pthread/list.h: Moved ...
2392         * include/list.h: ... here.
2393         * nptl/sysdeps/pthread/createthread.c: Moved ...
2394         * nptl/createthread.c: ... here.
2395         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2396         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2397         * nptl/pt-longjmp.c: ... here.
2398         * nptl/sysdeps/pthread/Makefile: Moved ...
2399         * sysdeps/nptl/Makefile: ... here.
2400         * nptl/sysdeps/pthread/Subdirs: Moved ...
2401         * sysdeps/nptl/Subdirs: ... here.
2402         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2403         * sysdeps/nptl/aio_misc.h: ... here.
2404         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2405         * sysdeps/nptl/bits/libc-lock.h: ... here.
2406         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2407         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2408         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2409         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2410         * nptl/sysdeps/pthread/configure: Moved ...
2411         * sysdeps/nptl/configure: ... here.
2412         * nptl/sysdeps/pthread/configure.ac: Moved ...
2413         * sysdeps/nptl/configure.ac: ... here.
2414         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2415         * sysdeps/nptl/gai_misc.h: ... here.
2416         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2417         * sysdeps/nptl/librt-cancellation.c: ... here.
2418         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2419         * sysdeps/nptl/malloc-machine.h: ... here.
2420         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2421         * sysdeps/nptl/pthread-functions.h: ... here.
2422         * nptl/sysdeps/pthread/pthread.h: Moved ...
2423         * sysdeps/nptl/pthread.h: ... here.
2424         * nptl/sysdeps/pthread/setxid.h: Moved ...
2425         * sysdeps/nptl/setxid.h: ... here.
2426         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2427         * sysdeps/nptl/sigfillset.c: ... here.
2428         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2429         * sysdeps/nptl/tcb-offsets.h: ... here.
2430         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2431         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2432         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2433         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2434         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2435         * sysdeps/pthread/allocalim.h: ... here.
2436         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2437         * sysdeps/pthread/bits/sigthread.h: ... here.
2438         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2439         * sysdeps/pthread/flockfile.c: ... here.
2440         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2441         * sysdeps/pthread/ftrylockfile.c: ... here.
2442         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2443         * sysdeps/pthread/funlockfile.c: ... here.
2444         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2445         * sysdeps/pthread/posix-timer.h: ... here.
2446         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2447         * sysdeps/pthread/timer_create.c: ... here.
2448         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2449         * sysdeps/pthread/timer_delete.c: ... here.
2450         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2451         * sysdeps/pthread/timer_getoverr.c: ... here.
2452         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2453         * sysdeps/pthread/timer_gettime.c: ... here.
2454         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2455         * sysdeps/pthread/timer_routines.c: ... here.
2456         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2457         * sysdeps/pthread/timer_settime.c: ... here.
2458         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2459         * sysdeps/pthread/tst-timer.c: ... here.
2460         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2461         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2462
2463         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2464         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2465
2466         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2467         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2468         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2469         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2470         Update #include target.
2471         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2472         * sysdeps/i386/i686/nptl/Makefile: ... here.
2473         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2474         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2475         Update #include target.
2476         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2477         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2478         * nptl/sysdeps/i386/Makefile: Moved ...
2479         * sysdeps/i386/nptl/Makefile: ... here.
2480         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2481         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2482         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2483         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2484         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2485         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2486         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2487         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2488         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2489         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2490         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2491         * nptl/sysdeps/i386/tls.h: Moved ...
2492         * sysdeps/i386/nptl/tls.h: ... here.
2493
2494         * sysdeps/sh/Makefile [$(subdir) = csu]
2495         (gen-as-const-headers): Add tcb-offsets.sym.
2496         * nptl/sysdeps/sh/Makefile: File removed.
2497         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2498         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2499         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2500         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2501         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2502         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2503         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2504         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2505         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2506         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2507         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2508         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2509         * nptl/sysdeps/sh/tls.h: Moved ...
2510         * sysdeps/sh/nptl/tls.h: ... here.
2511         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2512         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2513         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2514         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2515         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2516         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2517         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2518         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2519         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2520         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2522         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2524         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2526         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2528         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2530         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2532         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2536         Moved ...
2537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2539         Moved ...
2540         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2542         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2544         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2545         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2546         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2547         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2548         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2549         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2550         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2551         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2552         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2553         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2554         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2555         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2556         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2557         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2558         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2559
2560 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2561
2562         * posix/spawn_faction_addopen.c: Include string.h.
2563
2564 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2565
2566         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2567         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2568         * nptl/sysdeps/x86_64/Makefile: Moved ...
2569         * sysdeps/x86_64/nptl/Makefile: ... here.
2570         * nptl/sysdeps/x86_64/configure: Moved ...
2571         * sysdeps/x86_64/nptl/configure: ... here.
2572         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2573         * sysdeps/x86_64/nptl/configure.ac: ... here.
2574         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2575         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2576         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2577         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2578         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2579         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2580         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2581         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2582         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2583         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2584         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2585         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2586         * nptl/sysdeps/x86_64/tls.h: Moved ...
2587         * sysdeps/x86_64/nptl/tls.h: ... here.
2588         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2589         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2590         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2591         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2592
2593         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2594
2595 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2596
2597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2598
2599 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2600
2601         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2602         type.
2603         [POSIX] (off_t): Likewise.
2604         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2605         [POSIX] (S_ISBLK): Require macro.
2606         [POSIX] (S_ISCHR): Likewise.
2607         [POSIX] (S_ISDIR): Likewise.
2608         [POSIX] (S_ISFIFO): Likewise.
2609         [POSIX] (S_ISREG): Likewise.
2610         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2611         optional-macro.
2612         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2613         type.
2614         [POSIX] (time_t): Likewise.
2615         [POSIX] (timer_t): Likewise.
2616
2617 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2618
2619         [BZ #17048]
2620         * posix/spawn_int.h (struct __spawn_action): Make the path string
2621         non-const to support deallocation.
2622         * posix/spawn_faction_addopen.c
2623         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2624         * posix/spawn_faction_destroy.c
2625         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2626         path in all spawn_do_open actions.
2627         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2628         posix_spawn_file_actions_addopen.
2629
2630 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2631
2632         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2633         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2634         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2635         conditional code always true.
2636         (__libc_vfork): New alias.
2637
2638 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2639
2640         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2641         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2642
2643         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2644
2645         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2646         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2647
2648         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2649         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2650
2651         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2652         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2653
2654 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2655
2656         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2657         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2658         multiarch strcmp for PPC64.
2659         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2660         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2662         multiarch optimizations.
2663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2664         (__libc_ifunc_impl_list): Likewise.
2665
2666 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2667
2668         * benchtests/scripts/validate_benchout.py: New script.
2669         * benchtests/Makefile (bench-func): Call it.
2670         * benchtests/scripts/benchout.schema.json: New file.
2671
2672 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2673
2674         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2675         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2676         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2677         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2678         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2679         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2680         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2681         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2682         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2683         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2684         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2685         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2686         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2687         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2688         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2689         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2691         Moved ...
2692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2693         ... here.
2694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2695         Moved ...
2696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2698         Moved ...
2699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2700         ... here.
2701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2702         Moved ...
2703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2704         ... here.
2705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2706         Moved ...
2707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2709         Moved ...
2710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2711         ... here.
2712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2713         Moved ...
2714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2715         ... here.
2716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2717         Moved ...
2718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2720         Moved ...
2721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2722         ... here.
2723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2724         Moved ...
2725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2726         ... here.
2727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2728         Moved ...
2729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2730         ... here.
2731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2732         Moved ...
2733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2735         Moved ...
2736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2737         ... here.
2738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2739         Moved ...
2740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2741         ... here.
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2743         Moved ...
2744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2745         ... here.
2746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2747         Moved ...
2748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2750         Moved ...
2751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2752         ... here.
2753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2754         Moved ...
2755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2756         ... here.
2757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2758         Moved ...
2759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2761         Moved ...
2762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2763         ... here.
2764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2765         Moved ...
2766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2768         Moved ...
2769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2771         Moved ...
2772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2773         ... here.
2774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2775         Moved ...
2776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2777         ... here.
2778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2779         Moved ...
2780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2781         ... here.
2782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2783         Moved ...
2784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2786         Moved ...
2787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2788         ... here.
2789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2792         ... here.
2793         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2794         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2796         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2798         Moved ...
2799         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2800         ... here.
2801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2802         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2804         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2806         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2808         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2810         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2812         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2814         Moved ...
2815         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2817         Moved ...
2818         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2820         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2822         Moved ...
2823         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2825         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2826         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2827         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2828         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2829         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2830
2831 2014-06-10  Wilco  <wdijkstr@arm.com>
2832
2833         * math/test-fenv-return.c: New file.
2834         * math/Makefile: Add new test test-fenv-return.
2835
2836 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2837
2838         [BZ #17042]
2839         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2840         when x - 1 is zero.
2841         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2842         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2843         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2844         0.0L for an argument of 1.0L.
2845         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2846         Likewise.
2847         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2848         value when x - 1 is zero.
2849         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2850         * sysdeps/i386/fpu/libm-test-ulps: Update.
2851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2852
2853 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2854
2855         [BZ #15119]
2856         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2857
2858 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2859
2860         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2861         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2862
2863 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2864
2865         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2866         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2867
2868         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2869         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2870
2871         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2872         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2873
2874         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2875         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2876
2877         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2878         if not already defined.
2879         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2880         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2881         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2882         (TLS_INIT_TP): Use it.
2883         (TLS_DEFINE_INIT_TP): New macro.
2884         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2885
2886 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2887
2888         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2889         constant.
2890         [POSIX] (IXANY): Likewise.
2891         [POSIX] (OLCUC): Likewise.
2892         [POSIX || POSIX2008] (CBAUD): Do not allow.
2893         [POSIX || POSIX2008] (DEFECHO): Likewise.
2894         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2895         [POSIX || POSIX2008] (ECHOKE): Likewise.
2896         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2897         [POSIX || POSIX2008] (EXTA): Likewise.
2898         [POSIX || POSIX2008] (EXTB): Likewise.
2899         [POSIX || POSIX2008] (FLUSHO): Likewise.
2900         [POSIX || POSIX2008] (LOBLK): Likewise.
2901         [POSIX || POSIX2008] (PENDIN): Likewise.
2902         [POSIX || POSIX2008] (SWTCH): Likewise.
2903         [POSIX || POSIX2008] (VDISCARD): Likewise.
2904         [POSIX || POSIX2008] (VDSUSP): Likewise.
2905         [POSIX || POSIX2008] (VLNEXT): Likewise.
2906         [POSIX || POSIX2008] (VREPRINT): Likewise.
2907         [POSIX || POSIX2008] (VSTATUS): Likewise.
2908         [POSIX || POSIX2008] (VWERASE): Likewise.
2909         (B*): Change to B[0123456789]*.
2910         * conform/data/time.h-data [POSIX || UNIX98]
2911         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2912         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2913         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2914         [POSIX] (tm_*): Do not allow.
2915
2916 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2917
2918         * Makefile (install): Don't set LANGUAGE.
2919         * Makefile.in (install): Likewise.
2920         * assert/Makefile (test-assert-ENV): Remove variable.
2921         (test-assert-perr-ENV): Likewise.
2922         * elf/Makefile (neededtest4-ENV): Likewise.
2923         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2924         [$(cross-compiling) = no]: Don't set LANGUAGE.
2925         * io/ftwtest-sh (LANG): Remove variable.
2926         * libio/Makefile (tst-widetext-ENV): Likewise.
2927         * manual/install.texi (Running make install): Don't refer to
2928         environment settings for make install.
2929         * INSTALL: Regenerated.
2930         * nptl/tst-tls6.sh: Don't set LANG.
2931         * posix/globtest.sh (LANG): Remove variable.
2932         * string/Makefile (tester-ENV): Likewise.
2933         (inl-tester-ENV): Likewise.
2934         (noinl-tester-ENV): Likewise.
2935         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2936         [$(cross-compiling) = no]: Don't set LANGUAGE.
2937         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2938         without explicit environment settings.
2939
2940 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2941
2942         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2943         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2944         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2945         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2946
2947 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2948
2949         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2950         other files in the crypt directory.
2951         * crypt/crypt.c: Remove duplicate includes.
2952         * crypt/crypt-entry.c: Likewise.
2953         * crypt/crypt_util.c: Likewise.
2954
2955 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2956
2957         * Makeconfig (run-program-env): New variable.
2958         (run-program-prefix-before-env): Likewise.
2959         (run-program-prefix-after-env): Likewise.
2960         (run-program-prefix): Define in terms of new variables.
2961         (built-program-cmd-before-env): New variable.
2962         (built-program-cmd-after-env): Likewise.
2963         (built-program-cmd): Define in terms of new variables.
2964         (test-program-prefix-before-env): New variable.
2965         (test-program-prefix-after-env): Likewise.
2966         (test-program-prefix): Define in terms of new variables.
2967         (test-program-cmd-before-env): New variable.
2968         (test-program-cmd-after-env): Likewise.
2969         (test-program-cmd): Define in terms of new variables.
2970         * Rules (make-test-out): Use $(run-program-env).
2971         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2972         (help): Do not mention environment variables.  Mention
2973         --timeoutfactor option.
2974         (timeoutfactor): New variable.
2975         (blacklist_exports): Remove function.
2976         (exports): Remove variable.
2977         (command): Do not include ${exports}.
2978         * manual/install.texi (Configuring and compiling): Do not mention
2979         test wrappers preserving environment variables.  Mention that last
2980         assignment to a variable must take precedence.
2981         * INSTALL: Regenerated.
2982         * benchtests/Makefile (run-bench): Use $(run-program-env).
2983         * catgets/Makefile ($(objpfx)test1.cat): Use
2984         $(built-program-cmd-before-env), $(run-program-env) and
2985         $(built-program-cmd-after-env).
2986         ($(objpfx)test2.cat): Do not specify environment variables
2987         explicitly.
2988         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2989         $(run-program-env) and $(built-program-cmd-after-env).
2990         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2991         $(run-program-env) and $(test-program-cmd-after-env).
2992         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2993         explicitly.
2994         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2995         run_program_env and test_program_cmd_after_env arguments.
2996         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2997         * elf/tst-pathopt.sh: Use run_program_env argument.
2998         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2999         $(test-wrapper-env) and $(run-program-env).
3000         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3001         run_program_env arguments.
3002         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3003         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3004         $(test-program-prefix-before-env), $(run-program-env) and
3005         $(test-program-prefix-after-env).
3006         ($(objpfx)tst-gettext2.out): Likewise.
3007         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3008         run_program_env and test_program_prefix_after_env arguments.
3009         * intl/tst-gettext2.sh: Likewise.
3010         * intl/tst-gettext4.sh: Do not set environment variables
3011         explicitly.
3012         * intl/tst-gettext6.sh: Likewise.
3013         * intl/tst-translit.sh: Likewise.
3014         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3015         $(test-program-prefix-before-env), $(run-program-env) and
3016         $(test-program-prefix-after-env).
3017         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3018         run_program_env and test_program_prefix_after_env arguments.
3019         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3020         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3021         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3022         explicitly with each use of ${test_wrapper_env}.
3023         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3024         $(test-program-prefix-before-env), $(run-program-env) and
3025         $(test-program-prefix-after-env).
3026         * posix/tst-getconf.sh: Do not set environment variables
3027         explicitly.
3028         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3029         run_program_env and test_program_prefix_after_env arguments.
3030         * stdio-common/tst-printf.sh: Do not set environment variables
3031         explicitly.
3032         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3033         $(test-program-prefix-before-env), $(run-program-env) and
3034         $(test-program-prefix-after-env).
3035         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3036         run_program_env and test_program_prefix_after_env arguments.
3037         Split $test calls into $test_pre and $test.
3038         * timezone/Makefile (build-testdata): Use
3039         $(built-program-cmd-before-env), $(run-program-env) and
3040         $(built-program-cmd-after-env).
3041
3042 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3043
3044         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3045         strlen for non SHARED builds.
3046
3047 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3048
3049         * nptl/allocatestack.c (check_list): Inlined function...
3050         (__reclaim_stacks): ... here.
3051
3052 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3053
3054         [BZ #15698]
3055         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3056         memory overrun.
3057
3058 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3059
3060         * Rules (make-test-out): Include
3061         LOCPATH=$(common-objpfx)localedata in default environment.
3062         * debug/Makefile (tst-chk1-ENV): Remove variable.
3063         (tst-chk2-ENV): Likewise.
3064         (tst-chk3-ENV): Likewise.
3065         (tst-chk4-ENV): Likewise.
3066         (tst-chk5-ENV): Likewise.
3067         (tst-chk6-ENV): Likewise.
3068         (tst-lfschk1-ENV): Likewise.
3069         (tst-lfschk2-ENV): Likewise.
3070         (tst-lfschk3-ENV): Likewise.
3071         (tst-lfschk4-ENV): Likewise.
3072         (tst-lfschk5-ENV): Likewise.
3073         (tst-lfschk6-ENV): Likewise.
3074         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3075         (tst-iconv7-ENV): Likewise.
3076         * intl/Makefile (LOCPATH-ENV): Likewise.
3077         (tst-codeset-ENV): Likewise.
3078         (tst-gettext3-ENV): Likewise.
3079         (tst-gettext5-ENV): Likewise.
3080         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3081         (tst-fopenloc-ENV): Likewise.
3082         (tst-fgetws-ENV): Remove variable.
3083         (tst-ungetwc1-ENV): Likewise.
3084         (tst-ungetwc2-ENV): Likewise.
3085         (bug-ungetwc2-ENV): Likewise.
3086         (tst-swscanf-ENV): Likewise.
3087         (bug-ftell-ENV): Likewise.
3088         (tst-fgetwc-ENV): Likewise.
3089         (tst-fseek-ENV): Likewise.
3090         (tst-ftell-partial-wide-ENV): Likewise.
3091         (tst-ftell-active-handler-ENV): Likewise.
3092         (tst-ftell-append-ENV): Likewise.
3093         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3094         (tst-regexloc-ENV): Likewise.
3095         (bug-regex1-ENV): Likewise.
3096         (tst-regex-ENV): Likewise.
3097         (tst-regex2-ENV): Likewise.
3098         (bug-regex5-ENV): Likewise.
3099         (bug-regex6-ENV): Likewise.
3100         (bug-regex17-ENV): Likewise.
3101         (bug-regex18-ENV): Likewise.
3102         (bug-regex19-ENV): Likewise.
3103         (bug-regex20-ENV): Likewise.
3104         (bug-regex22-ENV): Likewise.
3105         (bug-regex23-ENV): Likewise.
3106         (bug-regex25-ENV): Likewise.
3107         (bug-regex26-ENV): Likewise.
3108         (bug-regex30-ENV): Likewise.
3109         (bug-regex32-ENV): Likewise.
3110         (bug-regex33-ENV): Likewise.
3111         (bug-regex34-ENV): Likewise.
3112         (bug-regex35-ENV): Likewise.
3113         (tst-rxspencer-ENV): Likewise.
3114         (tst-rxspencer-no-utf8-ENV): Likewise.
3115         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3116         (tst-sscanf-ENV): Likewise.
3117         (tst-swprintf-ENV): Likewise.
3118         (tst-swscanf-ENV): Likewise.
3119         (test-vfprintf-ENV): Likewise.
3120         (scanf13-ENV): Likewise.
3121         (bug14-ENV): Likewise.
3122         (tst-grouping-ENV): Likewise.
3123         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3124         (tst-strtod3-ENV): Likewise.
3125         (tst-strtod4-ENV): Likewise.
3126         (tst-strtod5-ENV): Likewise.
3127         (testmb2-ENV): Likewise./
3128         * string/Makefile (tst-strxfrm-ENV): Likewise.
3129         (tst-strxfrm2-ENV): Likewise.
3130         (bug-strcoll1-ENV): Likewise.
3131         (test-strcasecmp-ENV): Likewise.
3132         (test-strncasecmp-ENV): Likewise.
3133         * time/Makefile (tst-strptime-ENV): Likewise.
3134         (tst-ftime_l-ENV): Likewise.
3135         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3136         (tst-mbrtowc-ENV): Likewise.
3137         (tst-wcrtomb-ENV): Likewise.
3138         (tst-mbrtowc2-ENV): Likewise.
3139         (tst-c16c32-1-ENV): Likewise.
3140         (tst-mbsnrtowcs-ENV): Likewise.
3141
3142 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3143
3144         * manual/resource.texi (How to get information about the memory
3145         subsystem?): Fix typo.
3146         Reported by Peon de la Parra Ivan <peon@keba.com>
3147
3148 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3149
3150         [BZ #16882]
3151         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3152         (pthread_spin_lock): Branch out of spin loop to proper location.
3153         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3154         (pthread_spin_lock): Likewise.
3155
3156         * nptl/tst-spin4.c: New test.
3157         * nptl/Makefile (tests): Add tst-spin4.
3158
3159 2014-06-03  Andreas Schwab  <schwab@suse.de>
3160
3161         [BZ #15946]
3162         * resolv/res_send.c (send_dg): Reload file descriptor after
3163         calling reopen.
3164
3165 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3166
3167         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3168
3169 2014-06-03  Richard Henderson  <rth@redhat.com>
3170
3171         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3172         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3173         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3174         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3175         in the SAVE_PID block.
3176         (__libc_vfork): New alias.
3177         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3178
3179         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3180         child in registers, not on the stack.  Remove RESET_PID conditionals.
3181         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3182
3183 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3184
3185         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3186
3187 2014-06-03  Wilco  <wdijkstr@arm.com>
3188
3189         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3190         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3191         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3192         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3193         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3194         Likewise.
3195
3196 2014-06-03  Wilco  <wdijkstr@arm.com>
3197
3198         * sysdeps/aarch64/fpu/math_private.h
3199         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3200         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3201         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3202         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3203         Fix declarations.
3204
3205 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3206
3207         * crypt/crypt-private.h: Include ufc-crypt.h.
3208         (__b64_from_24bit): Declare extern.
3209         * crypt/crypt_util.c(__b64_from_24bit): New function.
3210         (b64t): New static const variable.
3211         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3212         (b64t): Remove variable.
3213         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3214         * crypt/sha256-crypt.c: Include crypt-private.h.
3215         (b64t): Remove variable.
3216         (__sha256_crypt_r): Remove b64_from_24bit and replace
3217         with __b64_from_24bit.
3218         * crypt/sha512-crypt.c: Likewise.
3219
3220 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3221
3222         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3223         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3224         Label the code __libc_vfork rather than __vfork.
3225         [!NOT_IN_libc] (vfork): Define as weak alias.
3226         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3227         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3228         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3229
3230 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3231
3232         * malloc/malloc.c (malloc_info): Fix format specifier for
3233         n_mmaps.
3234
3235 2014-06-02  Wilco  <wdijkstr@arm.com>
3236
3237         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3238         FPCR write.
3239
3240 2014-06-02  Wilco  <wdijkstr@arm.com>
3241
3242         [BZ #17009]
3243         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3244         Rewrite to reduce FPCR/FPSR accesses.
3245
3246 2014-06-01  David S. Miller  <davem@davemloft.net>
3247
3248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3249
3250 2014-05-31  David S. Miller  <davem@davemloft.net>
3251
3252         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3253         to occur in round to nearest mode when |x| >= 2.0
3254
3255 2014-05-30  Richard Henderson  <rth@twiddle.net>
3256
3257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3258         (PSEUDO_RET_NOERRNO): Remove.
3259         (ret): Don't redefine.
3260         (ret_NOERRNO): Define in terms of ret.
3261         (ret_ERRVAL): Likewise.
3262
3263         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3264         use of PSEUDO_RET; perform the error check directly.
3265
3266 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3267
3268         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3269         with __int128_t.
3270
3271 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3272
3273         * malloc/malloc (malloc_info): Fix formatting.
3274
3275 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3276             Roland McGrath  <roland@hack.frob.com>
3277
3278         * malloc/malloc (malloc_info): Also print mmapped statistics.
3279
3280 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3281
3282         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3283         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3284
3285 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3286
3287         * malloc/malloc.c (malloc_info): Inline mi_arena.
3288
3289 2014-05-29  Richard Henderson  <rth@twiddle.net>
3290
3291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3292         Remove comma before expanding ASM_ARGS_##nr.
3293         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3294         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3295         of ASM_ARGS_##nr.
3296         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3297         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3298         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3299         (ASM_ARGS_1): Add leading comma.
3300
3301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3302         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3303         to __errno_location.
3304         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3305         Remove the expected plt for __errno_location.
3306
3307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3308         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3309         call to __read_tp.
3310
3311         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3312         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3313         it and break it down.
3314         (DOCARGS_0, DOCARGS_1): Do nothing.
3315         (DOCARGS_2): Update to store into the new stack frame.
3316         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3317         (UNDOCARGS_1): Update to restore from the new stack frame.
3318         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3319         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3320
3321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3322         (SINGLE_THREAD_P): New parameter for result regno.
3323         (PSEUDO): Update to match; use cbz instead of beq.
3324
3325         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3326         Use ENTRY to define the _nocancel entry point.  Share the syscall
3327         and syscall error check paths with the cancel path.
3328         (PSEUDO_END): New.
3329
3330         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3331         whitespace; tabs before and after asm mnemonics.
3332
3333 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3334
3335         [BZ #15132]
3336         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3337         Call fstat64 or stat64 internally, depending on arguments passed.
3338         Replace stat buffer argument with file descriptor argument.
3339         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3340         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3341         Pass fd to __internal_statvfs instead of calling fstat64.
3342         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3343         Pass fd to __internal_statvfs64 instead of calling fstat64.
3344         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3345         Pass -1 to __internal_statvfs instead of calling stat64.
3346         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3347         Pass -1 to __internal_statvfs64 instead of calling stat64.
3348
3349 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3350
3351         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3352         that was previously under [RESET_PID].
3353         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3354
3355         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3356         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3357
3358 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3359
3360         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3361
3362         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3363         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3364
3365 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3366
3367         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3368
3369 2014-05-27  Andreas Schwab  <schwab@suse.de>
3370
3371         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3372         TLS_INIT_TP macro.
3373         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3374         * elf/rtld.c (init_tls, dl_main): Likewise.
3375         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3376         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3377         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3378         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3379         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3380         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3381         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3382         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3383         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3384         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3385         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3386         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3387         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3388         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3389         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3390         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3391         * sysdeps/generic/tls.h: Update description.
3392
3393 2014-05-27  Will Newton  <will.newton@linaro.org>
3394
3395         [BZ #16990]
3396         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3397         and restore r2 rather than just restoring.
3398
3399 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3400
3401         [BZ #16724]
3402         * libio/tst-ftell-append.c: New test case.
3403         * libio/Makefile (tests): Add test case.
3404         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3405         append mode.
3406         * libio/wfileops.c (do_ftell_wide): Likewise.
3407
3408 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3409
3410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3411
3412         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3413         ...
3414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3416         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3417         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3418         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3419         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3420         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3423         Moved ...
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3426         Moved ...
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3428         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3429         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3430         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3431         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3432         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3433         ...
3434         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3435         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3436         Moved ...
3437         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3438         here.
3439         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3440         ...
3441         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3442         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3443         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3444
3445         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3446         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3447         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3448         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3449
3450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3451         merge into ...
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3454         ...
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3457         ...
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3460         Moved ...
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3462         here.
3463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3464         Moved ...
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3467         Moved ...
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3469
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3471         conditional [RESET_PID].
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3474         removed.
3475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3476         removed.
3477
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3479         <tcb-offsets.h>.
3480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3481         (__libc_vfork): New strong alias.
3482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3483         removed.
3484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3485         Removed.
3486
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3488         <tcb-offsets.h>.
3489         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3490         (__libc_vfork): New strong alias.
3491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3492         removed.
3493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3494         removed.
3495
3496 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3497
3498         * malloc/malloc.c (mi_arena): New function.
3499         (malloc_info): Remove nested function mi_arena. Call non-nosted
3500         function mi_arena.
3501
3502 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3503
3504         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3505         by insrwi.
3506         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3507         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3508         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3509         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3510         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3511         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3512         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3513
3514 2014-05-26  Andreas Schwab  <schwab@suse.de>
3515
3516         [BZ #16984]
3517         * locale/programs/repertoire.c (repertoire_read): Add slash
3518         between I18NPATH element and file name.
3519         * locale/programs/locfile.c (locfile_read): Likewise.
3520
3521 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3522
3523         * nptl/pthread_mutexattr_settype.c
3524         (__pthread_mutexattr_settype):
3525         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3526
3527 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3528
3529         * nptl/tst-mutex5 (do_test):
3530         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3531
3532 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3533
3534         * benchtests/README: Document 'init' directive.
3535         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3536         BENCH_INIT.
3537         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3538         (parse_file): Recognize 'init' directive.
3539
3540 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3541
3542         [BZ #16796]
3543         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3544         alignment of struct pthread.
3545
3546 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3547
3548         [BZ #16878]
3549         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3550         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3551         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3552         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3553
3554 2014-05-25  Richard Henderson  <rth@twiddle.net>
3555
3556         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3557         (SINGLE_THREAD_P_PIC): Remove.
3558         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3559         (SINGLE_THREAD_P_PIC): Remove.
3560
3561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3562         branch to syscall error ...
3563         (PSEUDO): ... here.
3564         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3565         from __local_syscall_error to .Lsyscall_error.
3566         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3567         (SYSCALL_ERROR): Update label name.
3568
3569         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3570         Do not use DOARGS/UNDOARGS.
3571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3572         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3573         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3574         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3575         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3576
3577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3578         block comment.
3579
3580         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3581         define if !NOT_IN_libc.
3582         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3583         define with non-default symbol versions.
3584
3585 2014-05-23  Richard Henderson  <rth@twiddle.net>
3586
3587         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3588         (vfork, __vfork): Define via compat_symbol.
3589
3590         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3591         [!HAVE_IFUNC] (vfork_compat): Remove.
3592         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3593
3594 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3595
3596         [BZ #16978]
3597         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3598         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3599         variable.
3600
3601 2014-05-23  Richard Henderson  <rth@twiddle.net>
3602
3603         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3604         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3605         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3606         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3607
3608         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3609         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3610         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3611         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3612         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3613         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3614         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3615         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3616         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3617         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3618         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3619         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3620         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3621         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3622         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3623         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3625         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3626         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3627         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3628         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3629         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3630         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3631         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3632         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3633         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3634         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3635         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3636         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3637         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3638         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3639         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3640         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3641         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3642         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3643         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3644         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3645         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3646         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3647         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3648         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3649         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3650         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3651         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3652         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3653         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3655         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3657         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3659         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3661         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3663         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3664
3665         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3666         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3667         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3668         before exiting on error.
3669         (__libc_vfork): New strong alias.
3670         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3671         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3672
3673         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3674         that was previously under [RESET_PID].
3675         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3676
3677         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3678
3679 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3680
3681         [BZ #16977]
3682         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3683         value when x - 1 is zero.
3684         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3685         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3686         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3687         0.0L for an argument of 1.0L.
3688         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3689         Likewise.
3690         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3691         value when x - 1 is zero.
3692         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3693         * sysdeps/i386/fpu/libm-test-ulps: Update.
3694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3695
3696 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3697
3698         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3699         alphasort and versionsort.
3700
3701 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3702
3703         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3704         macro.
3705         [copysignf]: Likewise.
3706
3707 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3708
3709         * crypt/md5-crypt.c: Fix formatting.
3710
3711 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3712
3713         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3714         (b64_from_24bit): New function.
3715
3716 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3717
3718         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3719         libc_hidden_builtin_def to ifunc.
3720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3721         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3722
3723 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3724
3725         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3726         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3727
3728 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3729
3730         * nscd/Depend (linuxthreads): Remove.
3731         (nptl): Add.
3732         * resolv/Depend (linuxthreads): Remove.
3733         * rt/Depend (linuxthreads): Remove.
3734
3735         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3736         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3737         $(common-objpfx)elf/.
3738         (link-libc-before-gnulib): Likewise.
3739         (elfobjdir): Remove variable.
3740         * Makefile (install): Use $(elf-objpfx) instead of
3741         $(common-objpfx)elf/.
3742         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3743         $(elfobjdir)/.
3744         (link-libc-deps): Likewise.
3745         ($(common-objpfx)libc.so): Likewise.
3746         ($(common-objpfx)linkobj/libc.so): Likewise.
3747         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3748         instead of $(common-objpfx)elf/.
3749         (symbolic-link-list): Likewise.
3750         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3751         [$(cross-compiling) = no]: Likewise.
3752         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3753         $(elfobjdir)/.
3754         (static-gnulib-arch): Likewise.
3755         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3756         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3757         $(common-objpfx)elf/.
3758
3759 2014-05-21  Richard Henderson  <rth@redhat.com>
3760
3761         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3762         (SINGLE_THREAD_P): Use the correct width load.  Fold
3763         into the ldr offset.
3764
3765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3766         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3767
3768 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3769
3770         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3771         (libgcc_s_resume): Use __attribute_used__.
3772         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3773         Likewise.
3774
3775 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3776
3777         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3778         optimization when used with float constants.
3779
3780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3781
3782 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3783
3784         [BZ #16915]
3785         * locale/nl_langinfo_l.c: Make direct reference to every
3786         _nl_current_CATEGORY symbol.
3787         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3788         (tests-static): Add tst-langinfo-static.
3789         (tests-special): Add tst-langinfo-static.out.
3790         ($(objpfx)tst-langinfo.out): Redirect output.
3791         ($(objpfx)tst-langinfo-static.out): New.
3792         * localedata/tst-langinfo.sh: Send output to stdout.
3793         * localedata/tst-langinfo-static.c: New file.
3794
3795         [BZ #16965]
3796         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3797         when the shift amount is modulo the limb size.
3798
3799 2014-05-20  Richard Henderson  <rth@redhat.com>
3800
3801         [BZ #16967]
3802         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3803         Change type of sa_flags from unsigned int to int.
3804
3805         [BZ #16966]
3806         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3807
3808         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3809
3810 2014-05-20  Will Newton  <will.newton@linaro.org>
3811
3812         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3813         Test the return value of the system call in the nocancel case.
3814
3815 2014-05-20  Will Newton  <will.newton@linaro.org>
3816             Yvan Roux  <yvan.roux@linaro.org>
3817
3818         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3819         #include of asm/ptrace.h.
3820         (PTRACE_GET_THREAD_AREA): Remove #undef.
3821         (PTRACE_GETHBPREGS): Likewise.
3822         (PTRACE_SETHBPREGS): Likewise.
3823         (struct user_regs_struct): New structure.
3824         (struct user_fpsimd_struct): New structure.
3825         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3826         #include of asm/ptrace.h and second #include of sys/user.h.
3827         (PTRACE_GET_THREAD_AREA): Remove #undef.
3828         (PTRACE_GETHBPREGS): Likewise.
3829         (PTRACE_SETHBPREGS): Likewise.
3830         (ELF_NGREG): Use new struct user_regs_struct.
3831         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3832
3833 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3834
3835         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3837
3838 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3839
3840         [BZ #16958]
3841         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3842         membar to avoid block loads/stores to overlap previous stores.
3843
3844 2014-05-17  Richard Henderson  <rth@redhat.com>
3845
3846         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3847         Create the __##syscall_name##_nocancel entry point.
3848         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3849         Remove; let the sysdep-cancel.h code create it.
3850
3851 2014-05-17  David S. Miller  <davem@davemloft.net>
3852
3853         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3854         Protect with __USE_GNU.
3855         (TIOCSET_TEMPT): Likewise.
3856         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3857         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3858         these are already provided in bits/ioctl-types.h
3859
3860 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3861
3862         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3863         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3864
3865         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3866         Use wait4 regardless of [__NR_waitpid].
3867
3868 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3869
3870         PR libgcc/60166
3871         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3872         (_FP_NANSIGN_Q): Set the quiet bit.
3873
3874 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3875
3876         * benchtests/Makefile
3877         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3878         not $(common-objpfx)math/libm.so.
3879         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3880         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3881         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3882         $(common-objpfx)dlfcn/libdl.so.
3883         ($(objpfx)tst-audit8): Depend on $(libm), not
3884         $(common-objpfx)math/libm.so.
3885         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3886         not $(common-objpfx)dlfcn/libdl.so.
3887         * math/Makefile
3888         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3889         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3890         [$(build-shared) = yes].
3891         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3892         $(common-objpfx)nptl/libpthread.so.
3893         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3894         $(common-objpfx)math/libm.so$(libm.so-version) or
3895         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3896         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3897         $(common-objpfx)dlfcn/libdl.so.
3898         * setjmp/Makefile (link-libm): Remove variable.
3899         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3900         * stdio-common/Makefile (link-libm): Remove variable.
3901         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3902         * stdlib/Makefile (link-libm): Remove variable.
3903         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3904         ($(objpfx)tst-strtod-round): Likewise.
3905         ($(objpfx)tst-tininess): Likewise.
3906         ($(objpfx)tst-strtod-underflow): Likewise.
3907         ($(objpfx)tst-strtod6): Likewise.
3908         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3909         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3910         $(common-objpfx)dlfcn/libdl.so.
3911
3912 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3913
3914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3915         BSD terminal modes definitions.
3916
3917 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3918
3919         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3920         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3921
3922         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3923         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3924         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3925         Don't do #include_next.
3926         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3927         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3928         Don't do #include_next.
3929         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3930         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3931         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3932         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3933
3934 2014-05-16  Allan McRae  <allan@archlinux.org>
3935
3936         * po/sv.po: Update Swedish translation from translation project.
3937
3938         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3939         in sed expression.
3940
3941 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3942
3943         [BZ #16917]
3944         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3945         errno if the TIOCGPTN ioctl fails with an error different than
3946         EINVAL.
3947         * login/tst-ptsname.c: New file.
3948         * login/Makefile (tests): Add tst-ptsname.
3949
3950         [BZ #16943]
3951         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3952         and prlimit64.
3953
3954 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3955
3956         [BZ #16849]
3957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3958         herrno to return EAI_AGAIN.
3959
3960 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3961
3962         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3963         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3964         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3965         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3966         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3967         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3968         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3969         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3970         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3971         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3972         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3973         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3974         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3975         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3976         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3977         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3978         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3979         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3980         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3981         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3982         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3983         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3984         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3985         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3986         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3987         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3988         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3989         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3990         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3991         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3993         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3995         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3997         Moved ...
3998         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4000         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4002         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4004         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4006         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4008         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4010         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4012         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4014         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4016         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4018         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4020         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4022         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4024         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4026         Moved ...
4027         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4029         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4031         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4033         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4035         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4037         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4039         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4041         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4043         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4045         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4047         Moved ...
4048         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4050         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4051
4052         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4053         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4054         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4055         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4056         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4057         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4058         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4059         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4060         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4061         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4062         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4063         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4064         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4065         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4066         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4067         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4068         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4069         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4070         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4071         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4072         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4073         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4074         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4075         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4076         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4077         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4078         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4079         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4080         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4081         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4082         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4083
4084         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4085         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4086
4087         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4088         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4089         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4090         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4091         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4093         Moved ...
4094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4096         Moved ...
4097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4101         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4102         Moved ...
4103         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4104         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4105         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4107         Moved ...
4108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4109         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4110         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4113         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4114         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4116         Moved ...
4117         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4119         Moved ...
4120         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4121         ... here.
4122         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4123         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4124         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4125         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4126         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4127         Moved ...
4128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4129         ... here.
4130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4131         Moved ...
4132         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4133         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4134         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4135         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4136         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4138         Moved ...
4139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4141         Moved ...
4142         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4144         Moved ...
4145         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4146         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4147         Moved ...
4148         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4149         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4150         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4152         Moved ...
4153         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4155         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4157         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4158         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4159         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4161         Moved ...
4162         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4164         Moved ...
4165         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4166         ... here.
4167         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4168         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4169         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4170         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4171         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4172         Moved ...
4173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4174         ... here.
4175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4176         Moved ...
4177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4178         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4179         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4180         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4181         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4183         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4185         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4187         Moved ...
4188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4190         Moved ...
4191         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4193         Moved ...
4194         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4195         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4196         Moved ...
4197         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4198         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4199         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4200         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4201         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4203         Moved ...
4204         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4205         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4206         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4207         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4208         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4210         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4212         Moved ...
4213         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4215         Moved ...
4216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4217         ... here.
4218         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4219         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4220         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4221         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4222         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4223         Moved ...
4224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4225         ... here.
4226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4227         Moved ...
4228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4229         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4230         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4231         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4232         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4234         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4235         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4236         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4237         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4238         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4239
4240         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4241         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4242
4243         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4244         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4245
4246         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4247         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4248         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4249         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4250         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4251         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4252         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4253         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4254         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4255         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4256         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4257         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4258         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4259         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4260         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4262         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4264         Moved ...
4265         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4267         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4269         Moved ...
4270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4274         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4278         Moved ...
4279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4281         Moved ...
4282         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4284         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4288         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4289         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4290         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4291         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4292         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4293         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4294         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4296         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4297         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4299
4300         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4301         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4302         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4303         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4304         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4305
4306         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4307         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4308         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4309         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4310         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4311         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4312         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4313         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4314         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4315         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4316
4317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4319
4320         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4321         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4322         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4323         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4324         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4325         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4326         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4327         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4328         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4329         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4330         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4331         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4332         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4333         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4335         Update #include.
4336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4337         Likewise.
4338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4339         Likewise.
4340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4341         Likewise.
4342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4343         Likewise.
4344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4345         Likewise.
4346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4347         Likewise.
4348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4349         Likewise.
4350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4351         Likewise.
4352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4353         Likewise.
4354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4359         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4361         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4364         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4366         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4368         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4369
4370         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4371         that was previously under [RESET_PID].
4372         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4373         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4374         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4375
4376         * sysdeps/i386/nptl/Implies: New file.
4377         * sysdeps/x86_64/nptl/Implies: New file.
4378         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4379         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4380         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4381         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4382
4383         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4385         (__libc_vfork): New strong alias.
4386         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4387         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4388
4389         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4390         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4391         (__libc_vfork): New strong alias.
4392         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4393         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4394
4395         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4396         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4397         (__libc_vfork): New strong alias.
4398         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4399         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4400         * nptl/pt-vfork.c: New file.
4401         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4402         (libpthread: GLIBC_2.20): New version set (empty).
4403
4404 2014-05-14  Will Newton  <will.newton@linaro.org>
4405
4406         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4407         rather than #if.
4408
4409 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4410
4411         [BZ #16564]
4412         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4413         arguments with exponent 65 or above.
4414         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4415         arguments 0x1p113L or above.
4416         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4417         to arguments 0x1p107L or above.
4418         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4419         positive arguments with exponent 65 or above.
4420         * math/auto-libm-test-in: Add more tests of log1p.
4421         * math/auto-libm-test-out: Regenerated.
4422
4423         [BZ #16928]
4424         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4425         non-finite arguments is +0.
4426         * math/s_cacosf.c (__cacosf): Likewise.
4427         * math/s_cacosl.c (__cacosl): Likewise.
4428         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4429         * sysdeps/i386/fpu/libm-test-ulps: Update.
4430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4431
4432         [BZ #16927]
4433         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4434         value.
4435         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4436         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4437         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4438         for explicit high bit of mantissa when testing for argument equal
4439         to 1.
4440         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4441         * sysdeps/i386/fpu/libm-test-ulps: Update.
4442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4443
4444         [BZ #16516]
4445         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4446         (__erf): Scale by 16 instead of 8 in potentially underflowing
4447         case.  Ensure exception if result actually underflows.
4448         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4449         (__erff): Scale by 16 instead of 8 in potentially underflowing
4450         case.  Ensure exception if result actually underflows.
4451         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4452         (efx8): Remove variable.
4453         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4454         case.  Ensure exception if result actually underflows.
4455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4456         (efx8): Remove variable.
4457         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4458         case.  Ensure exception if result actually underflows.
4459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4460         (efx8): Remove variable.
4461         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4462         case.  Ensure exception if result actually underflows.
4463         * math/auto-libm-test-in: Add more tests of erf.
4464         * math/auto-libm-test-out: Regenerated.
4465
4466 2014-05-14  Andreas Schwab  <schwab@suse.de>
4467
4468         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4469         Remove code conditionalized on USE___THREAD.
4470
4471         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4472         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4473         not definedness.
4474
4475 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4476
4477         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4478         Define unconditionally.
4479         (__ASSUME_O_CLOEXEC): Likewise.
4480         (__ASSUME_SOCK_CLOEXEC): Likewise.
4481         (__ASSUME_IN_NONBLOCK): Likewise.
4482         (__ASSUME_PIPE2): Likewise.
4483         (__ASSUME_EVENTFD2): Likewise.
4484         (__ASSUME_SIGNALFD4): Likewise.
4485         (__ASSUME_DUP3): Likewise.
4486         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4487         (__ASSUME_DUP3): Do not define.
4488         (__ASSUME_EVENTFD2): Likewise.
4489         (__ASSUME_IN_NONBLOCK): Likewise.
4490         (__ASSUME_O_CLOEXEC): Likewise.
4491         (__ASSUME_PIPE2): Likewise.
4492         (__ASSUME_SIGNALFD4): Likewise.
4493         (__ASSUME_SOCK_CLOEXEC): Likewise.
4494         (__ASSUME_UTIMES): Undefine.
4495         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4496         (__ASSUME_UTIMES): Do not define.
4497         (__ASSUME_O_CLOEXEC): Likewise.
4498         (__ASSUME_SOCK_CLOEXEC): Likewise.
4499         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4500         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4501         0x020621].
4502         (__ASSUME_PIPE2): Likewise.
4503         (__ASSUME_EVENTFD2): Likewise.
4504         (__ASSUME_SIGNALFD4): Likewise.
4505         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4506         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4507         Do not define.
4508         (__ASSUME_EVENTFD2): Likewise.
4509         (__ASSUME_SIGNALFD4): Likewise.
4510         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4511         (__ASSUME_32BITUIDS): Likewise.
4512         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4513         (__ASSUME_IPC64): Likewise.
4514         (__ASSUME_ST_INO_64_BIT): Likewise.
4515         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4516         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4517         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4518         (__ASSUME_UTIMES): Do not define.
4519         (__ASSUME_PSELECT): Likewise.
4520         (__ASSUME_PPOLL): Likewise.
4521         (__ASSUME_O_CLOEXEC): Likewise.
4522         (__ASSUME_SOCK_CLOEXEC): Likewise.
4523         (__ASSUME_IN_NONBLOCK): Likewise.
4524         (__ASSUME_PIPE2): Likewise.
4525         (__ASSUME_EVENTFD2): Likewise.
4526         (__ASSUME_SIGNALFD4): Likewise.
4527         (__ASSUME_DUP3): Likewise.
4528         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4529         (__ASSUME_UTIMES): Likewise.
4530         (__ASSUME_O_CLOEXEC): Likewise.
4531         (__ASSUME_SOCK_CLOEXEC): Likewise.
4532         (__ASSUME_IN_NONBLOCK): Likewise.
4533         (__ASSUME_PIPE2): Likewise.
4534         (__ASSUME_EVENTFD2): Likewise.
4535         (__ASSUME_SIGNALFD4): Likewise.
4536         (__ASSUME_DUP3): Likewise.
4537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4538         (__ASSUME_UTIMES): Likewise.
4539         (__ASSUME_O_CLOEXEC): Likewise.
4540         (__ASSUME_SOCK_CLOEXEC): Likewise.
4541         (__ASSUME_IN_NONBLOCK): Likewise.
4542         (__ASSUME_PIPE2): Likewise.
4543         (__ASSUME_EVENTFD2): Likewise.
4544         (__ASSUME_SIGNALFD4): Likewise.
4545         (__ASSUME_DUP3): Likewise.
4546         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4547         Likewise.
4548         (__ASSUME_UTIMES): Likewise.
4549         (__ASSUME_EVENTFD2): Likewise.
4550         (__ASSUME_SIGNALFD4): Likewise.
4551         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4552         (__ASSUME_O_CLOEXEC): Likewise.
4553         (__ASSUME_SOCK_CLOEXEC): Likewise.
4554         (__ASSUME_IN_NONBLOCK): Likewise.
4555         (__ASSUME_PIPE2): Likewise.
4556         (__ASSUME_EVENTFD2): Likewise.
4557         (__ASSUME_SIGNALFD4): Likewise.
4558         (__ASSUME_DUP3): Likewise.
4559         (__ASSUME_UTIMES): Undefine.
4560
4561         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4562         feclearexcept.  Remove symbol versioning code.
4563         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4564         symbol versioning code.
4565         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4566         symbol versioning code.
4567         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4568         feupdateenv.  Remove symbol versioning code.
4569         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4570         fegetexceptflag.  Remove symbol versioning code.
4571         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4572         fesetexceptflag.  Remove symbol versioning code.
4573         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4574         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4575         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4576         (__posix_fadvise64_l32): Remove prototype.
4577         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4578         code.
4579
4580 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4581
4582         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4583         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4584         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4585         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4586
4587 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4588
4589         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4590         current working directory
4591
4592 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4593
4594         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4595         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4596         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4597         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4598         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4599         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4600         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4601         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4602         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4603         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4604         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4605         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4606         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4607         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4608         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4609         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4610         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4611         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4612         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4613         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4614         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4615         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4616         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4617         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4618         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4619         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4620         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4621         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4622         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4623         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4624         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4625         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4626         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4627         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4628         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4629         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4630         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4631         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4632         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4633         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4634         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4635         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4636
4637         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4638         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4639
4640         * sysdeps/unix/sysv/linux/arm/Makefile
4641         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4642         Add rt-aeabi_unwind_cpp_pr1.
4643         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4644         Add nptl-aeabi_unwind_cpp_pr1.
4645         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4646         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4647         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4648         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4649         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4650         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4651
4652         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4653         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4654         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4655         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4656
4657         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4658         Deconditionalize the code that was previously under [RESET_PID].
4659         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4660
4661         * sysdeps/generic/exit-thread.h: New file.
4662         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4663         * include/unistd.h (__exit_thread): Remove declaration.
4664         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4665         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4666         * csu/libc-start.c: Include <exit-thread.h>.
4667         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4668         * nptl/pthread_create.c: Include <exit-thread.h>.
4669         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4670         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4671         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4672         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4673         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4674         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4675         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4676         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4677         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4678         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4679         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4680         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4681         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4682         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4683         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4684         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4685         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4686
4687 2014-05-13  Andreas Schwab  <schwab@suse.de>
4688
4689         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4690
4691 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4692
4693         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4694         (__ASSUME_UTIMES): Do not condition on kernel version.
4695         (__ASSUME_PSELECT): Define unconditionally.
4696         (__ASSUME_PPOLL): Likewise.
4697         (__ASSUME_ATFCTS): Likewise.
4698         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4699         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4700         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4701         (__ASSUME_UTIMENSAT): Define unconditionally.
4702         (__ASSUME_PRIVATE_FUTEX): Likewise.
4703         (__ASSUME_FALLOCATE): Likewise.
4704         (__ASSUME_O_CLOEXEC): Likewise.
4705         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4706         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4707         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4708         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4709         (__ASSUME_IN_NONBLOCK): Likewise.
4710         (__ASSUME_PIPE2): Likewise.
4711         (__ASSUME_EVENTFD2): Likewise.
4712         (__ASSUME_SIGNALFD4): Likewise.
4713         (__ASSUME_DUP3): Likewise.
4714         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4715         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4716         (__ASSUME_AT_RANDOM): Likewise.
4717         (__ASSUME_PREADV): Likewise.
4718         (__ASSUME_PWRITEV): Likewise.
4719         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4720         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4721         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4722         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4723         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4724         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4725         (__ASSUME_O_CLOEXEC): Define unconditionally.
4726         (__ASSUME_PSELECT): Do not undefine conditionally.
4727         (__ASSUME_PPOLL): Likewise.
4728         (__ASSUME_ATFCTS): Likewise.
4729         (__ASSUME_SET_ROBUST_LIST): Likewise.
4730         (__ASSUME_UTIMENSAT): Likewise.
4731         (__ASSUME_FDATASYNC): Define unconditionally.
4732         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4733         (__ASSUME_SIGFRAME_V2): Likewise.
4734         )__ASSUME_EVENTFD2): Likewise.
4735         (__ASSUME_SIGNALFD4): Likewise.
4736         (__ASSUME_PSELECT): Do not undefine conditionally.
4737         (__ASSUME_PPOLL): Likewise.
4738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4739         (__ASSUME_PSELECT): Define unconditionally.
4740         (__ASSUME_PPOLL): Likewise.
4741         (__ASSUME_O_CLOEXEC): Likewise.
4742         (__ASSUME_SOCK_CLOEXEC): Likewise.
4743         (__ASSUME_IN_NONBLOCK): Likewise.
4744         (__ASSUME_PIPE2): Likewise.
4745         (__ASSUME_EVENTFD2): Likewise.
4746         (__ASSUME_SIGNALFD4): Likewise.
4747         (__ASSUME_DUP3): Likewise.
4748         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4749         (__ASSUME_O_CLOEXEC): Likewise.
4750         (__ASSUME_SOCK_CLOEXEC): Likewise.
4751         (__ASSUME_IN_NONBLOCK): Likewise.
4752         (__ASSUME_PIPE2): Likewise.
4753         (__ASSUME_EVENTFD2): Likewise.
4754         (__ASSUME_SIGNALFD4): Likewise.
4755         (__ASSUME_DUP3): Likewise.
4756         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4757         (__ASSUME_EVENTFD2): Likewise.
4758         (__ASSUME_SIGNALFD4): Likewise.
4759         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4760
4761 2014-05-12  Andreas Schwab  <schwab@suse.de>
4762
4763         [BZ #16932]
4764         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4765         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4766         than maximum RPC packet size.
4767         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4768         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4769         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4770         (_nss_nis_getservbyport_r): Likewise.
4771
4772 2014-05-12  Will Newton  <will.newton@linaro.org>
4773
4774         * malloc/Makefile (tests): Add tst-mallopt.
4775         * malloc/tst-mallopt.c: New file.
4776
4777 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4778
4779         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4780         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4781
4782 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4783
4784         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4785         (tst-tlsmod6.so): Likewise.
4786
4787 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4788
4789         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4790
4791 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4792
4793         [BZ #16064]
4794         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4795         and <dl-procinfo.h>.
4796         (__fegetenv): Save SSE state in envp->__eip if supported.
4797         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4798         envp->__eip if supported.
4799         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4800         and <dl-procinfo.h>.
4801         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4802         __data_offset and __data_selector in environment to 0.  Set SSE
4803         state if supported.
4804         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4805         test-fenv-sse.
4806         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4807         -mfpmath=sse.
4808         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4809
4810 2014-05-09  Will Newton  <will.newton@linaro.org>
4811
4812         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4813         and libc_relro_required for ARM.
4814         * sysdeps/arm/preconfigure: Regenerate.
4815
4816 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4817             Stefan Liebler  <stli@linux.vnet.ibm.com>
4818
4819         * config.make.in (enable-lock-elision): New Makefile variable.
4820         * configure.ac: Likewise.
4821         * configure: Regenerate.
4822         * sysdeps/s390/configure.ac:
4823         Add check for gcc transactions support.
4824         * sysdeps/s390/configure: Regenerate.
4825         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4826         Build elision files if enabled.
4827         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4828         Add lock elision support for s390.
4829         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4830         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4831         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4832         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4833         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4834         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4836         Likewise.
4837         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4838         Likewise.
4839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4840         Likewise.
4841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4842         Likewise.
4843         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4844         (__lll_timedlock_elision, __lll_lock_elision)
4845         (__lll_unlock_elision, __lll_trylock_elision)
4846         (lll_timedlock_elision, lll_lock_elision)
4847         (lll_unlock_elision, lll_trylock_elision): Add.
4848         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4849         (pthread_mutex_t): Add lock elision support for s390.
4850
4851 2014-05-14  Wilco  <wdijkstr@arm.com>
4852
4853         * sysdeps/arm/fclrexcpt.c: Cleanup.
4854         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4855         * sysdeps/arm/feenablxcpt.c: Cleanup.
4856         * sysdeps/arm/fegetenv.c: Cleanup.
4857         * sysdeps/arm/fegetexcept.c: Cleanup.
4858         * sysdeps/arm/fegetround.c: Cleanup.
4859         * sysdeps/arm/feholdexcpt.c: Cleanup.
4860         * sysdeps/arm/fesetenv.c: Cleanup.
4861         * sysdeps/arm/fesetround.c: Cleanup.
4862         * sysdeps/arm/feupdateenv.c: Cleanup.
4863         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4864         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4865         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4866         * sysdeps/arm/ftestexcept.c: Cleanup.
4867         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4868         * sysdeps/arm/setfpucw.c: Cleanup.
4869
4870 2014-05-09  Will Newton  <will.newton@linaro.org>
4871
4872         * sysdeps/arm/armv7/strcmp.S: New file.
4873         * NEWS: Mention addition of ARMv7 optimized strcmp.
4874
4875 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4876
4877         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4878         look for %.ac rather than %.in.
4879
4880         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4881         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4882         * sysdeps/mach/hurd/configure: Regenerated.
4883         * sysdeps/unix/sysv/linux/configure: Regenerated.
4884
4885         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4886
4887 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4888
4889         [BZ# 16922]
4890         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4891         (LONG_SUB): Ditto.
4892         (PTR_SUB): Ditto.
4893
4894 2014-05-07  Andreas Schwab  <schwab@suse.de>
4895
4896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4897         when skipping over non-matching result from nscd.
4898
4899 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4900
4901         [BZ #16876]
4902         * nptl/sockperf.c (client): Check socket return value.
4903
4904         [BZ #16877]
4905         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4906         nscd security class.
4907
4908 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4909
4910         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4911         * sysdeps/arm/unwind.h: ... here.
4912
4913 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4914
4915         [BZ# 16916]
4916         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4917         Define.
4918
4919 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4920
4921         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4922         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4923         multiarch strncpy for PPC64.
4924         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4925         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4927         multiarch optimizations.
4928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4929         (__libc_ifunc_impl_list): Likewise.
4930         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4931         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4932         multiarch stpncpy for PPC64.
4933         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4935
4936 2014-05-06  Andreas Schwab  <schwab@suse.de>
4937
4938         [BZ #16912]
4939         * gmon/mcount.c (_MCOUNT_DECL): Use
4940         atomic_compare_and_exchange_bool_acq instead of
4941         catomic_compare_and_exchange_bool_acq.
4942
4943 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4944
4945         * elf/Makefile (others, install-bin): Remove pldd.
4946         (pldd-modules): Variable removed.
4947         ($(objpfx)pldd): Target removed.
4948         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4949         (others, install-bin): Append pldd here.
4950         ($(objpfx)pldd): New target.
4951
4952         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4953         to 0, so the first #if test emitted later doesn't see it undefined.
4954         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4955         * sysdeps/gnu/errlist.c: Regenerated.
4956
4957 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4958
4959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4960         [libc_hidden_builtin_def]: Define to empty value.
4961         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4962         [libc_hidden_builtin_def]: Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4964         [libc_hidden_builtin_def]: Likewise.
4965         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4966         [libc_hidden_builtin_def]: Likewise.
4967         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4968         __redirect_memcpy and define ifunc as default hidden symbol.
4969         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4970         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4971
4972 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4973
4974         * locale/iso-4217.def: Reintroduce XDR currency.
4975
4976 2014-05-04  Allan McRae  <allan@archlinux.org>
4977
4978         * po/eo.po: Update Esperanto translation from translation project.
4979
4980 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4981
4982         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4983         and FEATURE_INDEX_MAX to 1.
4984         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4985
4986 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4987
4988         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4989         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4990         * iconvdata/big5.c (ONE_DIRECTION): Define.
4991         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4992         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4993         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4994         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4995         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4996         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4997         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4998         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4999         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5000         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5001         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5002         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5003         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5004         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5005         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5006         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5007         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5008         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5009         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5010         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5011         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5012         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5013         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5014         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5015         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5016         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5017         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5018         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5019         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5020         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5021         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5022         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5023         * iconvdata/johab.c (ONE_DIRECTION): Define.
5024         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5025         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5026         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5027         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5028         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5029         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5030         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5031         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5032         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5033         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5034
5035 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5036
5037         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5038         (_IO_JUMPS_OFFSET): Define to 0.
5039
5040         * nptl/sysdeps/pthread/bits/libc-lock.h
5041         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5042         (__libc_lock_define_initialized_recursive): Always define using
5043         initializer.  Modern compilers treat uninitialized (implicit zero) and
5044         explicit zero initializers the same (i.e. put the datum in bss).
5045
5046 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5047
5048         * nscd/nscd-client.h: Include <string.h>.
5049
5050 2014-05-01  David S. Miller  <davem@davemloft.net>
5051
5052         [BZ #16885]
5053         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5054         multiple zero bytes exist at the end of a string.
5055         Reported by Aurelien Jarno <aurelien@aurel32.net>
5056
5057         * string/test-strcmp.c (check): Add explicit test for situations where
5058         there are multiple zero bytes after the first.
5059
5060 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5061
5062         [BZ #16890]
5063         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5064         when compiling wprintf.
5065         * stdio-common/tstdiomisc.c (t3): New function.
5066         (main): Call it.
5067
5068 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5069
5070         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5071         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5072         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5073         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5074
5075 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5076
5077         * stdlib/longlong.h: Updated from GCC.
5078
5079 2014-05-01  Will Newton  <will.newton@linaro.org>
5080             Bernard Ogden  <bernie.ogden@linaro.org>
5081
5082         * NEWS: Update fixed bug list.
5083
5084         [BZ #15119]
5085         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5086
5087 2014-04-30  David S. Miller  <davem@davemloft.net>
5088
5089         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5090         (libc_feholdexcept_setround_sparc_ctx): New function.
5091         (libc_fesetenv_sparc_ctx): Likewise.
5092         (libc_feupdateenv_sparc_ctx): Likewise.
5093         (libc_feholdsetround_sparc_ctx): Likewise.
5094         (libc_feholdexcept_setround_ctx): Define.
5095         (libc_feholdexcept_setroundf_ctx): Likewise.
5096         (libc_feholdexcept_setroundl_ctx): Likewise.
5097         (libc_fesetenv_ctx): Likewise.
5098         (libc_fesetenvf_ctx): Likewise.
5099         (libc_fesetenvl_ctx): Likewise.
5100         (libc_feupdateenv_ctx): Likewise.
5101         (libc_feupdateenvf_ctx): Likewise.
5102         (libc_feupdateenvl_ctx): Likewise.
5103         (libc_feresetround_ctx): Likewise.
5104         (libc_feresetroundf_ctx): Likewise.
5105         (libc_feresetroundl_ctx): Likewise.
5106         (libc_feholdsetround_ctx): Likewise.
5107         (libc_feholdsetroundf_ctx): Likewise.
5108         (libc_feholdsetroundl_ctx): Likewise.
5109
5110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5111         with __USE_GNU instead of XOPEN cpp guards.
5112
5113         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5114         0.
5115
5116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5117         with XOPEN cpp guards.
5118
5119 2014-04-30  Julian Brown  <julian@codesourcery.com>
5120
5121         [BZ #16888]
5122         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5123         handling.
5124
5125 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5126
5127         [BZ #9894]
5128         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5129         Change to 2.6.32.
5130         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5131         * sysdeps/unix/sysv/linux/configure: Regenerated.
5132         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5133         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5134         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5135         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5136         * README: Update reference to required Linux kernel version.
5137         * manual/install.texi (Linux): Update reference to required Linux
5138         kernel headers version.
5139         * INSTALL: Regenerated.
5140
5141         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5142         header inclusion.
5143         [POSIX] (limits.h): Likewise.
5144         [POSIX] (math.h): Likewise.
5145         [POSIX] (sys/wait.h): Likewise.
5146         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5147         function.
5148         [POSIX] (stddef.h): Do not allow header inclusion.
5149
5150 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5151
5152         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5153
5154 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5155
5156         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5157         Return immediately after lll_futex_wake.
5158
5159 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5160
5161         [BZ #16791]
5162         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5163         structure.
5164         (datahead_init_pos): Call datahead_init_common early.
5165         (datahead_init_neg): Likewise.
5166
5167         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5168         datahead_init_neg): New functions.
5169         * nscd/aicache.c (addhstaiX): Use them.
5170         * nscd/grpcache.c (cache_addgr): Likewise.
5171         * nscd/hstcache.c (cache_addhst): Likewise.
5172         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5173         * nscd/netgroupcache.c (do_notfound): Likewise.
5174         (addgetnetgrentX): Likewise.
5175         (addinnetgrX): Likewise.
5176         * nscd/pwdcache.c (cache_addpw): Likewise.
5177         * nscd/servicescache.c (cache_addserv): Likewise.
5178
5179 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5180             Atsushi Onoe  <atsushi@onoe.org>
5181
5182         [BZ #14308]
5183         [BZ #12994]
5184         [BZ #13651]
5185         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5186         one response is valid.
5187         * resolv/res_send.c (send_dg): Check for validity of other
5188         response if the current response is a referral.
5189
5190 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5191
5192         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5193
5194 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5195
5196         [BZ #16823]
5197         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5198         Always divide by positive zero when computing -Inf result.
5199         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5200         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5201
5202 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5203
5204         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5205         FPSCR if value do not change.
5206         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5207         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5208         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5209         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5210         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5211         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5212         function.
5213
5214 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5215
5216         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5217         * sysdeps/unix/sysv/linux/hppa: Move directory from
5218         ports/systeps/unix/sysv/linux/hppa.
5219         * README: Update listing for hppa-*-linux-gnu.
5220
5221 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5222
5223         [BZ #16754]
5224         * manual/stdio.texi (Hook functions): Fix types of stream hook
5225         functions.
5226         [BZ #16854]
5227         * socket/sys/socket.h: Fix typo in comment.
5228
5229 2014-04-28  Wilco  <wdijkstr@arm.com>
5230
5231         * sysdeps/arm/fenv_private.h: New file.
5232         * sysdeps/arm/math_private.h: New file.
5233         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5234
5235 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5236
5237         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5238         with __int128_t.
5239         (La_x86_64_retval): Likewise.
5240
5241 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5242
5243         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5244         fpsr if value didn't change.
5245         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5246         to fpcr if value didn't change.
5247         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5248         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5249         fpsr or fpcr if value didn't change.
5250         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5251         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5252         fpcr if value didn't change.
5253         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5254         to fpsr if value didn't change.
5255
5256 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5257
5258         * nptl/tst-sem3.c: Use test-skeleton.c
5259         (main): Rename to do_test.  Use return instead of
5260         exit.
5261         * nptl/tst-sem4.c: Use test-skeleton.c
5262         (main): Rename to do_test.
5263
5264 2014-04-22  David S. Miller  <davem@davemloft.net>
5265
5266         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5267         (struct sigaction): New struct member __glibc_reserved0, change
5268         type of sa_flags to int.
5269
5270 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5271
5272         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5273         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5274
5275 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5276
5277         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5278         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5279
5280 2014-04-22  Will Newton  <will.newton@linaro.org>
5281             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5282
5283         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5284         (__longjmp): Add longjmp and longjmp_target SystemTap
5285         probes.
5286         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5287         (__sigsetjmp): Add setjmp SystemTap probe.
5288
5289 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5290
5291         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5292         match manual order.
5293
5294 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5295
5296         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5297
5298         * sysdeps/powerpc/fpu/fenv_private.h
5299         (libc_feholdexcept_setroundl_ctx): Define to
5300         libc_feholdexcept_setround_ppc_ctx.
5301         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5302         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5303         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5304         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5305
5306 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5307
5308         * sysdeps/aarch64/math-tests.h: New file.
5309
5310 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5311
5312         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5313         New.
5314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5315         Check and set bit_AVX2_Usable.
5316         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5317         macro.
5318         (bit_AVX2): Likewise.
5319         (index_AVX2_Usable): Likewise.
5320         (CPUID_AVX2): Likewise.
5321         (HAS_AVX2): Likewise.
5322
5323 2014-04-17  Will Newton  <will.newton@linaro.org>
5324
5325         * manual/setjmp.texi (System V contexts): Add note that
5326         calling setcontext on a context created by a call to a
5327         signal handler is undefined.  Update text to note that
5328         setcontext from a signal handler is possible but not
5329         recommended.
5330
5331         [BZ #16629]
5332         * stdlib/tst-setcontext.c: Include signal.h.
5333         (main): Check that the signal stack before and
5334         after swapcontext is the same.
5335
5336         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5337         Re-implement to restore registers in user code and avoid
5338         rt_sigreturn system call.
5339
5340 2014-04-17  Wilco  <wdijkstr@arm.com>
5341
5342         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5343         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5344         * math/test-fenv.c: Skip exception trap tests on targets which only
5345         support non-stop mode.
5346
5347 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5348             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5349
5350         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5351         (libc_feholdsetround_aarch64_ctx)
5352         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5353         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5354         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5355         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5356         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5357         (libc_feresetround_noexl_ctx): Define.
5358
5359 2014-04-16  Richard Henderson  <rth@redhat.com>
5360
5361         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5362
5363         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5364         unwind tables.
5365
5366         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5367         const from the non-libc, non-ldso copy.
5368
5369         * sysdeps/alpha/libm-test-ulps: Regenerate.
5370
5371 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5372             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5373
5374         * sysdeps/aarch64/fpu/math_private.h: New file.
5375
5376 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5377
5378         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5379
5380 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5381
5382         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5383         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5385         Intel MPX bound registers before _dl_profile_fixup.
5386         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5387         registers after _dl_profile_fixup.  Save and restore bound
5388         registers bnd0/bnd1 when calling _dl_call_pltexit.
5389         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5390         (LR_BND_OFFSET): Likewise.
5391         (LRV_BND0_OFFSET): Likewise.
5392         (LRV_BND1_OFFSET): Likewise.
5393
5394 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5395
5396         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5397         to...
5398         * sysdeps/mach/hurd/i386/tls.h: ... here.
5399         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5400         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5401         fields.
5402
5403 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5404
5405         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5406
5407 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5408
5409         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5410
5411 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5412
5413         [BZ #14770]
5414         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5415         * sysdeps/s390/configure: Regenerate.
5416
5417         [BZ #16824]
5418         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5419         Set round-to-nearest internally to reduce error accumulation.
5420
5421 2014-04-16  Alan Modra  <amodra@gmail.com>
5422
5423         [BZ #16740]
5424         [BZ #16619]
5425         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5426         * math/libm-test.inc (frexp_test_data): Add tests.
5427         * NEWS: Update fixed bug list.
5428
5429 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5430
5431         * benchtests/Makefile: Depend on libraries in build directory.
5432         (bench-math): Separate out math tests.
5433         (bench-pthread): Separate out pthread tests.
5434         (bench): Include math and pthread tests.
5435
5436 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5437
5438         [BZ #16831]
5439         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5440         _dl_debug_initialize.
5441
5442         * configure.ac: Remove SELinux header check.
5443         * configure: Regenerate.
5444         * nscd/selinux.c (perms): Array of const char* to permission names.
5445         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5446         default policy. Call string_to_security_class and string_to_av_perm to
5447         translate strings. Enforce default policy and call avs_has_perm with
5448         results of translated strings.
5449
5450 2014-04-13  David S. Miller  <davem@davemloft.net>
5451
5452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5453
5454 2014-04-12  Allan McRae  <allan@archlinux.org>
5455
5456         [BZ #16838]
5457         * manual/string.texi (Collation Functions): Fix qsort argument
5458         order in example.
5459         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5460
5461 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5462
5463         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5464         Make the test a no-op if there are no exceptions defined.
5465
5466 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5467
5468         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5469         enable-hardcoded-path-in-tests
5470
5471 2014-04-11  Will Newton  <will.newton@linaro.org>
5472
5473         * benchtests/Makefile (extra-objs): Add json-lib.o.
5474         (bench-func): Tidy up JSON output.
5475         * benchtests/bench-skeleton.c: Include json-lib.h.
5476         (main): Use JSON library functions to do output of
5477         benchmark results.
5478         * benchtests/bench-timing-type.c (main): Output the
5479         timing type simply, leaving formatting to the user.
5480         * benchtests/json-lib.c: New file.
5481         * benchtests/json-lib.h: Likewise.
5482
5483 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5484
5485         [BZ #15215]
5486         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5487         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5488         memory barriers.  Add comments.
5489         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5490         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5491         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5492         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5493         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5494         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5495
5496 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5497
5498         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5499         * sysdeps/s390/s390-64/configure.ac: ... this ...
5500         * sysdeps/s390/configure.ac: ... to here.
5501         * sysdeps/s390/s390-32/configure: Delete file.
5502         * sysdeps/s390/s390-64/configure: Delete file.
5503         * sysdeps/s390/configure: Regenerate.
5504
5505 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5506
5507         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5508
5509 2014-04-11  Will Newton  <will.newton@linaro.org>
5510
5511         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5512         to zero if it is not defined elsewhere.  (mtrim): Test
5513         the value of MALLOC_DEBUG with #if rather than #ifdef.
5514
5515 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5516
5517         * benchtests/pthread_once-inputs: New file.
5518         * benchtests/pthread_once-source.c: New file.
5519         * benchtests/README: Update documentation.
5520
5521 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5522             H.J. Lu  <hongjiu.lu@intel.com>
5523
5524         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5525         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5526         * sysdeps/x86_64/configure: Regenerated.
5527         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5528         macro.
5529         (REGISTER_SAVE_RAX): Likewise.
5530         (REGISTER_SAVE_RCX): Likewise.
5531         (REGISTER_SAVE_RDX): Likewise.
5532         (REGISTER_SAVE_RSI): Likewise.
5533         (REGISTER_SAVE_RDI): Likewise.
5534         (REGISTER_SAVE_R8): Likewise.
5535         (REGISTER_SAVE_R9): Likewise.
5536         (REGISTER_SAVE_BND0): Likewise.
5537         (REGISTER_SAVE_BND1): Likewise.
5538         (REGISTER_SAVE_BND2): Likewise.
5539         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5540         bound registers when calling _dl_fixup.
5541
5542 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5543
5544         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5545         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5546         of its definition.
5547         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5548         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5549         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5550         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5551         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5552         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5553         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5554
5555 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5556
5557         [BZ #15514]
5558         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5559         pathconf(_PC_NAME_MAX).
5560
5561 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5562
5563         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5564         Remove macro usage.
5565         (__PTHREAD_SPINS): Move definition to ...
5566         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5567         (__PTHREAD_SPINS): ... here.
5568         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5569         (__PTHREAD_SPIN): Likewise.
5570         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5571         (__PTHREAD_SPIN): Likewise.
5572         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5573         (__PTHREAD_SPIN): Likewise.
5574         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5575         (__PTHREAD_SPIN): Likewise.
5576         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5577         (__PTHREAD_SPIN): Likewise.
5578         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5579         (__PTHREAD_SPIN): Likewise.
5580         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5581         (__PTHREAD_SPIN): Likewise.
5582         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5583         (__PTHREAD_SPIN): Likewise.
5584         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5585         (__PTHREAD_SPIN): Likewise.
5586         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5587         (__PTHREAD_SPIN): Likewise.
5588         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5589         (__PTHREAD_SPIN): Likewise.
5590         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5591         (__PTHREAD_SPIN): Likewise.
5592
5593         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5594         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5595         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5596         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5597         imply folder.
5598         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5599         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5600         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5601         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5602         correct imply path.
5603         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5604         strlen symbol for non multi-arch builds.
5605         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5606         missing hidden_def and weak_alias.
5607
5608 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5609
5610         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5611
5612 2014-04-07  Will Newton  <will.newton@linaro.org>
5613
5614         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5615         and contents.  [!_LIBC] Remove #ifndef and contents.
5616         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5617         * string/memccpy.c (__memccpy): Use ANSI prototype.
5618         * string/memfrob.c (memfrob): Likewise.
5619         * string/strcoll.c (STRCOLL): Likewise.
5620         * string/strlen.c (strlen): Likewise.
5621         * string/strtok.c (STRTOK): Likewise.
5622         * string/strcat.c: Remove unused #include of memcopy.h.
5623         (strcat): Use ANSI prototype.
5624         * string/strchr.c: Remove unused #include of memcopy.h.
5625         (strchr): Use ANSI prototype.
5626         * string/strcmp.c: Remove unused #include of memcopy.h.
5627         (strcmp): Use ANSI prototype.
5628         * string/strcpy.c: Remove unused #include of memcopy.h.
5629         (strcpy): Use ANSI prototype.
5630
5631 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5632
5633         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5634         * config.make.in (config-extra-cppflags): Set it from
5635         libc_extra_cppflags.
5636         * configure.ac (libc_extra_cflags): Make it accumulate over
5637         configure fragments.
5638         (libc_extra_cppflags): New flag.
5639         * configure. Regenerate.
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5641         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5642         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5644
5645         [BZ #16815]
5646         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5647         result for FE_DOWNWARD rounding mode.
5648         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5649         Likewise.
5650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5651
5652 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5653
5654         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5655         in function argument name.
5656
5657 2014-04-03  David Svoboda  <svoboda@cert.org>
5658
5659         [BZ #5666]
5660         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5661         explicitly.
5662
5663 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5664
5665         * elf/dl-unmap-segments.h: New file.
5666         * sysdeps/generic/ldsodefs.h
5667         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5668         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5669         * elf/dl-fptr.c: Likewise.
5670         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5671         * sysdeps/aarch64/tlsdesc.c: Likewise.
5672         * sysdeps/arm/tlsdesc.c: Likewise.
5673         * sysdeps/i386/tlsdesc.c: Likewise.
5674         * sysdeps/tile/dl-runtime.c: Likewise.
5675         * sysdeps/x86_64/tlsdesc.c: Likewise.
5676         * elf/dl-load.h: New file.
5677         * elf/dl-load.c: Include it.
5678         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5679         Macros moved to dl-load.h.
5680         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5681         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5682         Use _dl_unmap_segments in place of __munmap.
5683         Break out segment-mapping loop into ...
5684         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5685
5686 2014-04-03  Will Newton  <will.newton@linaro.org>
5687
5688         * elf/dl-lookup.c (do_lookup_x): Remove comment
5689         referring to nested function and move variable
5690         declarations down to before first use.
5691
5692 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5693
5694         [BZ #16799]
5695         [BZ #16800]
5696         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5697         with 0 numerator.
5698         * math/s_catanf.c (__catanf): Likewise.
5699         * math/s_catanh.c (__catanh): Likewise.
5700         * math/s_catanhf.c (__catanhf): Likewise.
5701         * math/s_catanhl.c (__catanhl): Likewise.
5702         * math/s_catanl.c (__catanl): Likewise.
5703         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5704         by positive zero when computing -Inf result.
5705         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5706         (catanh_test): Likewise.
5707         * sysdeps/i386/fpu/libm-test-ulps: Update.
5708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709
5710         [BZ #16789]
5711         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5712         instead of using underflowing value in computing result.
5713         * math/s_clog10.c (__clog10): Likewise.
5714         * math/s_clog10f.c (__clog10f): Likewise.
5715         * math/s_clog10l.c (__clog10l): Likewise.
5716         * math/s_clogf.c (__clogf): Likewise.
5717         * math/s_clogl.c (__clogl): Likewise.
5718         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5719         (clog10_test): Likewise.
5720         * sysdeps/i386/fpu/libm-test-ulps: Update.
5721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722
5723 2014-04-02  Alan Modra  <amodra@gmail.com>
5724
5725         [BZ #16739]
5726         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5727         output when value is near a power of two.  Use int64_t for lx and
5728         remove casts.  Use decimal rather than hex exponent constants.
5729         Don't use long double multiplication when double will suffice.
5730         * math/libm-test.inc (nextafter_test_data): Add tests.
5731         * NEWS: Add 16739 and 16786 to bug list.
5732
5733         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5734
5735         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5736
5737 2014-04-01  Will Newton  <will.newton@linaro.org>
5738
5739         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5740         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5741
5742 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5743
5744         [BZ #13347]
5745         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5746         * nptl/tst-setuid2.c: New file.
5747         * nptl/Makefile (xtests): Add tst-setuid2.
5748
5749 2014-04-01  Alan Modra  <amodra@gmail.com>
5750
5751         [BZ #16786]
5752         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5753
5754 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5755
5756         [BZ #6803]
5757         [BZ #6804]
5758         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5759         set errno as appropriate.
5760         * math/w_scalbf.c (__scalbf): Likewise.
5761         * math/w_scalbl.c (__scalbl): Likewise.
5762         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5763         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5764         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5765         Add more NaN tests.
5766
5767         [BZ #16349]
5768         * math/w_atan2.c: Include <errno.h>.
5769         (__atan2): Set errno for result underflowing to zero.
5770         * math/w_atan2f.c: Include <errno.h>.
5771         (__atan2f): Set errno for result underflowing to zero.
5772         * math/w_atan2l.c: Include <errno.h>.
5773         (__atan2l): Set errno for result underflowing to zero.
5774         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5775         tests.
5776         * math/auto-libm-test-out: Regenerated.
5777
5778 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5779
5780         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5781         Encode instruction correctly in little endian.
5782         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5783         Likewise.
5784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5785         Likewise.
5786         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5787         Likewise.
5788         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5789         Likewise.
5790
5791 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5792
5793         [BZ #9894]
5794         * sysdeps/unix/sysv/linux/kernel-features.h
5795         [__sparc__ && !__arch64__ && !__sparc_v9__]
5796         (__ASSUME_SET_ROBUST_LIST): Do not define.
5797         [__sparc__ && !__arch64__ && !__sparc_v9__]
5798         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5799         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5800         Likewise.
5801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5802         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5803         (__ASSUME_REQUEUE_PI): Likewise.
5804         (__ASSUME_SET_ROBUST_LIST): Likewise.
5805         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5806         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5807         Undefine.
5808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5809         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5810         Likewise.
5811         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5812         Likewise.
5813         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5814         Likewise.
5815         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5816         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5817         Undefine.
5818         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5819         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5820         Likewise.
5821
5822         [BZ #16648]
5823         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5824         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5825         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5826
5827 2014-03-31  Will Newton  <will.newton@linaro.org>
5828
5829         * benchtests/Makefile (bench): Add ffs and ffsll to list
5830         of tests.
5831         * benchtests/ffs-inputs: New file.
5832         * benchtests/ffsll-inputs: Likewise.
5833
5834 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5835
5836         [BZ #16770]
5837         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5838         too large before casting to int.
5839         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5840         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5841         * math/libm-test.inc (scalb_test_data): Add more tests.
5842
5843 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5844
5845         * benchtests/Makefile (DETAILED_OPT): New make option.
5846         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5847         set.
5848         * benchtests/bench-skeleton.c: Include stdbool.h.
5849         (main): Store and print timings per input.
5850         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5851         member to each argument value.
5852         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5853         (_print_arg_data): Initialize per-input timing to 0.
5854
5855         * benchtests/Makefile (timing-type): New binary.
5856         (bench-clean): Also remove bench-timing-type.
5857         (bench): New target for timing-type.
5858         (bench-func): Print output in JSON format.
5859         * benchtests/bench-skeleton.c (main): Print output in JSON
5860         format.
5861         * benchtests/bench-timing-type.c: New file.
5862         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5863         (TIMING_PRINT_STATS): Remove.
5864         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5865         name separately.
5866
5867         * benchtests/bench-modf.c: Remove.
5868         * benchtests/modf-inputs: New inputs file.
5869
5870 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5871
5872         [BZ #16362]
5873         * math/s_clog10.c (M_PI_LOG10E): New macro.
5874         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5875         imaginary parts are 0.
5876         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5877         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5878         imaginary parts are 0.
5879         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5880         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5881         imaginary parts are 0.
5882         * math/libm-test.inc (clog10_test_data): Update expected results
5883         for when real and imaginary parts are 0.
5884
5885 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5886
5887         * elf/dl-load.c: Finish conversion of __builtin_expect into
5888         __glibc_{un}likely.
5889
5890 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5891
5892         [BZ #16348]
5893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5894         1+x for argument with exponent below -67.
5895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5896         Likewise.
5897         * math/auto-libm-test-in: Add more tests of exp.
5898         * math/auto-libm-test-out: Regenerated.
5899
5900 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5901
5902         [BZ #16759]
5903         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5904         (nscd_getnetgrent): Use it.
5905
5906         [BZ #16760]
5907         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5908         of stpcpy.
5909
5910 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5911
5912         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5913         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5914         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5915         (lll_robust_unlock): Remove out of line section. Use cfi
5916         intrinsics.
5917         (LLL_STUB_UNWIND_INFO*): Remove.
5918         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5919         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5920         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5921         (lll_robust_unlock): Remove out of line section. Use cfi
5922         intrinsics.
5923         (LLL_STUB_UNWIND_INFO*): Remove.
5924
5925 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5926
5927         [BZ #16758]
5928         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5929         blank values.
5930
5931 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5932
5933         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5934
5935 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5936
5937         [BZ #16198]
5938         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5939         fnstenv.
5940         * math/test-fenv-preserve.c: New file.
5941         * math/Makefile (tests): Add test-fenv-preserve.
5942
5943 2014-03-26  Will Newton <will.newton@linaro.org>
5944
5945         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5946
5947 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5948
5949         * scripts/versionlist.awk: Partition the version sets and emit all
5950         GLIBC_* (sorted) before all others (sorted).
5951
5952 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5953
5954         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5955         GLIBC_2.2.5 version.
5956
5957 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5958
5959         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5960         calls.
5961
5962         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5963         previous change.
5964
5965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5966
5967 2014-03-25  Andreas Schwab  <schwab@suse.de>
5968
5969         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5970         label to be used after in6ailist is initialized.
5971
5972 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5973
5974         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5975         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5976
5977 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5978
5979         [BZ #16357]
5980         [BZ #16599]
5981         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5982         min_plus_half.
5983         (fp_formats): Update initializers.
5984         (init_fp_formats): Initialize new field.
5985         (output_for_one_input_case): Allow underflow for results up to
5986         min_plus_half.
5987         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5988         * math/auto-libm-test-in: Don't mark some underflows from asin and
5989         atanh as spurious.
5990         * math/auto-libm-test-out: Regenerated.
5991         * sysdeps/i386/fpu/libm-test-ulps: Update.
5992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
5994 2014-03-25  Andreas Schwab  <schwab@suse.de>
5995
5996         * libio/Makefile (tst-ftell-partial-wide-ENV)
5997         (tst-ftell-active-handler-ENV): Define.
5998
5999 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6000
6001         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6002
6003 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6004
6005         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6006
6007 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6008
6009         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6010         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6011         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6012
6013 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6014
6015         [BZ #16634]
6016         * elf/dl-load.c (open_verify): Add mode parameter.
6017         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6018         (open_path): Change from boolean 'secure' to complete flag 'mode'
6019         (_dl_map_object): Adjust.
6020         * elf/Makefile (tests): Add tst-dlopen-aout.
6021         * elf/tst-dlopen-aout.c: New test.
6022
6023 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6024
6025         [BZ #16714]
6026         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6027         (struct stat): Rename member pad0 to __glibc_reserved0.
6028
6029         [BZ #16712]
6030         * sysdeps/s390/s390-32/bits/wordsize.h
6031         (__WORDSIZE32_SIZE_ULONG): New define.
6032         * sysdeps/s390/s390-64/bits/wordsize.h
6033         (__WORDSIZE32_SIZE_ULONG): Likewise.
6034         * sysdeps/generic/stdint.h (SIZE_MAX):
6035         Define as UL if __WORDSIZE32_SIZE_ULONG.
6036
6037         [BZ #16713]
6038         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6039         (__glibc_reserved0): New variable.
6040         (sa_flags): Change type to int.
6041
6042         * posix/Makefile (before-compile): Use += before-compile instead
6043         of a :=.
6044
6045         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6046         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6047
6048 2014-03-20  Andreas Schwab  <schwab@suse.de>
6049
6050         [BZ #16743]
6051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6052         non-matching result from nscd.
6053
6054 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6055
6056         * scripts/bench.py: Moved to ...
6057         * benchtests/scripts/bench.py: ... here.
6058         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6059
6060 2014-03-24  Andreas Schwab  <schwab@suse.de>
6061
6062         [BZ #16002]
6063         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6064         alloca_account and account alloca use for struct in6ailist.
6065
6066 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6067
6068         [BZ #16284]
6069         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6070         rounding mode to recompute results that overflow to infinity or
6071         underflow to zero.
6072         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6073         bug 16284.
6074         * math/auto-libm-test-out: Regenerated.
6075         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6076         (ccosh_test): Likewise.
6077         (csin_test_data): Use plus_oflow.
6078         (csin_test): Use ALL_RM_TEST.
6079         (csinh_test_data): Use plus_oflow.
6080         (csinh_test): Use ALL_RM_TEST.
6081         * sysdeps/i386/fpu/libm-test-ulps: Update.
6082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6083
6084 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6085
6086         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6087         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6088         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6089
6090         [BZ #16731]
6091         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6092         when x - 1 is zero.
6093         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6094         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6095         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6096         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6097         argument is 1.
6098         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6099         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6100         zero.
6101         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6102         * sysdeps/i386/fpu/libm-test-ulps: Update.
6103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6104
6105 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6106
6107         * scripts/bench.pl: Remove file.
6108         * scripts/bench.py: New benchmark script.
6109         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6110         * benchtests/README: Mention python dependency.
6111         * scripts/pylintrc: New file.
6112         * scripts/pylint: New file.
6113
6114         * bits/mathdef.h: Use #ifdef instead of #if.
6115         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6116         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6117         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6118         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6119         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6120         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6121
6122 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6123             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6124
6125         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6127         and strpbrk-ppc64 objects.
6128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6129         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6130         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6131         multiarch strpbrk for POWER7.
6132         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6133         multiarch strpbrk for PPC64.
6134         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6135         ifunc selector.
6136         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6137         strpbrk for POWER7.
6138
6139 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6140
6141         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6142         (atan_test): Likewise.
6143         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6144         (atanh_test): Use ALL_RM_TEST.
6145         (atan2_test_data): Likewise.
6146         (cabs_test): Likewise.
6147         (cacosh_test): Likewise.
6148         (carg_test): Likewise.
6149         (casin_test): Likewise.
6150         (casinh_test): Likewise.
6151         (cbrt_test): Likewise.
6152         (csqrt_test): Likewise.
6153         (erf_test): Likewise.
6154         (erfc_test): Likewise.
6155         (pow10_test): Likewise.
6156         (exp2_test): Likewise.
6157         (hypot_test): Likewise.
6158         (j0_test): Likewise.
6159         (j1_test): Likewise.
6160         (lgamma_test): Likewise.
6161         (gamma_test): Likewise.
6162         (sincos_test): Likewise.
6163         (tanh_test): Likewise.
6164         (y0_test): Likewise.
6165         (y1_test): Likewise.
6166         * sysdeps/i386/fpu/libm-test-ulps: Update.
6167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6168
6169 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6170
6171         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6173         and strcspn-ppc64 objects.
6174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6175         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6176         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6177         multiarch strcspn for POWER7.
6178         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6179         multiarch strcspn for PPC64.
6180         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6181         ifunc selector.
6182         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6183         strcspn for POWER7.
6184
6185 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6186
6187         * math/gen-libm-test.pl (generate_testfile): Expect only function
6188         name as argument to AUTO_TESTS_* and pass results for all rounding
6189         modes to parse_args.
6190         (parse_auto_input): Separate inputs of automatic tests from
6191         outputs before storing in %auto_tests.
6192         * math/libm-test.inc (acos_test_data): Update call to
6193         AUTO_TESTS_f_f.
6194         (acos_test): Use ALL_RM_TEST.
6195         (acos_tonearest_test_data): Remove.
6196         (acos_test_tonearest): Likewise.
6197         (acos_towardzero_test_data): Likewise.
6198         (acos_test_towardzero): Likewise.
6199         (acos_downward_test_data): Likewise.
6200         (acos_test_downward): Likewise.
6201         (acos_upward_test_data): Likewise.
6202         (acos_test_upward): Likewise.
6203         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6204         (asin_test_data): Likewise.
6205         (asin_test): Use ALL_RM_TEST.
6206         (asin_tonearest_test_data): Remove.
6207         (asin_test_tonearest): Likewise.
6208         (asin_towardzero_test_data): Likewise.
6209         (asin_test_towardzero): Likewise.
6210         (asin_downward_test_data): Likewise.
6211         (asin_test_downward): Likewise.
6212         (asin_upward_test_data): Likewise.
6213         (asin_test_upward): Likewise.
6214         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6215         (atan_test_data): Likewise.
6216         (atanh_test_data): Likewise.
6217         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6218         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6219         (carg_test_data): Likewise.
6220         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6221         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6222         (ccosh_test_data): Likewise.
6223         (cexp_test_data): Likewise.
6224         (clog_test_data): Likewise.
6225         (clog10_test_data): Likewise.
6226         (cos_test_data): Update call to AUTO_TESTS_f_f.
6227         (cos_test): Use ALL_RM_TEST.
6228         (cos_tonearest_test_data): Remove.
6229         (cos_test_tonearest): Likewise.
6230         (cos_towardzero_test_data): Likewise.
6231         (cos_test_towardzero): Likewise.
6232         (cos_downward_test_data): Likewise.
6233         (cos_test_downward): Likewise.
6234         (cos_upward_test_data): Likewise.
6235         (cos_test_upward): Likewise.
6236         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6237         (cosh_test): Use ALL_RM_TEST.
6238         (cosh_tonearest_test_data): Remove.
6239         (cosh_test_tonearest): Likewise.
6240         (cosh_towardzero_test_data): Likewise.
6241         (cosh_test_towardzero): Likewise.
6242         (cosh_downward_test_data): Likewise.
6243         (cosh_test_downward): Likewise.
6244         (cosh_upward_test_data): Likewise.
6245         (cosh_test_upward): Likewise.
6246         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6247         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6248         (ctan_test_data): Likewise.
6249         (ctan_test): Use ALL_RM_TEST.
6250         (ctan_tonearest_test_data): Remove.
6251         (ctan_test_tonearest): Likewise.
6252         (ctan_towardzero_test_data): Likewise.
6253         (ctan_test_towardzero): Likewise.
6254         (ctan_downward_test_data): Likewise.
6255         (ctan_test_downward): Likewise.
6256         (ctan_upward_test_data): Likewise.
6257         (ctan_test_upward): Likewise.
6258         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6259         (ctanh_test): Use ALL_RM_TEST.
6260         (ctanh_tonearest_test_data): Remove.
6261         (ctanh_test_tonearest): Likewise.
6262         (ctanh_towardzero_test_data): Likewise.
6263         (ctanh_test_towardzero): Likewise.
6264         (ctanh_downward_test_data): Likewise.
6265         (ctanh_test_downward): Likewise.
6266         (ctanh_upward_test_data): Likewise.
6267         (ctanh_test_upward): Likewise.
6268         (erf_test_data): Update call to AUTO_TESTS_f_f.
6269         (erfc_test_data): Likewise.
6270         (exp_test_data): Likewise.
6271         (exp_test): Use ALL_RM_TEST.
6272         (exp_tonearest_test_data): Remove.
6273         (exp_test_tonearest): Likewise.
6274         (exp_towardzero_test_data): Likewise.
6275         (exp_test_towardzero): Likewise.
6276         (exp_downward_test_data): Likewise.
6277         (exp_test_downward): Likewise.
6278         (exp_upward_test_data): Likewise.
6279         (exp_test_upward): Likewise.
6280         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6281         (exp10_test): Use ALL_RM_TEST.
6282         (exp10_tonearest_test_data): Remove.
6283         (exp10_test_tonearest): Likewise.
6284         (exp10_towardzero_test_data): Likewise.
6285         (exp10_test_towardzero): Likewise.
6286         (exp10_downward_test_data): Likewise.
6287         (exp10_test_downward): Likewise.
6288         (exp10_upward_test_data): Likewise.
6289         (exp10_test_upward): Likewise.
6290         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6291         (expm1_test_data): Likewise.
6292         (expm1_test): Use ALL_RM_TEST.
6293         (expm1_tonearest_test_data): Remove.
6294         (expm1_test_tonearest): Likewise.
6295         (expm1_towardzero_test_data): Likewise.
6296         (expm1_test_towardzero): Likewise.
6297         (expm1_downward_test_data): Likewise.
6298         (expm1_test_downward): Likewise.
6299         (expm1_upward_test_data): Likewise.
6300         (expm1_test_upward): Likewise.
6301         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6302         (fma_test): Use ALL_RM_TEST.
6303         (fma_towardzero_test_data): Remove.
6304         (fma_test_towardzero): Likewise.
6305         (fma_downward_test_data): Likewise.
6306         (fma_test_downward): Likewise.
6307         (fma_upward_test_data): Likewise.
6308         (fma_test_upward): Likewise.
6309         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6310         (j0_test_data): Update call to AUTO_TESTS_f_f.
6311         (j1_test_data): Likewise.
6312         (jn_test_data): Update call to AUTO_TESTS_if_f.
6313         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6314         (log_test_data): Update call to AUTO_TESTS_f_f.
6315         (log10_test_data): Likewise.
6316         (log1p_test_data): Likewise.
6317         (log2_test_data): Likewise.
6318         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6319         (pow_tonearest_test_data): Likewise.
6320         (sin_test_data): Update call to AUTO_TESTS_f_f.
6321         (sin_test): Use ALL_RM_TEST.
6322         (sin_tonearest_test_data): Remove.
6323         (sin_test_tonearest): Likewise.
6324         (sin_towardzero_test_data): Likewise.
6325         (sin_test_towardzero): Likewise.
6326         (sin_downward_test_data): Likewise.
6327         (sin_test_downward): Likewise.
6328         (sin_upward_test_data): Likewise.
6329         (sin_test_upward): Likewise.
6330         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6331         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6332         (sinh_test): Use ALL_RM_TEST.
6333         (sinh_tonearest_test_data): Remove.
6334         (sinh_test_tonearest): Likewise.
6335         (sinh_towardzero_test_data): Likewise.
6336         (sinh_test_towardzero): Likewise.
6337         (sinh_downward_test_data): Likewise.
6338         (sinh_test_downward): Likewise.
6339         (sinh_upward_test_data): Likewise.
6340         (sinh_test_upward): Likewise.
6341         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6342         (sqrt_test): Use ALL_RM_TEST.
6343         (sqrt_tonearest_test_data): Remove.
6344         (sqrt_test_tonearest): Likewise.
6345         (sqrt_towardzero_test_data): Likewise.
6346         (sqrt_test_towardzero): Likewise.
6347         (sqrt_downward_test_data): Likewise.
6348         (sqrt_test_downward): Likewise.
6349         (sqrt_upward_test_data): Likewise.
6350         (sqrt_test_upward): Likewise.
6351         (tan_test_data): Update call to AUTO_TESTS_f_f.
6352         (tan_test): Use ALL_RM_TEST.
6353         (tan_tonearest_test_data): Remove.
6354         (tan_test_tonearest): Likewise.
6355         (tan_towardzero_test_data): Likewise.
6356         (tan_test_towardzero): Likewise.
6357         (tan_downward_test_data): Likewise.
6358         (tan_test_downward): Likewise.
6359         (tan_upward_test_data): Likewise.
6360         (tan_test_upward): Likewise.
6361         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6362         (tgamma_test_data): Likewise.
6363         (y0_test_data): Likewise.
6364         (y1_test_data): Likewise.
6365         (yn_test_data): Update call to AUTO_TESTS_if_f.
6366         (main): Do not call removed functions.
6367
6368 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6369
6370         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6371         (ldexp_test_data): Remove.
6372         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6373         scalbn_test_data.
6374         (scalb_test): Use ALL_RM_TEST.
6375
6376 2014-03-19  Andreas Schwab  <schwab@suse.de>
6377
6378         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6379
6380 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6381
6382         [BZ #16649]
6383         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6384         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6385         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6387         (__ASSUME_PREADV): Undefine.
6388         (__ASSUME_PWRITEV): Likewise.
6389
6390 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6391
6392         * bits/mman-linux.h: Add comment about non-Linux use.
6393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6394         bits/mman-linux.h resting place.
6395
6396         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6397         * bits/mman-linux.h: ... here.
6398
6399 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6400
6401         * conform/conformtest.pl: Add standard definition when calling C
6402         preprocessor on data files.
6403         (checknamespace): Remove unused variable.
6404
6405 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6406
6407         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6408         minus_oflow, plus_uflow and minus_uflow in expected results.
6409         * math/libm-test.inc (scalbn_test_data): Add more tests of
6410         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6411         minus_uflow.
6412         (scalbn_test): Use ALL_RM_TEST.
6413         (scalbln_test_data): Add more tests of negative arguments.  Use
6414         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6415         (scalbln_test): Use ALL_RM_TEST.
6416
6417 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6418
6419         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6420
6421 2014-03-18  Will Newton  <will.newton@linaro.org>
6422
6423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6424         inaccurate comment.
6425
6426 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6427
6428         * Makerules [!subdir] (check-abi): Exit with error status if a
6429         test failed.
6430
6431 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6432
6433         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6434         for rint.  Include results for all rounding modes.
6435         (nearbyint_test): Use ALL_RM_TEST.
6436         (rint_test_data): Include all tests used for nearbyint.
6437
6438 2014-03-17  Will Newton  <will.newton@linaro.org>
6439
6440         * nptl/sysdeps/pthread/pthread.h: Revert previous
6441         change.
6442
6443         * sysdeps/generic/ldsodefs.h: Revert previous
6444         change.
6445
6446         * libio/genops.c: Revert previous change.
6447         * libio/libioP.h: Likewise.
6448         * stdio-common/vfprintf.c: Likewise.
6449
6450         * sysdeps/generic/math_private.h: Revert previous
6451         change.
6452
6453         * sysdeps/generic/math_private.h: Check whether
6454         HAVE_RM_CTX is defined with #ifdef rather
6455         than #if.
6456
6457         * argp/argp-fmtstream.h: Check whether
6458         __STRICT_ANSI__ is defined with #ifdef rather
6459         than #if.
6460         * argp/argp.h: Likewise.
6461
6462         * libio/genops.c: Check whether
6463         _IO_JUMPS_OFFSET is defined with #ifdef rather
6464         than #if.
6465         * libio/libioP.h: Likewise.
6466         * stdio-common/vfprintf.c: Likewise.
6467
6468         * sysdeps/generic/ldsodefs.h: Check whether
6469         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6470         than #if.
6471
6472         * nptl/sysdeps/pthread/pthread.h: Check
6473         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6474         its value.
6475
6476 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6477
6478         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6479         setting O_APPEND.
6480         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6481         test case.
6482
6483         [BZ #16680]
6484         * libio/fileops.c (_IO_file_open): Seek to end of file but
6485         don't cache the offset.
6486         (get_file_offset): Remove function.
6487         (do_ftell): Use cached offset when available.
6488         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6489         don't cache the offset.
6490         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6491         case.
6492         (do_one_test): Call it.
6493         (do_ftell_test): Fix up expected old offset for a+ mode.
6494         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6495         available.
6496
6497         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6498         up test status with function return status.
6499         (do_write_test): Likewise.
6500         (do_append_test): Likewise.
6501
6502         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6503         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6504         Remove.
6505
6506 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6507
6508         * math/gen-libm-test.pl (parse_args): Handle results specified for
6509         each rounding mode separately.
6510         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6511         tests and results from lrint_tonearest_test_data,
6512         lrint_towardzero_test_data, lrint_downward_test_data and
6513         lrint_upward_test_data.
6514         (lrint_test): Use ALL_RM_TEST.
6515         (lrint_tonearest_test_data): Remove.
6516         (lrint_test_tonearest): Likewise.
6517         (lrint_towardzero_test_data): Likewise.
6518         (lrint_test_towardzero): Likewise.
6519         (lrint_downward_test_data): Likewise.
6520         (lrint_test_downward): Likewise.
6521         (lrint_upward_test_data): Likewise.
6522         (lrint_test_upward): Likewise.
6523         (llrint_test_data): Merge in per-rounding-mode tests and results
6524         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6525         llrint_downward_test_data and llrint_upward_test_data.
6526         (llrint_test): Use ALL_RM_TEST.
6527         (llrint_tonearest_test_data): Remove.
6528         (llrint_test_tonearest): Likewise.
6529         (llrint_towardzero_test_data): Likewise.
6530         (llrint_test_towardzero): Likewise.
6531         (llrint_downward_test_data): Likewise.
6532         (llrint_test_downward): Likewise.
6533         (llrint_upward_test_data): Likewise.
6534         (llrint_test_upward): Likewise.
6535         (rint_test_data): Merge in per-rounding-mode tests and results
6536         from rint_tonearest_test_data, rint_towardzero_test_data,
6537         rint_downward_test_data and rint_upward_test_data.  Add
6538         per-rounding-mode results for tests not in those arrays.
6539         (rint_test): Use ALL_RM_TEST.
6540         (rint_tonearest_test_data): Remove.
6541         (rint_test_tonearest): Likewise.
6542         (rint_towardzero_test_data): Likewise.
6543         (rint_test_towardzero): Likewise.
6544         (rint_downward_test_data): Likewise.
6545         (rint_test_downward): Likewise.
6546         (rint_upward_test_data): Likewise.
6547         (rint_test_upward): Likewise.
6548         (main): Don't call removed functions.
6549
6550 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6551
6552         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6553         "Compiled on ..." crapola.  It is anti-useful.
6554
6555 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6556
6557         * scripts/evaluate-test.sh: Handle fourth argument to determine
6558         whether test run should stop on failure.
6559         * Makeconfig (stop-on-test-failure): New variable.
6560         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6561         $(stop-on-test-failure).
6562         * Makefile (tests): Give a summary of results from testing and
6563         exit with failure status if they include an ERROR or FAIL.
6564         (xtests): Likewise.
6565         * manual/install.texi (Configuring and compiling): Mention
6566         stop-on-test-failure=y.
6567         * INSTALL: Regenerated.
6568
6569 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6570
6571         * scripts/versionlist.awk: New file.
6572         * Makerules [$(build-shared) = yes]
6573         (postclean-generated): Add Versions.def, not Versions.def.v and
6574         Versions.def.v.i.
6575         ($(common-objpfx)Versions.def.v.i): Target removed.
6576         ($(common-objpfx)Versions.def): New target.
6577         ($(common-objpfx)Versions.all): Depend on that rather that
6578         $(common-objpfx)Versions.def.v.
6579         * Versions.def: File removed.
6580
6581         * Makeconfig (+gccwarn): Add -Wundef.
6582         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6583         a dl-sysdep.h breaking its contract.
6584         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6585         * include/stackinfo.h: New file.
6586         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6587         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6588         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6589         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6590         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6591         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6592         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6593         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6594         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6595         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6596         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6597         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6598         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6599         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6600         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6601
6602 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6603
6604         [BZ #16707]
6605         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6606         implementation.
6607         * math/libm-test.inc (round_test_data): Add more tests.
6608
6609         [BZ #16706]
6610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6611         implementation.
6612         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6613
6614         [BZ #16701]
6615         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6616         implementation.
6617         * math/libm-test.inc (ceil_test_data): Add more tests.
6618
6619         * math/libm-test.inc (trunc_test_data): Add more tests related to
6620         BZ#16414.
6621
6622 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6623
6624         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6625         with #if rather than #ifdef.
6626         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6627
6628 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6629
6630         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6631         first.  Disable AVX-512 GCC support if assembler doesn't support
6632         it.
6633         * sysdeps/x86_64/configure: Regenerated.
6634
6635 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6636
6637         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6638         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6639         (__old_pthread_attr_setstack): Likewise.
6640         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6641         [!_STACK_GROWS_DOWN]: Likewise.
6642
6643 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6644
6645         * config.make.in (have-bash2): Delete.
6646         * configure.ac (libc_cv_have_bash2): Delete.
6647         * configure: Regenerate.
6648         * elf/Makefile (common-ldd-rewrite): Rename to ...
6649         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6650         (sh-ldd-rewrite): Delete.
6651         (bash-ldd-rewrite): Delete.
6652         (have-bash2): Delete checks.
6653         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6654         ldd-rewrite.
6655
6656         * config.make.in (have-ksh): Delete.
6657         (KSH): Delete.
6658         * configure.ac (libc_cv_have_ksh): Delete.
6659         * configure: Regenerate.
6660
6661         * elf/Makefile: Delete $(have-ksh) check.
6662         ($(objpfx)sotruss): Change KSH to BASH.
6663         * elf/sotruss.ksh: Rename to ...
6664         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6665         function style to match POSIX.  Drop ksh vim mode setting.
6666
6667         * manual/time.texi (Specifying the Time Zone with TZ): Change
6668         Tuesday to Thursday.
6669
6670         * debug/tst-longjmp_chk2.c: Update header comment.
6671         (stackoverflow_handler): Add comment.  Call assert on pass value.
6672
6673 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6674
6675         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6676         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6677         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6678         (La_x86_64_vector): Add zmm.
6679         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6680         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6681         ($(objpfx)tst-audit10): New target.
6682         ($(objpfx)tst-audit10.out): Likewise.
6683         (tst-audit10-ENV): New.
6684         (AVX512-CFLAGS): Likewise.
6685         (CFLAGS-tst-audit10.c): Likewise.
6686         (CFLAGS-tst-auditmod10a.c): Likewise.
6687         (CFLAGS-tst-auditmod10b.c): Likewise.
6688         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6689         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6690         * sysdeps/x86_64/configure: Regenerated.
6691         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6692         AVX-512 zmm register support.
6693         (_dl_x86_64_save_sse): Likewise.
6694         (_dl_x86_64_restore_sse): Likewise.
6695         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6696         size vector registers.
6697         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6698         (ZMM_SIZE): Likewise.
6699         * sysdeps/x86_64/tst-audit10.c: New file.
6700         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6701         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6702
6703 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6704
6705         * configure.ac (HAVE_EHDR_START): New check.
6706         * configure: Regenerated.
6707         * config.h.in (HAVE_EHDR_START): New #undef.
6708         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6709         assuming the lowest-addressed segment maps the start of the file.
6710
6711 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6712
6713         * INSTALL: Regenerated.
6714
6715 2014-03-13  Will Newton  <will.newton@linaro.org>
6716
6717         * manual/setjmp.texi (System V contexts): Improve
6718         clarity and grammar of documentation.
6719
6720 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6721
6722         [BZ #16381]
6723         * elf/Makefile (tests): Add tst-pie2.
6724         (tests-pie): Add tst-pie2.
6725         * elf/tst-pie2.c: New file.
6726         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6727         for ET_EXEC.
6728         * elf/rtld.c (map_doit): Load executable as lt_executable.
6729         (dl_main): Likewise.
6730
6731 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6732
6733         [BZ #16642]
6734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6735         (__ASSUME_PSELECT): Undefine.
6736
6737 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6738
6739         [BZ #16689]
6740         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6741         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6742         static build.
6743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6744         selector for static builds.
6745
6746 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6747
6748         [BZ #16695]
6749         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6750         key in the buffer.
6751
6752 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6753
6754         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6755         IFUNC selector for static builds.
6756
6757 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6758
6759         * sysdeps/mips/math_private.h [__mips_hard_float]
6760         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6761         libc_feresetround_mips_ctx.
6762         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6763         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6764         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6765
6766         [BZ #16677]
6767         * math/s_nextafter.c (__nextafter): Do not return value from
6768         overflowing computation.
6769         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6770         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6771         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6772         Likewise.
6773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6774         Likewise.
6775         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6776         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6777
6778 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6779
6780         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6781         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6782         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6783         the new mov targetting sp.
6784
6785 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6786
6787         [BZ #16683]
6788         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6789         Define it for static builds as well.
6790         (NO_BZERO_IMPL): Likewise.
6791
6792 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6793
6794         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6795         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6796         multiarch strspn for PPC64.
6797         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6798         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6800         (__libc_ifunc_impl_list): Likewise.
6801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6802         multiarch optimizations
6803         * string/strspn.c (strspn): Using macro to redefine symbol name.
6804
6805 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6806             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6807
6808         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6809         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6810         multiarch strncat for PPC64.
6811         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6812         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6814         (__libc_ifunc_impl_list): Likewise.
6815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6816         multiarch optimizations
6817
6818 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6819
6820         [BZ #16639]
6821         * nscd/nscd.service: Make service type forking.
6822
6823 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6824
6825         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6826         sign in non default rounding modes.
6827         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6828
6829 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6830
6831         * math/libm-test.inc (ALL_RM_TEST): New macro.
6832         (ceil_test): Use ALL_RM_TEST.
6833         (cimag_test): Likewise.
6834         (conj_test): Likewise.
6835         (copysign_test): Likewise.
6836         (cproj_test): Likewise.
6837         (creal_test): Likewise.
6838         (fabs_test): Likewise.
6839         (floor_test): Likewise.
6840         (fmax_test): Likewise.
6841         (fmin_test): Likewise.
6842         (fmod_test): Likewise.
6843         (fpclassify_test): Likewise.
6844         (frexp_test): Likewise.
6845         (ilogb_test): Likewise.
6846         (isfinite_test): Likewise.
6847         (finite_test): Likewise.
6848         (isgreater_test): Likewise.
6849         (isgreaterequal_test): Likewise.
6850         (isinf_test): Likewise.
6851         (isless_test): Likewise.
6852         (islessequal_test): Likewise.
6853         (islessgreater_test): Likewise.
6854         (isnan_test): Likewise.
6855         (isnormal_test): Likewise.
6856         (issignaling_test): Likewise.
6857         (isunordered_test): Likewise.
6858         (logb_test): Likewise.
6859         (logb_downward_test_data): Remove.
6860         (logb_test_downward): Likewise.
6861         (lround_test): Use ALL_RM_TEST.
6862         (llround_test): Likewise.
6863         (modf_test): Likewise.
6864         (nexttoward_test): Likewise.
6865         (remainder_test): Likewise.
6866         (drem_test): Likewise.
6867         (remainder_tonearest_test_data): Likewise.
6868         (remainder_test_tonearest): Likewise.
6869         (drem_test_tonearest): Likewise.
6870         (remainder_towardzero_test_data): Likewise.
6871         (remainder_test_towardzero): Likewise.
6872         (drem_test_towardzero): Likewise.
6873         (remainder_downward_test_data): Likewise.
6874         (remainder_test_downward): Likewise.
6875         (drem_test_downward): Likewise.
6876         (remainder_upward_test_data): Likewise.
6877         (remainder_test_upward): Likewise.
6878         (drem_test_upward): Likewise.
6879         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6880         (round_test): Use ALL_RM_TEST.
6881         (signbit_test): Likewise.
6882         (trunc_test): Likewise.
6883         (significand_test): Likewise.
6884         (main): Don't call removed functions.
6885
6886 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6887
6888         [BZ #16674]
6889         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6890         || __USE_XOPEN2K8].
6891         (ILL_ILLOPN): Likewise.
6892         (ILL_ILLADR): Likewise.
6893         (ILL_ILLTRP): Likewise.
6894         (ILL_PRVOPC): Likewise.
6895         (ILL_PRVREG): Likewise.
6896         (ILL_COPROC): Likewise.
6897         (ILL_BADSTK): Likewise.
6898         (FPE_INTDIV): Likewise.
6899         (FPE_INTOVF): Likewise.
6900         (FPE_FLTDIV): Likewise.
6901         (FPE_FLTOVF): Likewise.
6902         (FPE_FLTUND): Likewise.
6903         (FPE_FLTRES): Likewise.
6904         (FPE_FLTINV): Likewise.
6905         (FPE_FLTSUB): Likewise.
6906         (SEGV_MAPERR): Likewise.
6907         (SEGV_ACCERR): Likewise.
6908         (BUS_ADRALN): Likewise.
6909         (BUS_ADRERR): Likewise.
6910         (BUS_OBJERR): Likewise.
6911         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6912         (TRAP_TRACE): Likewise.
6913         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6914         __USE_XOPEN2K8].
6915         (CLD_KILLED): Likewise.
6916         (CLD_DUMPED): Likewise.
6917         (CLD_TRAPPED): Likewise.
6918         (CLD_STOPPED): Likewise.
6919         (CLD_CONTINUED): Likewise.
6920         (POLL_IN): Likewise.
6921         (POLL_OUT): Likewise.
6922         (POLL_MSG): Likewise.
6923         (POLL_ERR): Likewise.
6924         (POLL_PRI): Likewise.
6925         (POLL_HUP): Likewise.
6926         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6927         Likewise.
6928         (ILL_ILLOPN): Likewise.
6929         (ILL_ILLADR): Likewise.
6930         (ILL_ILLTRP): Likewise.
6931         (ILL_PRVOPC): Likewise.
6932         (ILL_PRVREG): Likewise.
6933         (ILL_COPROC): Likewise.
6934         (ILL_BADSTK): Likewise.
6935         (FPE_INTDIV): Likewise.
6936         (FPE_INTOVF): Likewise.
6937         (FPE_FLTDIV): Likewise.
6938         (FPE_FLTOVF): Likewise.
6939         (FPE_FLTUND): Likewise.
6940         (FPE_FLTRES): Likewise.
6941         (FPE_FLTINV): Likewise.
6942         (FPE_FLTSUB): Likewise.
6943         (SEGV_MAPERR): Likewise.
6944         (SEGV_ACCERR): Likewise.
6945         (BUS_ADRALN): Likewise.
6946         (BUS_ADRERR): Likewise.
6947         (BUS_OBJERR): Likewise.
6948         (BUS_MCEERR_AR): Likewise.
6949         (BUS_MCEERR_AO): Likewise.
6950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6951         (TRAP_TRACE): Likewise.
6952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6953         __USE_XOPEN2K8].
6954         (CLD_KILLED): Likewise.
6955         (CLD_DUMPED): Likewise.
6956         (CLD_TRAPPED): Likewise.
6957         (CLD_STOPPED): Likewise.
6958         (CLD_CONTINUED): Likewise.
6959         (POLL_IN): Likewise.
6960         (POLL_OUT): Likewise.
6961         (POLL_MSG): Likewise.
6962         (POLL_ERR): Likewise.
6963         (POLL_PRI): Likewise.
6964         (POLL_HUP): Likewise.
6965         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6966         (ILL_ILLOPN): Likewise.
6967         (ILL_ILLADR): Likewise.
6968         (ILL_ILLTRP): Likewise.
6969         (ILL_PRVOPC): Likewise.
6970         (ILL_PRVREG): Likewise.
6971         (ILL_COPROC): Likewise.
6972         (ILL_BADSTK): Likewise.
6973         (FPE_INTDIV): Likewise.
6974         (FPE_INTOVF): Likewise.
6975         (FPE_FLTDIV): Likewise.
6976         (FPE_FLTOVF): Likewise.
6977         (FPE_FLTUND): Likewise.
6978         (FPE_FLTRES): Likewise.
6979         (FPE_FLTINV): Likewise.
6980         (FPE_FLTSUB): Likewise.
6981         (SEGV_MAPERR): Likewise.
6982         (SEGV_ACCERR): Likewise.
6983         (BUS_ADRALN): Likewise.
6984         (BUS_ADRERR): Likewise.
6985         (BUS_OBJERR): Likewise.
6986         (BUS_MCEERR_AR): Likewise.
6987         (BUS_MCEERR_AO): Likewise.
6988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6989         (TRAP_TRACE): Likewise.
6990         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6991         __USE_XOPEN2K8].
6992         (CLD_KILLED): Likewise.
6993         (CLD_DUMPED): Likewise.
6994         (CLD_TRAPPED): Likewise.
6995         (CLD_STOPPED): Likewise.
6996         (CLD_CONTINUED): Likewise.
6997         (POLL_IN): Likewise.
6998         (POLL_OUT): Likewise.
6999         (POLL_MSG): Likewise.
7000         (POLL_ERR): Likewise.
7001         (POLL_PRI): Likewise.
7002         (POLL_HUP): Likewise.
7003         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7004         Likewise.
7005         (ILL_ILLOPN): Likewise.
7006         (ILL_ILLADR): Likewise.
7007         (ILL_ILLTRP): Likewise.
7008         (ILL_PRVOPC): Likewise.
7009         (ILL_PRVREG): Likewise.
7010         (ILL_COPROC): Likewise.
7011         (ILL_BADSTK): Likewise.
7012         (ILL_BADIADDR): Likewise.
7013         (ILL_BREAK): Likewise.
7014         (FPE_INTDIV): Likewise.
7015         (FPE_INTOVF): Likewise.
7016         (FPE_FLTDIV): Likewise.
7017         (FPE_FLTOVF): Likewise.
7018         (FPE_FLTUND): Likewise.
7019         (FPE_FLTRES): Likewise.
7020         (FPE_FLTINV): Likewise.
7021         (FPE_FLTSUB): Likewise.
7022         (FPE_DECOVF): Likewise.
7023         (FPE_DECDIV): Likewise.
7024         (FPE_DECERR): Likewise.
7025         (FPE_INVASC): Likewise.
7026         (FPE_INVDEC): Likewise.
7027         (SEGV_MAPERR): Likewise.
7028         (SEGV_ACCERR): Likewise.
7029         (SEGV_PSTKOVF): Likewise.
7030         (BUS_ADRALN): Likewise.
7031         (BUS_ADRERR): Likewise.
7032         (BUS_OBJERR): Likewise.
7033         (BUS_MCEERR_AR): Likewise.
7034         (BUS_MCEERR_AO): Likewise.
7035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7036         (TRAP_TRACE): Likewise.
7037         (TRAP_BRANCH): Likewise.
7038         (TRAP_HWBKPT): Likewise.
7039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7040         __USE_XOPEN2K8].
7041         (CLD_KILLED): Likewise.
7042         (CLD_DUMPED): Likewise.
7043         (CLD_TRAPPED): Likewise.
7044         (CLD_STOPPED): Likewise.
7045         (CLD_CONTINUED): Likewise.
7046         (POLL_IN): Likewise.
7047         (POLL_OUT): Likewise.
7048         (POLL_MSG): Likewise.
7049         (POLL_ERR): Likewise.
7050         (POLL_PRI): Likewise.
7051         (POLL_HUP): Likewise.
7052         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7053         (ILL_ILLOPN): Likewise.
7054         (ILL_ILLADR): Likewise.
7055         (ILL_ILLTRP): Likewise.
7056         (ILL_PRVOPC): Likewise.
7057         (ILL_PRVREG): Likewise.
7058         (ILL_COPROC): Likewise.
7059         (ILL_BADSTK): Likewise.
7060         (FPE_INTDIV): Likewise.
7061         (FPE_INTOVF): Likewise.
7062         (FPE_FLTDIV): Likewise.
7063         (FPE_FLTOVF): Likewise.
7064         (FPE_FLTUND): Likewise.
7065         (FPE_FLTRES): Likewise.
7066         (FPE_FLTINV): Likewise.
7067         (FPE_FLTSUB): Likewise.
7068         (SEGV_MAPERR): Likewise.
7069         (SEGV_ACCERR): Likewise.
7070         (BUS_ADRALN): Likewise.
7071         (BUS_ADRERR): Likewise.
7072         (BUS_OBJERR): Likewise.
7073         (BUS_MCEERR_AR): Likewise.
7074         (BUS_MCEERR_AO): Likewise.
7075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7076         (TRAP_TRACE): Likewise.
7077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7078         __USE_XOPEN2K8].
7079         (CLD_KILLED): Likewise.
7080         (CLD_DUMPED): Likewise.
7081         (CLD_TRAPPED): Likewise.
7082         (CLD_STOPPED): Likewise.
7083         (CLD_CONTINUED): Likewise.
7084         (POLL_IN): Likewise.
7085         (POLL_OUT): Likewise.
7086         (POLL_MSG): Likewise.
7087         (POLL_ERR): Likewise.
7088         (POLL_PRI): Likewise.
7089         (POLL_HUP): Likewise.
7090         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7091         (ILL_ILLOPN): Likewise.
7092         (ILL_ILLADR): Likewise.
7093         (ILL_ILLTRP): Likewise.
7094         (ILL_PRVOPC): Likewise.
7095         (ILL_PRVREG): Likewise.
7096         (ILL_COPROC): Likewise.
7097         (ILL_BADSTK): Likewise.
7098         (FPE_INTDIV): Likewise.
7099         (FPE_INTOVF): Likewise.
7100         (FPE_FLTDIV): Likewise.
7101         (FPE_FLTOVF): Likewise.
7102         (FPE_FLTUND): Likewise.
7103         (FPE_FLTRES): Likewise.
7104         (FPE_FLTINV): Likewise.
7105         (FPE_FLTSUB): Likewise.
7106         (SEGV_MAPERR): Likewise.
7107         (SEGV_ACCERR): Likewise.
7108         (BUS_ADRALN): Likewise.
7109         (BUS_ADRERR): Likewise.
7110         (BUS_OBJERR): Likewise.
7111         (BUS_MCEERR_AR): Likewise.
7112         (BUS_MCEERR_AO): Likewise.
7113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7114         (TRAP_TRACE): Likewise.
7115         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7116         __USE_XOPEN2K8].
7117         (CLD_KILLED): Likewise.
7118         (CLD_DUMPED): Likewise.
7119         (CLD_TRAPPED): Likewise.
7120         (CLD_STOPPED): Likewise.
7121         (CLD_CONTINUED): Likewise.
7122         (POLL_IN): Likewise.
7123         (POLL_OUT): Likewise.
7124         (POLL_MSG): Likewise.
7125         (POLL_ERR): Likewise.
7126         (POLL_PRI): Likewise.
7127         (POLL_HUP): Likewise.
7128         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7129         (ILL_ILLOPN): Likewise.
7130         (ILL_ILLADR): Likewise.
7131         (ILL_ILLTRP): Likewise.
7132         (ILL_PRVOPC): Likewise.
7133         (ILL_PRVREG): Likewise.
7134         (ILL_COPROC): Likewise.
7135         (ILL_BADSTK): Likewise.
7136         (FPE_INTDIV): Likewise.
7137         (FPE_INTOVF): Likewise.
7138         (FPE_FLTDIV): Likewise.
7139         (FPE_FLTOVF): Likewise.
7140         (FPE_FLTUND): Likewise.
7141         (FPE_FLTRES): Likewise.
7142         (FPE_FLTINV): Likewise.
7143         (FPE_FLTSUB): Likewise.
7144         (SEGV_MAPERR): Likewise.
7145         (SEGV_ACCERR): Likewise.
7146         (BUS_ADRALN): Likewise.
7147         (BUS_ADRERR): Likewise.
7148         (BUS_OBJERR): Likewise.
7149         (BUS_MCEERR_AR): Likewise.
7150         (BUS_MCEERR_AO): Likewise.
7151         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7152         (TRAP_TRACE): Likewise.
7153         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7154         __USE_XOPEN2K8].
7155         (CLD_KILLED): Likewise.
7156         (CLD_DUMPED): Likewise.
7157         (CLD_TRAPPED): Likewise.
7158         (CLD_STOPPED): Likewise.
7159         (CLD_CONTINUED): Likewise.
7160         (POLL_IN): Likewise.
7161         (POLL_OUT): Likewise.
7162         (POLL_MSG): Likewise.
7163         (POLL_ERR): Likewise.
7164         (POLL_PRI): Likewise.
7165         (POLL_HUP): Likewise.
7166         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7167         (ILL_ILLOPN): Likewise.
7168         (ILL_ILLADR): Likewise.
7169         (ILL_ILLTRP): Likewise.
7170         (ILL_PRVOPC): Likewise.
7171         (ILL_PRVREG): Likewise.
7172         (ILL_COPROC): Likewise.
7173         (ILL_BADSTK): Likewise.
7174         (ILL_DBLFLT): Likewise.
7175         (ILL_HARDWALL): Likewise.
7176         (FPE_INTDIV): Likewise.
7177         (FPE_INTOVF): Likewise.
7178         (FPE_FLTDIV): Likewise.
7179         (FPE_FLTOVF): Likewise.
7180         (FPE_FLTUND): Likewise.
7181         (FPE_FLTRES): Likewise.
7182         (FPE_FLTINV): Likewise.
7183         (FPE_FLTSUB): Likewise.
7184         (SEGV_MAPERR): Likewise.
7185         (SEGV_ACCERR): Likewise.
7186         (BUS_ADRALN): Likewise.
7187         (BUS_ADRERR): Likewise.
7188         (BUS_OBJERR): Likewise.
7189         (BUS_MCEERR_AR): Likewise.
7190         (BUS_MCEERR_AO): Likewise.
7191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7192         (TRAP_TRACE): Likewise.
7193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7194         __USE_XOPEN2K8].
7195         (CLD_KILLED): Likewise.
7196         (CLD_DUMPED): Likewise.
7197         (CLD_TRAPPED): Likewise.
7198         (CLD_STOPPED): Likewise.
7199         (CLD_CONTINUED): Likewise.
7200         (POLL_IN): Likewise.
7201         (POLL_OUT): Likewise.
7202         (POLL_MSG): Likewise.
7203         (POLL_ERR): Likewise.
7204         (POLL_PRI): Likewise.
7205         (POLL_HUP): Likewise.
7206         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7207         (ILL_ILLOPN): Likewise.
7208         (ILL_ILLADR): Likewise.
7209         (ILL_ILLTRP): Likewise.
7210         (ILL_PRVOPC): Likewise.
7211         (ILL_PRVREG): Likewise.
7212         (ILL_COPROC): Likewise.
7213         (ILL_BADSTK): Likewise.
7214         (FPE_INTDIV): Likewise.
7215         (FPE_INTOVF): Likewise.
7216         (FPE_FLTDIV): Likewise.
7217         (FPE_FLTOVF): Likewise.
7218         (FPE_FLTUND): Likewise.
7219         (FPE_FLTRES): Likewise.
7220         (FPE_FLTINV): Likewise.
7221         (FPE_FLTSUB): Likewise.
7222         (SEGV_MAPERR): Likewise.
7223         (SEGV_ACCERR): Likewise.
7224         (BUS_ADRALN): Likewise.
7225         (BUS_ADRERR): Likewise.
7226         (BUS_OBJERR): Likewise.
7227         (BUS_MCEERR_AR): Likewise.
7228         (BUS_MCEERR_AO): Likewise.
7229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7230         (TRAP_TRACE): Likewise.
7231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7232         __USE_XOPEN2K8].
7233         (CLD_KILLED): Likewise.
7234         (CLD_DUMPED): Likewise.
7235         (CLD_TRAPPED): Likewise.
7236         (CLD_STOPPED): Likewise.
7237         (CLD_CONTINUED): Likewise.
7238         (POLL_IN): Likewise.
7239         (POLL_OUT): Likewise.
7240         (POLL_MSG): Likewise.
7241         (POLL_ERR): Likewise.
7242         (POLL_PRI): Likewise.
7243         (POLL_HUP): Likewise.
7244         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7245         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7246
7247         [BZ #16670]
7248         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7249         before #include of <time.h>.
7250         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7251         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7252         (test-xfail-UNIX98/sched.h/conform): Likewise.
7253
7254 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7255
7256         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7257         error absence of trapping exception support.
7258         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7259
7260 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7261
7262         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7263         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7264         * timezone/Makefile (testdata): Move definition above include of
7265         Rules.
7266         (test-zones): New variable.
7267         (tests-special): Add zone files.
7268         (build-testdata): Use $(evaluate-test).
7269
7270         * elf/Makefile (tests-special): Rename tests to end with .out.
7271         ($(objpfx)noload-mem): Likewise.
7272         ($(objpfx)tst-leaks1-mem): Likewise.
7273         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7274         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7275         $(objpfx)test-iconvconfig.out.
7276         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7277         set -e inside subshell and redirect output to file.
7278         * iconvdata/Makefile (generated): Rename tests to end with .out.
7279         Correct type.
7280         (tests-special): Rename tests to end with .out.
7281         ($(objpfx)mtrace-tst-loading): Likewise.
7282         * intl/Makefile (generated): Likewise.
7283         (tests-special): Likewise.
7284         ($(objpfx)mtrace-tst-gettext): Likewise.
7285         * misc/Makefile (generated): Likewise.
7286         (tests-special): Likewise.
7287         ($(objpfx)tst-error1-mem): Likewise.
7288         * nptl/Makefile (tests-special): Likewise.
7289         ($(objpfx)tst-stack3-mem): Likewise.
7290         (generated): Likewise.
7291         * posix/Makefile (generated): Likewise.
7292         (tests-special): Likewise.
7293         (xtests-special): Likewise.
7294         ($(objpfx)tst-fnmatch-mem): Likewise.
7295         ($(objpfx)bug-regex2-mem): Likewise.
7296         ($(objpfx)bug-regex14-mem): Likewise.
7297         ($(objpfx)bug-regex21-mem): Likewise.
7298         ($(objpfx)bug-regex31-mem): Likewise.
7299         ($(objpfx)tst-vfork3-mem): Likewise.
7300         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7301         ($(objpfx)tst-pcre-mem): Likewise.
7302         ($(objpfx)tst-boost-mem): Likewise.
7303         ($(objpfx)bug-ga2-mem): Likewise.
7304         ($(objpfx)bug-glob2-mem): Likewise.
7305         * resolv/Makefile (generate): Likewise.
7306         (tests-special): Likewise.
7307         (xtests-special): Likewise.
7308         (generated): Likewise.
7309         ($(objpfx)mtrace-tst-leaks): Likewise.
7310         ($(objpfx)mtrace-tst-leaks2): Likewise.
7311
7312         * scripts/merge-test-results.sh: New file.
7313         * Makefile (tests-special-notdir): New variable.
7314         (tests): Run merge-test-results.sh.
7315         (xtests): Likewise.
7316         * Rules (tests-special-notdir): New variable.
7317         (xtests-special-notdir): Likewise.
7318         (tests): Run merge-test-results.sh
7319         (xtests): Likewise.
7320
7321         * Makeconfig (test-xfail-name): New variable.
7322         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7323         compute variable name for expected failures.
7324         * conform/Makefile (conformtest-headers-data): New variable.
7325         (conformtest-standards): Likewise.
7326         (conformtest-headers-ISO): Likewise.
7327         (conformtest-headers-ISO99): Likewise.
7328         (conformtest-headers-ISO11): Likewise.
7329         (conformtest-headers-POSIX): Likewise.
7330         (conformtest-headers-XPG3): Likewise.
7331         (conformtest-headers-XPG4): Likewise.
7332         (conformtest-headers-UNIX98): Likewise.
7333         (conformtest-headers-XOPEN2K): Likewise.
7334         (conformtest-headers-POSIX2008): Likewise.
7335         (conformtest-headers-XOPEN2K8): Likewise.
7336         (conformtest-header-list-base): Likewise.
7337         (conformtest-header-list-tests): Likewise.
7338         (conformtest-header-base): Likewise.
7339         (conformtest-header-tests): Likewise.
7340         (tests-special): Add $(conformtest-header-list-tests).  If
7341         [$(fast-check) && !$(cross-compiling)], add
7342         $(conformtest-header-tests) instead of
7343         $(objpfx)run-conformtest.out.
7344         (generated): Add $(conformtest-header-list-base).  If
7345         [$(fast-check) && !$(cross-compiling)], add
7346         $(conformtest-header-base).  Remove previous setting.
7347         ($(conformtest-header-list-tests)): New target.
7348         (test-xfail-run-conformtest): Remove variable.
7349         ($(objpfx)run-conformtest.out): Remove target.
7350         (test-xfail-ISO11/complex.h/conform): New variable.
7351         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7352         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7353         (test-xfail-XPG3/varargs.h/conform): Likewise.
7354         (test-xfail-XPG4/varargs.h/conform): Likewise.
7355         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7356         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7357         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7358         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7359         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7360         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7361         (test-xfail-XPG3/ftw.h/conform): Likewise.
7362         (test-xfail-XPG3/grp.h/conform): Likewise.
7363         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7364         (test-xfail-XPG3/limits.h/conform): Likewise.
7365         (test-xfail-XPG3/pwd.h/conform): Likewise.
7366         (test-xfail-XPG3/search.h/conform): Likewise.
7367         (test-xfail-XPG3/signal.h/conform): Likewise.
7368         (test-xfail-XPG3/stdio.h/conform): Likewise.
7369         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7370         (test-xfail-XPG3/string.h/conform): Likewise.
7371         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7372         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7373         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7374         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7375         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7376         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7377         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7378         (test-xfail-XPG3/termios.h/conform): Likewise.
7379         (test-xfail-XPG3/time.h/conform): Likewise.
7380         (test-xfail-XPG3/unistd.h/conform): Likewise.
7381         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7382         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7383         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7384         (test-xfail-XPG4/netdb.h/conform): Likewise.
7385         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7386         (test-xfail-XPG4/signal.h/conform): Likewise.
7387         (test-xfail-XPG4/stdio.h/conform): Likewise.
7388         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7389         (test-xfail-XPG4/stropts.h/conform): Likewise.
7390         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7391         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7392         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7393         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7394         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7395         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7396         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7397         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7398         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7399         (test-xfail-XPG4/termios.h/conform): Likewise.
7400         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7401         (test-xfail-XPG4/unistd.h/conform): Likewise.
7402         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7403         (test-xfail-POSIX/sched.h/conform): Likewise.
7404         (test-xfail-POSIX/signal.h/conform): Likewise.
7405         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7406         (test-xfail-POSIX/tar.h/conform): Likewise.
7407         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7408         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7409         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7410         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7411         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7412         (test-xfail-UNIX98/sched.h/conform): Likewise.
7413         (test-xfail-UNIX98/signal.h/conform): Likewise.
7414         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7415         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7416         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7417         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7418         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7419         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7420         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7421         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7422         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7423         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7424         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7425         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7426         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7427         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7428         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7429         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7430         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7431         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7432         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7433         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7434         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7435         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7436         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7437         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7438         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7439         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7440         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7441         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7442         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7443         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7444         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7445         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7446         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7447         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7448         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7449         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7450         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7451         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7452         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7453         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7454         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7455         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7456         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7457         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7458         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7459         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7460         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7461         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7462         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7463         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7464         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7465         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7466         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7467         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7468         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7469         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7470         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7471         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7472         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7473         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7474         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7475         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7476         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7477         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7478         (conformtest-cc-flags): Likewise.
7479         ($(conformtest-header-tests): New target.
7480         * conform/check-header-lists.sh: New file.
7481         * conform/run-conformtest.sh: Remove.
7482
7483         * conform/conformtest.pl: Allow ' and \ in values given for
7484         constants.
7485         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7486         inclusion.
7487         [POSIX] (sys/types.h): Likewise.
7488         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7489         inclusion.
7490         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7491         inclusion.
7492         * conform/data/signal.h-data (SIGIO): Remove expectation.
7493         [XPG3] (SIGBUS): Do not expect.
7494         [POSIX || XPG3] (SIGPOLL): Likewise.
7495         [POSIX || XPG3] (SIGPROF): Likewise.
7496         [POSIX || XPG3] (SIGSYS): Likewise.
7497         [XPG3] (SIGTRAP): Likewise.
7498         [POSIX || XPG3] (SIGURG): Likewise.
7499         [POSIX || XPG3] (SIGVTALRM): Likewise.
7500         [POSIX || XPG3] (SIGXCPU): Likewise.
7501         [POSIX || XPG3] (SIGXFSZ): Likewise.
7502         [POSIX] (SA_SIGINFO): Expect.
7503         [XPG3] (siginfo_t): Do not expect type or contents.
7504         [POSIX] (si_pid): Do not expect element.
7505         [POSIX] (si_uid): Likewise.
7506         [POSIX] (si_addr): Likewise.
7507         [POSIX] (si_status): Likewise.
7508         [POSIX] (si_band): Likewise.
7509         [XPG4] (si_value): Likewise.
7510         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7511         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7512         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7513         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7514         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7515         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7516         [POSIX || XPG3] (ILL_COPROC): Likewise.
7517         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7518         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7519         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7520         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7521         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7522         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7523         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7524         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7525         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7526         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7527         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7528         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7529         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7530         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7531         [POSIX || XPG3] (CLD_EXITED): Likewise.
7532         [POSIX || XPG3] (CLD_KILLED): Likewise.
7533         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7534         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7535         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7536         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7537         [POSIX || XPG3] (POLL_IN): Likewise.
7538         [POSIX || XPG3] (POLL_OUT): Likewise.
7539         [POSIX || XPG3] (POLL_MSG): Likewise.
7540         [POSIX || XPG3] (POLL_ERR): Likewise.
7541         [POSIX || XPG3] (POLL_PRI): Likewise.
7542         [POSIX || XPG3] (POLL_HUP): Likewise.
7543         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7544         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7545         (SIG*): Do not allow.
7546         [XPG3] (si_*): Likewise.
7547         [XPG3] (SI_*): Likewise.
7548         [XPG3 || XPG4] (sigev_*): Likewise.
7549         [XPG3 || XPG4] (SIGEV_*): Likewise.
7550         [XPG3 || XPG4] (sival_*): Likewise.
7551         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7552         [POSIX || XPG3] (BUS_*): Likewise.
7553         [POSIX || XPG3] (CLD_*): Likewise.
7554         [POSIX || XPG3] (FPE_*): Likewise.
7555         [POSIX || XPG3] (ILL_*): Likewise.
7556         [POSIX || XPG3] (POLL_*): Likewise.
7557         [POSIX || XPG3] (SEGV_*): Likewise.
7558         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7559         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7560         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7561         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7562         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7563         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7564         Specify type and value.
7565         (TVERSLEN): Likewise.
7566         (REGTYPE): Likewise.
7567         (AREGTYPE): Likewise.
7568         (LNKTYPE): Likewise.
7569         (SYMTYPE): Likewise.
7570         (CHRTYPE): Likewise.
7571         (BLKTYPE): Likewise.
7572         (DIRTYPE): Likewise.
7573         (FIFOTYPE): Likewise.
7574         (CONTTYPE): Likewise.
7575         (TSUID): Likewise.
7576         (TSGID): Likewise.
7577         (TSVTX): Likewise.
7578         (TUREAD): Likewise.
7579         (TUWRITE): Likewise.
7580         (TUEXEC): Likewise.
7581         (TGREAD): Likewise.
7582         (TGWRITE): Likewise.
7583         (TGEXEC): Likewise.
7584         (TOREAD): Likewise.
7585         (TOWRITE): Likewise.
7586         (TOEXEC): Likewise.
7587         [POSIX] (TSVTX): Expect constant.
7588
7589 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7590
7591         * Makefile (tests): Change dependencies to ....
7592         (tests-special): ... additions to this variable.
7593         (tests): Depend on $(tests-special).
7594         * Makerules (check-abi-list): New variable.
7595         (check-abi): Depend on $(check-abi-list).
7596         [$(subdir) = elf] (tests-special): Add
7597         $(objpfx)check-abi-libc.out.
7598         [$(build-shared) = yes && subdir] (tests-special): Add
7599         $(check-abi-list).
7600         [$(build-shared) = yes && subdir] (tests): Do not depend on
7601         check-abi.
7602         * Rules (tests): Depend on $(tests-special).
7603         (xtests): Depend on $(xtests-special).
7604         * catgets/Makefile (tests): Change dependencies to ....
7605         (tests-special): ... additions to this variable.
7606         * conform/Makefile (tests): Change dependencies to ....
7607         (tests-special): ... additions to this variable.
7608         * elf/Makefile (tests): Change dependencies to ....
7609         (tests-special): ... additions to this variable.
7610         * grp/Makefile (tests): Change dependencies to ....
7611         (tests-special): ... additions to this variable.
7612         * iconv/Makefile (xtests): Change dependencies to ....
7613         (xtests-special): ... additions to this variable.
7614         * iconvdata/Makefile (tests): Change dependencies to ....
7615         (tests-special): ... additions to this variable.
7616         * intl/Makefile (tests): Change dependencies to ....
7617         (tests-special): ... additions to this variable.  Also add
7618         $(objpfx)tst-gettext.out.
7619         * io/Makefile (tests): Change dependencies to ....
7620         (tests-special): ... additions to this variable.
7621         * libio/Makefile (tests): Change dependencies to ....
7622         (tests-special): ... additions to this variable.
7623         * malloc/Makefile (tests): Change dependencies to ....
7624         (tests-special): ... additions to this variable.
7625         * misc/Makefile (tests): Change dependencies to ....
7626         (tests-special): ... additions to this variable.
7627         * nptl/Makefile (tests): Change dependencies to ....
7628         (tests-special): ... additions to this variable.
7629         * nptl_db/Makefile (tests): Change dependencies to ....
7630         (tests-special): ... additions to this variable.
7631         * posix/Makefile (tests): Change dependencies to ....
7632         (tests-special): ... additions to this variable.
7633         (xtests): Change dependencies to ....
7634         (xtests-special): ... additions to this variable.
7635         * resolv/Makefile (tests): Change dependencies to ....
7636         (tests-special): ... additions to this variable.
7637         (xtests): Change dependencies to ....
7638         (xtests-special): ... additions to this variable.
7639         * stdio-common/Makefile (tests): Change dependencies to ....
7640         (tests-special): ... additions to this variable.
7641         (do-tst-unbputc): Remove target.
7642         (do-tst-printf): Likewise.
7643         * stdlib/Makefile (tests): Change dependencies to ....
7644         (tests-special): ... additions to this variable.
7645         * string/Makefile (tests): Change dependencies to ....
7646         (tests-special): ... additions to this variable.
7647         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7648         (tests-special): ... additions to this variable.
7649
7650         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7651         whole file.
7652         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7653         whole file.
7654         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7655         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7656
7657         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7658         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7659         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7660         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7661         * conform/data/libgen.h-data [XPG3]: Likewise.
7662         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7663         * conform/data/ndbm.h-data [XPG3]: Likewise.
7664         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7665         * conform/data/netdb.h-data [XPG3]: Likewise.
7666         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7667         * conform/data/poll.h-data [XPG3]: Likewise.
7668         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7669         * conform/data/strings.h-data [XPG3]: Likewise.
7670         * conform/data/stropts.h-data [XPG3]: Likewise.
7671         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7672         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7673         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7674         Likewise.
7675         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7676         * conform/data/sys/time.h-data [XPG3]: Likewise.
7677         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7678         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7679         * conform/data/sys/un.h-data [XPG3]: Likewise.
7680         * conform/data/syslog.h-data [XPG3]: Likewise.
7681         * conform/data/ucontext.h-data [XPG3]: Likewise.
7682         * conform/data/utmpx.h-data [XPG3]: Likewise.
7683         * conform/data/varargs.h-data [UNIX98]: Enable file.
7684
7685         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7686
7687         * math/libm-test.inc (struct test_f_f_data): Move expected results
7688         into structure for each rounding mode.
7689         (struct test_ff_f_data): Likewise.
7690         (struct test_ff_f_data_nexttoward): Likewise.
7691         (struct test_fi_f_data): Likewise.
7692         (struct test_fl_f_data): Likewise.
7693         (struct test_if_f_data): Likewise.
7694         (struct test_fff_f_data): Likewise.
7695         (struct test_c_f_data): Likewise.
7696         (struct test_f_f1_data): Likewise.
7697         (struct test_fF_f1_data): Likewise.
7698         (struct test_ffI_f1_data): Likewise.
7699         (struct test_c_c_data): Likewise.
7700         (struct test_cc_c_data): Likewise.
7701         (struct test_f_i_data): Likewise.
7702         (struct test_ff_i_data): Likewise.
7703         (struct test_f_l_data): Likewise.
7704         (struct test_f_L_data): Likewise.
7705         (struct test_fFF_11_data): Likewise.
7706         (RM_): New macro.
7707         (RM_FE_DOWNWARD): Likewise.
7708         (RM_FE_TONEAREST): Likewise.
7709         (RM_FE_TOWARDZERO): Likewise.
7710         (RM_FE_UPWARD): Likewise.
7711         (RUN_TEST_LOOP_f_f): Update references to expected results.
7712         (RUN_TEST_LOOP_2_f): Likewise.
7713         (RUN_TEST_LOOP_fff_f): Likewise.
7714         (RUN_TEST_LOOP_c_f): Likewise.
7715         (RUN_TEST_LOOP_f_f1): Likewise.
7716         (RUN_TEST_LOOP_fF_f1): Likewise.
7717         (RUN_TEST_LOOP_fI_f1): Likewise.
7718         (RUN_TEST_LOOP_ffI_f1): Likewise.
7719         (RUN_TEST_LOOP_c_c): Likewise.
7720         (RUN_TEST_LOOP_cc_c): Likewise.
7721         (RUN_TEST_LOOP_f_i): Likewise.
7722         (RUN_TEST_LOOP_f_i_tg): Likewise.
7723         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7724         (RUN_TEST_LOOP_f_b): Likewise.
7725         (RUN_TEST_LOOP_f_b_tg): Likewise.
7726         (RUN_TEST_LOOP_f_l): Likewise.
7727         (RUN_TEST_LOOP_f_L): Likewise.
7728         (RUN_TEST_LOOP_fFF_11): Likewise.
7729         * math/gen-libm-test.pl (parse_args): Output four copies of
7730         expected results for each test.
7731
7732         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7733         (__ASSUME_UTIMES): Remove.
7734         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7735         (__ASSUME_UTIMES): Likewise.
7736
7737         * math/gen-auto-libm-tests.c: Update comment on output format.
7738         (output_for_one_input_case): Generate before-rounding and
7739         after-rounding information as conditions on output flags not
7740         floating-point format.
7741         * math/auto-libm-test-out: Regenerated.
7742         * math/gen-libm-test.pl (cond_value): New function.
7743         (or_cond_value): Use cond_value.
7744         (generate_testfile): Handle conditional exceptions.
7745
7746 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7747
7748         * math/libm-test.inc (max_valid_error): New variable.
7749         (init_max_error): Take new argument specifying whether function
7750         results are exactly determined.  Set max_valid_error and bound
7751         other variables for errors based on this argument.
7752         (set_max_error): Do not record results above max_valid_error.
7753         (check_float_internal): Only accept errors of up to 0.5ulps if
7754         also at most max_valid_error.
7755         (START): Take new argument EXACT and pass it to init_max_error.
7756         (acos_test): Update call to START.
7757         (acos_test_tonearest): Likewise.
7758         (acos_test_towardzero): Likewise.
7759         (acos_test_downward): Likewise.
7760         (acos_test_upward): Likewise.
7761         (acosh_test): Likewise.
7762         (asin_test): Likewise.
7763         (asin_test_tonearest): Likewise.
7764         (asin_test_towardzero): Likewise.
7765         (asin_test_downward): Likewise.
7766         (asin_test_upward): Likewise.
7767         (asinh_test): Likewise.
7768         (atan_test): Likewise.
7769         (atanh_test): Likewise.
7770         (atan2_test): Likewise.
7771         (cabs_test): Likewise.
7772         (cacos_test): Likewise.
7773         (cacosh_test): Likewise.
7774         (carg_test): Likewise.
7775         (casin_test): Likewise.
7776         (casinh_test): Likewise.
7777         (catan_test): Likewise.
7778         (catanh_test): Likewise.
7779         (cbrt_test): Likewise.
7780         (ccos_test): Likewise.
7781         (ccosh_test): Likewise.
7782         (ceil_test): Likewise.
7783         (cexp_test): Likewise.
7784         (cimag_test): Likewise.
7785         (clog_test): Likewise.
7786         (clog10_test): Likewise.
7787         (conj_test): Likewise.
7788         (copysign_test): Likewise.
7789         (cos_test): Likewise.
7790         (cos_test_tonearest): Likewise.
7791         (cos_test_towardzero): Likewise.
7792         (cos_test_downward): Likewise.
7793         (cos_test_upward): Likewise.
7794         (cosh_test): Likewise.
7795         (cosh_test_tonearest): Likewise.
7796         (cosh_test_towardzero): Likewise.
7797         (cosh_test_downward): Likewise.
7798         (cosh_test_upward): Likewise.
7799         (cpow_test): Likewise.
7800         (cproj_test): Likewise.
7801         (creal_test): Likewise.
7802         (csin_test): Likewise.
7803         (csinh_test): Likewise.
7804         (csqrt_test): Likewise.
7805         (ctan_test): Likewise.
7806         (ctan_test_tonearest): Likewise.
7807         (ctan_test_towardzero): Likewise.
7808         (ctan_test_downward): Likewise.
7809         (ctan_test_upward): Likewise.
7810         (ctanh_test): Likewise.
7811         (ctanh_test_tonearest): Likewise.
7812         (ctanh_test_towardzero): Likewise.
7813         (ctanh_test_downward): Likewise.
7814         (ctanh_test_upward): Likewise.
7815         (erf_test): Likewise.
7816         (erfc_test): Likewise.
7817         (exp_test): Likewise.
7818         (exp_test_tonearest): Likewise.
7819         (exp_test_towardzero): Likewise.
7820         (exp_test_downward): Likewise.
7821         (exp_test_upward): Likewise.
7822         (exp10_test): Likewise.
7823         (exp10_test_tonearest): Likewise.
7824         (exp10_test_towardzero): Likewise.
7825         (exp10_test_downward): Likewise.
7826         (exp10_test_upward): Likewise.
7827         (pow10_test): Likewise.
7828         (exp2_test): Likewise.
7829         (expm1_test): Likewise.
7830         (expm1_test_tonearest): Likewise.
7831         (expm1_test_towardzero): Likewise.
7832         (expm1_test_downward): Likewise.
7833         (expm1_test_upward): Likewise.
7834         (fabs_test): Likewise.
7835         (fdim_test): Likewise.
7836         (floor_test): Likewise.
7837         (fma_test): Likewise.
7838         (fma_test_towardzero): Likewise.
7839         (fma_test_downward): Likewise.
7840         (fma_test_upward): Likewise.
7841         (fmax_test): Likewise.
7842         (fmin_test): Likewise.
7843         (fmod_test): Likewise.
7844         (fpclassify_test): Likewise.
7845         (frexp_test): Likewise.
7846         (hypot_test): Likewise.
7847         (ilogb_test): Likewise.
7848         (isfinite_test): Likewise.
7849         (finite_test): Likewise.
7850         (isgreater_test): Likewise.
7851         (isgreaterequal_test): Likewise.
7852         (isinf_test): Likewise.
7853         (isless_test): Likewise.
7854         (islessequal_test): Likewise.
7855         (islessgreater_test): Likewise.
7856         (isnan_test): Likewise.
7857         (isnormal_test): Likewise.
7858         (issignaling_test): Likewise.
7859         (isunordered_test): Likewise.
7860         (j0_test): Likewise.
7861         (j1_test): Likewise.
7862         (jn_test): Likewise.
7863         (ldexp_test): Likewise.
7864         (lgamma_test): Likewise.
7865         (gamma_test): Likewise.
7866         (lrint_test): Likewise.
7867         (lrint_test_tonearest): Likewise.
7868         (lrint_test_towardzero): Likewise.
7869         (lrint_test_downward): Likewise.
7870         (lrint_test_upward): Likewise.
7871         (llrint_test): Likewise.
7872         (llrint_test_tonearest): Likewise.
7873         (llrint_test_towardzero): Likewise.
7874         (llrint_test_downward): Likewise.
7875         (llrint_test_upward): Likewise.
7876         (log_test): Likewise.
7877         (log10_test): Likewise.
7878         (log1p_test): Likewise.
7879         (log2_test): Likewise.
7880         (logb_test): Likewise.
7881         (logb_test_downward): Likewise.
7882         (lround_test): Likewise.
7883         (llround_test): Likewise.
7884         (modf_test): Likewise.
7885         (nearbyint_test): Likewise.
7886         (nextafter_test): Likewise.
7887         (nexttoward_test): Likewise.
7888         (pow_test): Likewise.
7889         (pow_test_tonearest): Likewise.
7890         (pow_test_towardzero): Likewise.
7891         (pow_test_downward): Likewise.
7892         (pow_test_upward): Likewise.
7893         (remainder_test): Likewise.
7894         (drem_test): Likewise.
7895         (remainder_test_tonearest): Likewise.
7896         (drem_test_tonearest): Likewise.
7897         (remainder_test_towardzero): Likewise.
7898         (drem_test_towardzero): Likewise.
7899         (remainder_test_downward): Likewise.
7900         (drem_test_downward): Likewise.
7901         (remainder_test_upward): Likewise.
7902         (drem_test_upward): Likewise.
7903         (remquo_test): Likewise.
7904         (rint_test): Likewise.
7905         (rint_test_tonearest): Likewise.
7906         (rint_test_towardzero): Likewise.
7907         (rint_test_downward): Likewise.
7908         (rint_test_upward): Likewise.
7909         (round_test): Likewise.
7910         (scalb_test): Likewise.
7911         (scalbn_test): Likewise.
7912         (scalbln_test): Likewise.
7913         (signbit_test): Likewise.
7914         (sin_test): Likewise.
7915         (sin_test_tonearest): Likewise.
7916         (sin_test_towardzero): Likewise.
7917         (sin_test_downward): Likewise.
7918         (sin_test_upward): Likewise.
7919         (sincos_test): Likewise.
7920         (sinh_test): Likewise.
7921         (sinh_test_tonearest): Likewise.
7922         (sinh_test_towardzero): Likewise.
7923         (sinh_test_downward): Likewise.
7924         (sinh_test_upward): Likewise.
7925         (sqrt_test): Likewise.
7926         (sqrt_test_tonearest): Likewise.
7927         (sqrt_test_towardzero): Likewise.
7928         (sqrt_test_downward): Likewise.
7929         (sqrt_test_upward): Likewise.
7930         (tan_test): Likewise.
7931         (tan_test_tonearest): Likewise.
7932         (tan_test_towardzero): Likewise.
7933         (tan_test_downward): Likewise.
7934         (tan_test_upward): Likewise.
7935         (tanh_test): Likewise.
7936         (tgamma_test): Likewise.
7937         (trunc_test): Likewise.
7938         (y0_test): Likewise.
7939         (y1_test): Likewise.
7940         (yn_test): Likewise.
7941         (significand_test): Likewise.
7942
7943         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7944         individual tests in comment.
7945         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7946         (prev_max_error): New variable.
7947         (prev_real_max_error): Likewise.
7948         (prev_imag_max_error): Likewise.
7949         (compare_ulp_data): Don't refer to test names in comment.
7950         (find_test_ulps): Remove function.
7951         (find_function_ulps): Likewise.
7952         (find_complex_function_ulps): Likewise.
7953         (init_max_error): Take function name as argument.  Look up ulps
7954         for that function.
7955         (print_ulps): Remove function.
7956         (print_max_error): Use prev_max_error instead of calling
7957         find_function_ulps.
7958         (print_complex_max_error): Use prev_real_max_error and
7959         prev_imag_max_error instead of calling find_complex_function_ulps.
7960         (check_float_internal): Take max_ulp parameter instead of calling
7961         find_test_ulps.  Don't call print_ulps.
7962         (check_float): Update call to check_float_internal.
7963         (check_complex): Update calls to check_float_internal.
7964         (START): Pass argument to init_max_error.
7965         * math/gen-libm-test.pl (%results): Don't include "kind"
7966         information.
7967         (parse_ulps): Don't handle ulps of individual tests.
7968         (print_ulps_file): Likewise.
7969         (output_ulps): Likewise.
7970         * math/README.libm-test: Update.
7971         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7972         individual tests.
7973         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7974         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7975         * sysdeps/arm/libm-test-ulps: Likewise.
7976         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7977         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7978         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7979         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7980         * sysdeps/microblaze/libm-test-ulps: Likewise.
7981         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7982         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7983         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7984         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7985         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7986         * sysdeps/sh/libm-test-ulps: Likewise.
7987         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7988         * sysdeps/tile/libm-test-ulps: Likewise.
7989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7990
7991 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7992
7993         * math/libm-test.inc (print_complex_max_error): Check separately
7994         whether real and imaginary errors are within allowed range and
7995         pass 0 to print_complex_function_ulps instead of value within
7996         allowed range.
7997
7998 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7999
8000         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8001         formatting.
8002         (get_handles_fopen): Likewise.
8003         (do_write_test): Likewise.
8004
8005         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8006
8007         * libio/fileops.c (do_ftell): Use cached offset when
8008         available.
8009         * libio/iofwide.c (do_ftell_wide): Likewise.
8010         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8011         _IO_file_attach.
8012         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8013
8014         [BZ #16532]
8015         * libio/libioP.h (get_file_offset): New function.
8016         * libio/fileops.c (get_file_offset): Likewise.
8017         (do_ftell): Likewise.
8018         (_IO_new_file_seekoff): Split out ftell logic.
8019         * libio/wfileops.c (do_ftell_wide): Likewise.
8020         (_IO_wfile_seekoff): Split out ftell logic.
8021         * libio/tst-ftell-active-handler.c: New test case.
8022         * libio/Makefile (tests): Add it.
8023
8024 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8025
8026         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8027         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8028
8029 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8030
8031         [BZ #16639]
8032         * nscd/connections.c (nscd_init): Call do_exit.
8033         (start_threads): Call do_exit and notify_parent.
8034         (begin_drop_privileges): Call do_exit.
8035         (finish_drop_privileges): Likewise.
8036         * nscd/selinux.c (preserve_capabilities): Likewise.
8037         (install_real_capabilities): Likewise.
8038         (nscd_selinux_enabled): Likewise.
8039         (avc_create_thread): Likewise.
8040         (avc_alloc_lock): Likewise.
8041         (nscd_avc_init): Likewise.
8042         * nscd/nscd.c (parent_fd): New static variable.
8043         (main): Create a pipe between parent and child processes.
8044         Skip closing parent_fd.
8045         (monitor_child): New function.
8046         (do_exit): Likewise.
8047         (notify_parent): Likewise.
8048         * nscd/nscd.h (notify_parent): Likewise.
8049         (do_exit): Likewise.
8050
8051 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8052
8053         * malloc/malloc.c (__libc_calloc): Revert last change.
8054
8055 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8056
8057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8058
8059 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8060
8061         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8063         implementation.
8064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8065         (__libc_ifunc_impl_list): Likewise.
8066         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8067         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8068         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8069         * string/strrchr.c: Define STRRCHR.
8070
8071 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8072
8073         * benchtest/bench-strtok.c (simple_strtok): Delete.
8074         (strtok_string): Use as benchmark.
8075         * string/strtok (STRTOK): New macro.
8076
8077 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8078
8079         * manual/threads.texi: Add header and standard comments to all
8080         functions.
8081
8082         * elf/dl-lookup.c (check_match): New function.
8083         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8084         (do_lookup_x): Remove nested function check_match. Use non-nested
8085         function check_match.
8086
8087 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8088
8089         * csu/Makefile (generated, before-compile): Use += rather than =.
8090         * catgets/Makefile (generated, generated-dirs): Likewise.
8091         * debug/Makefile (generated): Likewise.
8092         * dlfcn/Makefile (generated): Likewise.
8093         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8094         * iconvdata/Makefile (before-compile, generated): Likewise.
8095         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8096         * libio/Makefile (generated): Likewise.
8097         * malloc/Makefile (generated): Likewise.
8098         * manual/Makefile (generated, generated-dirs): Likewise.
8099         * misc/Makefile (generated): Likewise.
8100         * posix/Makefile (generated): Likewise.
8101         * resolv/Makefile (generated): Likewise.
8102         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8103         * timezone/Makefile (generated, generated-dirs): Likewise.
8104
8105         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8106
8107 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8108
8109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8110         power8 implementation.
8111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8112         file: POWER8 llround ifunc implementation.
8113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8114         (__lllround): Add POWER8 implementation.
8115         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8116         POWER8 llround implementation.
8117
8118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8119         power8 implementation.
8120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8121         file: POWER8 llrint ifunc implementation.
8122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8123         Add POWER8 implementation.
8124         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8125         POWER8 llrint implementation.
8126
8127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8128         power8 implementation.
8129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8130         file: POWER8 finite ifunc implementation.
8131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8132         Add POWER8 implementation.
8133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8134         Likewise.
8135         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8136         POWER8 finite implementation.
8137         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8138
8139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8140         power8 implementation.
8141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8142         file: POWER8 isinf ifunc implementation.
8143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8144         POWER8 implementation.
8145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8146         Likewise.
8147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8148         isinf implementation.
8149         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8150
8151         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8152         (INIT_ARCH): Add hwcap2 initialization.
8153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8154         power8 implementation.
8155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8156         file: POWER8 isnan ifunc implementation.
8157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8158         POWER8 implementation.
8159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8160         Likewise.
8161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8162         isnan implementation.
8163         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8164
8165 2014-02-27  Joey Ye  <joey.ye@arm.com>
8166
8167         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8168         (_FP_NANFRAC_Q): Set to zero.
8169
8170 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8171
8172         [BZ #16623]
8173         * math/auto-libm-test-in: New test inputs.
8174         * math/auto-libm-test-out: Regenerate.
8175         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8176         and DA.
8177         (__cos): Likewise.
8178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8179
8180 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8181
8182         * scripts/evaluate-test.sh: Take new argument indicating whether
8183         failure is expected.
8184         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8185         indicating whether failure is expected.
8186         * conform/Makefile (test-xfail-run-conformtest): New variable.
8187         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8188         level.
8189         * posix/Makefile (test-xfail-annexc): New variable.
8190         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8191
8192 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8193
8194         * argp/Makefile: Include Makeconfig immediately after defining
8195         subdir.
8196         * assert/Makefile: Likewise.
8197         * benchtests/Makefile: Likewise.
8198         * catgets/Makefile: Likewise.
8199         * conform/Makefile: Likewise.
8200         * crypt/Makefile: Likewise.
8201         * csu/Makefile: Likewise.
8202         (all): Remove target.
8203         * ctype/Makefile: Include Makeconfig immediately after defining
8204         subdir.
8205         * debug/Makefile: Likewise.
8206         * dirent/Makefile: Likewise.
8207         * dlfcn/Makefile: Likewise.
8208         * gmon/Makefile: Likewise.
8209         * gnulib/Makefile: Likewise.
8210         * grp/Makefile: Likewise.
8211         * gshadow/Makefile: Likewise.
8212         * hesiod/Makefile: Likewise.
8213         * hurd/Makefile: Likewise.
8214         (all): Remove target.
8215         * iconvdata/Makefile: Include Makeconfig immediately after
8216         defining subdir.
8217         * inet/Makefile: Likewise.
8218         * intl/Makefile: Likewise.
8219         * io/Makefile: Likewise.
8220         * libio/Makefile: Likewise.
8221         (all): Remove target.
8222         * locale/Makefile: Include Makeconfig immediately after defining
8223         subdir.
8224         * login/Makefile: Likewise.
8225         * mach/Makefile: Likewise.
8226         (all): Remove target.
8227         * malloc/Makefile: Include Makeconfig immediately after defining
8228         subdir.
8229         (all): Remove target.
8230         * manual/Makefile: Include Makeconfig immediately after defining
8231         subdir.
8232         * math/Makefile: Likewise.
8233         * misc/Makefile: Likewise.
8234         * nis/Makefile: Likewise.
8235         * nss/Makefile: Likewise.
8236         * po/Makefile: Likewise.
8237         (all): Remove target.
8238         * posix/Makefile: Include Makeconfig immediately after defining
8239         subdir.
8240         * pwd/Makefile: Likewise.
8241         * resolv/Makefile: Likewise.
8242         * resource/Makefile: Likewise.
8243         * rt/Makefile: Likewise.
8244         * setjmp/Makefile: Likewise.
8245         * shadow/Makefile: Likewise.
8246         * signal/Makefile: Likewise.
8247         * socket/Makefile: Likewise.
8248         * soft-fp/Makefile: Likewise.
8249         * stdio-common/Makefile: Likewise.
8250         * stdlib/Makefile: Likewise.
8251         * streams/Makefile: Likewise.
8252         * string/Makefile: Likewise.
8253         * sunrpc/Makefile: Likewise.
8254         (all): Remove target.
8255         * sysvipc/Makefile: Include Makeconfig immediately after defining
8256         subdir.
8257         * termios/Makefile: Likewise.
8258         * time/Makefile: Likewise.
8259         * timezone/Makefile: Likewise.
8260         (all): Remove target.
8261         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8262         subdir.
8263         * wctype/Makefile: Likewise.
8264
8265 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8266
8267         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8268         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8269         (libc_feholdexcept_setround_mips): Ditto.
8270         (libc_feholdsetround): New.
8271         (libc_feholdsetroundf): New.
8272         (libc_feholdsetroundl): New.
8273         (libc_feupdateenv_test_mips): New.
8274         (libc_feupdateenv_test): New.
8275         (libc_feupdateenv_testf): New.
8276         (libc_feupdateenv_testl): New.
8277         (libc_feresetround): New.
8278         (libc_feresetroundf): New.
8279         (libc_feresetroundl): New.
8280         (libc_fetestexcept_mips): New.
8281         (libc_fetestexcept): New.
8282         (libc_fetestexceptf): New.
8283         (libc_fetestexceptl): New.
8284         (HAVE_RM_CTX): New.
8285         (libc_feholdexcept_setround_mips_ctx): New.
8286         (libc_feholdexcept_setround_ctx): New.
8287         (libc_feholdexcept_setroundf_ctx): New.
8288         (libc_feholdexcept_setroundl_ctx): New.
8289         (libc_fesetenv_mips_ctx): New.
8290         (libc_fesetenv_ctx): New.
8291         (libc_fesetenv_ctxf): New.
8292         (libc_fesetenv_ctxl): New.
8293         (libc_feupdateenv_mips_ctx): New.
8294         (libc_feupdateenv_ctx): New.
8295         (libc_feupdateenvf_ctx): New.
8296         (libc_feupdateenvl_ctx): New.
8297         (libc_feholdsetround_mips_ctx): New.
8298         (libc_feholdsetround_ctx): New.
8299         (libc_feholdsetroundf_ctx): New.
8300         (libc_feholdsetroundl_ctx): New.
8301         (libc_feresetround_mips_ctx): New.
8302         (libc_feresetround_ctx): New.
8303         (libc_feresetroundf_ctx): New.
8304         (libc_feresetroundl_ctx): New.
8305
8306 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8307
8308         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8309
8310         * manual/ipc.texi: New file.
8311         * manual/Makefile (chapters): Add ipc.
8312         * manual/job.texi: Add "Inter-Process Communication" to next.
8313         * manual/process.texi: Add "Inter-Process Communication" to prev.
8314
8315 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8316
8317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8318
8319 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8320
8321         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8322
8323         * manual/arith.texi: Fix spaces after sentences.
8324         * manual/charset.texi: Likewise.
8325         * manual/errno.texi: Likewise.
8326         * manual/install.texi: Likewise.
8327         * manual/llio.texi: Likewise.
8328         * manual/locale.texi: Likewise.
8329         * manual/maint.texi: Likewise.
8330         * manual/math.texi: Likewise.
8331         * manual/memory.texi: Likewise.
8332         * manual/message.texi: Likewise.
8333         * manual/probes.texi: Likewise.
8334         * manual/resource.texi: Likewise.
8335         * manual/signal.texi: Likewise.
8336         * manual/socket.texi: Likewise.
8337         * manual/stdio.texi: Likewise.
8338         * manual/string.texi: Likewise.
8339         * manual/time.texi: Likewise.
8340         * manual/users.texi: Likewise.
8341
8342 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8343
8344         [BZ #16632]
8345         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8346         _DEFAULT_SOURCE is defined.
8347
8348 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8349             Carlos O'Donell  <carlos@redhat.com>
8350
8351         [BZ #16613]
8352         * elf/dl-tls.c (_dl_count_modids): New function.
8353         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8354         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8355         audit library and increment generation counter.
8356         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8357         * elf/tst-audit9.c: New file.
8358         * elf/tst-auditmod9a.c: New file.
8359         * elf/tst-auditmod9b.c: New file.
8360         * elf/Makefile: Add rules to build and run tst-audit9.
8361
8362 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8363
8364         [BZ #15347]
8365         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8366
8367 2014-02-25  Will Newton  <will.newton@linaro.org>
8368
8369         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8370         (__longjmp): Restore sp and lr before restoring callee
8371         saved registers.  Add longjmp and longjmp_target
8372         SystemTap probe point.
8373         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8374         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8375         Define to zero to match jmpbuf layout.
8376         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8377         (__sigsetjmp): Save sp and lr before saving callee
8378         saved registers.  Add setjmp SystemTap probe point.
8379
8380 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8381
8382         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8383
8384 2014-02-24  Andreas Schwab  <schwab@suse.de>
8385
8386         [BZ #15804]
8387         * elf/pldd.c (wait_for_ptrace_stop): New function.
8388         (main): Call it after attaching.
8389
8390 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8391
8392         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8393         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8394         Versions files is now verboten.
8395         * hurd/Versions (libc: GLIBC_2.0):
8396         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8397         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8398         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8399         * mach/Versions: Likewise.
8400
8401         * csu/Versions: Remove unused %include.
8402         * resolv/Versions: Likewise.
8403
8404 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8405
8406         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8407         ($(objpfx)check-local-headers.out): Likewise.
8408         ($(objpfx)begin-end-check.out): Likewise.
8409         * Makerules (check-abi-%.out): Likewise.
8410         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8411         ($(objpfx)test2.cat): Likewise.
8412         ($(objpfx)de/libc.cat): Likewise.
8413         ($(objpfx)test-gencat.out): Likewise.
8414         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8415         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8416         ($(objpfx)noload-mem): Likewise.
8417         ($(objpfx)tst-pathopt.out): Likewise.
8418         ($(objpfx)tst-rtld-load-self.out): Likewise.
8419         ($(objpfx)tst-array1-cmp.out): Likewise.
8420         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8421         ($(objpfx)tst-array2-cmp.out): Likewise.
8422         ($(objpfx)tst-array3-cmp.out): Likewise.
8423         ($(objpfx)tst-array4-cmp.out): Likewise.
8424         ($(objpfx)tst-array5-cmp.out): Likewise.
8425         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8426         ($(objpfx)check-textrel.out): Likewise.
8427         ($(objpfx)check-execstack.out): Likewise.
8428         ($(objpfx)check-localplt.out): Likewise.
8429         ($(objpfx)order2-cmp.out): Likewise.
8430         ($(objpfx)tst-leaks1-mem): Likewise.
8431         ($(objpfx)tst-leaks1-static-mem): Likewise.
8432         ($(objpfx)tst-initorder-cmp.out): Likewise.
8433         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8434         ($(objpfx)tst-unused-dep.out): Likewise.
8435         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8436         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8437         * iconv/Makefile (test-iconvconfig): Likewise.
8438         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8439         ($(objpfx)iconv-test.out): Likewise.
8440         ($(objpfx)tst-tables.out): Likewise.
8441         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8442         ($(objpfx)tst-gettext.out): Likewise.
8443         ($(objpfx)tst-translit.out): Likewise.
8444         ($(objpfx)tst-gettext2.out): Likewise.
8445         ($(objpfx)tst-gettext4.out): Likewise.
8446         ($(objpfx)tst-gettext6.out): Likewise.
8447         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8448         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8449         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8450         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8451         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8452         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8453         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8454         ($(objpfx)wordexp-tst.out): Likewise.
8455         ($(objpfx)annexc.out): Likewise.
8456         ($(objpfx)tst-fnmatch-mem): Likewise.
8457         ($(objpfx)bug-regex2-mem): Likewise.
8458         ($(objpfx)bug-regex14-mem): Likewise.
8459         ($(objpfx)bug-regex21-mem): Likewise.
8460         ($(objpfx)bug-regex31-mem): Likewise.
8461         ($(objpfx)tst-vfork3-mem): Likewise.
8462         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8463         ($(objpfx)tst-pcre-mem): Likewise.
8464         ($(objpfx)tst-boost-mem): Likewise.
8465         ($(objpfx)tst-getconf.out): Likewise.
8466         ($(objpfx)bug-ga2-mem): Likewise.
8467         ($(objpfx)bug-glob2-mem): Likewise.
8468         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8469         ($(objpfx)mtrace-tst-leaks2): Likewise.
8470         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8471         ($(objpfx)tst-printf.out): Likewise.
8472         ($(objpfx)tst-setvbuf1.out): Likewise.
8473         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8474         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8475         ($(objpfx)tst-fmtmsg.out): Likewise.
8476         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8477         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8478
8479         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8480         * bits/sigaction.h [__USE_MISC]: Likewise.
8481         * bits/waitstatus.h: Update #endif comments.
8482         * ctype/ctype.h: Likewise.
8483         * dirent/dirent.h: Likewise.
8484         [__USE_MISC]: Remove redundant conditionals.
8485         * grp/grp.h: Update #endif comments.
8486         [__USE_GNU]: Remove redundant conditionals.
8487         [__USE_MISC]: Likewise.
8488         * inet/netinet/in.h [__USE_GNU]: Likewise.
8489         * io/sys/stat.h [__USE_MISC]: Likewise.
8490         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8491         * libio/bits/stdio.h: Update #endif comments.
8492         [__USE_MISC]: Remove redundant conditionals.
8493         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8494         * libio/stdio.h: Update #endif comments.
8495         [__USE_MISC]: Remove redundant conditionals.
8496         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8497         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8498         * math/math.h: Update #else and #endif comments.
8499         [__USE_MISC]: Remove redundant conditionals.
8500         * misc/sys/uio.h: Update #endif comments.
8501         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8502         * posix/glob.h [__USE_MISC]: Likewise.
8503         * posix/sys/types.h: Update #endif comments.
8504         [__USE_MISC]: Remove redundant conditionals.
8505         * posix/sys/wait.h: Update #endif comments.
8506         [__USE_MISC]: Remove redundant conditionals.
8507         * posix/unistd.h: Update #endif comments.
8508         [__USE_MISC]: Remove redundant conditionals.
8509         * pwd/pwd.h [__USE_GNU]: Likewise.
8510         [__USE_MISC]: Likewise.
8511         * resolv/netdb.h [__USE_GNU]: Likewise.
8512         * signal/signal.h: Update #endif comments.
8513         [__USE_MISC]: Remove redundant conditionals.
8514         * stdlib/stdlib.h: Update #else and #endif comments.
8515         [__USE_MISC]: Remove redundant conditionals.
8516         [__USE_GNU]: Likewise.
8517         * string/bits/string2.h [__USE_MISC]: Likewise.
8518         * string/string.h: Update #endif comments.
8519         [__USE_MISC]: Remove redundant conditionals.
8520         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8521         Likewise.
8522         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8523         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8524         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8525         Likewise.
8526         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8527         Likewise.
8528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8529         comments.
8530         [__USE_MISC]: Remove redundant conditionals.
8531         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8532         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8533         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8534         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8535         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8536         Likewise.
8537         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8538         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8539         Likewise.
8540         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8541         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8542         Likewise.
8543         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8544         Likewise.
8545         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8546         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8547         Likewise.
8548         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8549         Likewise.
8550         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8551         * sysdeps/x86/bits/string.h: Update #endif comments.
8552         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8553         conditionals.
8554         * time/sys/time.h: Update #endif comments.
8555         * time/time.h: Likewise.
8556         [__USE_MISC]: Remove redundant conditionals.
8557
8558 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8559
8560         [BZ #16600]
8561         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8562
8563 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8564
8565         * Versions.def (librt): Add GLIBC_2.17.
8566
8567 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8568
8569         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8570         synonym for _SYS_AUXV_H to allow direct inclusion.
8571         * sysdeps/sparc/bits/hwcap.h: Likewise.
8572         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8573         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8574         * sysdeps/sparc/sysdep.h: Likewise.
8575
8576 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8577
8578         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8579
8580 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8581
8582         * benchtests/bench-strrchr.c: Print length instead of position.
8583
8584 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8585
8586         [BZ #16611]
8587         * sysdeps/unix/sysv/linux/kernel-features.h
8588         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8589         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8590         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8591         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8592         Likewise.
8593         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8594         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8595         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8596         (__ASSUME_SENDMMSG): Define instead of using previous
8597         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8598         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8599         (__ASSUME_SENDMMSG_SYSCALL): Define.
8600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8601         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8602         Likewise.
8603         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8604         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8605         Likewise.
8606         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8607         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8608         Likewise.
8609         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8610         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8611         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8612         [__ASSUME_SENDMMSG]: Change conditionals to
8613         [__ASSUME_SENDMMSG_SOCKETCALL].
8614         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8615         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8616         Define.
8617         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8618         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8619         Likewise.
8620         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8621         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8622         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8623         [!__ASSUME_SENDMMSG]: Change conditional to
8624         [!__ASSUME_SENDMMSG_SOCKETCALL].
8625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8627         Define.
8628
8629         [BZ #16610]
8630         * sysdeps/unix/sysv/linux/kernel-features.h
8631         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8632         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8633         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8634         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8635         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8636         [__i386__ || __sparc__]
8637         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8638         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8639         (__ASSUME_RECVMMSG): Define instead of using previous
8640         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8641         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8642         (__ASSUME_RECVMMSG_SYSCALL): Define.
8643         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8644         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8645         Likewise.
8646         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8648         Likewise.
8649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8653         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8654         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8655         [__ASSUME_RECVMMSG]: Change condition to
8656         [__ASSUME_RECVMMSG_SOCKETCALL].
8657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8658         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8659         Define.
8660         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8661         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8663         Likewise.
8664         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8665         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8666         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8667         [!__ASSUME_RECVMMSG]: Change condition to
8668         [!__ASSUME_RECVMMSG_SOCKETCALL].
8669         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8670         (__ASSUME_RECVMMSG_SYSCALL): Define.
8671
8672         [BZ #16609]
8673         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8674         __powerpc__ || __s390__ || __sh__ || __sparc__]
8675         (__ASSUME_SOCKETCALL): Define.
8676         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8677         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8678         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8679         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8680         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8681         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8682         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8683         (__ASSUME_ACCEPT4): Define instead of using previous
8684         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8685         __powerpc__ || __sparc__ || __s390__)] condition.
8686         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8687         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8688         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8689         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8690         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8691         [!__ASSUME_ACCEPT4]: Change condition to
8692         [!__ASSUME_ACCEPT4_SOCKETCALL].
8693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8694         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8695         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8697         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8698         __ASSUME_ACCEPT4_SYSCALL.
8699         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8700         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8702         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8703         __ASSUME_ACCEPT4_SYSCALL.
8704         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8705         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8706         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8707         [__ASSUME_ACCEPT4]: Change condition to
8708         [__ASSUME_ACCEPT4_SOCKETCALL].
8709         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8710         (__ASSUME_SOCKETCALL): Define.
8711         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8713         (__ASSUME_SOCKETCALL): Define.
8714         (__ASSUME_ACCEPT4): Remove.
8715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8716         Define.
8717         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8718         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8719         Likewise.
8720         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8721         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8722
8723         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8724         macro.
8725         (HWCAP_ARM_LPAE): Likewise.
8726         (HWCAP_ARM_EVTSTRM): Likewise.
8727         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8728         Add vpfd32, lpae and evtstrm.
8729         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8730         Increase to 22.
8731
8732 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8733
8734         * math/auto-libm-test-in: Add tests of clog10.
8735         * math/auto-libm-test-out: Regenerated.
8736         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8737         * sysdeps/i386/fpu/libm-test-ulps: Update.
8738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8739
8740 2014-02-18  Andreas Schwab  <schwab@suse.de>
8741
8742         [BZ #16574]
8743         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8744         Store non-zero if the second buffer was newly allocated.
8745         (send_dg): Likewise.
8746         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8747         to send_vc and send_dg.
8748         (res_nsend): Pass NULL for ansp2_malloced.
8749         * resolv/res_query.c (__libc_res_nquery): Add parameter
8750         answerp2_malloced and pass it down to __libc_res_nsend.
8751         (res_nquery): Pass additional NULL to __libc_res_nquery.
8752         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8753         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8754         second answer buffer if answerp2_malloced was set.
8755         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8756         (__libc_res_nquerydomain): Add parameter
8757         answerp2_malloced and pass it down to __libc_res_nquery.
8758         (res_nquerydomain): Pass additional NULL to
8759         __libc_res_nquerydomain.
8760         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8761         additional NULL to __libc_res_nsend and __libc_res_nquery.
8762         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8763         additional NULL to __libc_res_nsearch.
8764         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8765         parameter of __libc_res_nsearch to check for separately allocated
8766         second buffer.
8767         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8768         __libc_res_nquery.
8769         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8770         additional NULL to __libc_res_nquery.
8771         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8772         __libc_res_nsearch.
8773         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8774         * include/resolv.h: Update prototypes of __libc_res_nquery,
8775         __libc_res_nsearch, __libc_res_nsend.
8776
8777 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8778
8779         * math/auto-libm-test-in: Add tests of fma.
8780         * math/auto-libm-test-out: Regenerated.
8781         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8782         (fma_towardzero_test_data): Likewise.
8783         (fma_downward_test_data): Likewise.
8784         (fma_upward_test_data): Likewise.
8785         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8786         mpc_mode.
8787         (rounding_modes): Add values for new field.
8788         (func_calc_method): Add value mpfr_fff_f.
8789         (func_calc_desc): Add mpfr_fff_f union field.
8790         (test_function): Add field exact_args.
8791         (FUNC): Add macro argument EXACT_ARGS.
8792         (FUNC_mpfr_f_f): Update call to FUNC.
8793         (FUNC_mpfr_f_f): Likewise.
8794         (FUNC_mpfr_ff_f): Likewise.
8795         (FUNC_mpfr_if_f): Likewise.
8796         (FUNC_mpc_c_f): Likewise.
8797         (FUNC_mpc_c_c): Likewise.
8798         (test_functions): Add fma.  Update calls to FUNC.
8799         (handle_input_arg): Add argument exact_args.
8800         (add_test): Update call to handle_input_arg.
8801         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8802         (output_for_one_input_case): Update call to calc_generic_results.
8803         Recalculate exact zero results in each rounding mode.
8804
8805         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8806         non-negative before setting low bit.
8807         * math/auto-libm-test-in: Mark one asin test possibly having
8808         spurious underflow.
8809         * math/auto-libm-test-out: Regenerated.
8810         * sysdeps/i386/fpu/libm-test-ulps: Update.
8811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8812
8813 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8814
8815         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8816         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8817         ports/sysdeps/unix/sysv/linux/microblaze.
8818         * README: Add missing listing for microblaze*-*-linux-gnu.
8819
8820 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8821
8822         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8823         * sysdeps/unix/sysv/linux/ia64: Move directory from
8824         ports/sysdeps/unix/sysv/linux/ia64.
8825         * README: Update listing for ia64-*-linux-gnu.
8826
8827 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8828             Joseph Myers  <joseph@codesourcery.com>
8829
8830         * Makeconfig (test-name): New variable.
8831         (evaluate-test): Likewise.
8832         * Makerules (do-test-clean): Remove .test-result files.
8833         (common-mostlyclean): Likewise.
8834         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8835         * scripts/evaluate-test.sh: New file.
8836
8837 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8838
8839         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8840         separate $(objpfx)tst-fopenloc-cmp.out and
8841         $(objpfx)tst-fopenloc-mem.out targets.
8842         (tests): Update dependencies.
8843         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8844         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8845         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8846         (tst-rxspencer-no-utf8-ARGS): New variable.
8847         (tst-rxspencer-no-utf8-ENV): Likewise.
8848         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8849         instead of $(objpfx)tst-rxspencer-mem.
8850         ($(objpfx)tst-rxspencer-mem): Change target to
8851         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8852         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8853         * posix/tst-rxspencer-no-utf8.c: New file.
8854
8855         * elf/Makefile ($(objpfx)order.out): Remove rule.
8856         [$(run-built-tests) = yes] (tests): Depend on
8857         $(objpfx)order-cmp.out.
8858         ($(objpfx)order-cmp.out): New rule.
8859         [$(run-built-tests) = yes] (tests): Depend on
8860         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8861         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8862         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8863         $(objpfx)tst-array5-static-cmp.out.
8864         ($(objpfx)tst-array1.out): Remove rule.
8865         ($(objpfx)tst-array1-cmp.out): New rule.
8866         ($(objpfx)tst-array1-static.out): Remove rule.
8867         ($(objpfx)tst-array1-static-cmp.out): New rule.
8868         ($(objpfx)tst-array2.out): Remove rule.
8869         ($(objpfx)tst-array2-cmp.out): New rule.
8870         ($(objpfx)tst-array3.out): Remove rule.
8871         ($(objpfx)tst-array3-cmp.out): New rule.
8872         ($(objpfx)tst-array4.out): Remove rule.
8873         ($(objpfx)tst-array4-cmp.out): New rule.
8874         ($(objpfx)tst-array5.out): Remove rule.
8875         ($(objpfx)tst-array5-cmp.out): New rule.
8876         ($(objpfx)tst-array5-static.out): Remove rule.
8877         ($(objpfx)tst-array5-static-cmp.out): New rule.
8878         [$(run-built-tests) = yes] (tests): Depend on
8879         $(objpfx)order2-cmp.out.
8880         ($(objpfx)order2.out): Remove rule.
8881         ($(objpfx)order2-cmp.out): New rule.
8882         ($(objpfx)tst-initorder.out): Remove rule.
8883         [$(run-built-tests) = yes] (tests): Depend on
8884         $(objpfx)tst-initorder-cmp.out.
8885         ($(objpfx)tst-initorder-cmp.out): New rule.
8886         ($(objpfx)tst-initorder2.out): Remove rule.
8887         [$(run-built-tests) = yes] (tests): Depend on
8888         $(objpfx)tst-initorder2-cmp.out.
8889         ($(objpfx)tst-initorder2-cmp.out): New rule.
8890         [$(run-built-tests) = yes] (tests): Depend on
8891         $(objpfx)tst-unused-dep-cmp.out.
8892         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8893         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8894         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8895         on $(objpfx)tst-setvbuf1-cmp.out.
8896         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8897         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8898         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8899         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8900         ($(objpfx)tst-svc.out): Remove rule.
8901         ($(objpfx)tst-svc-cmp.out): New rule.
8902
8903 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8904
8905         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8906         * ctype/ctype.h [__USE_MISC]: Likewise.
8907         * dirent/dirent.h [__USE_MISC]: Likewise.
8908         * grp/grp.h [__USE_MISC]: Likewise.
8909         * io/fcntl.h [__USE_MISC]: Likewise.
8910         * io/sys/stat.h [__USE_MISC]: Likewise.
8911         * libio/stdio.h [__USE_MISC]: Likewise.
8912         * posix/unistd.h [__USE_MISC]: Likewise.
8913         * pwd/pwd.h [__USE_MISC]: Likewise.
8914         * stdlib.h [__USE_MISC]: Likewise.
8915         * string/bits/string2.h [__USE_MISC]: Likewise.
8916         * string/string.h [__USE_MISC]: Likewise.
8917         * time/time.h [__USE_MISC]: Likewise.
8918
8919 2014-02-13  Andreas Schwab  <schwab@suse.de>
8920
8921         [BZ #16574]
8922         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8923         second answer buffer if it was separately allocated.
8924
8925 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8926
8927         * sysdeps/mips/math-tests.h: Include <features.h>.
8928         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8929         (ROUNDING_TESTS_long_double): Do not define.
8930         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8931         (EXCEPTION_TESTS_long_double): Likewise.
8932         * sysdeps/mips/mips64/libm-test-ulps: Update.
8933
8934         * include/features.h (__USE_BSD): Remove macro definitions.
8935         (__USE_SVID): Likewise.
8936         (_BSD_SOURCE): Likewise.
8937         (_SVID_SOURCE): Likewise.
8938         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8939         from definition of _DEFAULT_SOURCE.
8940         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8941         [_DEFAULT_SOURCE].
8942         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8943         * bits/mman.h [__USE_BSD]: Likewise.
8944         * bits/termios.h [__USE_BSD]: Likewise.
8945         * bits/waitstatus.h [__USE_BSD]: Likewise.
8946         * ctype/ctype.h [__USE_SVID]: Likewise.
8947         * dirent/dirent.h [__USE_BSD]: Likewise.
8948         * grp/grp.h [__USE_SVID]: Likewise.
8949         [__USE_BSD]: Likewise.
8950         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8951         * io/fcntl.h [__USE_BSD]: Likewise.
8952         * io/ftw.h [__USE_BSD]: Likewise.
8953         * io/sys/stat.h [__USE_BSD]: Likewise.
8954         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8955         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8956         * libio/stdio.h [__USE_SVID]: Likewise.
8957         [__USE_BSD]: Likewise.
8958         * math/math.h [__USE_SVID]: Likewise.
8959         [__USE_BSD]: Likewise.
8960         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8961         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8962         * misc/search.h [__USE_SVID]: Likewise.
8963         * misc/sys/mman.h [__USE_BSD]: Likewise.
8964         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8965         * misc/sys/uio.h [__USE_BSD]: Likewise.
8966         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8967         * posix/glob.h [__USE_BSD]: Likewise.
8968         * posix/regex.h [__USE_BSD]: Likewise.
8969         * posix/sys/types.h [__USE_BSD]: Likewise.
8970         [__USE_SVID]: Likewise.
8971         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8972         * posix/sys/wait.h [__USE_BSD]: Likewise.
8973         [__USE_SVID]: Likewise.
8974         * posix/unistd.h [__USE_BSD]: Likewise.
8975         [__USE_SVID]: Likewise.
8976         * pwd/pwd.h [__USE_SVID]: Likewise.
8977         * resolv/netdb.h [__USE_BSD]: Likewise.
8978         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8979         * signal/signal.h [__USE_BSD]: Likewise.
8980         [__USE_SVID]: Likewise.
8981         * socket/sys/socket.h [__USE_BSD]: Likewise.
8982         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8983         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8984         [__USE_SVID]: Likewise.
8985         * string/bits/string2.h [__USE_BSD]: Likewise.
8986         [__USE_SVID]: Likewise.
8987         * string/bits/string3.h [__USE_BSD]: Likewise.
8988         * string/endian.h [__USE_BSD]: Likewise.
8989         * string/string.h [__USE_SVID]: Likewise.
8990         [__USE_BSD]: Likewise.
8991         * string/strings.h [__USE_BSD]: Likewise.
8992         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8993         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8994         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8995         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8996         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8997         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8998         Likewise.
8999         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9000         Likewise.
9001         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9002         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9003         Likewise.
9004         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9005         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9006         Likewise.
9007         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9008         Likewise.
9009         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9010         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9011         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9012         Likewise.
9013         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9014         Likewise.
9015         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9016         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9017         * termios/termios.h [__USE_BSD]: Likewise.
9018         * time/sys/time.h [__USE_BSD]: Likewise.
9019         * time/time.h [__USE_BSD]: Likewise.
9020         [__USE_SVID]: Likewise.
9021
9022         * Makefile (subdir_targets): Remove subdir_lint.out.
9023
9024         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9025         (do-tst-printf): Likewise.
9026         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9027         $(objpfx)tst-printf.out.
9028
9029         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9030
9031         * Makerules (check-abi-%): Change target to
9032         $(objpfx)check-abi-%.out.
9033         (check-abi target): Update dependencies.
9034         (check-abi-pattern variable): Redirect output of diff to $@.
9035         (check-abi variable): Likewise.
9036         * elf/Makefile (check-abi): Update dependencies.
9037
9038         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9039         unused.
9040         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9041         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9042         subnormal range.
9043         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9044         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9045         value has largest subnormal exponent.
9046         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9047         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9048         * sysdeps/aarch64/soft-fp/sfp-machine.h
9049         (_FP_TININESS_AFTER_ROUNDING): New macro.
9050         * sysdeps/alpha/soft-fp/sfp-machine.h
9051         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9052         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9053         Likewise.
9054         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9055         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9056         * sysdeps/mips/soft-fp/sfp-machine.h
9057         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9058         * sysdeps/powerpc/soft-fp/sfp-machine.h
9059         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9060         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9061         Likewise.
9062         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9063         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9064         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9065         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9066         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9067         Likewise.
9068
9069 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9070
9071         [BZ #16545]
9072         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9073         model 1.
9074
9075 2014-02-12  Richard Henderson  <rth@redhat.com>
9076
9077         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9078         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9079         * sysdeps/unix/sysv/linux/alpha: Move directory from
9080         ports/sysdeps/unix/sysv/linux/alpha.
9081         * README: Update listing for alpha-*-linux-gnu.
9082
9083 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9084
9085         * include/features.h: Update comment documenting feature test
9086         macros.
9087         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9088         _DEFAULT_SOURCE.
9089         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9090         (_SVID_SOURCE): Likewise.
9091         (_DEFAULT_SOURCE): Update description of default features.
9092         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9093         with _GNU_SOURCE.
9094         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9095         (S_ISVTX): Likewise.
9096         * manual/math.texi (Mathematical Constants): Likewise.
9097         * manual/signal.texi (Interrupted Primitives): Likewise.
9098         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9099         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9100         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9101         Don't refer to _SVID_SOURCE in warning text.
9102
9103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9104
9105         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9106         already defined.
9107         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9108         * sysdeps/mips/dl-lookup.c: Remove.
9109         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9110
9111 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9112
9113         [BZ #16447]
9114         * math/auto-libm-test-in: Add testcase for expl.
9115         * math/auto-libm-test-out: Regenerate.
9116         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9117         calculation of unsafe.
9118         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9119
9120 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9121
9122         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9123         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9124         ports/sysdeps/unix/sysv/linux/aarch64.
9125         * README: Update listing for aarch64*-*-linux-gnu.
9126
9127 2014-02-11  Will Newton  <will.newton@linaro.org>
9128
9129         * manual/probes.texi (Mathematical Function Probes): Use
9130         "triggered" instead of "hit".
9131
9132         * manual/probes.texi (Internal Probes): Add documentation
9133         of setjmp, longjmp and longjmp_target probes.
9134
9135         * include/stap-probe.h: Add comment about probe argument
9136         format.
9137
9138         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9139         definition.  (tr_where, tr_freehook, tr_mallochook,
9140         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9141
9142 2014-02-11  David S. Miller  <davem@davemloft.net>
9143
9144         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9145         processing int_tests.
9146
9147 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9148
9149         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9150         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9151         * sysdeps/unix/sysv/linux/mips: Move directory from
9152         ports/sysdeps/unix/sysv/linux/mips.
9153         * README: Update listing for mips-*-linux-gnu and
9154         mips64-*-linux-gnu.
9155
9156 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9157
9158         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9159         * sysdeps/unix/sysv/linux/m68k: Move directory from
9160         ports/sysdeps/unix/sysv/linux/m68k.
9161         * README: Update listing for m68k-*-linux-gnu.
9162
9163 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9164
9165         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9166         * sysdeps/unix/sysv/linux/generic: Move directory from
9167         ports/sysdeps/unix/sysv/linux/generic.
9168         * sysdeps/unix/sysv/linux/tile: Move directory from
9169         ports/sysdeps/unix/sysv/linux/tile.
9170         * README: Update listing for tile*-*-linux-gnu.
9171
9172 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9173
9174         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9175         __builtin_expect.
9176         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9177         * catgets/open_catalog.c (__open_catalog): Likewise.
9178         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9179         * debug/confstr_chk.c: Likewise.
9180         * debug/fread_chk.c (__fread_chk): Likewise.
9181         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9182         * debug/getgroups_chk.c: Likewise.
9183         * debug/mbsnrtowcs_chk.c: Likewise.
9184         * debug/mbsrtowcs_chk.c: Likewise.
9185         * debug/mbstowcs_chk.c: Likewise.
9186         * debug/memcpy_chk.c: Likewise.
9187         * debug/memmove_chk.c: Likewise.
9188         * debug/mempcpy_chk.c: Likewise.
9189         * debug/memset_chk.c: Likewise.
9190         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9191         * debug/strcat_chk.c (__strcat_chk): Likewise.
9192         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9193         * debug/strncat_chk.c (__strncat_chk): Likewise.
9194         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9195         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9196         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9197         * debug/wcpncpy_chk.c: Likewise.
9198         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9199         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9200         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9201         * debug/wcsncpy_chk.c: Likewise.
9202         * debug/wcsnrtombs_chk.c: Likewise.
9203         * debug/wcsrtombs_chk.c: Likewise.
9204         * debug/wcstombs_chk.c: Likewise.
9205         * debug/wmemcpy_chk.c: Likewise.
9206         * debug/wmemmove_chk.c: Likewise.
9207         * debug/wmempcpy_chk.c: Likewise.
9208         * debug/wmemset_chk.c: Likewise.
9209         * dirent/scandirat.c (SCANDIRAT): Likewise.
9210         * dlfcn/dladdr1.c (dladdr1): Likewise.
9211         * dlfcn/dladdr.c (dladdr): Likewise.
9212         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9213         * dlfcn/dlerror.c (__dlerror): Likewise.
9214         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9215         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9216         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9217         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9218         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9219         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9220         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9221         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9222         Likewise.
9223         * elf/dl-conflict.c: Likewise.
9224         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9225         * elf/dl-dst.h: Likewise.
9226         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9227         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9228         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9229         * elf/dl-init.c (call_init, _dl_init): Likewise.
9230         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9231         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9232         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9233         Likewise.
9234         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9235         Likewise.
9236         * elf/dl-minimal.c (__libc_memalign): Likewise.
9237         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9238         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9239         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9240         * elf/dl-sym.c (do_sym): Likewise.
9241         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9242         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9243         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9244         * elf/dl-writev.h (_dl_writev): Likewise.
9245         * elf/ldconfig.c (search_dir): Likewise.
9246         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9247         (dl_main): Likewise.
9248         * elf/setup-vdso.h (setup_vdso): Likewise.
9249         * grp/compat-initgroups.c (compat_call): Likewise.
9250         * grp/fgetgrent.c (fgetgrent): Likewise.
9251         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9252         * grp/putgrent.c (putgrent): Likewise.
9253         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9254         Likewise.
9255         * hurd/hurdinit.c: Likewise.
9256         * iconvdata/8bit-gap.c (struct): Likewise.
9257         * iconvdata/ansi_x3.110.c : Likewise.
9258         * iconvdata/big5.c : Likewise.
9259         * iconvdata/big5hkscs.c : Likewise.
9260         * iconvdata/cp1255.c: Likewise.
9261         * iconvdata/cp1258.c : Likewise.
9262         * iconvdata/cp932.c : Likewise.
9263         * iconvdata/euc-cn.c: Likewise.
9264         * iconvdata/euc-jisx0213.c : Likewise.
9265         * iconvdata/euc-jp.c: Likewise.
9266         * iconvdata/euc-jp-ms.c : Likewise.
9267         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9268         * iconvdata/gb18030.c : Likewise.
9269         * iconvdata/gbbig5.c (const): Likewise.
9270         * iconvdata/gbgbk.c: Likewise.
9271         * iconvdata/gbk.c : Likewise.
9272         * iconvdata/ibm1364.c : Likewise.
9273         * iconvdata/ibm930.c : Likewise.
9274         * iconvdata/ibm932.c: Likewise.
9275         * iconvdata/ibm933.c : Likewise.
9276         * iconvdata/ibm935.c : Likewise.
9277         * iconvdata/ibm937.c : Likewise.
9278         * iconvdata/ibm939.c : Likewise.
9279         * iconvdata/ibm943.c: Likewise.
9280         * iconvdata/iso_11548-1.c: Likewise.
9281         * iconvdata/iso-2022-cn.c : Likewise.
9282         * iconvdata/iso-2022-cn-ext.c : Likewise.
9283         * iconvdata/iso-2022-jp-3.c: Likewise.
9284         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9285         * iconvdata/iso-2022-kr.c : Likewise.
9286         * iconvdata/iso646.c (gconv_end): Likewise.
9287         * iconvdata/iso_6937-2.c : Likewise.
9288         * iconvdata/iso_6937.c : Likewise.
9289         * iconvdata/iso8859-1.c: Likewise.
9290         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9291         * iconvdata/shift_jisx0213.c : Likewise.
9292         * iconvdata/sjis.c : Likewise.
9293         * iconvdata/t.61.c : Likewise.
9294         * iconvdata/tcvn5712-1.c : Likewise.
9295         * iconvdata/tscii.c: Likewise.
9296         * iconvdata/uhc.c : Likewise.
9297         * iconvdata/unicode.c (gconv_end): Likewise.
9298         * iconvdata/utf-16.c (gconv_end): Likewise.
9299         * iconvdata/utf-32.c (gconv_end): Likewise.
9300         * iconvdata/utf-7.c (base64): Likewise.
9301         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9302         * iconv/gconv_close.c (__gconv_close): Likewise.
9303         * iconv/gconv_open.c (__gconv_open): Likewise.
9304         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9305         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9306         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9307         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9308         (ucs4le_internal_loop_single): Likewise.
9309         * iconv/iconv.c (iconv): Likewise.
9310         * iconv/iconv_close.c: Likewise.
9311         * iconv/loop.c (SINGLE): Likewise.
9312         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9313         * include/atomic.h: Likewise.
9314         * inet/inet6_option.c (option_alloc): Likewise.
9315         * intl/bindtextdom.c (set_binding_values): Likewise.
9316         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9317         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9318         * intl/localealias.c (read_alias_file): Likewise.
9319         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9320         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9321         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9322         * libio/fmemopen.c (fmemopen): Likewise.
9323         * libio/iofgets.c (_IO_fgets): Likewise.
9324         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9325         * libio/iofgetws.c (fgetws): Likewise.
9326         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9327         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9328         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9329         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9330         * locale/findlocale.c (_nl_find_locale): Likewise.
9331         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9332         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9333         Likewise.
9334         * locale/setlocale.c (setlocale): Likewise.
9335         * login/programs/pt_chown.c (main): Likewise.
9336         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9337         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9338         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9339         (mmap, mmap64, mremap, munmap): Likewise.
9340         * math/e_exp2l.c: Likewise.
9341         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9342         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9343         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9344         * math/s_catan.c (__catan): Likewise.
9345         * math/s_catanf.c (__catanf): Likewise.
9346         * math/s_catanh.c (__catanh): Likewise.
9347         * math/s_catanhf.c (__catanhf): Likewise.
9348         * math/s_catanhl.c (__catanhl): Likewise.
9349         * math/s_catanl.c (__catanl): Likewise.
9350         * math/s_ccosh.c (__ccosh): Likewise.
9351         * math/s_ccoshf.c (__ccoshf): Likewise.
9352         * math/s_ccoshl.c (__ccoshl): Likewise.
9353         * math/s_cexp.c (__cexp): Likewise.
9354         * math/s_cexpf.c (__cexpf): Likewise.
9355         * math/s_cexpl.c (__cexpl): Likewise.
9356         * math/s_clog10.c (__clog10): Likewise.
9357         * math/s_clog10f.c (__clog10f): Likewise.
9358         * math/s_clog10l.c (__clog10l): Likewise.
9359         * math/s_clog.c (__clog): Likewise.
9360         * math/s_clogf.c (__clogf): Likewise.
9361         * math/s_clogl.c (__clogl): Likewise.
9362         * math/s_csin.c (__csin): Likewise.
9363         * math/s_csinf.c (__csinf): Likewise.
9364         * math/s_csinh.c (__csinh): Likewise.
9365         * math/s_csinhf.c (__csinhf): Likewise.
9366         * math/s_csinhl.c (__csinhl): Likewise.
9367         * math/s_csinl.c (__csinl): Likewise.
9368         * math/s_csqrt.c (__csqrt): Likewise.
9369         * math/s_csqrtf.c (__csqrtf): Likewise.
9370         * math/s_csqrtl.c (__csqrtl): Likewise.
9371         * math/s_ctan.c (__ctan): Likewise.
9372         * math/s_ctanf.c (__ctanf): Likewise.
9373         * math/s_ctanh.c (__ctanh): Likewise.
9374         * math/s_ctanhf.c (__ctanhf): Likewise.
9375         * math/s_ctanhl.c (__ctanhl): Likewise.
9376         * math/s_ctanl.c (__ctanl): Likewise.
9377         * math/w_pow.c: Likewise.
9378         * math/w_powf.c: Likewise.
9379         * math/w_powl.c: Likewise.
9380         * math/w_scalb.c (sysv_scalb): Likewise.
9381         * math/w_scalbf.c (sysv_scalbf): Likewise.
9382         * math/w_scalbl.c (sysv_scalbl): Likewise.
9383         * misc/error.c (error_tail): Likewise.
9384         * misc/pselect.c (__pselect): Likewise.
9385         * nis/nis_callback.c (__nis_create_callback): Likewise.
9386         * nis/nis_call.c (__nisfind_server): Likewise.
9387         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9388         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9389         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9390         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9391         * nis/nis_lookup.c (nis_lookup): Likewise.
9392         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9393         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9394         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9395         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9396         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9397         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9398         * nis/nss_compat/compat-initgroups.c (add_group)
9399         (internal_getgrent_r): Likewise.
9400         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9401         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9402         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9403         (internal_getspnam_r): Likewise.
9404         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9405         (_nss_nis_getaliasbyname_r): Likewise.
9406         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9407         (_nss_nis_getntohost_r): Likewise.
9408         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9409         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9410         (_nss_nis_getgrgid_r): Likewise.
9411         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9412         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9413         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9414         (_nss_nis_gethostbyname4_r): Likewise.
9415         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9416         (initgroups_netid): Likewise.
9417         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9418         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9419         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9420         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9421         (_nss_nis_getprotobynumber_r): Likewise.
9422         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9423         (_nss_nis_getsecretkey): Likewise.
9424         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9425         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9426         (_nss_nis_getpwuid_r): Likewise.
9427         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9428         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9429         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9430         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9431         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9432         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9433         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9434         Likewise.
9435         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9436         (_nss_nisplus_getntohost_r): Likewise.
9437         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9438         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9439         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9440         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9441         Likewise.
9442         * nis/nss_nisplus/nisplus-initgroups.c
9443         (_nss_nisplus_initgroups_dyn): Likewise.
9444         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9445         (_nss_nisplus_getnetbyaddr_r): Likewise.
9446         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9447         (_nss_nisplus_getprotobynumber_r): Likewise.
9448         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9449         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9450         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9451         Likewise.
9452         * nis/nss_nisplus/nisplus-service.c
9453         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9454         (_nss_nisplus_getservbyport_r): Likewise.
9455         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9456         (_nss_nisplus_getspnam_r): Likewise.
9457         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9458         Likewise.
9459         * nscd/aicache.c (addhstaiX): Likewise.
9460         * nscd/cache.c (cache_search, prune_cache): Likewise.
9461         * nscd/connections.c (register_traced_file, send_ro_fd)
9462         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9463         (main_loop_epoll): Likewise.
9464         * nscd/grpcache.c (addgrbyX): Likewise.
9465         * nscd/hstcache.c (addhstbyX): Likewise.
9466         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9467         * nscd/mem.c (gc, mempool_alloc): Likewise.
9468         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9469         (addinnetgrX): Likewise.
9470         * nscd/nscd-client.h (__nscd_acquire_maplock)
9471         (__nscd_drop_map_ref): Likewise.
9472         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9473         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9474         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9475         Likewise.
9476         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9477         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9478         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9479         (__nscd_get_map_ref): Likewise.
9480         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9481         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9482         Likewise.
9483         * nscd/pwdcache.c (addpwbyX): Likewise.
9484         * nscd/selinux.c (preserve_capabilities): Likewise.
9485         * nscd/servicescache.c (addservbyX): Likewise.
9486         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9487         * posix/fnmatch.c (fnmatch): Likewise.
9488         * posix/getopt.c (_getopt_internal_r): Likewise.
9489         * posix/glob.c (glob, glob_in_dir): Likewise.
9490         * posix/wordexp.c (exec_comm_child): Likewise.
9491         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9492         (getanswer_r, gaih_getanswer_slice): Likewise.
9493         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9494         * resolv/res_init.c: Likewise.
9495         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9496         * resolv/res_query.c (__libc_res_nquery): Likewise.
9497         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9498         Likewise.
9499         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9500         * stdio-common/perror.c (perror): Likewise.
9501         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9502         * stdio-common/tmpnam.c (tmpnam): Likewise.
9503         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9504         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9505         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9506         Likewise.
9507         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9508         * stdlib/putenv.c (putenv): Likewise.
9509         * stdlib/setenv.c (__add_to_environ): Likewise.
9510         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9511         * stdlib/strtol_l.c (INTERNAL): Likewise.
9512         * string/memmem.c (memmem): Likewise.
9513         * string/strerror.c (strerror): Likewise.
9514         * string/strnlen.c (__strnlen): Likewise.
9515         * string/test-memmem.c (simple_memmem): Likewise.
9516         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9517         * sunrpc/pm_getport.c (__get_socket): Likewise.
9518         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9519         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9520         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9521         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9522         Likewise.
9523         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9524         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9525         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9526         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9527         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9528         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9529         Likewise.
9530         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9531         Likewise.
9532         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9533         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9535         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9536         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9538         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9539         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9540         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9541         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9542         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9543         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9544         Likewise.
9545         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9546         Likewise.
9547         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9548         Likewise.
9549         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9550         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9551         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9552         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9553         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9554         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9555         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9556         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9557         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9558         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9559         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9561         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9562         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9564         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9565         Likewise.
9566         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9567         Likewise.
9568         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9569         Likewise.
9570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9571         Likewise.
9572         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9574         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9575         Likewise.
9576         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9577         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9578         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9579         * sysdeps/posix/sleep.c: Likewise.
9580         * sysdeps/posix/tempname.c: Likewise.
9581         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9582         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9583         Likewise.
9584         * sysdeps/powerpc/powerpc32/dl-machine.h
9585         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9586         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9588         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9589         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9590         Likewise.
9591         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9592         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9593         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9594         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9595         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9596         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9597         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9598         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9599         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9600         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9602         (elf_machine_lazy_rel): Likewise.
9603         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9604         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9605         (elf_machine_lazy_rel): Likewise.
9606         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9607         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9608         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9609         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9610         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9611         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9612         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9614         Likewise.
9615         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9616         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9617         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9618         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9619         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9620         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9621         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9622         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9623         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9624         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9625         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9626         Likewise.
9627         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9628         (__posix_fallocate64_l64): Likewise.
9629         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9630         (posix_fallocate): Likewise.
9631         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9632         Likewise.
9633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9634         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9635         (getifaddrs_internal): Likewise.
9636         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9637         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9638         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9639         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9640         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9641         (__posix_fallocate64_l64): Likewise.
9642         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9643         Likewise.
9644         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9645         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9646         (__get_clockfreq): Likewise.
9647         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9648         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9649         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9652         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9653         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9654         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9655         Likewise.
9656         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9657         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9658         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9659         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9660         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9661         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9662         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9663         Likewise.
9664         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9665         (posix_fallocate): Likewise.
9666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9667         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9668         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9669         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9670         (elf_machine_rela, elf_machine_rela_relative)
9671         (elf_machine_lazy_rel): Likewise.
9672         * time/asctime.c (asctime_internal): Likewise.
9673         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9674         * time/tzset.c (__tzset_parse_tz): Likewise.
9675         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9676         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9677         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9678         * wcsmbs/wcsmbsload.h: Likewise.
9679
9680         [BZ #15894]
9681         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9682
9683         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9684         (arena_get2): Remove THREAD_STATS conditionals.
9685         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9686         (__malloc_stats, int): Likewise.
9687
9688 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9689
9690         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9691         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9692
9693         * manual/setjmp.texi: Fix typos/grammar errors.
9694
9695         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9696         Only return early when n is <= 0.  Delete unused return statement.
9697
9698         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9699         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9700         * debug/tst-longjmp_chk3.c: New file.
9701
9702         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9703         (test_main): Replace code with set_fortify_handler call.
9704         * debug/test-strcpy_chk.c: Likewise.
9705         * debug/tst-chk1.c: Likewise.
9706         * debug/tst-longjmp_chk.c: Likewise.
9707         * test-skeleton.c: Include fcntl.h & paths.h
9708         (set_fortify_handler): Define.
9709
9710         * debug/tst-longjmp_chk.c: Add header comment and include
9711         ../test-skeleton.c.
9712         (do_test): Mark static.
9713         (TEST_FUNCTION): Define.
9714
9715         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9716         (IP_PMTUDISC_INTERFACE): Likewise.
9717         (IP_MULTICAST_IF): Likewise.
9718         (IP_MULTICAST_TTL): Likewise.
9719         (IP_MULTICAST_LOOP): Likewise.
9720         (IP_ADD_MEMBERSHIP): Likewise.
9721         (IP_DROP_MEMBERSHIP): Likewise.
9722         (IP_UNBLOCK_SOURCE): Likewise.
9723         (IP_BLOCK_SOURCE): Likewise.
9724         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9725         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9726         (IP_MSFILTER): Likewise.
9727         (MCAST_JOIN_GROUP): Likewise.
9728         (MCAST_BLOCK_SOURCE): Likewise.
9729         (MCAST_UNBLOCK_SOURCE): Likewise.
9730         (MCAST_LEAVE_GROUP): Likewise.
9731         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9732         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9733         (MCAST_MSFILTER): Likewise.
9734         (IP_MULTICAST_ALL): Likewise.
9735         (IP_UNICAST_IF): Likewise.
9736
9737         * timezone/Makefile: Delete $(have-ksh) check.
9738         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9739         * timezone/tzselect.ksh: Add +x mode bits.
9740
9741         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9742         (ANON_INODE_FS_MAGIC): Likewise.
9743         (BDEVFS_MAGIC): Likewise.
9744         (BINFMTFS_MAGIC): Likewise.
9745         (BTRFS_TEST_MAGIC): Likewise.
9746         (CRAMFS_MAGIC_WEND): Likewise.
9747         (DEBUGFS_MAGIC): Likewise.
9748         (ECRYPTFS_SUPER_MAGIC): Likewise.
9749         (EXT3_SUPER_MAGIC): Likewise.
9750         (EXT4_SUPER_MAGIC): Likewise.
9751         (FUTEXFS_SUPER_MAGIC): Likewise.
9752         (HOSTFS_SUPER_MAGIC): Likewise.
9753         (HUGETLBFS_MAGIC): Likewise.
9754         (MINIX3_SUPER_MAGIC): Likewise.
9755         (MTD_INODE_FS_MAGIC): Likewise.
9756         (NILFS_SUPER_MAGIC): Likewise.
9757         (OPENPROM_SUPER_MAGIC): Likewise.
9758         (PIPEFS_MAGIC): Likewise.
9759         (PSTOREFS_MAGIC): Likewise.
9760         (QNX6_SUPER_MAGIC): Likewise.
9761         (RAMFS_MAGIC): Likewise.
9762         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9763         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9764         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9765         (SECURITYFS_MAGIC): Likewise.
9766         (SELINUX_MAGIC): Likewise.
9767         (SMACK_MAGIC): Likewise.
9768         (SOCKFS_MAGIC): Likewise.
9769         (SQUASHFS_MAGIC): Likewise.
9770         (STACK_END_MAGIC): Likewise.
9771         (TMPFS_MAGIC): Likewise.
9772         (USBDEVICE_SUPER_MAGIC): Likewise.
9773         (V9FS_MAGIC): Likewise.
9774         (XENFS_SUPER_MAGIC): Likewise.
9775         (CRAMFS_MAGIC): Fix typo in comment.
9776         (EXT2_SUPER_MAGIC): Update comment.
9777         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9778
9779 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9780
9781         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9782         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9783         * sysdeps/unix/sysv/linux/arm: Move directory from
9784         ports/sysdeps/unix/sysv/linux/arm.
9785         * README: Update listing for arm-*-linux-gnueabi.
9786
9787         * README: Remove mention of am33.
9788
9789 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9790
9791         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9792         than the comma operator, to avoid "rhs of comma has no effect"
9793         compiler warnings.
9794         (__sigfillset, __sigandset, __sigorset): Likewise.
9795         * include/signal.h (__sigemptyset): Likewise.
9796         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9797
9798 2014-02-07  Allan McRae  <allan@archlinux.org>
9799
9800         * version.h (RELEASE): Set to "development".
9801         (VERSION): Set to "2.19.90"
9802         * NEWS: Add 2.20 section.
9803
9804 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9805
9806         [BZ #16529]
9807         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9808
9809 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9810
9811         * manual/contrib.texi: Update entry for Carlos O'Donell,
9812         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9813
9814 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9815
9816         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9817
9818         * sysdeps/unix/sysv/linux/kernel-features.h
9819         [__LINUX_KERNEL_VERSION >= 0x020621]
9820         (__ASSUME_PROC_PID_TASK_COMM): Define.
9821
9822 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9823
9824         [BZ #16398]
9825         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9826         conversion when destination buffer does not have enough space.
9827         * libio/tst-ftell-partial-wide.c: New test case.
9828         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9829
9830         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9831         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9832         Leonard and Allan McRae.
9833
9834 2014-02-04  David S. Miller  <davem@davemloft.net>
9835
9836         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9837         32-bit.
9838
9839 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9840
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9842         New file
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9844         New file
9845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9846         New file.
9847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9848         New file.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9850         New file.
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9852         New file.
9853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9854         New file.
9855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9856         New file.
9857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9858         New file.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9860         New file.
9861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9862         New file.
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9864         New file.
9865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9866         New file.
9867
9868 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9869
9870         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9871         * shlib-versions: Likewise.
9872
9873 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9874             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9875
9876         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9877         (abilist-pattern): New variable, set to %-le.abilist.
9878
9879         * Makerules (abilist-pattern): New variable.
9880         (vpath): Use $(abilist-pattern) in place of %.abilist.
9881         (check-abi-% pattern rule): Likewise.
9882         (check-abi, update-abi): Likewise.
9883
9884 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9885
9886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9887
9888 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9889
9890         * manual/startup.texi: Add next, previous, and top entries for
9891         the `Program Arguments' and `Environment Variables' nodes.
9892
9893 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9894
9895         * manual/macros.texi: Add comments before MTASC-safety macros.
9896
9897         * manual/users.texi: Document MTASC-safety properties.
9898
9899         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9900         (pthread_getspecific, pthread_setspecific): Format with
9901         @deftypefun, and add @safety note.
9902         * manual/signal.texi: Move comments that analyze the above
9903         functions to their home place.
9904
9905 2014-02-03  Allan McRae  <allan@archlinux.org>
9906
9907         * po/sl.po: Update Slovenian translation from translation project.
9908
9909 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9910
9911         * manual/time.texi (timegm): Add missing blank after @c.
9912         Reported by Joseph Myers <joseph@codesourcery.com>.
9913
9914 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9915
9916         * manual/check-safety.sh: New.
9917         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9918
9919         * manual/terminal.texi: Document MTASC-safety properties.
9920
9921         * manual/filesys.texi: Document MTASC-safety properties.
9922
9923         * manual/errno.texi: Document MTASC-safety properties.
9924
9925         * manual/intro.texi: Document safety identifiers and
9926         conditionals.
9927
9928         * manual/string.texi (wcstok): Fix prototype.
9929         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9930
9931         * manual/time.texi: Document MTASC-safety properties.
9932
9933         * manual/string.texi: Document MTASC-safety properties.
9934
9935         * manual/threads.texi: Document MTASC-safety properties.
9936
9937         * manual/stdio.texi: Document MTASC-safety properties.
9938
9939         * manual/syslog.texi: Document MTASC-safety properties.
9940
9941         * manual/sysinfo.texi: Document MTASC-safety properties.
9942
9943         * manual/startup.texi: Document MTASC-safety properties.
9944
9945         * manual/socket.texi: Document MTASC-safety properties.
9946
9947         * manual/signal.texi: Document MTASC-safety properties.
9948
9949 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9950
9951         * manual/setjmp.texi: Document MTASC-safety properties.
9952
9953         * manual/search.texi: Document MTASC-safety properties.
9954
9955         * manual/resource.texi: Document MTASC-safety properties.
9956
9957         * manual/process.texi: Document MTASC-safety properties.
9958
9959         * manual/platform.texi: Document MTASC-safety properties.
9960
9961         * manual/pipe.texi: Document MTASC-safety properties.
9962
9963         * manual/pattern.texi: Document MTASC-safety properties.
9964
9965         * manual/message.texi: Document MTASC-safety properties.
9966
9967         [BZ #12751]
9968         * manual/memory.texi: Document MTASC-safety properties.
9969
9970         * manual/math.texi: Document MTASC-safety properties.
9971
9972         * manual/locale.texi: Document MTASC-safety properties.
9973
9974         * manual/llio.texi: Document MTASC-safety properties.
9975
9976         * manual/libdl.texi: New.
9977
9978         * manual/lang.texi: Document MTASC-safety properties.
9979
9980         * manual/job.texi: Document MTASC-safety properties.
9981
9982         * manual/getopt.texi: Document MTASC-safety properties.
9983
9984         * manual/ctype.texi: Document MTASC-safety properties.
9985
9986 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9987
9988         [BZ #16046]
9989         * csu/libc-tls.c (static_map): Remove variable.
9990         (__libc_setup_tls): Use main executable's link map for TLS data.
9991         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9992         casing for LM_ID_BASE and GL(dl_nns).
9993         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9994         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9995         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9996         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9997         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9998         member.
9999         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10000         l_phnum members.
10001
10002 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10003
10004         * manual/debug.texi: Document MTASC-safety properties.
10005
10006 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10007
10008         [BZ #16510]
10009         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10010         of __x86_64__ when disabling x87 inline functions.
10011
10012 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10013
10014         * manual/charset.texi: Document MTASC-safety properties.
10015
10016         * manual/crypt.texi: Document MTASC-safety properties.
10017
10018         * manual/conf.texi: Document MTASC-safety properties.
10019
10020         * manual/arith.texi: Document MTASC-safety properties.
10021
10022         * manual/argp.texi: Document MTASC-safety properties.
10023
10024         * manual/macros.texi: Introduce macros to document multi
10025         thread, asynchronous signal and asynchronous cancellation
10026         safety properties.
10027         * manual/intro.texi: Introduce the properties themselves.
10028
10029 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10030
10031         * sysdeps/sh/sh4/Makefile: New file.
10032
10033 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10034
10035         * math/gen-libm-test.pl ($srcdir): New variable.
10036         ($auto_input): Use it.
10037
10038 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10039
10040         [BZ #16506]
10041         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10042         access beyond array bounds when parsing netgroups file.
10043
10044         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10045         the old buffer before realloc.
10046
10047 2014-01-27  Allan McRae  <allan@archlinux.org>
10048
10049         * po/fr.po: Update French translation from translation project.
10050
10051 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10052
10053         * sysdeps/sh/libm-test-ulps: Regenerate.
10054
10055 2014-01-24  David S. Miller  <davem@davemloft.net>
10056
10057         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10058
10059 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10060
10061         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10062         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10063
10064 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10065
10066         [BZ #16474]
10067         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10068         string pointers after reallocation.
10069
10070 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10071
10072         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10073         __SH4A__ instead of __SH_FPU_ANY__.
10074
10075 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10076
10077         * sysdeps/sh/fpu_control.h: New file.
10078         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10079         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10080         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10081         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10082         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10083         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10084         * sysdeps/sh/sys/ucontext.h: Remove.
10085         * sysdeps/sh/sys: Remove directory.
10086
10087 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10088
10089         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10090         s390/sys/ucontext.h.
10091         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10092         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10093
10094 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10095
10096         [BZ #15605]
10097         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10098
10099 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10100
10101         [BZ#16431]
10102         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10103         Adjust the vDSO correctly for internal calls.
10104         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10105
10106 2014-01-20  Allan McRae  <allan@archlinux.org>
10107
10108         * po/ca.po: Update Catalan translation from translation project.
10109
10110 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10111
10112         * sysdeps/s390/sotruss-lib.c: New file.
10113
10114 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10115
10116         [BZ#16430]
10117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10118         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10119         local calls issues by not having a PLT stub required for IFUNC calls.
10120         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10121
10122 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10123
10124         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10125         * math/test-fpucw-static.c: Likewise.
10126
10127 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10128
10129         [BZ #16453]
10130         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10131
10132 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10133
10134         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10135         implementation for powerpc.
10136
10137 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10138
10139         [BZ #14782]
10140         * sysdeps/posix/system.c (__libc_system): Do not enable
10141         asynchronous cancellation.
10142
10143 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10144
10145         [BZ #16427]
10146         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10147         handling only for numbers special also in the IEEE case.
10148
10149 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10150
10151         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10152
10153 2014-01-11  Allan McRae  <allan@archlinux.org>
10154
10155         * po/bg.po: Update Bulgarian translation from translation project.
10156
10157         * po/de.po: Update German translation from translation project.
10158
10159 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10160
10161         * sysdeps/generic/gcc-compat.h: New file.
10162
10163 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10164
10165         * benchtests/asin-inputs: Correct slow inputs.
10166         * benchtests/acos-inputs: Likewise.
10167
10168 2014-01-10  Allan McRae  <allan@archlinux.org>
10169
10170         * po:sv.po: Update Swedish translation from translation project.
10171
10172         * po/vi.po: Update Vietnamese translation from translation project.
10173
10174         * po/eo.po: Update Esperanto translation from translation project.
10175
10176         * po/cs.po: Update Czech translation from translation project.
10177
10178         * po/nl.po: Update Dutch translation from translation project.
10179
10180         * po/pl.po: Update Polish translation from translation project.
10181
10182         * po/ru.po: Update Russian translation from translation project.
10183
10184         * po/uk.po: Update Ukrainian translation from translation project.
10185
10186 2014-01-08  Brooks Moses  <bmoses@google.com>
10187
10188         * elf/dl-load.c: Fix comment typo.
10189
10190 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10191
10192         * po/header.pot: Rename to...
10193         * po/pot.header: ... this.
10194         * po/Makefile: Use pot.header.
10195
10196 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10197             Maxim Kuvyrkov  <maxim@kugelworks.com>
10198
10199         [BZ #16394]
10200         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10201         SRC and DEST against LEN.
10202
10203 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10204
10205         [BZ #16414]
10206         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10207         implementation.
10208         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10209
10210 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10211
10212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10213
10214 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10215
10216         [BZ #16408]
10217         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10218         for large positive arguments.
10219
10220 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10221
10222         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10223
10224         * math/auto-libm-test-in: Mark various tests with
10225         xfail-rounding:ldbl-128ibm.
10226         * math/auto-libm-test-out: Regenerated.
10227
10228         [BZ #16407]
10229         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10230         Increase overflow threshold.
10231
10232 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10233
10234         [BZ #14286]
10235         * stdio-common/vfprintf.c: Check for integer overflow.
10236
10237 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10238
10239         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10240         the first argument and return value of __tls_get_addr_internal.
10241
10242 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10243
10244         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10245         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10246
10247 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10248
10249         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10250         * sysdeps/s390/rtld-global-offsets.sym: New file.
10251         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10252         GLIBC_2.19 symbol.
10253         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10254         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10255         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10256         ... this.
10257         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10258         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10259         ... this.
10260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10261         Regenerate.
10262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10263         Regenerate.
10264         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10265         halfs of GPRs for high_gprs contexts.
10266         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10267         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10268         field.
10269         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10270         uc_flags field.
10271         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10272         64 bit versions:
10273         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10274         for high GPRs (uc_high_gprs) and for future extensions
10275         (__reserved).
10276         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10277         for future extensions (__reserved).
10278         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10279         64 bit versions:
10280         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10281         SC_HIGHGPRS offset definition.
10282         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10283         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10284
10285         * Versions.def: Add GLIBC_2.19 for libpthread.
10286         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10287         siglongjmp for libpthread with GLIBC_2.19 symver.
10288         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10289         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10290         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10291         * sysdeps/s390/__longjmp.c: New file.
10292         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10293         * sysdeps/s390/longjmp.c: New file.
10294         * sysdeps/s390/setjmp.S: New file.
10295         * sysdeps/s390/sigjmp.S: New file.
10296         * sysdeps/s390/v1-longjmp.c: New file.
10297         * sysdeps/s390/v1-setjmp.h: New file.
10298         * sysdeps/s390/v1-sigjmp.c: New file.
10299         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10300         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10301         GLIBC_2.19 version.
10302         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10303         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10304         versioned symbols for ____longjmp_chk.
10305         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10306         Likewise.
10307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10308         Regenerate.
10309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10310         Regenerate.
10311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10312         Regenerate.
10313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10314         Regenerate.
10315         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10316         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10317         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10318         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10319         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10320         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10321         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10322         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10323         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10324         * sysdeps/s390/rtld-__longjmp.c: New file.
10325         * sysdeps/s390/rtld-setjmp.S: New file.
10326
10327 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10328
10329         [BZ #16400]
10330         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10331         Return -__logl (x) for small positive arguments without evaluating
10332         a polynomial.
10333
10334 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10335
10336         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10337         Rename to ...
10338         (__ptrace_peeksiginfo_args): ... this.
10339         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10340         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10341         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10342
10343 2014-01-06  Allan McRae  <allan@archlinux.org>
10344
10345         * inet/netinet/in.h: Fix typo in comment.
10346
10347 2014-01-05  Andreas Jaeger  <aj@suse.de>
10348
10349         * sysdeps/i386/fpu/libm-test-ulps: Update.
10350
10351 2014-01-05  Allan McRae  <allan@archlinux.org>
10352
10353         * po/libc.pot: Regenerated.
10354
10355         * malloc/memusagestat.c: Fix gettext call formatting.
10356
10357 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10358
10359         * nscd/nscd.c: Improve usage() output.
10360
10361 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10362
10363         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10364         * sysdeps/unix/sysv/linux/configure: Regenerated.
10365         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10366         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10367
10368 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10369
10370         [BZ #16390]
10371         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10372         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10373
10374 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10375
10376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10377         extra tokens at end of #undef directive.
10378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10379         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10380         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10381
10382 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10383
10384         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10385
10386         * math/auto-libm-test-in: Mark various tests with
10387         xfail-rounding:ldbl-128ibm.
10388         * math/auto-libm-test-out: Regenerated.
10389
10390 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10391
10392         [BZ #16386]
10393         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10394         numbers with subnormal high part when calculating exponent.
10395
10396         [BZ #16385]
10397         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10398         fabs.
10399
10400         [BZ #16384]
10401         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10402         M_LN2l.
10403         (__ieee754_acoshl): Use __log1pl not __log1p.
10404
10405 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10406
10407         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10408         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10409         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10410         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10411         (reused_arena, arena_get2): Convert to GNU style.
10412         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10413         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10414         (memalign_check, __malloc_set_state): Likewise.
10415         * malloc/mallocbug.c (main): Likewise.
10416         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10417         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10418         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10419         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10420         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10421         (__posix_memalign, malloc_info): Likewise.
10422         * malloc/malloc.h: Likewise.
10423         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10424         (mallochook, memalignhook, reallochook, mabort): Likewise.
10425         * malloc/mcheck.h: Likewise.
10426         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10427         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10428         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10429         * malloc/morecore.c (__default_morecore): Likewise.
10430         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10431         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10432         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10433         (print_and_abort): Likewise.
10434         * malloc/obstack.h: Likewise.
10435         * malloc/set-freeres.c (__libc_freeres): Likewise.
10436         * malloc/tst-mallocstate.c (main): Likewise.
10437         * malloc/tst-mtrace.c (main): Likewise.
10438         * malloc/tst-realloc.c (do_test): Likewise.
10439
10440 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10441
10442         [BZ #16366]
10443         * nscd/netgroupcache.c (do_notfound): New function.
10444         (addgetnetgrentX): Use it.
10445
10446         [BZ # 16365]
10447         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10448         NSS_STATUS_NOTFOUND.
10449
10450 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10451
10452         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10454
10455 2014-01-01  Allan McRae  <allan@archlinux.org>
10456
10457         * scripts/update-copyrights: Update configure input file suffix.
10458
10459         * NEWS: Update copyright year.
10460         * catgets/gencat.c: Likewise.
10461         * csu/version.c: Likewise.
10462         * debug/catchsegv.sh: Likewise.
10463         * debug/pcprofiledump.c: Likewise.
10464         * debug/xtrace.sh: Likewise.
10465         * elf/ldconfig.c: Likewise.
10466         * elf/ldd.bash.in: Likewise.
10467         * elf/pldd.c: Likewise.
10468         * elf/sotruss.ksh: Likewise.
10469         * elf/sprof.c: Likewise.
10470         * iconv/iconv_prog.c: Likewise.
10471         * iconv/iconvconfig.c: Likewise.
10472         * locale/programs/locale.c: Likewise.
10473         * locale/programs/localedef.c: Likewise.
10474         * login/programs/pt_chown.c: Likewise.
10475         * malloc/memusage.sh: Likewise.
10476         * malloc/memusagestat.c: Likewise.
10477         * malloc/mtrace.pl: Likewise.
10478         * manual/libc.texinfo: Likewise.
10479         * nscd/nscd.c: Likewise.
10480         * nss/getent.c: Likewise.
10481         * nss/makedb.c: Likewise.
10482         * posix/getconf.c: Likewise.
10483         * scripts/test-installation.pl: Likewise.
10484
10485         * All files with FSF copyright notices: Update copyright dates
10486         using scripts/update-copyrights.
10487         * intl/plural.c: Regenerated.
10488         * locale/programs/charmap-kw.h: Likewise.
10489         * locale/programs/locfile-kw.h: Likewise.
10490
10491 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10492
10493         * sysdeps/unix/sysv/linux/configure: Regenerated.
10494         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10495         the linux/fanotify.h header.
10496         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10497         HAVE_LINUX_FANOTIFY_H is defined.
10498
10499 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10500
10501         * benchtests/cos-inputs: New inputs.
10502         * benchtests/sin-inputs: Likewise.
10503
10504         * benchtests/atan-inputs: New inputs. Fix name of multiple
10505         precision fallback inputs.
10506
10507         * benchtests/atanh-inputs: New inputs.
10508         * benchtests/tanh-inputs: Likewise.
10509
10510         * benchtests/acosh-inputs: New inputs.
10511         * benchtests/asinh-inputs: Likewise.
10512
10513         * benchtests/cosh-inputs: New inputs.
10514         * benchtests/sinh-inputs: Likewise.
10515
10516         * benchtests/acos-inputs: Add more inputs.
10517         * benchtests/asin-inputs: Likewise.
10518
10519 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10520
10521         [BZ #16375]
10522         * manual/arith.texi: Fix spelling.
10523         * manual/charset.texi: Likewise.
10524         * manual/errno.texi: Likewise.
10525         * manual/filesys.texi: Likewise.
10526         * manual/lang.texi: Likewise.
10527         * manual/llio.texi: Likewise.
10528         * manual/locale.texi: Likewise.
10529         * manual/message.texi: Likewise.
10530         * manual/resource.texi: Likewise.
10531         * manual/search.texi: Likewise.
10532         * manual/setjmp.texi: Likewise.
10533         * manual/stdio.texi: Likewise.
10534         * manual/string.texi: Likewise.
10535         * manual/sysinfo.texi: Likewise.
10536         * manual/time.texi: Likewise.
10537
10538 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10539
10540         * po/sl.po: New file.
10541
10542 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10543
10544         * .gitignore: Add core/.gdbinit/.gdb_history.
10545
10546 2013-12-27  Allan McRae  <allan@archlinux.org>
10547
10548         [BZ #16369]
10549         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10550         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10551
10552 2013-12-24  Brooks Moses  <bmoses@google.com>
10553
10554         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10555         all compilers that claim C++98 compliance, not just GCC.
10556         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10557         Likewise.
10558
10559 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10560
10561         * NEWS: Restore accidentally deleted bug-fix entries.
10562
10563 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10564             Ondřej Bílka  <neleai@seznam.cz>
10565
10566         [BZ #15073]
10567         * malloc/malloc.c (_int_free): Perform sanity check only if we
10568         have_lock.
10569
10570 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10571
10572         [BZ #12986]
10573         * manual/stdio.texi (String Input Conversions): Clarify that character
10574         classes are not supported.
10575
10576 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10577
10578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10579
10580 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10581
10582         [BZ #16337]
10583         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10584         Calculate results for small negative arguments directly rather
10585         than using reflection formula with special underflow handling.
10586
10587         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10588         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10589         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10590         (fchflags): Likewise.
10591         (revoke): Likewise.
10592         (setlogin): Likewise.
10593         (sigaltstack): Likewise.
10594         (wait4): Likewise.
10595         (sigblock): Remove.
10596         (sigsetmask): Likewise.
10597         (wait3): Likewise.
10598         (waitpid): Likewise.
10599         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10600         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10601         file.
10602         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10603         * sysdeps/unix/bsd/Makefile: ... here.
10604         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10605         * sysdeps/unix/bsd/Versions: ... here.
10606         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10607         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10608         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10609         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10610         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10611         * sysdeps/unix/bsd/sigblock.c: ... here.
10612         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10613         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10614         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10615         * sysdeps/unix/bsd/sigvec.c: ... here.
10616         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10617         * sysdeps/unix/bsd/tcdrain.c: ... here.
10618         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10619         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10620         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10621         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10622         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10623         * sysdeps/unix/bsd/wait.c: ... here.
10624         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10625         * sysdeps/unix/bsd/wait3.c: ... here.
10626         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10627         * sysdeps/unix/bsd/waitpid.c: ... here.
10628
10629 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10630
10631         [BZ #16356]
10632         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10633         round-to-nearest for [!USE_AS_EXPM1L].
10634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10635         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10636         more tests of exp and exp10.  Expect some exp10 tests to miss
10637         exceptions or fail in directed rounding modes.
10638         * math/auto-libm-test-out: Regenerated.
10639         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10640         (exp10_test_tonearest): New function.
10641         (exp10_towardzero_test_data): New array.
10642         (exp10_test_towardzero): New function.
10643         (exp10_downward_test_data): New array.
10644         (exp10_test_downward): New function.
10645         (exp10_upward_test_data): New array.
10646         (exp10_test_upward): New function.
10647         (main): Call the new functions.
10648         * sysdeps/i386/fpu/libm-test-ulps: Update.
10649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10650
10651 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10652
10653         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10654         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10655         * math/auto-libm-test-out: Regenerated.
10656         * math/libm-test.inc (acosh_test_data): Add more tests.
10657         (atanh_test_data): Likewise.
10658         (ceil_test_data): Likewise.
10659         (copysign_test_data): Likewise.
10660         * sysdeps/i386/fpu/libm-test-ulps: Update.
10661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10662
10663         * timezone/checktab.awk: Update from tzcode 2013i.
10664         * timezone/private.h: Likewise.
10665         * timezone/scheck.c: Likewise.
10666         * timezone/tzfile.h: Likewise.
10667         * timezone/tzselect.ksh: Likewise.
10668         * timezone/zdump.c: Likewise.
10669         * timezone/zic.c: Likewise.
10670
10671         * math/auto-libm-test-in: Add tests of cpow.
10672         * math/auto-libm-test-out: Regenerated.
10673         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10674         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10675         mpc_cc_c.
10676         (func_calc_desc): Add mpc_cc_c union field.
10677         (test_functions): Add cpow.
10678         (special_fill_2pi): New function.
10679         (special_real_inputs): Add 2pi.
10680         (calc_generic_results): Handle mpc_cc_c.
10681         * sysdeps/i386/fpu/libm-test-ulps: Update.
10682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10683
10684         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10685         csqrt, ctan and ctanh.
10686         * math/auto-libm-test-out: Regenerated.
10687         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10688         (TEST_COND_x86): Likewise.
10689         (ccos_test_data): Use AUTO_TESTS_c_c.
10690         (ccosh_test_data): Likewise.
10691         (cexp_test_data): Likewise.
10692         (clog_test_data): Likewise.
10693         (csqrt_test_data): Likewise.
10694         (ctan_test_data): Likewise.
10695         (ctan_tonearest_test_data): Likewise.
10696         (ctan_towardzero_test_data): Likewise.
10697         (ctan_downward_test_data): Likewise.
10698         (ctan_upward_test_data): Likewise.
10699         (ctanh_test_data): Likewise.
10700         (ctanh_tonearest_test_data): Likewise.
10701         (ctanh_towardzero_test_data): Likewise.
10702         (ctanh_downward_test_data): Likewise.
10703         (ctanh_upward_test_data): Likewise.
10704         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10705         mpc_c_c.
10706         (func_calc_desc): Add mpc_c_c union field.
10707         (FUNC_mpc_c_c): New macro.
10708         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10709         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10710         ctanh.
10711         (special_fill_min_subnorm_p120): New function.
10712         (special_real_inputs): Add min_subnorm_p120.
10713         (calc_generic_results): Handle mpc_c_c.
10714         * sysdeps/i386/fpu/libm-test-ulps: Update.
10715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716
10717 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10718
10719         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10720         (do_sin_slow): New functions.
10721         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10722         (cslow2, csloww1, csloww2): Use the new functions.
10723
10724         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10725         Use M to change sign of result instead of X.  Assume X is
10726         positive.
10727         (csloww1): Likewise.
10728         (__sin): Adjust.
10729         (__cos): Adjust.
10730
10731         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10732         arguments A and DA.
10733         (__sin): Adjust.
10734         (__cos): Likewise.
10735
10736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10737         (__cos): Likewise.
10738         (sloww1): Don't adjust sign of DX.
10739         (csloww1): Likewise.
10740         (sloww2): Use X directly and don't adjust sign of DX.
10741         (csloww2): Likewise.
10742
10743 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10744
10745         * math/auto-libm-test-in: Add tests of cabs and carg.
10746         * math/auto-libm-test-out: Regenerated.
10747         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10748         (carg_test_data): Likewise.
10749         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10750         mpc_c_f.
10751         (func_calc_desc): Add mpc_c_f union field.
10752         (test_functions): Add cabs and carg.
10753         (calc_generic_results): Handle mpc_c_f.
10754
10755         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10756         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10757         as a macro and a compat symbol.
10758         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10759         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10760         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10761         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10762         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10763         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10764         not use .hidden.
10765         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10766         Likewise.
10767         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10768         Likewise.
10769         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10770         Likewise.
10771         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10772         Likewise.
10773         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10774         Likewise.
10775         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10776         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10777         from GLIBC_2.3.2.
10778
10779 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10780
10781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10782
10783 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10784
10785         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10786         trailing whitespace removed.
10787         * scripts/config.guess: Update to version 2013-11-29.
10788         * scripts/config.sub: Update to version 2013-10-01.
10789
10790         * math/auto-libm-test-in: Add tests of sincos.
10791         * math/auto-libm-test-out: Regenerated.
10792         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10793         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10794         mpfr_f_11.
10795         (func_calc_desc): Add mpfr_f_11 union field.
10796         (test_functions): Add sincos.
10797         (calc_generic_results): Handle mpfr_f_11.
10798         * sysdeps/i386/fpu/libm-test-ulps: Update.
10799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10800
10801 2013-12-19  Andreas Schwab  <schwab@suse.de>
10802
10803         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10804         CALL_MCOUNT.
10805         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10806         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10807         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10808
10809 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10810
10811         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10812         * sysdeps/i386/fpu/libm-test-ulps: Update.
10813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814
10815         [BZ #16293]
10816         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10817         round-to-nearest mode when using frndint.
10818         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10819         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10820         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10821         Likewise.
10822         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10823         sinh test to fail.
10824         * math/auto-libm-test-out: Regenerated.
10825         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10826         (TEST_COND_x86): Likewise.
10827         (expm1_tonearest_test_data): New array.
10828         (expm1_test_tonearest): New function.
10829         (expm1_towardzero_test_data): New array.
10830         (expm1_test_towardzero): New function.
10831         (expm1_downward_test_data): New array.
10832         (expm1_test_downward): New function.
10833         (expm1_upward_test_data): New array.
10834         (expm1_test_upward): New function.
10835         (main): Run the new test functions.
10836         * sysdeps/i386/fpu/libm-test-ulps: Update.
10837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10838
10839         * include/features.h: Update comment documenting feature test
10840         macros.  Mention _DEFAULT_SOURCE in comment.
10841         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10842         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10843         _BSD_SOURCE and _SVID_SOURCE.
10844         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10845         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10846         !_SVID_SOURCE]: Likewise.
10847         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10848         (__USE_POSIX_IMPLICITLY): Define.
10849         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10850         (_POSIX_SOURCE): Undefine and redefine.
10851         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10852         (_POSIX_C_SOURCE): Likewise.
10853         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10854         (Feature Test Macros): Update documentation of default features.
10855
10856 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10857
10858         * benchtests/Makefile: Add bench-strtok.
10859         * benchtests/bench-strtok.c: New file: strtok benchtest.
10860
10861 2013-12-19  Allan McRae  <allan@archlinux.org>
10862
10863         * manual/install.texi: Suppress menu for plain text output.
10864         * INSTALL: Regenerated.
10865
10866 2013-12-18  Brooks Moses  <bmoses@google.com>
10867
10868         [BZ #15846]
10869         * misc/getauxval.c: Include errno.h.
10870         (__getauxval): Set errno to ENOENT if the requested type is not
10871         found.
10872         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10873         don't declare with __attribute_const__.
10874         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10875         * manual/startup.texi: Document that getauxval sets errno.
10876
10877 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10878
10879         * math/auto-libm-test-in: Add tests of jn and yn.
10880         * math/auto-libm-test-out: Regenerated.
10881         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10882         (yn_test_data): Likewise.
10883         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10884         mpfr_if_f.
10885         (func_calc_desc): Add mpfr_if_f union field.
10886         (FUNC_mpfr_if_f): New macro.
10887         (test_functions): Add jn and yn.
10888         (calc_generic_results): Assert type of second input for
10889         mpfr_ff_f.  Handle mpfr_if_f.
10890         (output_for_one_input_case): Disable all checking for arguments
10891         fitting floating-point types in case of an integer argument.
10892         * sysdeps/i386/fpu/libm-test-ulps: Update.
10893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10894
10895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10896         Don't expect fegetround reference in libm.so.
10897
10898 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10899
10900         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10901         $(config-cflags-nofma).
10902
10903 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10904
10905         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10906         * math/auto-libm-test-out: Regenerated.
10907
10908         [BZ #16338]
10909         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10910         to determine exponent and adjust argument to have exponent of -1.
10911         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10912         log2.
10913         * math/auto-libm-test-out: Regenerated.
10914         * sysdeps/i386/fpu/libm-test-ulps: Update.
10915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916
10917 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10918
10919         * manual/probes.texi: Remove cases when per-thread arenas are
10920         disabled.
10921
10922 2013-12-18  Andreas Schwab  <schwab@suse.de>
10923
10924         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10925         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10926         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10927         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10928         * sysdeps/i386/i686/multiarch/Makefile: Update.
10929         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10930
10931 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10932
10933         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10934         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10935
10936 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10937
10938         [BZ #15968]
10939         Support TZ transition times < 00:00:00.
10940         This is needed for version-3 tz-format files; it supports time
10941         stamps past 2037 for America/Godthab (the only entry in the tz
10942         database for which this change is relevant).
10943         * manual/time.texi (TZ Variable): Document transition times
10944         from -167:59:59 through -00:00:01.
10945         * time/tzset.c (tz_rule): Time of day is now signed.
10946         (__tzset_parse_tz): Parse negative time of day.
10947
10948         Document TZ transition times >= 25:00:00.
10949         * manual/time.texi (TZ Variable): Document transition times from
10950         25:00:00 through 167:59:59.  These are already supported, and this
10951         support will help with version-3 tz-format files.
10952
10953         * manual/time.texi (TZ Variable): Modernize North America example
10954         to reflect current (i.e., 2007-and-later) daylight saving rules.
10955
10956         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10957
10958 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10959
10960         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10961         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10963         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10964         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10965         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10966         * sysdeps/unix/bsd/clock.c: Likewise.
10967         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10968         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10969         * sysdeps/unix/bsd/init-posix.c: Likewise.
10970         * sysdeps/unix/bsd/poll.c: Likewise.
10971         * sysdeps/unix/bsd/ptsname.c: Likewise.
10972         * sysdeps/unix/bsd/seekdir.c: Likewise.
10973         * sysdeps/unix/bsd/setegid.c: Likewise.
10974         * sysdeps/unix/bsd/seteuid.c: Likewise.
10975         * sysdeps/unix/bsd/setgid.c: Likewise.
10976         * sysdeps/unix/bsd/setrgid.c: Likewise.
10977         * sysdeps/unix/bsd/setruid.c: Likewise.
10978         * sysdeps/unix/bsd/setsid.c: Likewise.
10979         * sysdeps/unix/bsd/setuid.c: Likewise.
10980         * sysdeps/unix/bsd/sigaction.c: Likewise.
10981         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10982         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10983         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10984         * sysdeps/unix/bsd/telldir.c: Likewise.
10985         * sysdeps/unix/bsd/times.c: Likewise.
10986         * sysdeps/unix/bsd/usleep.c: Likewise.
10987
10988         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10989         ($(objpfx)libbsd-compat.a): Remove rule.
10990
10991         * include/features.h (__FAVOR_BSD): Do not define.
10992         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10993         features conflicting with POSIX.
10994         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10995         (_BSD_SOURCE): Remove description of not being a subset of other
10996         feature test macros.
10997         * manual/job.texi (getpgrp): Do not document BSD version.
10998         (getpgid): Do not document by reference to BSD getpgrp.
10999         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11000         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11001         * signal/signal.h [__FAVOR_BSD]: Likewise.
11002         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11003         instead of making contents conditional on [__FAVOR_BSD].
11004         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11005
11006 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11007
11008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11009
11010 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11011
11012         [BZ #16314]
11013         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11014         values below 2**-450, not 2**-500.
11015         * math/auto-libm-test-in: Don't allow spurious underflow from
11016         hypot.
11017         * math/auto-libm-test-out: Regenerated.
11018
11019         [BZ #16316]
11020         [BZ #16330]
11021         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11022         values of ha and hb and sort them after adjusting subnormal
11023         arguments.
11024         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11025         Likewise.
11026         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11027         values of ea and eb and sort them after adjusting subnormal
11028         arguments.
11029         * math/auto-libm-test-in: Do not expect some hypot tests of
11030         subnormals to fail.  Add more hypot tests.
11031         * math/auto-libm-test-out: Regenerated.
11032
11033 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11034
11035         [BZ #13304]
11036         * sysdeps/sh/s_fma.c: New file.
11037         * sysdeps/sh/s_fmaf.c: New file.
11038         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11039         version.
11040         * sysdeps/sh/Implies: Add sh/soft-fp.
11041
11042 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11043
11044         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11045         level of indirection to members `objname', `errstring', `malloced'.
11046         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11047         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11048         it as the __longjmp argument (just pass 1 instead).
11049         (_dl_catch_error): Initialize C with argument pointers and address of
11050         volatile local ERRCODE rather than copying values out of C at return.
11051
11052 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11053
11054         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11055         * math/auto-libm-test-out: Regenerated.
11056         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11057         (hypot_test_data): Likewise.
11058         (pow_test_data): Likewise.
11059         (pow_tonearest_test_data): Likewise.
11060         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11061         mpfr_ff_f.
11062         (func_calc_desc): Add mpfr_ff_f union field.
11063         (FUNC_mpfr_ff_f): New macro.
11064         (test_functions): Add atan2, hypot and pow.
11065         (special_fill_min): New function.
11066         (special_fill_minus_min): Likewise.
11067         (special_fill_min_subnorm): Likewise.
11068         (special_fill_minus_min_subnorm): Likewise.
11069         (special_real_inputs): Add min, -min, min_subnorm and
11070         -min_subnorm.
11071         (calc_generic_results): Handle mpfr_ff_f.
11072         * sysdeps/i386/fpu/libm-test-ulps: Update.
11073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11074
11075 2013-12-16  Will Newton  <will.newton@linaro.org>
11076
11077         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11078         (Aligned Memory Blocks): Add documentation for aligned_alloc
11079         and suggest it as an alternative to posix_memalign.
11080         (Hooks for Malloc): Document __memalign_hook is also called
11081         for aligned_alloc.  (Summary of Malloc): Add summary for
11082         aligned alloc.  Document __memalign_hook is also called
11083         for aligned_alloc.
11084
11085 2013-12-16  Will Newton  <will.newton@linaro.org>
11086
11087         * manual/memory.texi (Malloc Examples): Clarify default
11088         alignment documentation.  Suggest posix_memalign rather
11089         than memalign or valloc.
11090         (Aligned Memory Blocks): Remove suggestion to use memalign
11091         or valloc.  Remove obsolete comment about BSD.
11092         Document memalign errno values and mark the function obsolete.
11093         Document posix_memalign returned error codes.  Mark valloc
11094         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11095         called for posix_memalign and valloc.
11096         (Summary of Malloc): Add posix_memalign to function summary.
11097         __memalign_hook is also called for posix_memalign and valloc.
11098
11099 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11100
11101         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11102         TAYLOR_SIN.
11103         (__sin): Adjust.
11104         (__cos): Likewise.
11105         (sloww): Use mynumber union.  Expand ternary operator into
11106         if-else statements.
11107         (cslow): use mynumber union.
11108
11109 2013-12-16  Allan McRae  <allan@archlinux.org>
11110
11111         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11112         * configure: Regenerated.
11113
11114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11115
11116         [BZ #14120]
11117         * configure.ac: Added --enable-maintainer-mode. Check for
11118         autoconf when enabled.
11119         * configure: Regenerated.
11120
11121         * nscd/nscd.service: New file.
11122         * nscd/nscd.tmpfiles: New file.
11123
11124 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11125
11126         [BZ #12100]
11127         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11128         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11129         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11130         (strstr): Add __strstr_sse2_unaligned ifunc.
11131         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11132         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11133         (strcasestr): Remove __strcasestr_sse42 ifunc.
11134         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11137
11138 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11139
11140         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11141         * sysdeps/sh/bits/fenv.h: ... here.
11142         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11143
11144 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11145
11146         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11147
11148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11149         hypotf multiarch implementations.
11150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11153         multiarch hypot for PPC64.
11154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11155         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11156         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11157         multiarch hypotf for PPC64.
11158
11159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11160         modff multiarch implementations.
11161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11164         multiarch modf for PPC64.
11165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11168         multiarch modff for PPC64.
11169
11170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11171         and logl multiarch implementations.
11172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11175         multiarch logb for PPC64.
11176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11179         multiarch logb for PPC64.
11180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11183         multiarch logb for PPC64.
11184
11185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11186         isinff multiarch implementation.
11187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11188         file.
11189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11191         multiarch isinf for PPC64.
11192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11193         file.
11194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11195         multiarch isinff for PPC64.
11196
11197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11198         finitef multiarch implementation.
11199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11200         file.
11201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11203         multiarch finite for PPC64.
11204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11205         file.
11206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11207         multiarch finitef for PPC64.
11208
11209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11210         lrint multiarch implementation.
11211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11212         file.
11213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11215         multiarch llrint for PPC64.
11216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11217         multiarch lrint for PPC64.
11218
11219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11220         copysignf multiarch implementation.
11221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11222         file.
11223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11224         file.
11225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11226         multiarch copysign for PPC64.
11227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11228         multiarch copysignf for PPC64.
11229
11230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11231         multiarch implementation.
11232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11233         file.
11234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11235         file.
11236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11237         file.
11238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11239         file.
11240         multiarch llround for PPC64.
11241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11242         multiarch trunc for PPC64.
11243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11244         multiarch truncf for PPC64.
11245
11246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11247         multiarch implementation.
11248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11249         file.
11250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11251         file.
11252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11253         file.
11254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11255         file.
11256         multiarch llround for PPC64.
11257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11258         multiarch round for PPC64.
11259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11260         multiarch roundf for PPC64.
11261
11262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11263         multiarch implementation.
11264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11265         file.
11266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11267         file.
11268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11269         file.
11270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11271         file.
11272         multiarch llround for PPC64.
11273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11274         multiarch floor for PPC64.
11275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11276         multiarch floorf for PPC64.
11277
11278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11279         multiarch implementation.
11280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11281         file.
11282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11283         file.
11284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11285         file.
11286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11287         file.
11288         multiarch llround for PPC64.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11290         multiarch ceil for PPC64.
11291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11292         multiarch ceilf for PPC64.
11293
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11295         multiarch implementation.
11296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11297         file.
11298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11299         file.
11300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11301         file.
11302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11303         multiarch llround for PPC64.
11304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11305         multiarch lround for PPC64.
11306
11307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11308         multiarch implementation.
11309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11312         file.
11313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11316         multiarch isnan for PPC64.
11317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11318         multiarch isnanf for PPC64.
11319
11320         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11321         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11322         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11323         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11324         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11326
11327         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11328         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11330         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11331
11332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11333         multiarch implementations.
11334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11335         (__libc_ifunc_impl_list): Likewise.
11336         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11339         multiarch stpcpy for PPC64.
11340
11341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11342         multiarch implementations.
11343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11344         (__libc_ifunc_impl_list): Likewise.
11345         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11346         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11347         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11348         multiarch strcpy for PPC64.
11349
11350         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11351         redefine function name.
11352         (_wordcopy_fwd_dest_aligned): Likewise.
11353         (_wordcopy_bwd_aligned): Likewise.
11354         (_wordcopy_bwd_dest_aligned): Likewise.
11355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11356         multiarch implementations.
11357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11358         (__libc_ifunc_impl_list): Likewise.
11359         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11360         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11361         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11362         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11363         multiarch wcscpy for PPC64.
11364
11365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11366         multiarch implementations.
11367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11368         (__libc_ifunc_impl_list): Likewise.
11369         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11370         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11371         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11372         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11373         multiarch wcscpy for PPC64.
11374
11375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11376         multiarch implementations.
11377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11378         (__libc_ifunc_impl_list): Likewise.
11379         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11380         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11381         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11382         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11383         multiarch wcsrchr for PPC64.
11384
11385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11386         multiarch implementations.
11387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11388         (__libc_ifunc_impl_list): Likewise.
11389         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11390         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11391         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11392         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11393         multiarch wcschr for PPC64.
11394
11395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11396         multiarch implementations.
11397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11398         (__libc_ifunc_impl_list): Likewise.
11399         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11400         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11401         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11402         multiarch strchrnul for PPC64.
11403
11404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11405         implementations.
11406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11407         (__libc_ifunc_impl_list): Likewise.
11408         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11409         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11410         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11411         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11412         strchr for PPC64.
11413
11414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11415         implementations.
11416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11417         (__libc_ifunc_impl_list): Likewise.
11418         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11419         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11420         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11421         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11422         strncmp for PPC64.
11423
11424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11425         multiarch implementations.
11426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11427         (__libc_ifunc_impl_list): Likewise.
11428         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11429         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11430         strncasecmp for PPC64.
11431         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11432         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11433         multiarch strncasecmp_l for PPC64.
11434
11435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11436         multiarch implementations.
11437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11438         (__libc_ifunc_impl_list): Likewise.
11439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11440         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11441         multiarch strcasecmp for PPC64.
11442         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11443         file.
11444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11445         multiarch strcasecmp_l for PPC64.
11446
11447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11448         implementations.
11449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11450         (__libc_ifunc_impl_list): Likewise.
11451         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11452         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11453         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11454         strnlen for PPC64.
11455
11456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11457         implementations.
11458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11459         (__libc_ifunc_impl_list): Likewise.
11460         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11461         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11462         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11463         strlen for PPC64.
11464
11465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11466         implementations.
11467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11468         (__libc_ifunc_impl_list): Likewise.
11469         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11470         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11471         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11472         rawmemrchr for PPC64.
11473
11474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11475         implementation.
11476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11477         (__libc_ifunc_impl_list): Likewise.
11478         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11479         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11480         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11481         memrchr for PPC64.
11482
11483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11484         implementation.
11485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11486         (__libc_ifunc_impl_list): Likewise.
11487         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11488         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11489         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11490         memchr for PPC64.
11491
11492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11493         implementation.
11494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11495         (__libc_ifunc_impl_list): Likewise.
11496         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11497         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11499         mempcpy for PPC64.
11500
11501         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11502         avoid cretion of __bzero symbol.
11503         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11504         Likewise.
11505         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11506         Likewise.
11507         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11508         Likewise.
11509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11510         multiarch implementations.
11511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11512         (__libc_ifunc_impl_list): Likewise.
11513         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11514         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11516         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11517         bzero for PPC32.
11518         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11519         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11520         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11521         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11522         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11523         memset for PPC64.
11524         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11525
11526         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11528         implementations.
11529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11530         (__libc_ifunc_impl_list): Likewise.
11531         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11532         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11533         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11534         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11535         memcmp for PPC64.
11536
11537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11538         multiarch for POWER/PPC64.
11539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11540         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11541         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11542         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11543         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11544         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11545         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11547         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11548         memcpy for PPC64.
11549
11550         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11551         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11552         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11553         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11554         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11555         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11556         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11557         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11558         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11559         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11560         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11561         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11562         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11563         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11564         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11572
11573 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11574
11575         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11576
11577 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11578
11579         * benchtests/Makefile (bench): Add exp2 and log2.
11580         (LDLIBS-bench-exp2): Add -lm.
11581         (LDLIBS-bench-log2): Likewise.
11582         * benchtests/exp2-inputs: New inputs file.
11583         * benchtests/log2-inputs: New inputs file.
11584         * benchtests/log-inputs: Add new inputs.
11585         * benchtests/tan-inputs: Likewise.
11586
11587 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11588
11589         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11590         definition...
11591         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11592         (csloww2): ... from here.
11593
11594         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11595         instead of structures.
11596         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11597         (POLYNOMIAL): Likewise.
11598         (TAYLOR_SLOW): Likewise.
11599         (__sin): Likewise.
11600         (__cos): Likewise.
11601         (slow1): Likewise.
11602         (slow2): Likewise.
11603         (sloww): Likewise.
11604         (sloww1); Likewise.
11605         (sloww2): Likewise.
11606         (bsloww1): Likewise.
11607         (bsloww2): Likewise.
11608         (cslow2): Likewise.
11609         (csloww): Likewise.
11610         (csloww1): Likewise.
11611         (csloww2): Likewise.
11612
11613 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11614
11615         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11616         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11617         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11618         * malloc/hooks.c (realloc_check): Likewise.
11619
11620         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11621         * malloc/arena.c: Remove PER_THREAD conditional.
11622         [!PER_THREAD]: Remove code.
11623         (ptmalloc_unlock_all2): Likewise.
11624         (ptmalloc_init): Likewise.
11625         (_int_new_arena): Likewise.
11626         (arena_get2): Likewise.
11627         * malloc/hooks.c (__malloc_get_state): Likewise.
11628         (__malloc_set_state): Likewise.
11629         * malloc/malloc.c: Likewise.
11630         (struct malloc_state): Likewise.
11631         (struct malloc_par): Likewise.
11632         (__libc_realloc): Likewise.
11633         (__libc_mallopt): Likewise.
11634
11635 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11636
11637         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11638
11639 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11640
11641         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11642         macro to a function.  Check for zero perturb_byte.
11643         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11644
11645         * malloc/malloc.c: (force_reg): Remove.
11646         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11647         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11648         force_reg by atomic_forced_read.
11649         * malloc/arena.c (ptmalloc_init): Likewise.
11650         * malloc/hooks.c (top_check): Likewise.
11651
11652 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11653
11654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11655
11656 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11657
11658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11659
11660 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11661
11662         * math/auto-libm-test-in: Add tests of lgamma.
11663         * math/auto-libm-test-out: Regenerated.
11664         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11665         (M_LOG_2_SQRT_PIl): Likewise.
11666         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11667         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11668         mpfr_f_f1.
11669         (func_calc_desc): Add mpfr_f_f1 union field.
11670         (ARGS1): New macro.
11671         (ARGS2): Likewise.
11672         (ARGS3): Likewise.
11673         (ARGS4): Likewise.
11674         (RET1): Likewise.
11675         (RET2): Likewise.
11676         (CALC): Likewise.
11677         (FUNC): Likewise.
11678         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11679         (test_functions): Add lgamma.
11680         (calc_generic_results): Handle mpfr_f_f1.
11681         * sysdeps/i386/fpu/libm-test-ulps: Update.
11682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11683
11684 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11685
11686         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11687         __mpn_add_n for PowerPC64/POWER7.
11688         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11689         __mpn_sub_n for PowerPC64/POWER7.
11690
11691         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11692         __mpn_addmul_1 for PowerPC64.
11693         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11694         __mpn_submul_1 for PowerPC64.
11695         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11696         for PowerPC64.
11697         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11698         for PowerPC64.
11699
11700 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11701
11702         [BZ #15089]
11703         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11704
11705 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11706
11707         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11708
11709         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11710         add multiarch folders.
11711         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11712         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11713         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11714         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11715         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11716         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11717         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11718         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11719         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11720         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11721         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11728
11729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11730         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11732         New file.
11733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11734         New file.
11735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11736         multiarch __ieee754_hypot for PowerPC32.
11737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11738         New file.
11739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11740         New file.
11741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11742         multiarch __ieee754_hypotf for PowerPC32.
11743
11744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11745         long_double_symbol only if __logbl is defined.
11746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11747         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11749         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11751         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11752         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11753         path for implementation.
11754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11755         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11757         logb, and logbl multiarch implementations for PowerPC32.
11758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11759         file.
11760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11761         file.
11762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11763         multiarch logb for PowerPC32.
11764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11765         file.
11766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11767         file.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11769         multiarch logbf for PowerPC32.
11770         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11772         file.
11773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11774         multiarch logbl implementation for PowerPC32.
11775
11776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11777         and modff multiarch implementations.
11778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11779         New file.
11780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11781         New file.
11782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11783         multiarch modf for PowerPC32.
11784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11785         New file.
11786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11787         New file.
11788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11789         multiarch modff for PowerPC32.
11790
11791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11792         and lrintf multiarch implementations.
11793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11794         New file.
11795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11796         New file.
11797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11798         multiarch lrint for PowerPC32.
11799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11800         file: multiarch lrintf for PowerPC32.
11801
11802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11803         and lroundf multiarch implementations.
11804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11805         New file.
11806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11807         New file.
11808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11809         New file.
11810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11811         multiarch lround for PowerPC32.
11812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11813         file: multiarch lroundf for PowerPC32.
11814
11815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11816         copysign and copysignf multiarch implementations.
11817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11818         New file.
11819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11820         New file.
11821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11822         file: multiarch copysign for PowerPC32.
11823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11824         file: multiarch copysignf for PowerPC32.
11825
11826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11827         and truncf multiarch implementations.
11828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11829         New file.
11830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11831         file.
11832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11833         multiarch trunc for PowerPC32.
11834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11835         New file.
11836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11837         New file.
11838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11839         multiarch truncf for PowerPC32.
11840
11841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11842         and roundf multiarch implementations.
11843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11844         New file.
11845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11846         file.
11847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11848         multiarch round for PowerPC32.
11849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11850         New file.
11851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11852         New file.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11854         multiarch roundf for PowerPC32.
11855
11856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11857         and floorf multiarch implementations.
11858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11859         New file.
11860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11861         file.
11862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11863         multiarch floor for PowerPC32.
11864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11865         New file.
11866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11867         New file.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11869         multiarch floorf for PowerPC32.
11870
11871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11872         and ceilf multiarch implementations.
11873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11874         New file.
11875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11876         file.
11877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11878         multiarch ceil for PowerPC32.
11879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11880         New file.
11881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11882         file.
11883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11884         multiarch ceilf for PowerPC32.
11885
11886         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11887         is defined.
11888         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11889         FINITEF is defined.
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11891         and finitef multiarch implementations.
11892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11893         New file.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11895         file.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11897         multiarch finite for PowerPC32.
11898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11899         New file.
11900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11901         file: multiarch finitef for PowerPC32.
11902
11903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11904         and isinff multiarch implementations.
11905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11906         file.
11907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11908         file.
11909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11910         multiarch isinf for PowerPC32.
11911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11912         New file.
11913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11914         multiarch isinff for PowerPC32.
11915
11916         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11917         alias when __isnan is defined.
11918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11919         and isnanf multiarch implementations.
11920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11921         file.
11922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11923         file.
11924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11925         file.
11926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11927         file.
11928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11929         multiarch isnan for PowerPC32.
11930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11931         New file.
11932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11933         New file.
11934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11935         multiarch isnanf for PowerPC32.
11936
11937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11938         and sqrtf multiarch implementations.
11939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11940         file.
11941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11942         file.
11943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11944         multiarch sqrt for PowerPC32.
11945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11946         file.
11947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11948         file.
11949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11950         multiarch sqrtf for PowerPC32.
11951
11952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11953         and llroundf multiarch implementations.
11954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11955         New file.
11956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11957         New file.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11959         New file.
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11961         file: multiarch llround for PowerPC32.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11963         file: multiarch llroundf for PowerPC32.
11964
11965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11966         multiarch PowerPC32 fpu implementations.
11967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11968         New file.
11969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11970         New file.
11971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11972         multiarch llrint for PowerPC32.
11973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11974         New file.
11975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11976         New file.
11977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11978         file.
11979
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11981
11982         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11983         file.
11984         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11985         file.
11986         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11987         file.
11988         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11989         multiarch wordcopy for PPC32.
11990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11991         wordcopy objects.
11992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11993         (__libc_ifunc_impl_list): Likewise.
11994         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11995         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11996         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11997         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11998         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11999         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12000
12001         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12003         file.
12004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12005         file.
12006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12007         file.
12008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12009         multiarch wcscpy for PPC32.
12010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12011         multiarch objects.
12012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12013         (__libc_ifunc_impl_list): Likewise.
12014         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12015         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12016         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12017         sysdeps/powerpc/power6/wcscpy.c.
12018
12019         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12021         file.
12022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12023         file.
12024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12025         file.
12026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12027         multiarch wcsrchr for PPC32.
12028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12029         multiarch objects.
12030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12031         (__libc_ifunc_impl_list): Likewise.
12032         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12033         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12034         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12035         sysdeps/powerpc/power6/wcsrchr.c.
12036
12037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12038         file.
12039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12040         file.
12041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12043         multiarch wcschr for PPc32.
12044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12045         multiarch objects.
12046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12047         (__libc_ifunc_impl_list): Likewise.
12048         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12049         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12050         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12051         sysdeps/powerpc/power6/wcschr.c.
12052
12053         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12054         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12055         file.
12056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12057         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12058         file: multiarch strchr for PPC32.
12059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12060         multiarch objects.
12061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12062         (__libc_ifunc_impl_list): Likewise.
12063
12064         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12065         name.
12066         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12067         file.
12068         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12069         file.
12070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12071         multiarch strchrnul for PPC32.
12072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12073         multiarch objects.
12074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12075         (__libc_ifunc_impl_list): Likewise.
12076
12077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12078         file.
12079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12080         multiarch strncasecmp for PPC32.
12081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12082         file.
12083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12084         multiarch strncasecmp_l for PPC32.
12085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12086         strncasecmp multiarch objects.
12087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12088         (__libc_ifunc_impl_list): Likewise.
12089
12090         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12091         file.
12092         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12093         multiarch strncasecmp for PPC32.
12094         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12095         New file.
12096         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12097         multiarch strcasecmp_l for PPC32.
12098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12099         multiarch objects.
12100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12101         (__libc_ifunc_impl_list): Likewise.
12102
12103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12104         file.
12105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12106         file.
12107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12108         multiarch strncmp for PPC32.
12109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12110         multiarch objects.
12111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12112         (__libc_ifunc_impl_list): Likewise.
12113
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12115         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12116         file.
12117         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12118         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12120         multiarch objects.
12121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12122         (__libc_ifunc_impl_list): Likewise.
12123
12124         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12125         file.
12126         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12127         file.
12128         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12130         multiarch objects.
12131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12132         (__libc_ifunc_impl_list): Likewise.
12133
12134         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12135         file.
12136         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12137         file.
12138         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12139         multiarch rawmemchr for PPC32.
12140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12141         multiarch objects.
12142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12143         (__libc_ifunc_impl_list): Likewise.
12144
12145         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12146         file.
12147         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12148         file.
12149         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12150         file: memrchr multiarch for PPC32.
12151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12152         multiarch objects.
12153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12154         (__libc_ifunc_impl_list): Likewise.
12155
12156         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12157         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12158         file.
12159         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12160         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12161         multiarch memchr for PPC32.
12162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12163         multiarch objects.
12164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12165         (__libc_ifunc_impl_list): Likewise.
12166
12167         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12168         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12169         file.
12170         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12171         file.
12172         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12173         file: multiarch mempcpy for PPC32.
12174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12175         multiarch objects.
12176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12177         (__libc_ifunc_impl_list): Likewise.
12178
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12180         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12182         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12183         multiarch bzero for PPC32.
12184         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12185         file.
12186         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12187         file.
12188         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12189         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12190         file: multiarch memset for PPC32.
12191         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12193         memset multiarch objects.
12194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12195         (__libc_ifunc_impl_list): Likewise.
12196
12197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12198         file.
12199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12201         memcmp for PPC32.
12202         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12204         multiarch objects.
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12206         (__libc_ifunc_impl_list): Likewise.
12207
12208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12211         file.
12212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12213         file.
12214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12215         file.
12216         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12217         multiarch memcpy for PPC32.
12218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12219         multiarch objects.
12220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12221         (__libc_ifunc_impl_list): Likewise.
12222
12223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12224         support multiarch for POWER/PPC32.
12225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12226         Likewise.
12227         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12229         Implies file to make multiarch folder appers before the fpu and
12230         default folder for power4 configuration.
12231
12232 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12233
12234         * scripts/bench.pl: Append volatile keyword to type.
12235
12236 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12237
12238         * sysdeps/sh/sotruss-lib.c: New file.
12239         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12240
12241 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12242
12243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12244
12245 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12246
12247         [BZ #6810]
12248         * math/w_tgamma.c: Include <errno.h>.
12249         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12250         * math/w_tgammaf.c: Include <errno.h>.
12251         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12252         * math/w_tgammal.c: Include <errno.h>.
12253         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12254         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12255         underflow.  Add more tgamma tests.
12256         * math/auto-libm-test-out: Regenerated.
12257         * sysdeps/i386/fpu/libm-test-ulps: Update.
12258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12259
12260         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12261         sin, sinh, tan, tanh, tgamma, y0 and y1.
12262         * math/auto-libm-test-out: Regenerated.
12263         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12264         (TEST_COND_x86): Likewise.
12265         (M_E2l): Remove macro.
12266         (M_E3l): Likewise.
12267         (M_2_SQRT_PIl): Likewise.
12268         (M_SQRT_PIl): Likewise.
12269         (M_1_DIV_El): Likewise.
12270         (log_test_data): Use AUTO_TESTS_f_f.
12271         (log10_test_data): Likewise.
12272         (log1p_test_data): Likewise.
12273         (log2_test_data): Likewise.
12274         (sin_test_data): Likewise.
12275         (sin_tonearest_test_data): Likewise.
12276         (sin_towardzero_test_data): Likewise.
12277         (sin_downward_test_data): Likewise.
12278         (sin_upward_test_data): Likewise.
12279         (sinh_test_data): Likewise.
12280         (sinh_tonearest_test_data): Likewise.
12281         (sinh_towardzero_test_data): Likewise.
12282         (sinh_downward_test_data): Likewise.
12283         (sinh_upward_test_data): Likewise.
12284         (tan_test_data): Likewise.
12285         (tan_tonearest_test_data): Likewise.
12286         (tan_towardzero_test_data): Likewise.
12287         (tan_downward_test_data): Likewise.
12288         (tan_upward_test_data): Likewise.
12289         (tanh_test_data): Likewise.
12290         (tgamma_test_data): Likewise.
12291         (y0_test_data): Likewise.
12292         (y1_test_data): Likewise.
12293         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12294         (special_real_inputs): Add pi/4.
12295         * sysdeps/i386/fpu/libm-test-ulps: Update.
12296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12297
12298 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12299
12300         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12301         "longjmp_target" static probes.
12302         (__longjmp): Rename to __longjmp_symbol.
12303         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12304         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12305         on which longjmp to generate.
12306         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12307         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12308         probe.
12309         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12310         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12311         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12312         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12313         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12314         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12316         __longjmp_symbol based on which __longjmp to generate.
12317         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12318         probe.
12319         (setjmp): Rename to setjmp_symbol.
12320         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12321         (_setjmp): Rename to _setjmp_symbol.
12322         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12323         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12324         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12325         which setjmp to generate.
12326         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12327         "longjmp_target" static probes.
12328
12329 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12330
12331         * benchtests/README: Add note about output arguments.
12332         * benchtests/bench-sincos.c: Remove file.
12333         * benchtests/sincos-inputs: New file.
12334         * scripts/bench.pl: Identify output arguments and define
12335         static variables for them.
12336
12337         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12338
12339         [BZ #15941]
12340         * Makefile (INSTALL): Add install-plain.texi as the primary
12341         dependency.
12342         * manual/install-plain.texi: New file.
12343         * manual/install.texi: Include node directive only for
12344         non-plaintext output.
12345
12346 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12347
12348         * stdlib/longlong.h: Update from GCC.
12349
12350         [BZ #6807]
12351         [BZ #15901]
12352         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12353         * math/w_j0f.c (y0f): Likewise.
12354         * math/w_j0l.c (__y0l): Likewise.
12355         * math/w_j1.c (y1): Likewise.
12356         * math/w_j1f.c (y1f): Likewise.
12357         * math/w_j1l.c (__y1l): Likewise
12358         * math/w_jn.c (yn): Likewise.
12359         * math/w_jnf.c (ynf): Likewise.
12360         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12361         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12362         value for Bessel function domain errors outside _SVID_ mode.
12363         Adjust sign of return value for yn (negative integer, 0).
12364         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12365         by zero in return for negative x and set sign appropriately for
12366         negative n.
12367         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12368         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12369         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12370         expectations in error cases.
12371         (y1_test_data): Likewise.
12372         (yn_test_data): Likewise.
12373         * sysdeps/i386/fpu/libm-test-ulps: Update.
12374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12375
12376 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12377
12378         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12379         "64" to "64-v1".  Add "64-v2".
12380         (abi-64-options): Rename to ...
12381         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12382         (abi-64-condition): Rename to ...
12383         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12384         (abi-64-ld-soname): Rename to ...
12385         (abi-64-v1-ld-soname): ... this.
12386         (abi-64-v2-options): Define.
12387         (abi-64-v2-condition): Likewise.
12388         (abi-64-v2-ld-soname): Likewise.
12389         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12390         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12394
12395 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12396             Alan Modra  <amodra@gmail.com>
12397
12398         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12399         New versions for use with the ELFv2 ABI.
12400         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12401         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12402         declaration.
12403         (struct La_ppc64v2_retval): Likewise.
12404         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12405         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12406         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12407         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12408         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12409         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12410         Do not save or restore CR.
12411         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12412         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12413         return values for ELFv2 ABI.  Fix location of FPR return registers.
12414         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12415         updated values for _CALL_ELF == 2.
12416         (La_regs, La_retval, int_retval): Likewise.
12417
12418 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12419
12420         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12421         (FRAME_MIN_SIZE_PARM): Likewise.
12422         (FRAME_BACKCHAIN): Likewise.
12423         (FRAME_CR_SAVE): Likewise.
12424         (FRAME_LR_SAVE): Likewise.
12425         (FRAME_TOC_SAVE): Likewise.
12426         (FRAME_PARM_SAVE): Likewise.
12427         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12428         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12429         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12430         (call_mcount_parm_offset): New macro.
12431         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12432         (PROF): Use symbolic stack frame offsets.
12433         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12434         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12435         Redefine in terms of FRAME_MIN_SIZE.
12436         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12437         (_dl_profile_resolve): Likewise.  Update comment.
12438         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12439         symbols stack frame offsets.
12440         (__sigsetjmp): Likewise.
12441         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12442         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12443         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12444         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12445
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12447         (FRAME_BACKCHAIN): Remove.
12448         (FRAME_CR_SAVE): Likewise.
12449         (FRAME_LR_SAVE): Likewise.
12450         (FRAME_COMPILER_DW): Likewise.
12451         (FRAME_LINKER_DW): Likewise.
12452         (FRAME_TOC_SAVE): Likewise.
12453         (FRAME_PARM_SAVE): Likewise.
12454         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12455         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12456         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12458         (CHECK_SP): Use symbolic stack frame offsets.
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12460         zone" instead of caller's parameter save area for temp storage.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12462         Likewise.  Also, use symbolic stack frame offsets.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12464         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12465         our own stack frame instead of the caller's.
12466         (__socket): Use symbolic stack frame offsets.
12467
12468 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12469             Alan Modra  <amodra@gmail.com>
12470
12471         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12472         Define.
12473         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12474         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12475         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12476         New function.
12477         (elf_machine_fixup_plt): Call it.
12478         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12479         reloc arguments.
12480         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12481         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12482         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12483         r2 before calling target.
12484
12485 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12486             Alan Modra  <amodra@gmail.com>
12487
12488         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12489         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12490         versions of macros to support ELFv2 ABI.
12491         (LOCALENTRY): New macro.
12492         (ENTRY, EALIGN): Use it.
12493         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12494         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12495         fall through into ENTRY entry point.
12496         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12497         Only define if _CALL_ELF != 2.
12498
12499         (elf_machine_matches_host): Verify ABI version matches.
12500         (RTLD_START): Use LOCALENTRY.
12501         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12502         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12503         (PLT_ENTRY_WORDS): New macro.
12504         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12505         (elf_machine_runtime_setup): Support ELFv2 ABI.
12506         (elf_machine_fixup_plt): Likewise.
12507         (elf_machine_plt_conflict): Likewise.
12508         (resolve_ifunc): Likewise.
12509         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12510         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12511         Likewise.
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12513         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12515         (makecontext): Support ELFv2 ABI.
12516         * elf/elf.h (EF_PPC64_ABI): Define.
12517
12518 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12519
12520         * sysdeps/powerpc/powerpc64/sysdep.h
12521         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12522         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12523         (ENTRY) [ASSEMBLER]: ... but instead here ...
12524         (EALIGN) [ASSEMBLER]: ... and here.
12525         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12526         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12527         (ENTRY_2) [!ASSEMBLER]: Use it.
12528         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12529         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12530         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12531         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12532         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12534         Use PPC64_LOAD_FUNCPTR.
12535
12536         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12537
12538 2013-12-04  Alan Modra  <amodra@gmail.com>
12539
12540         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12541         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12542         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12543         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12544
12545         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12546         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12547         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12548         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12549         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12550         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12551
12552 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12553
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12555         (__makecontext): Fix incorrect CFI when backtracing out of
12556         context created via makecontext.
12557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12558         (__setcontext): Fix incorrect CFI during switch to new context.
12559         (__novec_setcontext): Likewise.
12560
12561 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12562
12563         [BZ #4772]
12564         * time/strptime_l.c (__strptime_internal): Allow modifiers
12565         in strptime.
12566         * time/tst-strptime.c (day_tests): Add testcase.
12567
12568 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12569
12570         * scripts/bench.pl: Skip over blank lines.
12571
12572 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12573
12574         [BZ #926]
12575         * manual/time.texi (Calendar Time): Clarify what timezone functions
12576         use.
12577
12578 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12579
12580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12581
12582 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12583
12584         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12585         implementation.
12586         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12587         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12588         * debug/memset_chk.c (__memset_chk): Likewise.
12589         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12590         * debug/strncpy_chk.c: Likewise.
12591
12592 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12593
12594         [BZ #15268]
12595         [BZ #15425]
12596         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12597         (__ieee754_exp): For possibly underflowing results, check size of
12598         result and force underflow exception if required.
12599         * math/auto-libm-test-in: Add more tests of exp.
12600         * math/auto-libm-test-out: Regenerated.
12601         * sysdeps/i386/fpu/libm-test-ulps: Update.
12602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12603
12604         [BZ #16283]
12605         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12606         * math/w_exp2f.c (__exp2f): Likewise.
12607         * math/w_exp2l.c (__exp2l): Likewise.
12608         * math/auto-libm-test-in: Do not allow missing errno on exp2
12609         underflow.
12610         * math/auto-libm-test-out: Regenerated.
12611
12612 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12613
12614         [BZ #16274]
12615         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12616         handle filename validation.
12617         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12618         (do_open): Delete.
12619
12620 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12621
12622         [BZ #6786]
12623         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12624         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12625         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12626         <float.h>.
12627         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12628         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12629         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12630         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12631         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12632         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12633         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12634         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12635         Add more erfc tests.
12636         * math/auto-libm-test-out: Regenerated.
12637         * sysdeps/i386/fpu/libm-test-ulps: Update.
12638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639
12640         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12641         exp2, expm1, j0 and j1.
12642         * math/auto-libm-test-out: Regenerated.
12643         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12644         (erfc_test_data): Likewise.
12645         (exp_test_data): Likewise.
12646         (exp_tonearest_test_data): Likewise.
12647         (exp_towardzero_test_data): Likewise.
12648         (exp_downward_test_data): Likewise.
12649         (exp_upward_test_data): Likewise.
12650         (exp10_test_data): Likewise.
12651         (exp2_test_data): Likewise.
12652         (expm1_test_data): Likewise.
12653         (j0_test_data): Likewise.
12654         (j1_test_data): Likewise.
12655         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12656         (input_flag_type): Add flag_xfail_rounding.
12657         (input_flags): Add xfail-rounding.
12658         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12659         (output_for_one_input_case): Handle flag_xfail_rounding.
12660         * sysdeps/i386/fpu/libm-test-ulps: Update.
12661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12662
12663 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12664
12665         [BZ #16289]
12666         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12667         division by 0.
12668
12669 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12670
12671         [BZ #16195]
12672         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12673         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12674         (STAP_PROBE0): New macro.
12675         (STAP_PROBE1): Likewise.
12676         (STAP_PROBE2): Likewise.
12677         (STAP_PROBE3): Likewise.
12678         (STAP_PROBE4): Likewise.
12679
12680 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12681
12682         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12683
12684 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12685
12686         * benchtests/Makefile (bench): Add sqrt.
12687         (LDLIBS-bench-sqrt): New.
12688         * benchtests/sqrt-input: New.
12689
12690 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12691
12692         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12693         (GAIH_EAI): Likewise.
12694         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12695         (gaih_inet): Likewise.
12696         (getaddrinfo): Don't use GAIH_EAI.
12697
12698         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12699         (struct gaih): Remove definition.
12700
12701 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12702
12703         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12704         Use HERRNOP directly.
12705
12706 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12707
12708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12709
12710 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12711
12712         * math/gen-auto-libm-tests.c (test_functions): Add more
12713         single-argument functions.
12714         (special_fill_pi_2): New function.
12715         (special_fill_minus_pi_2): Likewise.
12716         (special_fill_pi_6): Likewise.
12717         (special_fill_minus_pi_6): Likewise.
12718         (special_fill_pi_3): Likewise.
12719         (special_fill_2pi_3): Likewise.
12720         (special_fill_e): Likewise.
12721         (special_fill_1_e): Likewise.
12722         (special_fill_e_minus_1): Likewise.
12723         (special_real_inputs): Add more special inputs.
12724         (output_for_one_input_case): Do not require ERANGE on underflow to
12725         zero if round-to-nearest result does not underflow to zero, unless
12726         exact results required.
12727         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12728         atan, atanh, cbrt, cos and cosh.
12729         * math/auto-libm-test-out: Regenerated.
12730         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12731         (acos_tonearest_test_data): Likewise.
12732         (acos_towardzero_test_data): Likewise.
12733         (acos_downward_test_data): Likewise.
12734         (acos_upward_test_data): Likewise.
12735         (acosh_test_data): Likewise.
12736         (asin_test_data): Likewise.
12737         (asin_tonearest_test_data): Likewise.
12738         (asin_towardzero_test_data): Likewise.
12739         (asin_upward_test_data): Likewise.
12740         (asinh_test_data): Likewise.
12741         (atan_test_data): Likewise.
12742         (atanh_test_data): Likewise.
12743         (cbrt_test_data): Likewise.
12744         (cos_test_data): Likewise.
12745         (cos_tonearest_test_data): Likewise.
12746         (cos_towardzero_test_data): Likewise.
12747         (cos_downward_test_data): Likewise.
12748         (cos_upward_test_data): Likewise.
12749         (cosh_test_data): Likewise.
12750         (cosh_tonearest_test_data): Likewise.
12751         (cosh_towardzero_test_data): Likewise.
12752         (cosh_downward_test_data): Likewise.
12753         (cosh_upward_test_data): Likewise.
12754         * sysdeps/i386/fpu/libm-test-ulps: Update.
12755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756
12757 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12758
12759         [BZ #6787]
12760         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12761         * math/w_exp10f.c (__exp10f): Likewise.
12762         * math/w_exp10l.c (__exp10l): Likewise.
12763         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12764         errno settings in existing tests.
12765
12766         [BZ #14032]
12767         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12768         precision control set to double precision.
12769         * sysdeps/i386/fpu/w_sqrt.c: New file.
12770         * math/auto-libm-test-in: Add more tests.
12771         * math/auto-libm-test-out: Update.
12772
12773         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12774         (sqrt_test_tonearest): New function.
12775         (sqrt_towardzero_test_data): New variable.
12776         (sqrt_test_towardzero): New function.
12777         (sqrt_downward_test_data): New variable.
12778         (sqrt_test_downward): New function.
12779         (sqrt_upward_test_data): New variable.
12780         (sqrt_test_upward): New function.
12781         (main): Call the new functions.
12782
12783         * math/gen-auto-libm-tests.c: New file.
12784         * math/auto-libm-test-in: Likewise.
12785         * math/auto-libm-test-out: New generated file.
12786         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12787         variables.
12788         (%beautify): Add generated representations of zero.
12789         (top level): Set $auto_input and call parse_auto_input.
12790         (beautify): Remove trailing "f" from hex float constants.
12791         (parse_args): Handle XFAIL_TEST.
12792         (convert_condition): New function.
12793         (or_value): Likewise.
12794         (or_cond_value): Likewise.
12795         (generate_testfile): Handle AUTO_TESTS_* lines.
12796         (parse_auto_input): New function.
12797         * math/libm-test.inc (XFAIL_TEST): New macro.
12798         (ERRNO_UNCHANGED): Update value.
12799         (ERRNO_EDOM): Likewise.
12800         (ERRNO_ERANGE): Likewise.
12801         (IGNORE_RESULT): Likewise.
12802         (TEST_COND_flt_32): New macro.
12803         (TEST_COND_dbl_64): Likewise.
12804         (TEST_COND_ldbl_96_intel): Likewise.
12805         (TEST_COND_ldbl_96_m68k): Likewise.
12806         (TEST_COND_ldbl_128): Likewise.
12807         (TEST_COND_ldbl_128ibm): Likewise.
12808         (TEST_COND_long32): Likewise.
12809         (TEST_COND_long64): Likewise.
12810         (TEST_COND_before_rounding): Likewise.
12811         (TEST_COND_after_rounding): Likewise.
12812         (enable_test): Handle XFAIL_TEST flag.
12813         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12814         with finite results.
12815         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12816         auto-libm-test-out.
12817
12818 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12819             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12820
12821         [BZ #16214]
12822         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12823         __tls_get_addr_internal instead of __tls_get_offset in order to
12824         avoid GOT pointer dependency.  Make rtld export
12825         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12826         __tls_get_addr since we are a __tls_get_offset platform.
12827         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12828         GOT pointer being set up before.
12829         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12830
12831 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12832
12833         * manual/math.texi (Errors in Math Functions): Document accuracy
12834         goals.
12835
12836         [BZ #15004]
12837         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12838         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12839         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12840         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12841         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12842         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12843         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12844         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12845         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12846         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12847         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12848         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12849         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12850         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12851         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12852         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12853
12854         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12855         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12856         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12857         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12858         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12859         Likewise.
12860         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12861         Likewise.
12862         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12863         Likewise.
12864         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12865         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12866         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12867         atomic-feupdateenv and flt-rounds.
12868         * sysdeps/powerpc/nofpu/Versions (libc): Add
12869         __atomic_feholdexcept, __atomic_feclearexcept,
12870         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12871         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12872         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12873         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12874         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12875         here.
12876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12877         Update.
12878
12879         * manual/arith.texi (FP Exceptions): Document that exceptions may
12880         not be raised when matherr is used.
12881         (Math Error Reporting): Document overflow in directed rounding
12882         modes.  Document that errno may not be set when finite values are
12883         returned on overflow.  Document intent to set errno on underflow
12884         only for underflow to zero.
12885
12886         [BZ #16271]
12887         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12888         round-to-nearest then adjust result for other rounding modes.
12889         * include/fenv.h (fegetround): Use libm_hidden_proto.
12890         * math/fegetround.c (fegetround): Use libm_hidden_def.
12891         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12892         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12893         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12894         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12895         Likewise.
12896         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12897         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12898         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12899         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12900
12901 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12902
12903         [BZ #16077]
12904         * nss/Versions (libnss_files): Add
12905         _nss_files_gethostbyname3_r.
12906         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12907         New function.
12908         (HOST_DB_LOOKUP): Remove macro.
12909         (_nss_files_gethostbyname_r): Implement function without the
12910         HOST_DB_LOOKUP macro.
12911         (_nss_files_gethostbyname2_r): Likewise.
12912
12913 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12914
12915         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12916
12917 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12918
12919         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12920         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12921         warning.
12922
12923 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12924
12925         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12926         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12927         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12928         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12929         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12930         __fe_nomask_env_priv and attribute_hidden.
12931         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12932         (libc_feupdateenv_test_ppc): Likewise.
12933         (libc_feresetround_ppc): Likewise.
12934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12935         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12936         compat_symbol macro.
12937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12938         (__fe_nomask_env): Likewise.
12939         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12940
12941 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12942
12943         * string/Makefile: Remove ifunc tests.
12944         * string/test-string.h: Define TEST_IFUNC.
12945         * string/test-bcopy-ifunc.c: Remove.
12946         * string/test-bzero-ifunc.c: Likewise.
12947         * string/test-memccpy-ifunc.c: Likewise.
12948         * string/test-memchr-ifunc.c: Likewise.
12949         * string/test-memcmp-ifunc.c: Likewise.
12950         * string/test-memcpy-ifunc.c: Likewise.
12951         * string/test-memmem-ifunc.c: Likewise.
12952         * string/test-memmove-ifunc.c: Likewise.
12953         * string/test-mempcpy-ifunc.c: Likewise.
12954         * string/test-memrchr-ifunc.c: Likewise.
12955         * string/test-memset-ifunc.c: Likewise.
12956         * string/test-rawmemchr-ifunc.c: Likewise.
12957         * string/test-stpcpy-ifunc.c: Likewise.
12958         * string/test-stpncpy-ifunc.c: Likewise.
12959         * string/test-strcasecmp-ifunc.c: Likewise.
12960         * string/test-strcasestr-ifunc.c: Likewise.
12961         * string/test-strcat-ifunc.c: Likewise.
12962         * string/test-strchr-ifunc.c: Likewise.
12963         * string/test-strchrnul-ifunc.c: Likewise.
12964         * string/test-strcmp-ifunc.c: Likewise.
12965         * string/test-strcpy-ifunc.c: Likewise.
12966         * string/test-strcspn-ifunc.c: Likewise.
12967         * string/test-strlen-ifunc.c: Likewise.
12968         * string/test-strncasecmp-ifunc.c: Likewise.
12969         * string/test-strncat-ifunc.c: Likewise.
12970         * string/test-strncmp-ifunc.c: Likewise.
12971         * string/test-strncpy-ifunc.c: Likewise.
12972         * string/test-strnlen-ifunc.c: Likewise.
12973         * string/test-strpbrk-ifunc.c: Likewise.
12974         * string/test-strrchr-ifunc.c: Likewise.
12975         * string/test-strspn-ifunc.c: Likewise.
12976         * string/test-strstr-ifunc.c: Likewise.
12977
12978 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12979
12980         * benchtests/Makefile: Remove ifunc tests.
12981         * benchtests/bench-string.h: Define TEST_IFUNC.
12982         * benchtests/bench-bcopy-ifunc.c: Remove.
12983         * benchtests/bench-bzero-ifunc.c: Likewise.
12984         * benchtests/bench-memccpy-ifunc.c: Likewise.
12985         * benchtests/bench-memchr-ifunc.c: Likewise.
12986         * benchtests/bench-memcmp-ifunc.c: Likewise.
12987         * benchtests/bench-memcpy-ifunc.c: Likewise.
12988         * benchtests/bench-memmem-ifunc.c: Likewise.
12989         * benchtests/bench-memmove-ifunc.c: Likewise.
12990         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12991         * benchtests/bench-memrchr-ifunc.c: Likewise.
12992         * benchtests/bench-memset-ifunc.c: Likewise.
12993         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12994         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12995         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12996         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12997         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12998         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12999         * benchtests/bench-strcat-ifunc.c: Likewise.
13000         * benchtests/bench-strchr-ifunc.c: Likewise.
13001         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13002         * benchtests/bench-strcmp-ifunc.c: Likewise.
13003         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13004         * benchtests/bench-strcpy-ifunc.c: Likewise.
13005         * benchtests/bench-strcspn-ifunc.c: Likewise.
13006         * benchtests/bench-strlen-ifunc.c: Likewise.
13007         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13008         * benchtests/bench-strncat-ifunc.c: Likewise.
13009         * benchtests/bench-strncmp-ifunc.c: Likewise.
13010         * benchtests/bench-strncpy-ifunc.c: Likewise.
13011         * benchtests/bench-strnlen-ifunc.c: Likewise.
13012         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13013         * benchtests/bench-strrchr-ifunc.c: Likewise.
13014         * benchtests/bench-strsep-ifunc.c: Likewise.
13015         * benchtests/bench-strspn-ifunc.c: Likewise.
13016         * benchtests/bench-strstr-ifunc.c: Likewise.
13017
13018 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13019
13020         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13021
13022 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13023
13024         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13025         * rt/aio.h: Likewise.
13026         * sysdeps/gnu/bits/utmp.h: Likewise.
13027         * sysdeps/gnu/bits/utmpx.h: Likewise.
13028         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13029         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13030         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13031         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13032         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13033         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13034         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13035         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13036         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13037         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13038         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13039         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13040         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13042         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13043         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13044         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13045         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13046         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13047         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13048         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13049         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13050         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13051         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13052         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13053         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13054         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13055         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13056         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13057         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13058         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13059         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13060         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13061         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13062         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13063         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13064         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13065         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13066         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13067         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13068         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13069         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13070
13071 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13072
13073         [BZ #16245]
13074         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13075         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13076
13077 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13078
13079         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13080         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13081         Likewise.
13082
13083 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13084
13085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13086         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13087         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13088         (__fesetround): Remove define.
13089         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13090         rounding and exceptions handling.
13091         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13092         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13093         (__fe_nomask_env): Likewise.
13094         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13095         __fegetround instead of fegetround.
13096         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13097         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13098
13099 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13100
13101         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13102         it's there.
13103
13104         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13105
13106 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13107
13108         [BZ #11157]
13109         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13110         (encrypt_r): Likewise.
13111         * malloc/obstack.h (obstack_free): Likewise.
13112         * posix/unistd.h (encrypt): Likewise.
13113
13114 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13115
13116         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13117         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13118         DL_CALL_DT_FINI() that call the functions directly.
13119         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13120         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13121         * elf/dl-fini.c: Likewise.
13122
13123 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13124
13125         * malloc/hooks.c (memalign_check): Add alignment rounding.
13126         * malloc/malloc.c (_mid_memalign): New function.
13127         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13128         Implement by calling _mid_memalign.
13129         * manual/probes.texi (Memory Allocation Probes): Remove
13130         memory_valloc_retry and memory_pvalloc_retry.
13131
13132 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13133
13134         * locale/programs/locarchive.c (open_archive): Add const
13135         qualifier to ARCHIVEFNAME and copy default fname to
13136         DEFAULT_FNAME.
13137
13138         [BZ #15601]
13139         * libio/tst-widetext.input: Rename Oriya to Odia.
13140         * locale/iso-639.def: Likewise.
13141
13142         * manual/probes.texi (Mathematical Function Probes): Add
13143         documentation for sin, cos, asin and acos probes.
13144         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13145         (__sin32): Add slowasin probe.
13146         (__cos32): Add slowacos probe.
13147         (__mpsin): Add slowsin probe.
13148         (__mpcos): Add slowcos probe.
13149
13150 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13151
13152         [BZ #15483]
13153         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13154         thread-local __sim_exceptions_thread and global
13155         __sim_exceptions_global.
13156         (__sim_disabled_exceptions): Change to thread-local
13157         __sim_disabled_exceptions_thread and global
13158         __sim_disabled_exceptions_global.
13159         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13160         and global __sim_round_mode_global.
13161         (__simulate_exceptions): Use thread-local floating-point state and
13162         set global state from it as needed.
13163         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13164         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13165         __sim_round_mode_thread.
13166         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13167         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13168         and global __sim_exceptions_global.
13169         (__sim_disabled_exceptions): Change to thread-local
13170         __sim_disabled_exceptions_thread and global
13171         __sim_disabled_exceptions_global.
13172         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13173         and global __sim_round_mode_global.
13174         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13175         (SIM_SET_GLOBAL): Likewise.
13176         * sysdeps/powerpc/soft-fp/sfp-machine.h
13177         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13178         __sim_round_mode_thread.
13179         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13180         __sim_disabled_exceptions_thread.
13181         (__sim_exceptions): Change to __sim_exceptions_thread.
13182         (__sim_disabled_exceptions): Change to
13183         __sim_disabled_exceptions_thread.
13184         (__sim_round_mode): Change to __sim_round_mode_thread.
13185         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13186         thread-local floating-point state and set global state from it as
13187         needed.
13188         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13189         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13190         (__sim_disabled_exceptions): Remove extern declaration.
13191         (feenableexcept): Use thread-local floating-point state and set
13192         global state from it as needed.
13193         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13194         extern declaration.
13195         (__sim_disabled_exceptions): Likewise.
13196         (__sim_round_mode): Likewise.
13197         (__fegetenv): Use thread-local floating-point state.
13198         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13199         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13200         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13201         floating-point state and set global state from it as needed.
13202         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13203         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13204         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13205         Likewise.
13206         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13207         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13208         Likewise.
13209         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13210         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13211         Use __sim_round_mode_thread.
13212         * math/test-fenv-tls.c: New file.
13213         * math/Makefile (tests): Add test-fenv-tls.
13214         ($(objpfx)test-fenv-tls): Depend on
13215         $(common-objpfx)nptl/libpthread.so.
13216
13217 2013-11-19  Andreas Schwab  <schwab@suse.de>
13218
13219         * locale/programs/locale.c (show_info): Decode wordarray elements.
13220         * locale/categories.def (LC_MONETARY): Add element for
13221         _NL_MONETARY_CRNCYSTR.
13222         * locale/C-monetary.c (conversion_rate): New variable.
13223         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13224         element.
13225
13226 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13227
13228         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13229         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13230
13231 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13232
13233         * elf/Makefile (tst-auxv): New test.
13234         * elf/tst-auxv.c: New
13235         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13236
13237 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13238
13239         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13240         (hidden_proto): Caller changed.
13241         (hidden_tls_proto): New macro.
13242         (libc_hidden_tls_proto): Likewise.
13243         (rtld_hidden_tls_proto): Likewise.
13244         (libm_hidden_tls_proto): Likewise.
13245         (libresolv_hidden_tls_proto): Likewise.
13246         (librt_hidden_tls_proto): Likewise.
13247         (libdl_hidden_tls_proto): Likewise.
13248         (libnss_files_hidden_tls_proto): Likewise.
13249         (libnsl_hidden_tls_proto): Likewise.
13250         (libnss_nisplus_hidden_tls_proto): Likewise.
13251         (libutil_hidden_tls_proto): Likewise.
13252
13253 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13254
13255         [BZ #10253]
13256         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13257         (decompose_rpath): Defer expansion to fillin_rpath.
13258         (_dl_init_paths): Pass linkmap to fillin_rpath.
13259
13260 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13261
13262         * benchtests/Makefile: Add strsep.
13263         * benchtests/bench-strsep.c: New file: strsep benchtest.
13264         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13265
13266 2013-11-18  Andreas Schwab  <schwab@suse.de>
13267
13268         * locale/programs/locale.c (show_info) [case byte]: Check for
13269         '\377' instead of '\177'.
13270         * locale/C-monetary.c (not_available): Always use "\377".
13271         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13272         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13273         detect unavailable sign_posn locale elements.
13274         * locale/localeconv.c (__localeconv): For grouping and
13275         mon_grouping handle "\177" and "\377" like no grouping.
13276         (INT_ELEM): New macro.  Use it to set all numeric members.
13277         * locale/programs/ld-monetary.c (monetary_read)
13278         <tok_mon_grouping>: Normalize single -1 to the empty string.
13279         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13280         Likewise.
13281
13282 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13283
13284         [BZ #16055]
13285         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13286         when we match (nil).
13287         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13288
13289 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13290
13291         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13292         (NO_TEST_INLINE): Update value.
13293         (ERRNO_UNCHANGED): Likewise.
13294         (ERRNO_EDOM): Likewise.
13295         (ERRNO_ERANGE): Likewise.
13296         (IGNORE_RESULT): Likewise.
13297         (check_float_internal): Check signs of NaN results if
13298         TEST_NAN_SIGN used.
13299         (check_complex): Pass TEST_NAN_SIGN flag through to second
13300         check_float_internal call.
13301         (copysign_test_data): Add tests with quiet NaNs as second
13302         argument.  Use TEST_NAN_SIGN.
13303         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13304         TEST_NAN_SIGN.
13305         (signbit_test_data): Add tests of quiet NaN argument.
13306         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13307
13308         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13309         $ignore_result.
13310         (parse_args): Handle function results specified as IGNORE.
13311         * math/libm-test.inc (IGNORE_RESULT): New macro.
13312         (check_float_internal): Do not check numerical result if flag
13313         IGNORE_RESULT set.
13314         (check_complex): Pass through IGNORE_RESULT to second
13315         check_float_internal call.
13316         (check_int): Do not check numerical result if flag IGNORE_RESULT
13317         set.
13318         (check_long): Likewise.
13319         (check_bool): Likewise.
13320         (check_longlong): Likewise.
13321         (lrint_test_data): Add tests of infinite and NaN arguments.
13322         (lrint_tonearest_test_data): Likewise.
13323         (lrint_towardzero_test_data): Likewise.
13324         (lrint_downward_test_data): Likewise.
13325         (lrint_upward_test_data): Likewise.
13326         (llrint_test_data): Likewise.
13327         (llrint_tonearest_test_data): Likewise.
13328         (llrint_towardzero_test_data): Likewise.
13329         (llrint_downward_test_data): Likewise.
13330         (llrint_upward_test_data): Likewise.
13331         (lround_test_data): Likewise.
13332         (llround_test_data): Likewise.
13333
13334         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13335         (ERRNO_UNCHANGED): Update value.
13336         (ERRNO_EDOM): Likewise.
13337         (ERRNO_ERANGE): Likewise.
13338         (NO_TEST_INLINE_FLOAT): New macro.
13339         (NO_TEST_INLINE_DOUBLE): Likewise.
13340         (enable_test): New function.
13341         (RUN_TEST_f_f): Check enable_test before running test.
13342         (RUN_TEST_2_f): Likewise.
13343         (RUN_TEST_fff_f): Likewise.
13344         (RUN_TEST_c_f): Likewise.
13345         (RUN_TEST_f_f1): Likewise.
13346         (RUN_TEST_fF_f1): Likewise.
13347         (RUN_TEST_fI_f1): Likewise.
13348         (RUN_TEST_ffI_f1): Likewise.
13349         (RUN_TEST_c_c): Likewise.
13350         (RUN_TEST_cc_c): Likewise.
13351         (RUN_TEST_f_i): Likewise.
13352         (RUN_TEST_f_i_tg): Likewise.
13353         (RUN_TEST_ff_i_tg): Likewise.
13354         (RUN_TEST_f_b): Likewise.
13355         (RUN_TEST_f_b_tg): Likewise.
13356         (RUN_TEST_f_l): Likewise.
13357         (RUN_TEST_f_L): Likewise.
13358         (RUN_TEST_fFF_11): Likewise.
13359         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13360         conditionals.
13361         (cosh_test_data): Likewise.
13362         (exp_test_data): Likewise.
13363         (expm1_test_data): Likewise.
13364         (hypot_test_data): Likewise.
13365         (pow_test_data): Likewise.
13366         (sinh_test_data): Likewise.
13367         (tanh_test_data): Likewise.
13368         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13369         flags argument.
13370
13371         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13372         tests with quiet NaN input and output.
13373         (acosh_test_data): Likewise.
13374         (asin_test_data): Likewise.
13375         (asinh_test_data): Likewise.
13376         (atan_test_data): Likewise.
13377         (atanh_test_data): Likewise.
13378         (atan2_test_data): Likewise.
13379         (cbrt_test_data): Likewise.
13380         (cos_test_data): Likewise.
13381         (cosh_test_data): Likewise.
13382         (erf_test_data): Likewise.
13383         (erfc_test_data): Likewise.
13384         (exp_test_data): Likewise.
13385         (exp10_test_data): Likewise.
13386         (exp2_test_data): Likewise.
13387         (expm1_test_data): Likewise.
13388         (hypot_test_data): Likewise.
13389         (j0_test_data): Likewise.
13390         (j1_test_data): Likewise.
13391         (jn_test_data): Likewise.
13392         (lgamma_test_data): Likewise.
13393         (log_test_data): Likewise.
13394         (log10_test_data): Likewise.
13395         (log1p_test_data): Likewise.
13396         (log2_test_data): Likewise.
13397         (pow_test_data): Likewise.
13398         (scalb_test_data): Likewise.
13399         (sin_test_data): Likewise.
13400         (sincos_test_data): Likewise.
13401         (sinh_test_data): Likewise.
13402         (tan_test_data): Likewise.
13403         (tanh_test_data): Likewise.
13404         (tgamma_test_data): Likewise.
13405         (y0_test_data): Likewise.
13406         (y1_test_data): Likewise.
13407         (yn_test_data): Likewise.
13408
13409         [BZ #16167]
13410         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13411         argument being NaN and avoid computations with second argument in
13412         that case.
13413         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13414         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13415         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13416
13417 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13418
13419         * locale/iso-639.def: Add Chitwani Tharu (the).
13420
13421 2013-11-14  Andreas Schwab  <schwab@suse.de>
13422
13423         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13424         word instead of empty string.
13425
13426 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13427
13428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13429         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13431         (__fe_nomask_env): Likewise.
13432
13433 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13434
13435         * benchtests/bench-timing.h: Include time.h.
13436
13437 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13438
13439         [BZ #15997]
13440         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13441         to 3.4.0 for x32.
13442         * sysdeps/unix/sysv/linux/configure: Regenerated.
13443
13444 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13445
13446         [BZ #16151]
13447         * stdlib/strtod_l.c (round_and_return): Do not consider
13448         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13449         exponent one less than half the least subnormal exponent.
13450         * stdlib/test-strtod-round-data: Add more tests.
13451         * stdlib/tst-strtod-round.c (tests): Regenerated.
13452
13453 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13454
13455         [BZ #14143]
13456         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13457         (__fe_mask_env): Likewise.
13458         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13459         libm_hidden_proto and add function prototype.
13460         (__fe_mask_env): Add function prototype.
13461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13462         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13464         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13466         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13467
13468 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13469
13470         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13471         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13472
13473 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13474
13475         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13476         of htab_find_slot().
13477
13478 2013-11-11  David S. Miller  <davem@davemloft.net>
13479
13480         [BZ #16150]
13481         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13482         symbol in the non-vis3 case in static builds.
13483         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13484         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13485         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13486         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13487
13488 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13489
13490         [BZ #387]
13491         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13492         it is empty.
13493
13494 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13495
13496         * benchtests/Makefile: Add bench-strtod.
13497         * benchtests/bench-strtod.c: New file: strtod benchtest
13498
13499 2013-11-11  Andreas Schwab  <schwab@suse.de>
13500
13501         [BZ #16153]
13502         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13503         terminating NUL in key length.
13504
13505 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13506
13507         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13508         Add artificial ODP entry for vDSO symbol for PPC64.
13509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13510         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13511
13512 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13513
13514         [BZ #15374]
13515         * nss/getent.c (services_keys): Recognize services starting with digit.
13516
13517 2013-11-06  David S. Miller  <davem@davemloft.net>
13518
13519         [BZ #15985]
13520         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13521         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13522
13523 2013-11-06  Will Newton  <will.newton@linaro.org>
13524
13525         * manual/memory.texi (Malloc Examples): Remove register
13526         keyword from examples.
13527
13528 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13529
13530         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13531
13532 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13533
13534         [BZ #6981]
13535         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13536         depending on [__GCC_IEC_559 > 0].
13537         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13538         depending on [__GCC_IEC_559_COMPLEX > 0].
13539
13540 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13541
13542         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13543         to iso-639.def.
13544
13545 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13546
13547         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13548
13549 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13550
13551         [BZ #16112]
13552         * malloc/malloc (malloc_info): Do not handle first bin as
13553         special case.
13554
13555 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13556
13557         * locale/iso-639.def: Add Central Nahuatl (nhn).
13558
13559 2013-11-01  Bruno Haible  <bruno@clisp.org>
13560
13561         [BZ #7003]
13562         * manual/math.texi (BSD Random): Specify range upper bound as
13563         in POSIX.
13564
13565 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13566
13567         * locale/iso-639.def: Add Meadow Mari (mhr).
13568
13569 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13570
13571         [BZ #14752], [BZ #15763]
13572         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13573         Validate name.
13574         * rt/tst_shm.c: Add test for escaping directory.
13575
13576 2013-10-31  Andreas Schwab  <schwab@suse.de>
13577
13578         [BZ #15917]
13579         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13580         followed by 'x' as part of digit sequence.
13581         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13582
13583 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13584
13585         [BZ #16037]
13586         * configure.ac: allow GNU Make 4.0 and greater.
13587         * configure: Regenerated.
13588
13589 2013-10-30  Will Newton  <will.newton@linaro.org>
13590
13591         [BZ #16038]
13592         * malloc/hooks.c (memalign_check): Limit alignment to the
13593         maximum representable power of two.
13594         * malloc/malloc.c (__libc_memalign): Likewise.
13595         * malloc/tst-memalign.c (do_test): Add test for very
13596         large alignment values.
13597         * malloc/tst-posix_memalign.c (do_test): Likewise.
13598
13599 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13600
13601         [BZ #11087]
13602         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13603         (munmap_chunk): Likewise.
13604         (mremap_chunk): Likewise.
13605
13606 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13607
13608         [BZ #15799]
13609         * stdlib/div.c (div): Remove obsolete code.
13610         * stdlib/ldiv.c (ldiv): Likewise.
13611         * stdlib/lldiv.c (lldiv): Likewise.
13612
13613 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13614
13615         [BZ #16071]
13616         * nss/nss_files/files-XXX.c (get_contents_ret): New
13617         enumerator.
13618         (get_contents): New function.
13619         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13620
13621 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13622
13623         * configure.in: Moved to ...
13624         * configure.ac: ... here. Change reference to configure.in
13625         to configure.ac.
13626         * sysdeps/arm/preconfigure.ac: ... here.
13627         configure.in to configure.ac.
13628         * sysdeps/gnu/configure.in: Moved to ...
13629         * sysdeps/gnu/configure.ac: ... here.
13630         * sysdeps/i386/configure.in: Moved to ...
13631         * sysdeps/i386/configure.ac: ... here.
13632         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13633         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13634         * sysdeps/mach/configure.in: Moved to ...
13635         * sysdeps/mach/configure.ac: ... here.
13636         * sysdeps/mach/hurd/configure.in: Moved to ...
13637         * sysdeps/mach/hurd/configure.ac: ... here.
13638         * sysdeps/powerpc/configure.in: Moved to ...
13639         * sysdeps/powerpc/configure.ac: ... here.
13640         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13641         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13642         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13643         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13644         * sysdeps/s390/s390-32/configure.in: Moved to ...
13645         * sysdeps/s390/s390-32/configure.ac: ... here.
13646         * sysdeps/s390/s390-64/configure.in: Moved to ...
13647         * sysdeps/s390/s390-64/configure.ac: ... here.
13648         * sysdeps/sh/configure.in: Moved to ...
13649         * sysdeps/sh/configure.ac: ... here.
13650         * sysdeps/sparc/configure.in: Moved to ...
13651         * sysdeps/sparc/configure.ac: ... here.
13652         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13653         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13654         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13655         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13656         * sysdeps/x86_64/configure.in: Moved to ...
13657         * sysdeps/x86_64/configure.ac: ... here.
13658         * sysdeps/x86_64/preconfigure.in: Moved to ...
13659         * sysdeps/x86_64/preconfigure.ac: ... here.
13660         * aclocal.m4: Change reference to configure.in to configure.ac.
13661         * config.h.in: Likewise.
13662         * manual/install.texi: Likewise.
13663         * manual/maint.texi: Likewise.
13664         * Makefile: Likewise.
13665         * malloc/Makefile: Likewise.
13666         * nscd/Makefile: Likewise.
13667         * Makeconfig: Change reference to configure.in and
13668         preconfigure.in to configure.ac and preconfigure.ac
13669         respectively.
13670         * INSTALL: Regenerated.
13671         * configure: Likewise.
13672         * sysdeps/gnu/configure: Likewise.
13673         * sysdeps/i386/configure: Likewise.
13674         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13675         * sysdeps/mach/configure: Likewise.
13676         * sysdeps/mach/hurd/configure: Likewise.
13677         * sysdeps/powerpc/configure: Likewise.
13678         * sysdeps/powerpc/powerpc32/configure: Likewise.
13679         * sysdeps/powerpc/powerpc64/configure: Likewise.
13680         * sysdeps/s390/s390-32/configure: Likewise.
13681         * sysdeps/s390/s390-64/configure: Likewise.
13682         * sysdeps/sh/configure: Likewise.
13683         * sysdeps/sparc/configure: Likewise.
13684         * sysdeps/unix/sysv/linux/configure: Likewise.
13685         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13686         * sysdeps/x86_64/configure: Likewise.
13687         * sysdeps/x86_64/preconfigure: Likewise.
13688
13689 2013-10-29  Andreas Schwab  <schwab@suse.de>
13690
13691         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13692
13693 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13694
13695         * benchtests/pow-inputs: Add new inputs.
13696
13697         * benchtests/exp-inputs: Add new inputs.
13698
13699         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13700         conditional check for return value.
13701         (__cos32): Likewise.
13702
13703 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13704
13705         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13706         to provide a boost for large inputs with word alignment.
13707         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13708         implementation based on optimized PPC64 strcpy.
13709         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13710         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13711         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13712         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13713
13714 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13715
13716         [BZ #2801]
13717         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13718
13719 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13720
13721         [BZ #14876]
13722         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13723         * time/tst-strptime.c (day_tests): Add testcase.
13724
13725 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13726
13727         [BZ #14029]
13728         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13729
13730 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13731
13732         [BZ #16074]
13733         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13734         MAP_FAILED on error.
13735
13736 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13737
13738         [BZ #16072]
13739         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13740         heap for large requests.
13741
13742 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13743
13744         [BZ #9954]
13745         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13746         result if the result has no associated interface.
13747         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13748         interface for all 127.X.Y.Z addresses.
13749
13750 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13751
13752         * locale/iso-639.def: Add Ligurian (lij)
13753
13754 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13755
13756         [BZ #15825]
13757         * sunrpc/rpc_main.c: Document rpcgen -5.
13758
13759 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13760
13761         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13762
13763 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13764
13765         [BZ #10278]
13766         * posix/glob.c: Match only directories when trailing slash is present.
13767         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13768         (main): Add testcase.
13769
13770 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13771
13772         [BZ #15670]
13773         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13774
13775 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13776
13777         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13778         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13779         AUTH_DES and cindex for FIPS 140-2.
13780         (DES Encryption): Add cindex FIPS 46-3.
13781
13782         * locale/locarchive.h (struct locarhandle): Add fname.
13783         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13784         if an optional argument was specified to --list-archive,
13785         otherwise NULL.
13786         * locale/programs/locarchive.c (show_archive_content): Take new
13787         argument fname and pass it via ah.fname to open_archive.
13788         * locale/programs/localedef.h: Update decl.
13789         (open_archive): If AH->fname is non-null, open that file
13790         rather than the default file name, and don't ignore ENOENT.
13791         (create_archive): Set AH.fname to NULL.
13792         (delete_locales_from_archive): Likewise.
13793         (add_locales_to_archive): Likewise.
13794         * locale/programs/locfile.c (write_all_categories): Likewise.
13795
13796 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13797             Aldy Hernandez  <aldyh@redhat.com>
13798
13799         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13800         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13801         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13802         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13803         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13804         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13805         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13806         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13807         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13808         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13809         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13810         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13811         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13812         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13813         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13814         Likewise.
13815         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13816         Likewise.
13817         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13818         Likewise.
13819         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13820         Likewise.
13821         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13822         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13823         Likewise.
13824         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13825         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13826         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13827         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13828         Likewise.
13829         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13830         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13831         * sysdeps/powerpc/preconfigure: Likewise.
13832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13833         Likewise.
13834         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13835         Replace contents of file by #include of <fenv_libc.h>.
13836         * sysdeps/powerpc/soft-fp/sfp-machine.h
13837         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13838         and <sys/prctl.h>.
13839         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13846         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13847         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13848         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13850         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13852         Allow copysignl PLT reference to be missing.
13853
13854 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13855             Joseph Myers  <joseph@codesourcery.com
13856
13857         [BZ #15948]
13858         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13859         single character.
13860         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13861
13862 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13863
13864         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13865         * elf/tst-tls1.c: Likewise.
13866         * elf/tst-tls10.h: Likewise.
13867         * elf/tst-tls14.c: Likewise.
13868         * elf/tst-tls2.c: Likewise.
13869         * elf/tst-tls3.c: Likewise.
13870         * elf/tst-tls4.c: Likewise.
13871         * elf/tst-tls5.c: Likewise.
13872         * elf/tst-tls6.c: Likewise.
13873         * elf/tst-tls7.c: Likewise.
13874         * elf/tst-tls8.c: Likewise.
13875         * elf/tst-tls9.c: Likewise.
13876         * elf/tst-tlsmod1.c: Likewise.
13877         * elf/tst-tlsmod13.c: Likewise.
13878         * elf/tst-tlsmod13a.c: Likewise.
13879         * elf/tst-tlsmod14a.c: Likewise.
13880         * elf/tst-tlsmod16a.c: Likewise.
13881         * elf/tst-tlsmod16b.c: Likewise.
13882         * elf/tst-tlsmod2.c: Likewise.
13883         * elf/tst-tlsmod3.c: Likewise.
13884         * elf/tst-tlsmod4.c: Likewise.
13885         * elf/tst-tlsmod5.c: Likewise.
13886         * elf/tst-tlsmod6.c: Likewise.
13887
13888 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13889
13890         [BZ #12486]
13891         * malloc/malloc.c: remove checks for statistics.
13892
13893 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13894
13895         [BZ #15277]
13896         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13897         * inet/tst-network.c: Add testcase.
13898
13899 2013-10-17  Andreas Schwab  <schwab@suse.de>
13900
13901         [BZ #15218]
13902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13903         to determine canonical name.
13904
13905 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13906
13907         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13908         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13909         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13910         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13912         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13913         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13914         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13915         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13916         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13917         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13918         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13919         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13920         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13921         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13922         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13923         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13924         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13925         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13926         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13927         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13928         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13929         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13930         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13931         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13932         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13933         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13934         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13935         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13936         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13937         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13938         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13939         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13940         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13941         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13943         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13944         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13945         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13946         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13951         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13952         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13953         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13954         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13955         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13956         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13957         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13958         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13959         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13960         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13961         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13962         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13964         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13965
13966 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13967
13968         [BZ #16041]
13969         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13970         make result into a quiet NaN.
13971
13972 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13973
13974         * soft-fp/adddf3.c: Fix horizontal whitespace.
13975         * soft-fp/addsf3.c: Likewise.
13976         * soft-fp/addtf3.c: Likewise.
13977         * soft-fp/divdf3.c: Likewise.
13978         * soft-fp/divsf3.c: Likewise.
13979         * soft-fp/divtf3.c: Likewise.
13980         * soft-fp/double.h: Likewise.
13981         * soft-fp/eqdf2.c: Likewise.
13982         * soft-fp/eqsf2.c: Likewise.
13983         * soft-fp/eqtf2.c: Likewise.
13984         * soft-fp/extenddftf2.c: Likewise.
13985         * soft-fp/extended.h: Likewise.
13986         * soft-fp/extendsfdf2.c: Likewise.
13987         * soft-fp/extendsftf2.c: Likewise.
13988         * soft-fp/extendxftf2.c: Likewise.
13989         * soft-fp/fixdfdi.c: Likewise.
13990         * soft-fp/fixdfsi.c: Likewise.
13991         * soft-fp/fixdfti.c: Likewise.
13992         * soft-fp/fixsfdi.c: Likewise.
13993         * soft-fp/fixsfsi.c: Likewise.
13994         * soft-fp/fixsfti.c: Likewise.
13995         * soft-fp/fixtfdi.c: Likewise.
13996         * soft-fp/fixtfsi.c: Likewise.
13997         * soft-fp/fixtfti.c: Likewise.
13998         * soft-fp/fixunsdfdi.c: Likewise.
13999         * soft-fp/fixunsdfsi.c: Likewise.
14000         * soft-fp/fixunsdfti.c: Likewise.
14001         * soft-fp/fixunssfdi.c: Likewise.
14002         * soft-fp/fixunssfsi.c: Likewise.
14003         * soft-fp/fixunssfti.c: Likewise.
14004         * soft-fp/fixunstfdi.c: Likewise.
14005         * soft-fp/fixunstfsi.c: Likewise.
14006         * soft-fp/fixunstfti.c: Likewise.
14007         * soft-fp/floatdidf.c: Likewise.
14008         * soft-fp/floatdisf.c: Likewise.
14009         * soft-fp/floatditf.c: Likewise.
14010         * soft-fp/floatsidf.c: Likewise.
14011         * soft-fp/floatsisf.c: Likewise.
14012         * soft-fp/floatsitf.c: Likewise.
14013         * soft-fp/floattidf.c: Likewise.
14014         * soft-fp/floattisf.c: Likewise.
14015         * soft-fp/floattitf.c: Likewise.
14016         * soft-fp/floatundidf.c: Likewise.
14017         * soft-fp/floatundisf.c: Likewise.
14018         * soft-fp/floatunditf.c: Likewise.
14019         * soft-fp/floatunsidf.c: Likewise.
14020         * soft-fp/floatunsisf.c: Likewise.
14021         * soft-fp/floatunsitf.c: Likewise.
14022         * soft-fp/floatuntidf.c: Likewise.
14023         * soft-fp/floatuntisf.c: Likewise.
14024         * soft-fp/floatuntitf.c: Likewise.
14025         * soft-fp/fmadf4.c: Likewise.
14026         * soft-fp/fmasf4.c: Likewise.
14027         * soft-fp/fmatf4.c: Likewise.
14028         * soft-fp/gedf2.c: Likewise.
14029         * soft-fp/gesf2.c: Likewise.
14030         * soft-fp/getf2.c: Likewise.
14031         * soft-fp/ledf2.c: Likewise.
14032         * soft-fp/lesf2.c: Likewise.
14033         * soft-fp/letf2.c: Likewise.
14034         * soft-fp/muldf3.c: Likewise.
14035         * soft-fp/mulsf3.c: Likewise.
14036         * soft-fp/multf3.c: Likewise.
14037         * soft-fp/negdf2.c: Likewise.
14038         * soft-fp/negsf2.c: Likewise.
14039         * soft-fp/negtf2.c: Likewise.
14040         * soft-fp/op-1.h: Likewise.
14041         * soft-fp/op-2.h: Likewise.
14042         * soft-fp/op-4.h: Likewise.
14043         * soft-fp/op-8.h: Likewise.
14044         * soft-fp/op-common.h: Likewise.
14045         * soft-fp/quad.h: Likewise.
14046         * soft-fp/single.h: Likewise.
14047         * soft-fp/soft-fp.h: Likewise.
14048         * soft-fp/sqrtdf2.c: Likewise.
14049         * soft-fp/sqrtsf2.c: Likewise.
14050         * soft-fp/sqrttf2.c: Likewise.
14051         * soft-fp/subdf3.c: Likewise.
14052         * soft-fp/subsf3.c: Likewise.
14053         * soft-fp/subtf3.c: Likewise.
14054         * soft-fp/truncdfsf2.c: Likewise.
14055         * soft-fp/trunctfdf2.c: Likewise.
14056         * soft-fp/trunctfsf2.c: Likewise.
14057         * soft-fp/trunctfxf2.c: Likewise.
14058         * soft-fp/unorddf2.c: Likewise.
14059         * soft-fp/unordsf2.c: Likewise.
14060         * soft-fp/unordtf2.c: Likewise.
14061
14062 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14063
14064         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14065         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14066
14067 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14068
14069         * elf/dl-libc.c: Clear initfini list after freeing.
14070
14071 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14072
14073         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14074         * soft-fp/addsf3.c: Likewise.
14075         * soft-fp/addtf3.c: Likewise.
14076         * soft-fp/divdf3.c: Likewise.
14077         * soft-fp/divsf3.c: Likewise.
14078         * soft-fp/divtf3.c: Likewise.
14079         * soft-fp/double.h: Likewise.
14080         * soft-fp/eqdf2.c: Likewise.
14081         * soft-fp/eqsf2.c: Likewise.
14082         * soft-fp/eqtf2.c: Likewise.
14083         * soft-fp/extenddftf2.c: Likewise.
14084         * soft-fp/extended.h: Likewise.
14085         * soft-fp/extendsfdf2.c: Likewise.
14086         * soft-fp/extendsftf2.c: Likewise.
14087         * soft-fp/extendxftf2.c: Likewise.
14088         * soft-fp/fixdfdi.c: Likewise.
14089         * soft-fp/fixdfsi.c: Likewise.
14090         * soft-fp/fixdfti.c: Likewise.
14091         * soft-fp/fixsfdi.c: Likewise.
14092         * soft-fp/fixsfsi.c: Likewise.
14093         * soft-fp/fixsfti.c: Likewise.
14094         * soft-fp/fixtfdi.c: Likewise.
14095         * soft-fp/fixtfsi.c: Likewise.
14096         * soft-fp/fixtfti.c: Likewise.
14097         * soft-fp/fixunsdfdi.c: Likewise.
14098         * soft-fp/fixunsdfsi.c: Likewise.
14099         * soft-fp/fixunsdfti.c: Likewise.
14100         * soft-fp/fixunssfdi.c: Likewise.
14101         * soft-fp/fixunssfsi.c: Likewise.
14102         * soft-fp/fixunssfti.c: Likewise.
14103         * soft-fp/fixunstfdi.c: Likewise.
14104         * soft-fp/fixunstfsi.c: Likewise.
14105         * soft-fp/fixunstfti.c: Likewise.
14106         * soft-fp/floatdidf.c: Likewise.
14107         * soft-fp/floatdisf.c: Likewise.
14108         * soft-fp/floatditf.c: Likewise.
14109         * soft-fp/floatsidf.c: Likewise.
14110         * soft-fp/floatsisf.c: Likewise.
14111         * soft-fp/floatsitf.c: Likewise.
14112         * soft-fp/floattidf.c: Likewise.
14113         * soft-fp/floattisf.c: Likewise.
14114         * soft-fp/floattitf.c: Likewise.
14115         * soft-fp/floatundidf.c: Likewise.
14116         * soft-fp/floatundisf.c: Likewise.
14117         * soft-fp/floatunsidf.c: Likewise.
14118         * soft-fp/floatunsisf.c: Likewise.
14119         * soft-fp/floatuntidf.c: Likewise.
14120         * soft-fp/floatuntisf.c: Likewise.
14121         * soft-fp/floatuntitf.c: Likewise.
14122         * soft-fp/fmadf4.c: Likewise.
14123         * soft-fp/fmasf4.c: Likewise.
14124         * soft-fp/fmatf4.c: Likewise.
14125         * soft-fp/gedf2.c: Likewise.
14126         * soft-fp/gesf2.c: Likewise.
14127         * soft-fp/getf2.c: Likewise.
14128         * soft-fp/ledf2.c: Likewise.
14129         * soft-fp/lesf2.c: Likewise.
14130         * soft-fp/letf2.c: Likewise.
14131         * soft-fp/muldf3.c: Likewise.
14132         * soft-fp/mulsf3.c: Likewise.
14133         * soft-fp/multf3.c: Likewise.
14134         * soft-fp/negdf2.c: Likewise.
14135         * soft-fp/negsf2.c: Likewise.
14136         * soft-fp/negtf2.c: Likewise.
14137         * soft-fp/op-1.h: Likewise.
14138         * soft-fp/op-2.h: Likewise.
14139         * soft-fp/op-4.h: Likewise.
14140         * soft-fp/op-8.h: Likewise.
14141         * soft-fp/op-common.h: Likewise.
14142         * soft-fp/quad.h: Likewise.
14143         * soft-fp/single.h: Likewise.
14144         * soft-fp/soft-fp.h: Likewise.
14145         * soft-fp/sqrtdf2.c: Likewise.
14146         * soft-fp/sqrtsf2.c: Likewise.
14147         * soft-fp/sqrttf2.c: Likewise.
14148         * soft-fp/subdf3.c: Likewise.
14149         * soft-fp/subsf3.c: Likewise.
14150         * soft-fp/subtf3.c: Likewise.
14151         * soft-fp/truncdfsf2.c: Likewise.
14152         * soft-fp/trunctfdf2.c: Likewise.
14153         * soft-fp/trunctfsf2.c: Likewise.
14154         * soft-fp/trunctfxf2.c: Likewise.
14155         * soft-fp/unorddf2.c: Likewise.
14156         * soft-fp/unordsf2.c: Likewise.
14157         * soft-fp/unordtf2.c: Likewise.
14158
14159 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14160
14161         [BZ #15672]
14162         * misc/error.c (error_tail): Fix possible buffer overflow.
14163
14164 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14165
14166         [BZ #13028]
14167         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14168         address.
14169
14170 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14171
14172         [BZ #832]
14173         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14174         testing pipefail option.
14175
14176 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14177
14178         * soft-fp/double.h: Indent preprocessor directives inside #if.
14179         * soft-fp/extended.h: Likewise.
14180         * soft-fp/op-2.h: Likewise.
14181         * soft-fp/op-4.h: Likewise.
14182         * soft-fp/op-common.h: Likewise.
14183         * soft-fp/quad.h: Likewise.
14184         * soft-fp/single.h: Likewise.
14185         * soft-fp/soft-fp.h: Likewise.
14186
14187 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14188
14189         * iconv/iconv_prog.c: Fix typos.
14190         * stdio-common/psiginfo-data.h: Likewise.
14191
14192 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14193
14194         [BZ #15764]
14195         * locale/setlocale.c: Fix typo.
14196
14197 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14198
14199         [BZ #16036]
14200         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14201         signaling NaN arguments.
14202         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14203         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14204
14205         [BZ #14910]
14206         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14207         unordered operands.
14208         * soft-fp/gesf2.c (__gesf2): Likewise.
14209         * soft-fp/getf2.c (__getf2): Likewise.
14210         * soft-fp/ledf2.c (__ledf2): Likewise.
14211         * soft-fp/lesf2.c (__lesf2): Likewise.
14212         * soft-fp/letf2.c (__letf2): Likewise.
14213
14214         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14215         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14216         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14217         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14218         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14219         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14220         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14221         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14222         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14223         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14224         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14225         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14226         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14227         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14228         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14229         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14230         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14231         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14232         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14233         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14234         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14235         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14236         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14237         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14238         * soft-fp/floattidf.c (__floattidf): Likewise.
14239         * soft-fp/floattisf.c (__floattisf): Likewise.
14240         * soft-fp/floattitf.c (__floattitf): Likewise.
14241         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14242         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14243         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14244         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14245         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14246         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14247         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14248         * soft-fp/gesf2.c (__gesf2): Likewise.
14249         * soft-fp/getf2.c (__getf2): Likewise.
14250         * soft-fp/ledf2.c (__ledf2): Likewise.
14251         * soft-fp/lesf2.c (__lesf2): Likewise.
14252         * soft-fp/letf2.c (__letf2): Likewise.
14253
14254         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14255         Undefine and redefine.
14256         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14257         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14258         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14259         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14260         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14261         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14262         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14263         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14264         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14265         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14266         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14267         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14268         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14269         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14270         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14271
14272         [BZ #16032]
14273         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14274         without decrementing exponent if mantissa >= that for the
14275         denominator, not >.
14276         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14277         denominator, not >.  Decrement exponent in < case instead of
14278         incrementing in >= case.
14279         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14280         without decrementing exponent if mantissa >= that for the
14281         denominator, not >.
14282
14283         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14284         computing saturated result for unsigned overflow.
14285
14286 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14287             Jeff Law  <law@redhat.com>
14288
14289         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14290         (atan2Mp): Add systemtap probe marker.
14291         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14292         (__ieee754_log): Add systemtap probe marker.
14293         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14294         (atanMp): Add systemtap probe marker.
14295         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14296         (tanMp): Add systemtap probe marker.
14297         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14298         (__slowexp): Add systemtap probe marker.
14299         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14300         (__slowpow): Add systemtap probe marker.
14301         * manual/probes.texi: Document probes.
14302
14303 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14304
14305         [BZ #15362]
14306         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14307         written.
14308         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14309         written.
14310         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14311         written to buffer but not flushed.
14312         * libio/iofwrite_u.c:  Likewise.
14313         * libio/iopadn.c:  Return bytes returned even if EOF was
14314         encountered.
14315         * libio/iowpadn.c:  Likewise.
14316         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14317         if _IO_padn does not write the whole buffer.
14318         [!COMPILE_WPRINTF] (PAD): Likewise.
14319
14320 2013-10-10  David S. Miller  <davem@davemloft.net>
14321
14322         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14323         directory block.
14324
14325 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14326
14327         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14328         instead of FSF address.
14329         * soft-fp/fixdfti.c: Likewise.
14330         * soft-fp/fixsfti.c: Likewise.
14331         * soft-fp/fixtfti.c: Likewise.
14332         * soft-fp/fixunsdfti.c: Likewise.
14333         * soft-fp/fixunssfti.c: Likewise.
14334         * soft-fp/fixunstfti.c: Likewise.
14335         * soft-fp/floattidf.c: Likewise.
14336         * soft-fp/floattisf.c: Likewise.
14337         * soft-fp/floattitf.c: Likewise.
14338         * soft-fp/floatuntidf.c: Likewise.
14339         * soft-fp/floatuntisf.c: Likewise.
14340         * soft-fp/floatuntitf.c: Likewise.
14341         * soft-fp/trunctfxf2.c: Likewise.
14342
14343         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14344         * soft-fp/fixdfti.c: Likewise.
14345         * soft-fp/fixsfti.c: Likewise.
14346         * soft-fp/fixtfti.c: Likewise.
14347         * soft-fp/fixunsdfti.c: Likewise.
14348         * soft-fp/fixunssfti.c: Likewise.
14349         * soft-fp/fixunstfti.c: Likewise.
14350         * soft-fp/floattidf.c: Likewise.
14351         * soft-fp/floattisf.c: Likewise.
14352         * soft-fp/floattitf.c: Likewise.
14353         * soft-fp/floatuntidf.c: Likewise.
14354         * soft-fp/floatuntisf.c: Likewise.
14355         * soft-fp/floatuntitf.c: Likewise.
14356         * soft-fp/trunctfxf2.c: Likewise.
14357
14358 2013-10-10  David S. Miller  <davem@davemloft.net>
14359
14360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14361
14362 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14363
14364         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14365         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14366         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14367         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14368         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14369         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14370         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14371
14372         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14373         for NaNs before doing comparisons on argument.
14374         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14375         Likewise.
14376
14377 2013-10-10  Will Newton  <will.newton@linaro.org>
14378
14379         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14380         passed to _int_memalign does not overflow.
14381
14382 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14383
14384         * scripts/bench.pl: Add include-sources directive.
14385         * benchtests/README: Update documentation.
14386
14387 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14388
14389         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14390         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14391         instead of FP_INIT_ROUNDMODE.
14392         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14393         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14394
14395         [BZ #16034]
14396         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14397         copy class of input value.
14398         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14399         not handle exceptions.
14400         * soft-fp/negsf2.c (__negsf2): Likewise.
14401         * soft-fp/negtf2.c (__negtf2): Likewise.
14402         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14403
14404 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14405
14406         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14407         semicolon.  From Linux kernel.
14408
14409 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14410
14411         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14412
14413 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14414
14415         [BZ #156]
14416         * manual/socket.texi: Added statement about buffer
14417         for gethostbyname2_r.
14418
14419 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14420
14421         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14422         Use .p2align directive instead, throughout.
14423         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14424         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14425         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14427         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14428         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14429         * sysdeps/x86_64/strchr.S: Likewise.
14430         * sysdeps/x86_64/strrchr.S: Likewise.
14431
14432 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433
14434         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14435
14436         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14437
14438         * sysdeps/generic/math_private.h (__mpsin1): Remove
14439         declaration.
14440         (__mpcos1): Likewise.
14441         (__mpsin): New argument __range_reduce.
14442         (__mpcos): Likewise.
14443         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14444         (slow): Use __mpsin and __mpcos.
14445         (slow1): Likewise.
14446         (slow2): Likewise.
14447         (sloww): Likewise.
14448         (sloww1): Likewise.
14449         (sloww2): Likewise.
14450         (bsloww): Likewise.
14451         (bsloww1): Likewise.
14452         (bsloww2): Likewise.
14453         (cslow2): Likewise.
14454         (csloww): Likewise.
14455         (csloww1): Likewise.
14456         (csloww2): Likewise.
14457         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14458         range_reduce.  Merge in __mpsin1.
14459         (__mpcos): Likewise.
14460         (__mpsin1): Remove.
14461         (__mpcos1): Likewise.
14462
14463 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14464
14465         * locale/loadlocale.c (_nl_intern_locale_data): Use
14466         LOCFILE_ALIGNED_P.
14467         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14468         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14469         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14470         obstack data is appropriately aligned.
14471         (obstack_int32_grow_fast): Likewise.
14472         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14473         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14474         (add_locale_uint32_array): Likewise.
14475
14476 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14477
14478         * benchtests/Makefile: Remove ARGLIST and RET variables.
14479         ($(objpfx)bench-%.c): Pass only function name to the script.
14480         * benchtests/README: Update documentation.
14481         * benchtests/acos-inputs: Add new directives.
14482         * benchtests/acosh-inputs: Likewise.
14483         * benchtests/asin-inputs: Likewise.
14484         * benchtests/asinh-inputs: Likewise.
14485         * benchtests/atan-inputs: Likewise.
14486         * benchtests/atanh-inputs: Likewise.
14487         * benchtests/cos-inputs: Likewise.
14488         * benchtests/cosh-inputs: Likewise.
14489         * benchtests/exp-inputs: Likewise.
14490         * benchtests/log-inputs: Likewise.
14491         * benchtests/pow-inputs: Likewise.
14492         * benchtests/rint-inputs: Likewise.
14493         * benchtests/sin-inputs: Likewise.
14494         * benchtests/sinh-inputs: Likewise.
14495         * benchtests/tan-inputs: Likewise.
14496         * benchtests/tanh-inputs: Likewise.
14497         * scripts/bench.pl: Add support for new directives.
14498
14499 2013-10-07  Alan Modra  <amodra@gmail.com>
14500
14501         * README: Fix careless merge.
14502
14503 2013-10-05  Alan Modra  <amodra@gmail.com>
14504
14505         * NEWS: Mention powerpc64le support and bugs fixed.
14506         * README: Both big-endian and little-endian powerpc64 supported.
14507
14508 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14509
14510         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14511         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14512         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14513         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14514
14515 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14516
14517         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14518         match prototype.
14519
14520 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14521
14522         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14523         Move -mhard-float appending from
14524         ports/sysdeps/powerpc/powerpc32/Makefile.
14525         [$(with-fp) = yes] (ASFLAGS): Likewise.
14526         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14527         * sysdeps/powerpc/nofpu: Move directory from
14528         ports/sysdeps/powerpc/nofpu.
14529         * sysdeps/powerpc/soft-fp: Move directory from
14530         ports/sysdeps/powerpc/soft-fp.
14531         * sysdeps/powerpc/powerpc32/405: Move directory from
14532         ports/sysdeps/powerpc/powerpc32/405.
14533         * sysdeps/powerpc/powerpc32/440: Move directory from
14534         ports/sysdeps/powerpc/powerpc32/440.
14535         * sysdeps/powerpc/powerpc32/464: Move directory from
14536         ports/sysdeps/powerpc/powerpc32/464.
14537         * sysdeps/powerpc/powerpc32/476: Move directory from
14538         ports/sysdeps/powerpc/powerpc32/476.
14539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14540         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14542         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14544         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14546         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14548         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14549         * README: Update for powerpc-*-linux-gnu software floating point
14550         support in libc.
14551
14552         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14553         case to powerpc/powerpc32*.
14554         * sysdeps/unix/sysv/linux/configure: Regenerated.
14555
14556         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14557         (_FPU_MASK_OM): Define as 0x04.
14558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14560         0x00c10080.
14561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14562         0x0000003c.
14563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14564
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14566         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14567         getcontext_e500.
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14569         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14570         setcontext_e500.
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14572         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14573         and setcontext_e500.
14574
14575 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14576
14577         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14578
14579 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14580
14581         * manual/threads.texi (Default Thread Attributes): Fix typo.
14582
14583 2013-10-04  Will Newton  <will.newton@linaro.org>
14584
14585         * malloc/Makefile: Add tst-memalign.
14586         * malloc/tst-memalign.c: New file.
14587
14588         * malloc/tst-posix_memalign.c: Add comments.
14589         (do_test): Add comments and call free on all potentially
14590         allocated pointers. Add space after cast.
14591
14592         * malloc/tst-pvalloc.c: Add comments.
14593         (do_test): Add comments and call free on all potentially
14594         allocated pointers. Remove duplicate check for NULL pointer.
14595         Add space after cast.
14596
14597         * malloc/tst-valloc.c: Add comments.
14598         (do_test): Add comments and call free on all potentially
14599         allocated pointers. Remove duplicate check for NULL pointer.
14600         Add space after cast.
14601
14602 2013-10-04  Alan Modra  <amodra@gmail.com>
14603
14604         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14605         Use stdint types in rather than __attribute__((mode())).
14606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14607
14608 2013-10-04  Alan Modra  <amodra@gmail.com>
14609
14610         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14611         Correct handling of unaligned relocs for little-endian.
14612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14613
14614 2013-10-04  Alan Modra  <amodra@gmail.com>
14615
14616         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14617         * configure: Regenerate.
14618         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14619         * shlib-versions: Likewise.
14620
14621 2013-10-04  Alan Modra  <amodra@gmail.com>
14622
14623         * string/tester.c (test_memrchr): Increment reported test cycle.
14624
14625 2013-10-04  Alan Modra  <amodra@gmail.com>
14626
14627         * string/test-memcpy.c (do_one_test): When reporting errors, print
14628         string address and don't overrun end of string.
14629
14630 2013-10-04  Alan Modra  <amodra@gmail.com>
14631
14632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14633         insrdi.  Make better use of reg selection to speed exit slightly.
14634         Schedule entry path a little better.  Remove useless "are we done"
14635         checks on entry to main loop.  Handle wrapping around zero address.
14636         Correct main loop count.  Handle single left-over word from main
14637         loop inline rather than by using loop_small.  Remove extra word
14638         case in loop_small caused by wrong loop count.  Add little-endian
14639         support.
14640         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14641         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14642         cache hint.
14643         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14644         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14645         support.  Avoid rlwimi.
14646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14647
14648 2013-10-04  Alan Modra  <amodra@gmail.com>
14649
14650         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14651         insrdi.  Formatting.
14652         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14653         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14654         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14655         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14656         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14657         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14658
14659 2013-10-04  Alan Modra  <amodra@gmail.com>
14660
14661         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14662         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14663         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14664         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14665         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14666         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14667         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14668         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14669         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14670         use of regs.  Use power7 mtocrf.  Tidy function tails.
14671
14672 2013-10-04  Alan Modra  <amodra@gmail.com>
14673
14674         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14675         Formatting.  Consistently use rXXX register defines or rN defines.
14676         Use early exit labels that avoid restoring unused non-volatile regs.
14677         Make cr field use more consistent with rWORDn compares.  Rename
14678         regs used as shift registers for unaligned loop, using rN defines
14679         for short lifetime/multiple use regs.
14680         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14681         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14682         addi 1,1,64 to pop stack frame.  Simplify return value code.
14683         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14684
14685 2013-10-04  Alan Modra  <amodra@gmail.com>
14686
14687         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14688         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14689         rather than rlwimi.
14690         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14691         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14692         little-endian support.  Correct typos.
14693         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14694         rather than rlwimi.
14695         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14696         in loop and entry code to keep "and." results.
14697         (strchr): Add little-endian support.  Comment.  Move cntlzd
14698         earlier in tail.
14699         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14700
14701 2013-10-04  Alan Modra  <amodra@gmail.com>
14702
14703         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14704         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14705         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14706         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14707
14708 2013-10-04  Alan Modra  <amodra@gmail.com>
14709
14710         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14711         (rTMP): Define as r11.
14712         (strcmp): Add little-endian support.  Optimise tail.
14713         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14714         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14715         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14716         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14718         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14719         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14720
14721 2013-10-04  Alan Modra  <amodra@gmail.com>
14722
14723         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14724         little-endian support.  Remove unnecessary "are we done" tests.
14725         Handle "s" wrapping around zero and extremely large "size".
14726         Correct main loop count.  Handle single left-over word from main
14727         loop inline rather than by using small_loop.  Correct comments.
14728         Delete "zero" tail, use "end_max" instead.
14729         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14730
14731 2013-10-04  Alan Modra  <amodra@gmail.com>
14732
14733         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14734         support.  Don't branch over align.
14735         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14736         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14737         support.  Rearrange tmp reg use to suit.  Comment.
14738         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14739
14740 2013-10-04  Alan Modra  <amodra@gmail.com>
14741
14742         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14743
14744 2013-10-04  Alan Modra  <amodra@gmail.com>
14745
14746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14747         conditional form of branch and link when obtaining pc.
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14749
14750 2013-10-04  Alan Modra  <amodra@gmail.com>
14751
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14753         HIWORD/LOWORD.
14754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14756
14757 2013-10-04  Alan Modra  <amodra@gmail.com>
14758
14759         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14760         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14761         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14762         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14763         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14764         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14765         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14766         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14767         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14768         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14769
14770 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14771             Alistair Popple <alistair@ozlabs.au.ibm.com>
14772             Alan Modra <amodra@gmail.com>
14773
14774         [BZ #15723]
14775         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14776         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14777         _dl_hwcap access for little-endian.
14778         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14779         destroy vmx regs when saving unaligned.
14780         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14781         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14782         destroy vmx regs when saving unaligned.
14783
14784 2013-10-04  Alan Modra  <amodra@gmail.com>
14785
14786         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14787         Don't use a union to pack hi/low value.
14788
14789 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14790
14791         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14792         for little-endian.
14793         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14794         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14795         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14796         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14797         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14798
14799 2013-10-04  Alan Modra  <amodra@gmail.com>
14800
14801         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14802         constants to usual value for .cst8 section, and remove redundant
14803         high address load.
14804         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14805         constant for 0x1p52.  Load little-endian words of double from
14806         correct stack offsets.
14807
14808 2013-10-04  Alan Modra  <amodra@gmail.com>
14809
14810         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14811         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14812         words of double from correct stack offsets.
14813         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14814         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14815         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14816         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14817         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14818         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14819         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14820         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14821         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14822         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14823         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14824         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14825         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14826         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14827         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14828         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14829         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14830
14831 2013-10-04  Alan Modra  <amodra@gmail.com>
14832
14833         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14834         64-bit int/double union.
14835         (_FPU_SETCW): Likewise.
14836         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14837         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14838
14839 2013-10-04  Alan Modra  <amodra@gmail.com>
14840
14841         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14842         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14843
14844 2013-10-04  Alan Modra  <amodra@gmail.com>
14845
14846         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14847         use vector int constants.
14848         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14849
14850 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14851
14852         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14853         array with long long.
14854         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14855         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14856         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14857         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14858         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14859         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14860         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14861         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14862         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14863         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14864         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14865         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14866         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14867
14868 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14869
14870         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14871         (__signbit): Likewise.  Correct for little-endian.
14872         (__signbitl): Call __signbit.
14873         (lrint): Correct for little-endian.
14874         (lrintf): Call lrint.
14875
14876 2013-10-04  Alan Modra  <amodra@gmail.com>
14877
14878         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14879         union 32-bit int array member with 64-bit int array.
14880         (t515, tm256): Double rather than long double.
14881         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14882
14883 2013-10-04  Alan Modra  <amodra@gmail.com>
14884
14885         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14886         Delete.
14887         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14888         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14889         version of math_ldbl.h.
14890
14891 2013-10-04  Alan Modra  <amodra@gmail.com>
14892
14893         [BZ #15734], [BZ #15735]
14894         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14895         all uses of ieee875 long double macros and unions.  Simplify test
14896         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14897         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14898         normalize after ldbl_extract_mantissa, and don't add hidden bit
14899         already handled.  Don't treat low word of ieee854 mantissa like
14900         low word of IBM long double and mask off bit when testing for
14901         zero.
14902         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14903         all uses of ieee875 long double macros and unions.  Simplify tests
14904         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14905         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14906         two1022, instead use their values.  Recognise that tests for large
14907         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14908         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14909         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14910         test for 0.0L and nan.  Correct negation.
14911         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14912         ieee875 long double macros and unions.  Correct output for large
14913         magnitude x.  Correct absolute value calculation.
14914         (__erfcl): Likewise.
14915         * math/libm-test.inc: Add tests for errors discovered in IBM long
14916         double versions of fmodl, remainderl, erfl and erfcl.
14917
14918 2013-10-04  Alan Modra  <amodra@gmail.com>
14919
14920         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14921         all uses of ieee854 long double macros and unions.  Simplify tests
14922         for long doubles that are fully specified by the high double.
14923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14924         Likewise.
14925         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14926         Remove dead code too.
14927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14928         (__ieee754_ynl): Likewise.
14929         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14930         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14931         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14932         Remove dead code too.
14933         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14934         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14937         Simplify.
14938         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14939         Simplify.
14940         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14941         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14942         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14943         Comment on variable precision.
14944         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14945         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14946         Likewise.
14947         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14948         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14949         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14950         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14951         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14952
14953 2013-10-04  Alan Modra  <amodra@gmail.com>
14954
14955         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14956         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14957         all uses of ieee854 long double macros and unions.
14958         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14960         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14961         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14963         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14964         Likewise.
14965         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14966         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14968         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14969         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14970         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14971         Simplify sign and nan test too.
14972         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14973         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14974         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14975         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14976         Likewise.
14977         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14978         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14979         Likewise.
14980         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14981         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14982         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14983         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14984         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14986
14987 2013-10-04  Alan Modra  <amodra@gmail.com>
14988
14989         * stdio-common/printf_size.c (__printf_size): Don't use
14990         union ieee854_long_double in fpnum union.
14991         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14992         signbit macro to retrieve sign from long double.
14993         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14994         retrieve sign from long double.
14995         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14996         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14997         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14998         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14999         * math/test-misc.c (main): Don't use union ieee854_long_double.
15000
15001 2013-10-04  Alan Modra  <amodra@gmail.com>
15002
15003         [BZ #15680]
15004         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15005         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15006         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15007         calculation.  Remove unnecessary test for denormal exponent.
15008         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15009         Correct handling of denormals.  Avoid undefined shift behaviour.
15010         Correct normalisation of low mantissa when low double is denormal.
15011         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15012         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15013         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15014         Correct normalisation of low mantissa.  Test for overflow of high
15015         mantissa and normalise.
15016         (ldbl_nearbyint): Use more readable constant for two52.
15017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15018         (__mpn_construct_long_double): Fix test for overflow of high
15019         mantissa and correct normalisation.  Avoid undefined shift.
15020
15021 2013-10-04  Alan Modra  <amodra@gmail.com>
15022
15023         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15024         (union ibm_extended_long_double): Define as an array of ieee754_double.
15025         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15026         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15027         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15028         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15030         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15032         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15033         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15034         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15035         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15036
15037 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15038
15039         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15040         page size instead of calling getpagesize.
15041
15042         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15043         (LOCFILE_ALIGN_MASK): Likewise.
15044         (LOCFILE_ALIGN_UP): Likewise.
15045         (LOCFILE_ALIGNED_P): Likewise.
15046         * locale/programs/ld-collate.c (collate_output): Use the new
15047         macros instead of __alignof__ (int32_t).
15048         * locale/weight.h (findidx): Likewise.
15049
15050 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15051
15052         [BZ #431]
15053         * manual/string.texi: Fix strncat and wcsncat.
15054
15055 2013-10-03  Brooks Moses  <bmoses@google.com>
15056
15057         [BZ #15915]
15058         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15059         * Makerules: ...here, and adjust associated comments.
15060
15061 2013-10-02  Will Newton  <will.newton@linaro.org>
15062
15063         * malloc/Makefile: Add tst-pvalloc.
15064         * malloc/tst-pvalloc.c: New file.
15065
15066 2013-10-02  Will Newton  <will.newton@linaro.org>
15067
15068         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15069         improve test coverage.
15070
15071 2013-10-02  Will Newton  <will.newton@linaro.org>
15072
15073         * malloc/Makefile: Add tst-posix_memalign.
15074         * malloc/tst-posix_memalign.c: New file.
15075
15076 2013-10-01  Eric Blake  <eblake@redhat.com>
15077
15078         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15079         Use __THROWNL rather than __THROW on static functions.
15080
15081 2013-09-30  Petr Machata  <pmachata@redhat.com>
15082
15083         * elf/elf.h (R_AARCH64_ABS16): New macro.
15084         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15085         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15086         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15087         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15088         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15089         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15090         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15091         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15092         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15093         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15094         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15095         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15096         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15097         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15098         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15099         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15100         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15101         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15102         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15103         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15104         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15105         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15106         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15107         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15108         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15109         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15110         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15111         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15112         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15113         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15114         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15115         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15116         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15117         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15118         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15119         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15120         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15121         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15122         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15123         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15124         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15125         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15126         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15127         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15128         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15129         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15130         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15131         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15132         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15133         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15134         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15135         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15136         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15137         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15138         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15139         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15140         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15141         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15142         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15143         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15144         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15145         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15146         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15147         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15148         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15149         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15150         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15151         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15152         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15153         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15154         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15155         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15156         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15157         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15158         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15159         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15160         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15161         (R_AARCH64_TLSDESC_LDR): Likewise.
15162         (R_AARCH64_TLSDESC_ADD): Likewise.
15163         (R_AARCH64_TLSDESC_CALL): Likewise.
15164
15165 2013-09-30  Andreas Schwab  <schwab@suse.de>
15166
15167         [BZ #15048]
15168         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15169         the nss database lookup.
15170         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15172
15173 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15174
15175         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15176
15177 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15178
15179         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15180         ${Bash-specific parameter/pattern/string} parameter expansion.
15181         * sysdeps/unix/make-syscalls.sh: Likewise.
15182
15183 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15184
15185         * sysdeps/sh/stackguard-macros.h: New file.
15186
15187 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15188
15189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15191         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15192         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15193         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15194         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15195
15196 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15197
15198         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15199         Fix thread ID register.
15200
15201 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15202
15203         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15204         [POSIX || UNIX98]: Require rather than permitting all symbols from
15205         <time.h>.
15206         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15207         element of struct sched_param.
15208         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15209         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15210         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15211         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15212         constant.
15213
15214 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15215
15216         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15217         argument calculation.
15218
15219 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15220
15221         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15222         Expect macro.
15223         [POSIX] (pthread_attr_t): Do not require type.
15224         [POSIX] (pthread_cond_t): Likewise.
15225         [POSIX] (pthread_condattr_t): Likewise.
15226         [POSIX] (pthread_key_t): Likewise.
15227         [POSIX] (pthread_mutex_t): Likewise.
15228         [POSIX] (pthread_mutexattr_t): Likewise.
15229         [POSIX] (pthread_once_t): Likewise.
15230         [POSIX] (pthread_t): Likewise.
15231         [POSIX-based standards] (pthread_atfork): Expect function.
15232
15233 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15234             Richard Sandiford  <richard@codesourcery.com>
15235
15236         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15237         (swap_endianness_p): New extern variable.
15238         (set_big_endian): New inline function.
15239         (maybe_swap_uint32): Likewise.
15240         (maybe_swap_uint32_array): Likewise.
15241         (maybe_swap_uint32_obstack): Likewise.
15242         * locale/programs/locfile.c: Include <stdbool.h>.
15243         (swap_endianness_p): New variable.
15244         (add_locale_uint32): Call maybe_swap_uint32.
15245         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15246         (write_locale_data): Call maybe_swap_uint32_array.
15247         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15248         maybe_swap_uint32.
15249         (obstack_int32_grow_fast): Likewise.
15250         (output_weightwc): Call maybe_swap_uint32_obstack.
15251         (collate_output): Likewise.
15252         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15253         (OPT_LITTLE_ENDIAN): Likewise.
15254         (options): Add --little-endian and --big-endian options.
15255         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15256         * locale/programs/locarchive.c: Include "locfile.h".
15257         (GET): New macro.
15258         (SET): Likewise.
15259         (INC): Likewise.
15260         (create_archive): Use the new macros to access fields of
15261         structures directly mapped from or written to locale archives.
15262         (oldlocrecentcmp): Likewise.
15263         (enlarge_archive): Likewise.
15264         (insert_name): Likewise.
15265         (add_alias): Likewise.
15266         (add_locale): Likewise.
15267         (delete_locales_from_archive): Likewise.
15268         (show_archive_content): Likewise.
15269         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15270         locale data.
15271
15272 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15273
15274         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15275         http://www.gnu.org/doc/freemanuals.texi.
15276         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15277
15278 2013-09-24  Will Newton  <will.newton@linaro.org>
15279
15280         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15281         macro.
15282
15283 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15284
15285         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15286         unsigned char.
15287
15288 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15289
15290         * manual/threads.texi (POSIX Threads): Fix a typo.
15291
15292 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15293
15294         [BZ #14547]
15295         * string/tst-strcoll-overflow.c: New test case.
15296         * string/Makefile (xtests): Add tst-strcoll-overflow.
15297         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15298         cache if string sizes may cause integer overflow.
15299
15300         [BZ #14547]
15301         * string/strcoll_l.c (coll_seq): New members rule, idx,
15302         save_idx and back_us.
15303         (get_next_seq_nocache): New function.
15304         (do_compare_nocache): New function.
15305         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15306         when malloc fails.
15307
15308 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15309
15310         [BZ #15754]
15311         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15312         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15313         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15314
15315         [BZ #15754]
15316         * elf/Makefile (tests): Add tst-ptrguard1.
15317         (tests-static): Add tst-ptrguard1-static.
15318         (tst-ptrguard1-ARGS): Define.
15319         (tst-ptrguard1-static-ARGS): Define.
15320         * elf/tst-ptrguard1.c: New file.
15321         * elf/tst-ptrguard1-static.c: New file.
15322         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15323         * sysdeps/i386/stackguard-macros.h: Likewise.
15324         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15325         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15326         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15327         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15328         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15329         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15330
15331 2013-09-23  Hector Marco  <hecmargi@upv.es>
15332             Ismael Ripoll  <iripoll@disca.upv.es>
15333             Carlos O'Donell  <carlos@redhat.com>
15334
15335         [BZ #15754]
15336         * sysdeps/generic/stackguard-macros.h: Define
15337         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15338         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15339         Define __pointer_chk_guard_local.
15340         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15341         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15342
15343 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15344
15345         [BZ #15859]
15346         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15347
15348 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15349
15350         * include/string.h (__ffs): Declare as hidden.
15351         * string/ffs.c (__ffs): Define as hidden.
15352         * sysdeps/i386/ffs.c (__ffs): Likewise.
15353         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15354         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15355         * sysdeps/s390/ffs.c (__ffs): Likewise.
15356         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15357
15358 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15359
15360         * NEWS: Mention malloc probes.
15361
15362         * malloc/arena.c (new_heap): New memory_heap_new probe.
15363         (grow_heap): New memory_heap_more probe.
15364         (shrink_heap): New memory_heap_less probe.
15365         (heap_trim): New memory_heap_free probe.
15366         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15367         (systrim): New memory_sbrk_less probe.
15368         * manual/probes.texi: Document them.
15369
15370         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15371         * manual/probes.texi: Document it.
15372
15373         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15374         (__libc_realloc): Add memory_realloc_retry probe.
15375         (__libc_memalign): Add memory_memalign_retry probe.
15376         (__libc_valloc): Add memory_valloc_retry probe.
15377         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15378         (__libc_calloc): Add memory_calloc_retry probe.
15379         * manual/probes.texi: Document them.
15380
15381         * malloc/arena.c (get_free_list): Add probe
15382         memory_arena_reuse_free_list.
15383         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15384         and memory_arena_reuse.
15385         (arena_get2) [!PER_THREAD]: Likewise.
15386         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15387         memory_arena_reuse_realloc.
15388         * manual/probes.texi: Document them.
15389
15390         * malloc/malloc.c (__libc_free): Add
15391         memory_mallopt_free_dyn_thresholds probe.
15392         (__libc_mallopt): Add multiple memory_mallopt probes.
15393         * manual/probes.texi: Document them.
15394
15395         * malloc/malloc.c: Include stap-probe.h.
15396         (__libc_mallopt): Add memory_mallopt probe.
15397         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15398         * manual/probes.texi: New.
15399         * manual/Makefile (chapters): Add probes.
15400         * manual/threads.texi: Set next node.
15401
15402 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15403
15404         [BZ #15963, #13985]
15405         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15406         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15407         Add `Chinese' to `nan' entry name.
15408
15409 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15410
15411         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15412         (POLYNOMIAL): Likewise.
15413         (TAYLOR_SINCOS): Likewise.
15414         (TAYLOR_SLOW): Likewise.
15415         (__sin): Use TAYLOR_SINCOS.
15416         (__cos): Likewise.
15417         (slow): Use TAYLOR_SLOW.
15418         (sloww): Likewise.
15419         (bsloww): Likewise.
15420         (csloww): Likewise.
15421
15422 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15423
15424         * stdlib/strtod_l.c: Fix buffer overrun.
15425
15426 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15427
15428         * benchtests/Makefile (bench): Add sincos.
15429         * benchtests/bench-sincos.c: New file.
15430
15431         * math/libm-test.inc (cos_test_data): New test inputs.
15432         (sin_test_data): Likewise.
15433
15434         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15435         macro.
15436         (__sin): Use it.
15437         (__cos): Likewise.
15438         (slow1): Likewise.
15439         (slow2): Likewise.
15440         (sloww1): Likewise.
15441         (sloww2): Likewise.
15442         (bsloww1): Likewise.
15443         (bsloww2): Likewise.
15444         (cslow2): Likewise.
15445         (csloww1): Likewise.
15446         (csloww2): Likewise.
15447
15448         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15449         function.
15450         (__sin): Use it.
15451         (__cos): Likewise.
15452
15453         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15454         gotos.
15455         (__cos): Likewise.
15456
15457 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15458
15459         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15460         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15461         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15462         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15463         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15464         * elf/cache.c (print_entry): Handle the new cache flags.
15465
15466 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15467             Aldy Hernandez  <aldyh@redhat.com>
15468
15469         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15470         Change condition to [_SOFT_FLOAT].
15471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15483         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15486         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15487         declaration.
15488
15489 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15490
15491         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15492         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15493         (__longjmp): Use LOAD_GP to load saved GPRs.
15494         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15495         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15496         (__sigsetjmp): Use SAVE_GP to save GPRs.
15497
15498         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15499         Do not append -msoft-float.
15500         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15501
15502 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15503
15504         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15505
15506 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15507
15508         [BZ #15966]
15509         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15510         (_FPU_GETCW): Use initial "__" on variable and field names but not
15511         on macro parameter name.
15512         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15513         parentheses around reference to macro parameter.
15514
15515 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15516
15517         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15518         prototype.
15519         (ctype_startup): Use uint32_t in cast and sizeof for
15520         ctype->charnames.
15521
15522 2013-09-11  Jia Liu  <proljc@gmail.com>
15523
15524         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15525         __daddr_t_defined.
15526         [__FreeBSD__]: Likewise.
15527
15528 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15529
15530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15531         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15532         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15533         (strchr): Remove __strchr_sse42 ifunc selection.
15534         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15535         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15536
15537 2013-09-11  Will Newton  <will.newton@linaro.org>
15538
15539         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15540         parameter to RES. Remove hardcoded 1000 value.
15541         * benchtests/bench-skeleton.c (main): Pass RES parameter
15542         to TIMING_INIT and multiply result by 1000.
15543
15544 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15545
15546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15547
15548 2013-09-11  Andreas Schwab  <schwab@suse.de>
15549
15550         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15551         if not defined.
15552         (O_TMPFILE) [__USE_GNU]: Define.
15553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15554         Define.
15555
15556 2013-09-11  Will Newton  <will.newton@linaro.org>
15557
15558         [BZ #15857]
15559         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15560         does not overflow.
15561
15562 2013-09-11  Will Newton  <will.newton@linaro.org>
15563
15564         [BZ #15856]
15565         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15566         does not overflow.
15567
15568 2013-09-11  Will Newton  <will.newton@linaro.org>
15569
15570         [BZ #15855]
15571         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15572         does not overflow.
15573
15574 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15575
15576         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15577         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15578         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15579         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15580         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15581
15582 2013-09-10  Allan McRae  <allan@archlinux.org>
15583
15584         [BZ #15748]
15585         * manual/arith.texi (Parsing of Floats): Clarify
15586         cross-reference.
15587
15588         [BZ #15849]
15589         * manual/install.texi (Running make install): Mention
15590         --enable-pt-chown.
15591         * INSTALL: Regenerated.
15592
15593 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15594
15595         * csu/init-first.c (_init): Remove the !SHARED condition around
15596         FPU control word initialization.
15597         * elf/dl-support.c (_dl_fpu_control): New variable.
15598         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15599         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15600         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15601         * math/test-fpucw-static.c: New file.
15602         * math/test-fpucw-ieee.c: New file.
15603         * math/test-fpucw-ieee-static.c: New file.
15604         * math/Makefile (tests): Add `test-fpucw-ieee' and
15605         `$(tests-static)'.
15606         (tests-static): New variable.
15607         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15608         dependency to...
15609         [($(build-shared),yes)]
15610         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15611         ... this.
15612         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15613         New dependency.
15614
15615 2013-09-09  Allan McRae  <allan@archlinux.org>
15616
15617         [BZ #15939]
15618         * manual/string.texi (Collation Functions): Fix typo in
15619         strcoll example.
15620         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15621
15622         [BZ #15893]
15623         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15624
15625         [BZ #15892]
15626         * libio/memstream.c (open_memstream): Fix memory leak.
15627         * libio/wmemstream.c (open_wmemstream): Likewise.
15628
15629         [BZ #15895]
15630         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15631
15632 2013-09-09  Will Newton  <will.newton@linaro.org>
15633
15634         * malloc/Makefile: Add tst-realloc to tests.
15635         * malloc/tst-realloc.c: New file.
15636
15637 2013-09-09  Allan McRae  <allan@archlinux.org>
15638
15639         [BZ #15844]
15640         * COPYING: Update from GNU website to fix FSF address.
15641         * COPYING.LIB: Likewise.
15642
15643 2013-09-06  David S. Miller  <davem@davemloft.net>
15644
15645         * po/zh_TW.po: Update Chinese (traditional) translation from
15646         translation project.
15647
15648 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15649             Joseph Myers  <joseph@codesourcery.com>
15650
15651         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15652         "localeinfo.h".
15653         (obstack_chunk_alloc): New macro.
15654         (obstack_chunk_free): Likewise.
15655         (record_offset): New function.
15656         (init_locale_data): Likewise.
15657         (align_locale_data): Likewise.
15658         (add_locale_empty): Likewise.
15659         (add_locale_raw_data): Likewise.
15660         (add_locale_raw_obstack): Likewise.
15661         (add_locale_string): Likewise.
15662         (add_locale_wstring): Likewise.
15663         (add_locale_uint32): Likewise.
15664         (add_locale_uint32_array): Likewise.
15665         (add_locale_char): Likewise.
15666         (start_locale_structure): Likewise.
15667         (end_locale_structure): Likewise.
15668         (start_locale_prelude): Likewise.
15669         (end_locale_prelude): Likewise.
15670         (write_locale_data): Take locale_file structure rather than an
15671         iovec.
15672         * locale/programs/locfile.h: Include "obstack.h".
15673         (struct locale_file): Change to store locale file contents instead
15674         of header.
15675         (init_locale_data): New prototype.
15676         (align_locale_data): Likewise.
15677         (add_locale_empty): Likewise.
15678         (add_locale_raw_data): Likewise.
15679         (add_locale_raw_obstack): Likewise.
15680         (add_locale_string): Likewise.
15681         (add_locale_wstring): Likewise.
15682         (add_locale_uint32): Likewise.
15683         (add_locale_uint32_array): Likewise.
15684         (add_locale_char): Likewise.
15685         (start_locale_structure): Likewise.
15686         (end_locale_structure): Likewise.
15687         (start_locale_prelude): Likewise.
15688         (end_locale_prelude): Likewise.
15689         (write_locale_data): Update prototype.
15690         * locale/programs/3level.h (struct TABLE): Remove result field.
15691         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15692         Use new locale_file interface.
15693         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15694         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15695         * locale/programs/ld-address.c (address_output): Use new
15696         locale_file interface.
15697         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15698         NO_ADD_LOCALE.
15699         (collate_finish): Don't call collseq_table_finalize.
15700         (collate_output): Use new locale_file interface.
15701         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15702         in file.
15703         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15704         (TABLE): Move defines earlier in file.
15705         (ELEMENT): Likewise.
15706         (DEFAULT): Likewise.
15707         (wctrans_table_add): Move macro and inline function earlier in
15708         file.
15709         (struct wctype_table): Move type earlier in file.
15710         (add_locale_wctype_table): New static prototype.
15711         (struct locale_ctype_t): Use logical types instead of struct iovec
15712         pointers for members.
15713         (ctype_output): Use new locale_file interface.
15714         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15715         new locale_file interface.
15716         (allocate_arrays): Update for use of new locale_file interface.
15717         * locale/programs/ld-identification.c (identification_output): Use
15718         new locale_file interface.
15719         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15720         * locale/programs/ld-messages.c (messages_output): Likewise.
15721         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15722         * locale/programs/ld-name.c (name_output): Likewise.
15723         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15724         * locale/programs/ld-paper.c (paper_output): Likewise.
15725         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15726         * locale/programs/ld-time.c (time_output): Likewise.
15727
15728 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15729
15730         * benchtests/Makefile: Add memrchr benchmark.
15731         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15732         benchmark as memrchr.
15733         * benchtests/bench-memrchr-ifunc.c: New file.
15734         * benchtests/bench-memrchr.c: New file.
15735
15736 2013-09-06   Will Newton  <will.newton@linaro.org>
15737
15738         * benchtests/Makefile (string-bench): Add memcpy.
15739
15740 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15741             Cong Wang  <amwang@redhat.com>
15742
15743         [BZ #15850]
15744         * sysdeps/unix/sysv/linux/bits/in.h
15745         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15746         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15747         before __USE_KERNEL_IPV6_DEFS uses.
15748         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15749         IPPROTO_BEETPH.
15750         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15751         sockaddr_in6, or ipv6_mreq.
15752
15753 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15754
15755         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15756         memory access for final bytes in some large inputs.
15757         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15758
15759 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15760
15761         * string/test-memrchr.c: New file.
15762         * string/test-memrchr-ifunc.c: New file.
15763         * string/Makefile: Add new memrchr testcase.
15764
15765 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15766
15767         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15768         fanotify_init returns EPERM.
15769
15770 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15771
15772         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15773         errors.
15774         (top level): Treat second token from macro or constant entries for
15775         allowed headers as allowed.
15776         * include/complex.h: Condition internal declarations on
15777         [!_ISOMAC].
15778         * include/fenv.h: Condition include of <stdbool.h> and internal
15779         declarations on [!_ISOMAC].
15780
15781 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15782
15783         [BZ #15923]
15784         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15785
15786 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15787
15788         * configure.in (--enable-versioning): Remove configure option.
15789         (libc_cv_asm_symver_directive): Remove configure test.
15790         (libc_cv_ld_version_script_option): Likewise.
15791         (VERSIONING): Remove variable and AC_SUBST.
15792         (DO_VERSIONING): Remove AC_DEFINE.
15793         * configure: Regenerated.
15794         * config.h.in (DO_VERSIONING): Remove macro.
15795         * Makerules [$(versioning) = yes]: Change conditionals to
15796         [$(build-shared) = yes].
15797         * config.make.in (versioning): Remove variable.
15798         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15799         [$(build-shared) = yes].
15800         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15801         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15802         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15803         [$(build-shared) = yes].
15804         * extra-lib.mk [$(versioning) = yes]: Likewise.
15805         * hurd/Makefile [$(versioning) = yes]: Likewise.
15806         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15807         [SHARED].
15808         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15809         [SHARED].
15810         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15811         [SHARED && !NO_HIDDEN].
15812         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15813         [SHARED].
15814         [SHARED && DO_VERSIONING]: Likewise..
15815         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15816         [$(build-shared) = yes].
15817         * manual/install.texi (--disable-versioning): Remove
15818         documentation.
15819         * INSTALL: Regenerated.
15820         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15821         to [SHARED].
15822         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15823         [$(build-shared) = yes].
15824         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15825         * sysdeps/i386/i686/multiarch/strstr-c.c
15826         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15827         [SHARED && !NO_HIDDEN].
15828         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15829         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15830         * sysdeps/powerpc/powerpc32/dl-machine.c
15831         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15832         * sysdeps/powerpc/powerpc32/sysdep.h
15833         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15834         to [SHARED && PIC && !NO_HIDDEN].
15835         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15836         conditional to [SHARED].
15837
15838 2013-09-04   Will Newton  <will.newton@linaro.org>
15839
15840         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15841         * benchtests/bench-string.h: Include bench-timing.h instead
15842         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15843         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15844         call to HP_TIMING_DIFF_INIT.
15845         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15846         instead of hp-timing.h macros.
15847         * benchtests/bench-memchr.c: Likewise.
15848         * benchtests/bench-memcmp.c: Likewise.
15849         * benchtests/bench-memcpy.c: Likewise.
15850         * benchtests/bench-memmem.c: Likewise.
15851         * benchtests/bench-memmove.c: Likewise.
15852         * benchtests/bench-memset.c: Likewise.
15853         * benchtests/bench-rawmemchr.c: Likewise.
15854         * benchtests/bench-strcasecmp.c: Likewise.
15855         * benchtests/bench-strcasestr.c: Likewise.
15856         * benchtests/bench-strcat.c: Likewise.
15857         * benchtests/bench-strchr.c: Likewise.
15858         * benchtests/bench-strcmp.c: Likewise.
15859         * benchtests/bench-strcpy.c: Likewise.
15860         * benchtests/bench-strcpy_chk.c: Likewise.
15861         * benchtests/bench-strlen.c: Likewise.
15862         * benchtests/bench-strncasecmp.c: Likewise.
15863         * benchtests/bench-strncat.c: Likewise.
15864         * benchtests/bench-strncmp.c: Likewise.
15865         * benchtests/bench-strncpy.c: Likewise.
15866         * benchtests/bench-strnlen.c: Likewise.
15867         * benchtests/bench-strpbrk.c: Likewise.
15868         * benchtests/bench-strrchr.c: Likewise.
15869         * benchtests/bench-strspn.c: Likewise.
15870         * benchtests/bench-strstr.c: Likewise.
15871
15872 2013-09-04  Will Newton  <will.newton@linaro.org>
15873
15874         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15875
15876 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15877
15878         [BZ #15427]
15879         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15880         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15881         * math/libm-test.inc (lgamma_test_data): Add more tests.
15882         * sysdeps/i386/fpu/libm-test-ulps: Update.
15883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15884
15885 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15886
15887         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15889         Add ifunc.
15890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15891         Add strcmp-sse2-unaligned
15892         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15893
15894 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15895
15896         * Versions.def (libc): Add GLIBC_2.19.
15897
15898 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15899
15900         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15901         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15902
15903 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15904
15905         [BZ #14155]
15906         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15907         intermediate calculations in recurrence.
15908         (__ieee754_ynf): Likewise.
15909         * math/libm-test.inc (jn_test_data): Do not allow spurious
15910         underflow exception.  Add more tests.
15911         (yn_test_data): Add more tests.
15912         * sysdeps/i386/fpu/libm-test-ulps: Update.
15913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15914
15915 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15916
15917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15918
15919 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15920
15921         * csu/init-first.c: Fix then/than typos.
15922         * locale/programs/ld-collate.c: Likewise.
15923         * locale/programs/linereader.h: Likewise.
15924         * manual/charset.texi: Likewise.
15925         * manual/filesys.texi: Likewise.
15926         * manual/stdio.texi: Likewise.
15927         * manual/string.texi: Likewise.
15928         * stdlib/fmtmsg.c: Likewise.
15929         * sysdeps/i386/stpncpy.S: Likewise.
15930         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15931         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15932         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15933         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15934
15935 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15936
15937         * elf/dl-open.c: Fix typos.
15938         * iconvdata/gbbig5.c: Likewise.
15939         * iconvdata/iso-2022-jp.c: Likewise.
15940         * iconv/gconv_int.h: Likewise.
15941         * iconv/loop.c: Likewise.
15942         * nis/rpcsvc/nis.h: Likewise.
15943         * resolv/ns_name.c: Likewise.
15944         * stdio-common/vfscanf.c: Likewise.
15945         * streams/stropts.h: Likewise.
15946         * sunrpc/rpc_thread.c: Likewise.
15947         * sysdeps/i386/strpbrk.S: Likewise.
15948         * sysdeps/ieee754/k_standard.c: Likewise.
15949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15950         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15951         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15952         * sysdeps/mach/hurd/profil.c: Likewise.
15953         * sysdeps/s390/dl-procinfo.h: Likewise.
15954         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15955         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15956         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15957         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15958         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15959
15960 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15961
15962         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15964
15965 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15966
15967         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15968         aix specific files.
15969         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15970         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15971         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15972         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15973         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15974         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15975         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15976         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15977
15978 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15979             Roland McGrath  <roland@hack.frob.com>
15980
15981         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15982         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15983
15984 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15985
15986         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15987         __executable_start symbol instead of _start.
15988
15989 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15990
15991         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15992         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15993         Move macros to...
15994         * sysdeps/gnu/ldsodefs.h: ... this new file.
15995
15996         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15997         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15998         instead of ELFOSABI_LINUX.
15999
16000         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16001         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16002         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16003         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16004         Likewise.
16005         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16006         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16007         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16008         Likewise.
16009         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16010         (ibm_extended_long_double): Add ieee_nan member.
16011         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16012         (do_test): New function.
16013
16014         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16015         TEST_TRUNC.
16016         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16017         functions, renamed from truncdfsf_test, trunctfsf_test,
16018         trunctfdf_test.
16019         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16020         functions.
16021         (do_test): Run all these.
16022
16023 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16024
16025         * argp/argp-help.c: Fix typos.
16026         * argp/argp-parse.c: Likewise.
16027         * debug/backtracesyms.c: Likewise.
16028         * elf/elf.h: Likewise.
16029         * malloc/malloc.c: Likewise.
16030         * nis/nis_print.c: Likewise.
16031         * resolv/res_comp.c: Likewise.
16032         * stdlib/stdlib.h: Likewise.
16033         * sunrpc/clnt_tcp.c: Likewise.
16034         * sunrpc/clnt_udp.c: Likewise.
16035         * sunrpc/clnt_unix.c: Likewise.
16036         * sysdeps/unix/bsd/ptsname.c: Likewise.
16037         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16038         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16040         Likewise.
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16042         Likewise.
16043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16044         Likewise.
16045         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16046
16047 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16048
16049         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16051
16052 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16053
16054         [BZ #15897]
16055         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16056         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16057         ($(objpfx)bug-dl-leaf): New rule.
16058         ($(objpfx)bug-dl-leaf.so): Likewise.
16059         ($(objpfx)bug-dl-leaf.out): Likewise.
16060         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16061         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16062         * dlfcn/bug-dl-leaf.c: New test.
16063         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16064         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16065         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16066         (dlclose): Likewise.
16067         (dlmopen): Likewise.
16068
16069 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16070
16071         * include/netdb.h [!_ISOMAC]:
16072         Don't include <tls.h>.
16073         (h_errno, __libc_h_errno): Move declaration and macros out of
16074         [_LIBC_REENTRANT].
16075
16076         * include/resolv.h [_RESOLV_H_]:
16077         Don't include <tls.h>.
16078         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16079         * resolv/res_libc.c: Don't include <tls.h>.
16080         (_res): Use __attribute__ ((nocommon)) in place of
16081         __attribute__ ((section (".bss"))).
16082
16083         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16084         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16085
16086         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16087
16088         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16089         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16090
16091         * resolv/res_mkquery.c: Include <sys/time.h>.
16092
16093         * inet/ifreq.c: Moved to ...
16094         * sysdeps/unix/ifreq.c: ... here.
16095         * inet/ifreq.c: New file, true stub version.
16096
16097         * socket/sa_len.c: New file.
16098         * socket/Makefile (aux): Add it.
16099         * sysdeps/unix/sysv/linux/Makefile
16100         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16101         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16102         and #include <socket/sa_len.c>.
16103         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16104         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16105
16106         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16107         * bits/socket.h: ... here.
16108
16109         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16110         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16111         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16112
16113 2013-08-27  Andreas Schwab  <schwab@suse.de>
16114
16115         [BZ #15736]
16116         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16117         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16118         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16119         * string/test-strcasecmp.c (test_main): Run tests in several
16120         locales.
16121         * string/test-strncasecmp.c (test_main): Likewise.
16122
16123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16124         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16125         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16126         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16127         (__strncasecmp_ssse3) [PIC]: Likewise.
16128
16129 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16130
16131         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16132
16133         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16134         instead of explicitly declaring xdecrypt.
16135         * nis/nss_nis/nis-publickey.c: Likewise.
16136
16137 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16138
16139         [BZ #15890]
16140         * nscd/aicache.c: Include res_hconf.h.
16141         (addhstaiX): Initialize res_hconf.
16142
16143 2013-08-26  Andreas Schwab  <schwab@suse.de>
16144
16145         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16146         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16147
16148 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16149
16150         * nscd/aicache.c (addhstaiX): Fix indentation.
16151
16152 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16153
16154         * configure.ac: Quote $build_pt_chown test.
16155         * configure: Regenerated.
16156
16157 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16158
16159         [BZ #15532]
16160         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16161         * math/s_cexpf.c (__cexpf): Likewise.
16162         * math/s_cexpl.c (__cexpl): Likewise.
16163         * math/libm-test.inc (cexp_test_data): Correct expected return
16164         value for NaN + i0.  Add another test.
16165
16166 2013-08-22  David S. Miller  <davem@davemloft.net>
16167
16168         * po/ca.po: Update Catalan translation from translation project.
16169         * po/uk.po: Add Ukrainian translations from translation project.
16170
16171 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16172
16173         [BZ #15797]
16174         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16175         is infinite, not alongside NaN test.
16176         * math/s_fdimf.c (__fdimf): Likewise.
16177         * math/s_fdiml.c (__fdiml): Likewise.
16178         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16179         errno is unchanged.
16180
16181 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16182
16183         * argp/argp-help.c: Fix typos.
16184         * crypt/speeds.c: Likewise.
16185         * csu/check_fds.c: Likewise.
16186         * elf/dl-load.c: Likewise.
16187         * elf/dl-open.c: Likewise.
16188         * elf/reldep3.c: Likewise.
16189         * elf/reldep.c: Likewise.
16190         * elf/sprof.c: Likewise.
16191         * iconv/iconv_charmap.c: Likewise.
16192         * iconv/skeleton.c: Likewise.
16193         * iconv/strtab.c: Likewise.
16194         * io/lockf64.c: Likewise.
16195         * libio/libioP.h: Likewise.
16196         * resolv/gai_notify.c: Likewise.
16197         * resolv/ns_name.c: Likewise.
16198         * resolv/ns_samedomain.c: Likewise.
16199         * resolv/res_send.c: Likewise.
16200         * stdlib/random.c: Likewise.
16201         * sunrpc/rpc/xdr.h: Likewise.
16202         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16203         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16204         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16205         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16206         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16207         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16208         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16209         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16210         * sysdeps/mach/hurd/check_fds.c: Likewise.
16211         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16212         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16213         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16214         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16215         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16216         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16217         * sysdeps/pthread/aio_notify.c: Likewise.
16218         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16219         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16220         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16221         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16222         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16223
16224 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16225
16226         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16227         version if bit_Slow_SSE4_2 is set.
16228         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16229         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16230
16231 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16232
16233         [BZ #15867]
16234         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16235         trampoline stack frame information.
16236         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16237         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16238         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16239         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16240         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16241         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16242         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16243         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16244         sa_flags value.
16245         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16246         interrupting a syscall and set with option SA_SIGINFO.
16247
16248 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16249
16250         [BZ #15531]
16251         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16252         argument is infinite.
16253         * math/s_cprojf.c (__cprojf): Likewise.
16254         * math/s_cprojl.c (__cprojl): Likewise.
16255         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16256         * math/libm-test.inc (cproj_test_data): Add more tests.
16257
16258         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16259
16260         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16261         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16262         size.  Use __ffs to determine corresponding shift.
16263
16264 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16265             Roland McGrath  <roland@hack.frob.com>
16266
16267         * Makefile (INSTALL): Remove trailing blank lines from output of
16268         makeinfo.
16269
16270 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16271
16272         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16273         Align 32 bit compat elf_greg to 8 bytes.
16274
16275 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16276
16277         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16278
16279 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16280
16281         * string/strcoll_l.c (coll_seq): New structure.
16282         (get_next_seq_cached): New function.
16283         (get_next_seq): New function.
16284         (do_compare): New function.
16285         (STRCOLL): Use GNU style definition.  Simplify implementation
16286         by using get_next_seq, get_next_seq_cached and do_compare.
16287
16288 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16289
16290         [BZ #14699]
16291         CVE-2013-4237
16292         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16293         member.
16294         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16295         member.
16296         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16297         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16298         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16299         conditional.
16300         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16301         GETDENTS_64BIT_ALIGNED.
16302         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16303         * manual/filesys.texi (Reading/Closing Directory): Document
16304         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16305         strongly.
16306         * manual/conf.texi (Limits for Files): Add portability note to
16307         NAME_MAX, PATH_MAX.
16308         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16309
16310 2013-08-13  Andreas Schwab  <schwab@suse.de>
16311
16312         [BZ #15749]
16313         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16314         of fabs.
16315         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16316         LDBL_MAX_EXP >= 16384]: Add tests for it.
16317
16318 2013-08-12  David S. Miller  <davem@davemloft.net>
16319
16320         * version.h (RELEASE): Set to "development".
16321         (VERSION): Set to "2.18.90".
16322         * NEWS: Add 2.19 section.
16323
16324 2013-08-03  David S. Miller  <davem@davemloft.net>
16325
16326         * po/ko.po: Update Korean translation from translation project.
16327
16328 2013-08-01  David S. Miller  <davem@davemloft.net>
16329
16330         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16331         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16332         Bilka.
16333
16334 2013-07-30  David S. Miller  <davem@davemloft.net>
16335
16336         * po/fr.po: Update French translation from translation project.
16337
16338 2013-07-28  David S. Miller  <davem@davemloft.net>
16339
16340         * po/cs.po: Update Czech translation from translation project.
16341
16342         * po/sv.po: Update Swedish translation from translation project.
16343
16344 2013-07-27  David S. Miller  <davem@davemloft.net>
16345
16346         * po/eo.po: Update Esperanto translation from translation project.
16347
16348         * po/vi.po: Update Vietnamese translation from translation project.
16349
16350         * po/de.po: Update German translation from translation project.
16351
16352 2013-07-26  David S. Miller  <davem@davemloft.net>
16353
16354         * po/bg.po: Update Bulgarian translation from translation project.
16355
16356         * po/nl.po: Update Dutch translation from translation project.
16357         * po/pl.po: Update Polish translation from translation project.
16358         * po/ru.po: Update Russian translation from translation project.
16359
16360 2013-07-24  David S. Miller  <davem@davemloft.net>
16361
16362         * po/libc.pot: Update.
16363
16364 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16365
16366         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16367         variable page size.
16368         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16370         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16371
16372 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16373
16374         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16375
16376 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16377             Andreas Schwab  <schwab@suse.de>
16378             Roland McGrath  <roland@hack.frob.com>
16379             Joseph Myers  <joseph@codesourcery.com>
16380             Carlos O'Donell  <carlos@redhat.com>
16381
16382         [BZ #15755]
16383         * config.h.in: Define HAVE_PT_CHOWN.
16384         * config.make.in (build-pt-chown): New variable.
16385         * configure.in (--enable-pt_chown): New configure option.
16386         * configure: Regenerate.
16387         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16388         build-pt-chown is enabled.
16389         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16390         pt_chown to fix pty ownership.
16391         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16392         CLOSE_ALL_FDS.
16393         * manual/install.texi (Configuring and compiling): Mention
16394         --enable-pt_chown. Add @findex for grantpt.
16395         * INSTALL: Regenerate.
16396
16397 2013-07-20  David S. Miller  <davem@davemloft.net>
16398
16399         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16400         difference between 32-bit and 64-bit.
16401
16402 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16403
16404         [BZ #15711]
16405         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16406         Avoid system header dependency with -ffreestanding.
16407         ($(objpfx)bits/syscall%d): Likewise.
16408
16409 2013-07-13  David S. Miller  <davem@davemloft.net>
16410
16411         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16412         underflows from atanl/atan2l due to bug 15319.
16413         (casinh_test_data): Likewise.
16414
16415 2013-07-07  David S. Miller  <davem@davemloft.net>
16416
16417         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16418
16419 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16420
16421         * sysdeps/i386/fpu/libm-test-ulps: Update.
16422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16423
16424 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16425
16426         * configure.in (--enable-lock-elision): Fix message text.
16427         * INSTALL: Regenerate.
16428         * configure: Regenerate.
16429
16430 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16431
16432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16433
16434 2013-07-03  Andreas Jaeger  <aj@suse.de>
16435
16436         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16437         define.
16438         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16439         (ptrace_peeksiginfo_args): Add.
16440         (__ptrace_peeksiginfo_flags): Add.
16441         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16442         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16443         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16444
16445 2013-07-03  Allan McRae  <allan@archlinux.org>
16446
16447         * sysdeps/i386/fpu/libm-test-ulps: Update.
16448
16449 2013-07-02  David S. Miller  <davem@davemloft.net>
16450
16451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16452
16453 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16454
16455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16456
16457 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16458
16459         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16461
16462 2013-07-02  Andi Kleen <ak@linux.intel.com>
16463
16464         * config.h.in (ENABLE_LOCK_ELISION): Add.
16465         * configure.in (--enable-lock-elision): Add option.
16466         * manual/install.texi: Document --enable lock elision.
16467         * configure: Regenerate
16468         * INSTALL: Regenerate.
16469
16470 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16471
16472         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16473         SSE4.2 strcasecmp for libc.a.
16474         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16475
16476 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16477
16478         [BZ #13304]
16479         * soft-fp/op-common.h (_FP_FMA): New macro.
16480         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16481         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16482         (_FP_MUL_MEAT_1_imm): ... here.
16483         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16484         (_FP_MUL_MEAT_1_wide): ... here.
16485         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16486         (_FP_MUL_MEAT_1_hard): ... here.
16487         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16488         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16489         (_FP_MUL_MEAT_2_wide): ... here.
16490         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16491         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16492         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16493         (_FP_MUL_MEAT_2_gmp): ... here.
16494         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16495         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16496         (_FP_MUL_MEAT_4_wide): ... here.
16497         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16498         (_FP_MUL_MEAT_4_gmp): ... here.
16499         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16500         (_FP_WFRACBITS_DW_S): Likewise.
16501         (_FP_WFRACXBITS_DW_S): Likewise.
16502         (_FP_HIGHBIT_DW_S): Likewise.
16503         (FP_FMA_S): Likewise.
16504         (_FP_FRAC_HIGH_DW_S): Likewise.
16505         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16506         (_FP_WFRACBITS_DW_D): Likewise.
16507         (_FP_WFRACXBITS_DW_D): Likewise.
16508         (_FP_HIGHBIT_DW_D): Likewise.
16509         (FP_FMA_D): Likewise.
16510         (_FP_FRAC_HIGH_DW_D): Likewise.
16511         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16512         (_FP_WFRACBITS_DW_E): Likewise.
16513         (_FP_WFRACXBITS_DW_E): Likewise.
16514         (_FP_HIGHBIT_DW_E): Likewise.
16515         (FP_FMA_E): Likewise.
16516         (_FP_FRAC_HIGH_DW_E): Likewise.
16517         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16518         (_FP_WFRACBITS_DW_Q): Likewise.
16519         (_FP_WFRACXBITS_DW_Q): Likewise.
16520         (_FP_HIGHBIT_DW_Q): Likewise.
16521         (FP_FMA_Q): Likewise.
16522         (_FP_FRAC_HIGH_DW_Q): Likewise.
16523         * soft-fp/fmasf4.c: New file.
16524         * soft-fp/fmadf4.c: Likewise.
16525         * soft-fp/fmatf4.c: Likewise.
16526
16527 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16528
16529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16530         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16531         Silvermont.
16532         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16533         macro.
16534         (index_Slow_SSE4_2): Likewise.
16535         (index_Prefer_PMINUB_for_stringop): Likewise.
16536         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16537         bit_Slow_SSE4_2 is set.
16538         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16539         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16540
16541 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16542
16543         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16544         rtld_global._dl_hwcap2.
16545         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16546         POWER8.
16547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16548         POWER8 feature descriptions defined in _dl_hwcap2.
16549         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16550         string handling for POWER8 feature bits.
16551         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16552         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16553         _dl_powerpc_cap_flags.
16554         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16555         * sysdeps/powerpc/rtld-global-offsets.sym
16556         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16557         _dl_hwcap2 in the rtld_global_ro structure.
16558
16559 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16560
16561         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16562         hardware capabilities in support of AT_HWCAP2.
16563         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16564         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16565         GLRO(dl_hwcap2).
16566         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16567         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16568         explicitly the unknown a_type display mechanism is used.
16569         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16570         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16571         struct member.
16572         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16573         to macro prototype for AT_HWCAP2 support.
16574         * sysdeps/i386/dl-procinfo.h: Likewise.
16575         * sysdeps/s390/dl-procinfo.h: Likewise.
16576         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16577         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16578         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16579         return -1 for unknown a_type display fallback.
16580         * sysdeps/sparc/dl-procinfo.h: Likewise.
16581         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16582         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16583
16584 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16585
16586         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16587         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16588
16589 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16590
16591         [BZ #12492]
16592         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16593         mprotect making __stack_prot writable.
16594
16595 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16596             Joseph Myers  <joseph@codesourcery.com>
16597
16598         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16599         as being properly aligned.
16600
16601 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16602
16603         * dlfcn/modstatic5.c: New file.
16604         * dlfcn/tststatic5.c: New file.
16605         * dlfcn/Makefile (tests): Add tststatic5.
16606         (tests-static): Likewise.
16607         (modules-names): Add modstatic5.
16608         (tststatic5-ENV): New variable.
16609         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16610
16611         [BZ #15022]
16612         * elf/dl-support.c (_dl_main_map): New variable.
16613         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16614         (_dl_nns, _dl_load_adds): Set to 1.
16615         (_dl_initial_searchlist): Refer to _dl_main_map.
16616         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16617         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16618         call to _dl_get_origin.
16619         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16620         around call_map.
16621         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16622         * dlfcn/modstatic3.c: New file.
16623         * dlfcn/tststatic3.c: New file.
16624         * dlfcn/tststatic4.c: New file.
16625         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16626         (tests-static): Likewise.
16627         (modules-names): Add modstatic3.
16628         (tststatic3-ENV, tststatic4-ENV): New variables.
16629         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16630         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16631
16632 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16633
16634         * configure.in (CC): Require GCC version 4.4 or later.
16635         * configure: Regenerated.
16636         * manual/install.texi (Tools for Compilation): Update GCC version
16637         requirement.
16638         * INSTALL: Regenerated.
16639
16640 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16641
16642         [BZ #15674]
16643         * string/test-memcmp.c (check2): New.
16644         (main): Call check2.
16645
16646         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16647
16648 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16649
16650         [BZ #15022]
16651         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16652         over to...
16653         (dl_open_worker) [!SHARED]: ... here.
16654
16655 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16656
16657         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16658
16659 2013-06-25  Richard Henderson  <rth@redhat.com>
16660
16661         * locale/programs/locarchive.c: Include <libc-internal.h>
16662
16663 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16664
16665         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16666         trailing whitespace removed.
16667
16668 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16669
16670         [BZ #10283]
16671         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16672         * locale/programs/locarchive.c: Include libc-mmap.h.
16673         (prepare_address_space): Take two new outputs (the mmap base and len).
16674         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16675         values.
16676         (create_archive): Declare new mmap base and len values for
16677         prepare_address_space, and store the result in ah.
16678         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16679         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16680         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16681         Declare new mmap base and len values for
16682         prepare_address_space, and store the result in new_ah.
16683         (open_archive): Declare new mmap base and len values for
16684         prepare_address_space, and store the result in ah.
16685         (close_archive): If ah->mmap_base is not NULL, use that and
16686         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16687         * sysdeps/generic/libc-mmap.h: New file.
16688
16689 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16690
16691         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16692         (ALIGN_UP): Likewise.
16693         (PTR_ALIGN_DOWN): Likewise.
16694         (PTR_ALIGN_UP): Likewise.
16695
16696 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16697
16698         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16699         entry mapped to PPC_PLATFORM_POWER8.
16700         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16701         POWER8.
16702         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16703         (_dl_string_platform): Add case for exporting platform position for
16704         POWER8.
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16706         search path to sysdeps/powerpc/powerpc32/power8 directory.
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16708         search path to sysdeps/powerpc/powerpc64/power8 directory.
16709         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16710         power7 directories.
16711         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16712         power7 directories.
16713
16714 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16715
16716         * INSTALL: Regenerate.
16717
16718         * nscd/connections.c (nscd_init): Fix comment.
16719
16720 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16721
16722         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16723
16724         [BZ #15667]
16725         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16726         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16727
16728 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16729
16730         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16731         DL_DST_REQ_STATIC.
16732         (DL_DST_REQ_STATIC): Remove macro.
16733
16734 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16735
16736         [BZ #7006]
16737         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16738         with a shift of 0 bits.
16739
16740 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16741
16742         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16743         $(tststatic-ENV).
16744
16745 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16746
16747         [BZ #15655]
16748         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16749
16750 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16751
16752         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16753         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16754         accepts -fno-tree-loop-distribute-patterns.
16755         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16756         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16757         recursive call.
16758         * string/memset.c (memset): Likewise.
16759         * string/test-memmove.c (simple_memmove): Disable loop transformation
16760         to library calls.
16761         * string/test-memset.c (simple_memset): Likewise.
16762         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16763         * benchtests/bench-memset.c (simple_memset): Likewise.
16764         * configure: Regenerated.
16765
16766 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16767
16768         * math/test-misc.c (main): Ignore fesetround failure when failures
16769         of subsequent rounding tests would be ignored.
16770
16771         [BZ #15654]
16772         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16773         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16774         * math/fegetenv.c (__fegetenv): Return 0.
16775         * math/fegetexcept.c (fegetexcept): Return 0.
16776         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16777         FE_TONEAREST.
16778         * math/feholdexcpt.c (feholdexcept): Return 0.
16779         * math/fesetenv.c (__fesetenv): Return 0.
16780         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16781         argument FE_TONEAREST.
16782         * math/feupdateenv.c (__feupdateenv): Return 0.
16783         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16784
16785 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16786
16787         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16788         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16789         ($(objpfx)rtld-%.os rules): Use them.
16790
16791 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16792
16793         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16794         fields.
16795
16796 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16797
16798         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16799         length of target pattern, then descending length of dependency pattern.
16800         * configure.in (AWK): Require gawk 3.1.2 or newer.
16801         * manual/install.texi (Tools for Compilation): Say that we do.
16802         * configure: Regenerated.
16803
16804         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16805         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16806         * scripts/sysd-rules.awk: ... this new script.
16807         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16808         than a glob-style pattern.
16809
16810 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16811
16812         * math/test-misc.c (main): Do not treat incorrectly rounded
16813         conversions as failure unless ROUNDING_TESTS passes.
16814
16815 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16816
16817         [BZ #15631]
16818         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16819         restore exception state around main square root computation, then
16820         check for inexactness explicitly.
16821
16822         * math/libm-test.inc (fma_test_data): Add another test.
16823
16824 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16825
16826         * manual/threads.texi (Non-POSIX Extensions): New document
16827         node.  Document pthread_getattr_default_np and
16828         pthread_setattr_default_np.
16829
16830         * Versions.def (libpthread): Add GLIBC_2.18.
16831         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16833         Likewise.
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16835         Likewise.
16836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16837         Likewise.
16838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16839         Likewise.
16840         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16841         Likewise.
16842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16843         Likewise.
16844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16845         Likewise.
16846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16847         Likewise.
16848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16849         Likewise.
16850
16851 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16852
16853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16854         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16855
16856 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16857             H.J. Lu  <hjl.tools@gmail.com>
16858
16859         [BZ #15627]
16860         * sysdeps/x86_64/rtld-memset.c: Remove file.
16861         * sysdeps/x86_64/rtld-memset.S: New file.
16862
16863 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16864
16865         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16866         (test_in_one_mode): Take arguments for whether the rounding mode
16867         is supported for each floating-point type.
16868         (do_test): Pass new arguments to test_in_one_mode using
16869         ROUNDING_TESTS.
16870
16871 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16872
16873         * posix/tst-waitid.c (do_test): Distinguish different instances of
16874         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16875         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16876         before entering the kernel for waitpid.
16877
16878 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16879
16880         * NEWS: Fix note on clock function precision.  Text by Roland
16881         McGrath.
16882
16883 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16884
16885         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16886         it into place only when and if the sanity check passes.
16887
16888 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16889
16890         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16891         output for whether conversion result is exact.  Take argument
16892         indicating whether type is IBM long double.
16893         (round_for_all): Change need_exact field to ibm_ld.
16894         * stdlib/tst-strtod-round.c (struct exactness): New type.
16895         (struct test): Change bool ld_ok field to struct exactness exact.
16896         (TEST): Update all definitions for change to field.
16897         (tests): Regenerate array contents.
16898         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16899         field value.  Check for IBM long double here.
16900         (do_test): Update calls to test_in_one_mode.
16901
16902 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16903
16904         [BZ #12515]
16905         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16906         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16907
16908 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16909
16910         [BZ #15605]
16911         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16912         generated by the compiler on loop optimizations.
16913         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16914         general definitions.
16915
16916 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16917
16918         * math/bug-nextafter.c: Include <math-tests.h>.
16919         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16920         the relevant type.
16921         * math/bug-nexttoward.c: Include <math-tests.h>.
16922         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16923         the relevant type.
16924         * math/test-misc.c: Include <math-tests.h>.
16925         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16926         the relevant type.
16927
16928 2013-06-12  Andreas Jaeger  <aj@suse.de>
16929
16930         * po/ia.po: Update Interlingua translation from translation
16931         project.
16932
16933 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16934
16935         * include/fenv.h: Include stdbool.h.
16936         (struct rm_ctx): New structure.
16937         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16938         Define macro.
16939         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16940         (SET_RESTORE_ROUNDF): Likewise.
16941         (SET_RESTORE_ROUNDL): Likewise.
16942         (SET_RESTORE_ROUND_NOEX): Likewise.
16943         (SET_RESTORE_ROUND_NOEXF): Likewise.
16944         (SET_RESTORE_ROUND_NOEXL): Likewise.
16945         (SET_RESTORE_ROUND_53BIT): Likewise.
16946         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16947         (libc_feresetround_noexf_ctx): Likewise.
16948         (libc_feresetround_noexl_ctx): Likewise.
16949         (libc_feholdsetround_53bit_ctx): Likewise.
16950         (libc_feresetround_53bit_ctx): Likewise.
16951         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16952         (libc_feholdexcept_setround_sse_ctx): New function.
16953         (libc_fesetenv_sse_ctx): Likewise.
16954         (libc_feupdateenv_sse_ctx): Likewise.
16955         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16956         (libc_feholdexcept_setround_387_ctx): Likewise.
16957         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16958         (libc_feholdsetround_387_prec_ctx): Likewise.
16959         (libc_feholdsetround_387_ctx): Likewise.
16960         (libc_feholdsetround_387_53bit_ctx): Likewise.
16961         (libc_feholdsetround_sse_ctx): Likewise.
16962         (libc_feresetround_sse_ctx): Likewise.
16963         (libc_feresetround_387_ctx): Likewise.
16964         (libc_feupdateenv_387_ctx): Likewise.
16965         (libc_feholdexcept_setroundf_ctx): Define macro.
16966         (libc_fesetenvf_ctx): Likewise.
16967         (libc_feupdateenvf_ctx): Likewise.
16968         (libc_feholdsetroundf_ctx): Likewise.
16969         (libc_feresetroundf_ctx): Likewise.
16970         (libc_feholdexcept_setround_ctx): Likewise.
16971         (libc_fesetenv_ctx): Likewise.
16972         (libc_feupdateenv_ctx): Likewise.
16973         (libc_feholdsetround_ctx): Likewise.
16974         (libc_feresetround_ctx): Likewise.
16975         (libc_feholdexcept_setroundl_ctx): Likewise.
16976         (libc_feupdateenvl_ctx): Likewise.
16977         (libc_feholdsetroundl_ctx): Likewise.
16978         (libc_feresetroundl_ctx): Likewise.
16979         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16980         (libc_feresetround_53bit_ctx): Likewise.
16981
16982 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16983
16984         * locale/iso-639.def: Convert to UTF-8.
16985
16986 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16987
16988         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16989         (EXCEPTION_TESTS_double): Likewise.
16990         (EXCEPTION_TESTS_long_double): Likewise.
16991         (EXCEPTION_TESTS): Likewise.
16992         * math/libm-test.inc (test_exceptions): Only test exceptions if
16993         EXCEPTION_TESTS (FLOAT).
16994
16995 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16996
16997         * benchtests/Makefile (string-bench): Add strcpy_chk and
16998         stpcpy_chk.
16999         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17000         * benchtests/bench-stpcpy_chk.c: New file.
17001         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17002         * benchtests/bench-strcpy_chk.c: New file.
17003         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17004         code.
17005         (do_test): Likewise.
17006
17007 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17008
17009         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17010         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17011         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17012         with tabs where appropriate.
17013         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17014         dl-procinfo.h.
17015         [PPC_PLATFORM_PPC440]: Likewise.
17016         [PPC_PLATFORM_PPC464]: Likewise.
17017         [PPC_PLATFORM_PPC476]: Likewise.
17018         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17019         ppc464, and ppc476 platform strings merging from ports/
17020         dl-procinfo.h.
17021
17022 2013-06-11  Andreas Schwab  <schwab@suse.de>
17023
17024         [BZ #14991]
17025         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17026         (from_ucs4_idx): Regenerate.
17027         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17028         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17029         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17030         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17031         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17032         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17033         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17034         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17035         from FROM_LOOP and TO_LOOP specific macros.
17036         (BODY): Handle combining characters.
17037         * iconvdata/BIG5HKSCS.irreversible: Update.
17038         * iconvdata/BIG5HKSCS.precomposed: New file.
17039         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17040         characters.
17041         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17042
17043 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17044
17045         * include/sys/time.h: Fix indentation and add copyright header.
17046
17047         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17048         (do_test): Likewise.
17049         * string/test-memchr.c (do_one_test): Likewise.
17050         (do_test): Likewise.
17051         * string/test-memcmp.c (do_one_test): Likewise.
17052         (do_test): Likewise.
17053         * string/test-memcpy.c (do_one_test): Likewise.
17054         (do_test): Likewise.
17055         * string/test-memmem.c (do_one_test): Likewise.
17056         (do_test): Likewise.
17057         (do_random_tests): Likewise.
17058         * string/test-memmove.c (do_one_test): Likewise.
17059         (do_test): Likewise.
17060         * string/test-memset.c (do_one_test): Likewise.
17061         (do_test): Likewise.
17062         * string/test-rawmemchr.c (do_one_test): Likewise.
17063         (do_test): Likewise.
17064         * string/test-strcasecmp.c (do_one_test): Likewise.
17065         (do_test): Likewise.
17066         * string/test-strcasestr.c (do_one_test): Likewise.
17067         (do_test): Likewise.
17068         * string/test-strcat.c (do_one_test): Likewise.
17069         (do_test): Likewise.
17070         * string/test-strchr.c (do_one_test): Likewise.
17071         (do_test): Likewise.
17072         * string/test-strcmp.c (do_one_test): Likewise.
17073         (do_test): Likewise.
17074         * string/test-strcpy.c (do_one_test): Likewise.
17075         (do_test): Likewise.
17076         * string/test-string.h: Likewise.
17077         (test_init): Likewise.
17078         * string/test-strlen.c (do_one_test): Likewise.
17079         (do_test): Likewise.
17080         * string/test-strncasecmp.c (do_one_test): Likewise.
17081         (do_test): Likewise.
17082         * string/test-strncat.c (do_one_test): Likewise.
17083         (do_test): Likewise.
17084         * string/test-strncmp.c (do_one_test): Likewise.
17085         (do_test_limit): Likewise.
17086         (do_test): Likewise.
17087         * string/test-strncpy.c (do_one_test): Likewise.
17088         (do_test): Likewise.
17089         * string/test-strnlen.c (do_one_test): Likewise.
17090         (do_test): Likewise.
17091         * string/test-strpbrk.c (do_one_test): Likewise.
17092         (do_test): Likewise.
17093         * string/test-strrchr.c (do_one_test): Likewise.
17094         (do_test): Likewise.
17095         * string/test-strspn.c (do_one_test): Likewise.
17096         (do_test): Likewise.
17097         * string/test-strstr.c (do_one_test): Likewise.
17098         (do_test): Likewise.
17099
17100         * benchtests/Makefile (string-bench): Add string benchmarks.
17101         * benchtests/bench-bcopy-ifunc.c: New file.
17102         * benchtests/bench-bcopy.c: New file.
17103         * benchtests/bench-bzero-ifunc.c: New file.
17104         * benchtests/bench-bzero.c: New file.
17105         * benchtests/bench-memccpy-ifunc.c: New file.
17106         * benchtests/bench-memccpy.c: New file.
17107         * benchtests/bench-memchr-ifunc.c: New file.
17108         * benchtests/bench-memchr.c: New file.
17109         * benchtests/bench-memcmp-ifunc.c: New file.
17110         * benchtests/bench-memcmp.c: New file.
17111         * benchtests/bench-memmem-ifunc.c: New file.
17112         * benchtests/bench-memmem.c: New file.
17113         * benchtests/bench-memmove-ifunc.c: New file.
17114         * benchtests/bench-memmove.c: New file.
17115         * benchtests/bench-mempcpy-ifunc.c: New file.
17116         * benchtests/bench-mempcpy.c: New file.
17117         * benchtests/bench-memset-ifunc.c: New file.
17118         * benchtests/bench-memset.c: New file.
17119         * benchtests/bench-rawmemchr-ifunc.c: New file.
17120         * benchtests/bench-rawmemchr.c: New file.
17121         * benchtests/bench-stpcpy-ifunc.c: New file.
17122         * benchtests/bench-stpcpy.c: New file.
17123         * benchtests/bench-stpncpy-ifunc.c: New file.
17124         * benchtests/bench-stpncpy.c: New file.
17125         * benchtests/bench-strcasecmp-ifunc.c: New file.
17126         * benchtests/bench-strcasecmp.c: New file.
17127         * benchtests/bench-strcasestr-ifunc.c: New file.
17128         * benchtests/bench-strcasestr.c: New file.
17129         * benchtests/bench-strcat-ifunc.c: New file.
17130         * benchtests/bench-strcat.c: New file.
17131         * benchtests/bench-strchr-ifunc.c: New file.
17132         * benchtests/bench-strchr.c: New file.
17133         * benchtests/bench-strchrnul-ifunc.c: New file.
17134         * benchtests/bench-strchrnul.c: New file.
17135         * benchtests/bench-strcmp-ifunc.c: New file.
17136         * benchtests/bench-strcmp.c: New file.
17137         * benchtests/bench-strcpy-ifunc.c: New file.
17138         * benchtests/bench-strcpy.c: New file.
17139         * benchtests/bench-strcspn-ifunc.c: New file.
17140         * benchtests/bench-strcspn.c: New file.
17141         * benchtests/bench-strlen-ifunc.c: New file.
17142         * benchtests/bench-strlen.c: New file.
17143         * benchtests/bench-strncasecmp-ifunc.c: New file.
17144         * benchtests/bench-strncasecmp.c: New file.
17145         * benchtests/bench-strncat-ifunc.c: New file.
17146         * benchtests/bench-strncat.c: New file.
17147         * benchtests/bench-strncmp-ifunc.c: New file.
17148         * benchtests/bench-strncmp.c: New file.
17149         * benchtests/bench-strncpy-ifunc.c: New file.
17150         * benchtests/bench-strncpy.c: New file.
17151         * benchtests/bench-strnlen-ifunc.c: New file.
17152         * benchtests/bench-strnlen.c: New file.
17153         * benchtests/bench-strpbrk-ifunc.c: New file.
17154         * benchtests/bench-strpbrk.c: New file.
17155         * benchtests/bench-strrchr-ifunc.c: New file.
17156         * benchtests/bench-strrchr.c: New file.
17157         * benchtests/bench-strspn-ifunc.c: New file.
17158         * benchtests/bench-strspn.c: New file.
17159         * benchtests/bench-strstr-ifunc.c: New file.
17160         * benchtests/bench-strstr.c: New file.
17161
17162         * benchtests/Makefile: Disable parallel execution of targets.
17163         (string-bench): Add memcpy.
17164         (benchset): New variable to store a list of benchmark sets.
17165         (bench-func): Renamed from bench.
17166         (bench-set): New target.
17167         (bench): Depend on bench-func and bench-set.
17168         * benchtests/README: Add section on benchmark sets.
17169         * benchtests/bench-memcpy-ifunc.c: New file.
17170         * benchtests/bench-memcpy.c: New file.
17171         * benchtests/bench-string.h: New file.
17172
17173 2013-06-11  Andreas Schwab  <schwab@suse.de>
17174
17175         [BZ #15577]
17176         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17177         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17178         values in the triple.
17179         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17180         terminator in the group key.
17181
17182 2013-06-11  Andreas Jaeger  <aj@suse.de>
17183
17184         * po/zh_TW.po: Update Chinese (traditional) translation from
17185         translation project.
17186
17187 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17188
17189         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17190         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17191         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17192         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17193         (clock_getcpuclockid): Likewise.
17194         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17195         Add weak_alias and libc_hidden_def.
17196         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17197         * rt/clock_gettime.c (clock_gettime): Rename to
17198         __clock_gettime.  Add weak_alias and libc_hidden_def.
17199         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17200         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17201         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17202         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17203         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17204         Likewise.
17205         * rt/clock_settime.c (clock_settime): Rename to
17206         __clock_settime.  Add weak_alias and libc_hidden_def.
17207         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17208
17209 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17210
17211         * mach/err_boot.sub: Remove trailing whitespace.
17212         * mach/err_ipc.sub: Likewise.
17213         * mach/err_mach.sub: Likewise.
17214
17215         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17216         (ROUNDING_TESTS_double): Likewise.
17217         (ROUNDING_TESTS_long_double): Likewise.
17218         (ROUNDING_TESTS): Likewise.
17219         * math/libm-test.inc: Include <math-tests.h>.
17220         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17221         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17222         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17223         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17224
17225 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17226
17227         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17228         of assigning.
17229
17230 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17231
17232         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17233         otherwise empty TRANS lines.
17234         * sysdeps/gnu/errlist.c: Regenerated.
17235
17236         * catgets/gencat.c (error_print): Use (void) in function
17237         definition.
17238         * crypt/crypt_util.c (__init_des): Likewise.
17239         * crypt/speeds.c (Stop): Likewise.
17240         (main): Likewise.
17241         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17242         * inet/ruserpass.c (token): Likewise.
17243         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17244         * intl/localealias.c (extend_alias_table): Likewise.
17245         * intl/plural-exp.c (init_germanic_plural): Likewise.
17246         * libio/fcloseall.c (__fcloseall): Likewise.
17247         * libio/genops.c (_IO_flush_all): Likewise.
17248         (_IO_flush_all_linebuffered): Likewise.
17249         (_IO_cleanup): Likewise.
17250         (_IO_iter_begin): Likewise.
17251         (_IO_iter_end): Likewise.
17252         (_IO_list_lock): Likewise.
17253         (_IO_list_unlock): Likewise.
17254         (_IO_list_resetlock): Likewise.
17255         * libio/getchar.c (getchar): Likewise.
17256         * libio/getchar_u.c (getchar_unlocked): Likewise.
17257         * libio/getwchar.c (getwchar): Likewise.
17258         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17259         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17260         * login/getpt.c (__getpt): Likewise.
17261         * login/tst-utmp.c (main): Likewise.
17262         * malloc/hooks.c (__malloc_check_init): Likewise.
17263         * malloc/malloc.c (__malloc_stats): Likewise.
17264         * malloc/mtrace.c (tr_break): Likewise.
17265         (mtrace): Likewise.
17266         (muntrace): Likewise.
17267         * misc/fstab.c (endfsent): Likewise.
17268         * misc/getclktck.c (__getclktck): Likewise.
17269         * misc/getdtsz.c (__getdtablesize): Likewise.
17270         * misc/gethostid.c (gethostid): Likewise.
17271         * misc/getpagesize.c (__getpagesize): Likewise.
17272         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17273         (__get_nprocs): Likewise.
17274         (__get_phys_pages): Likewise.
17275         (__get_avphys_pages): Likewise.
17276         * misc/getttyent.c (getttyent): Likewise.
17277         (setttyent): Likewise.
17278         (endttyent): Likewise.
17279         * misc/getusershell.c (getusershell): Likewise.
17280         (endusershell): Likewise.
17281         (setusershell): Likewise.
17282         (initshells): Likewise.
17283         * misc/hsearch.c (__hdestroy): Likewise.
17284         * misc/sync.c (sync): Likewise.
17285         * misc/syslog.c (closelog_internal): Likewise.
17286         (closelog): Likewise.
17287         * misc/ttyslot.c (ttyslot): Likewise.
17288         * misc/vhangup.c (vhangup): Likewise.
17289         * posix/fork.c (__fork): Likewise.
17290         * posix/getegid.c (__getegid): Likewise.
17291         * posix/geteuid.c (__geteuid): Likewise.
17292         * posix/getgid.c (__getgid): Likewise.
17293         * posix/getpid.c (__getpid): Likewise.
17294         * posix/getppid.c (__getppid): Likewise.
17295         * posix/getuid.c (__getuid): Likewise.
17296         * posix/pause.c (pause): Likewise.
17297         * posix/setpgrp.c (setpgrp): Likewise.
17298         * posix/setsid.c (__setsid): Likewise.
17299         * posix/test-vfork.c (noop): Likewise.
17300         * resolv/gethnamaddr.c (_endhtent): Likewise.
17301         (_gethtent): Likewise.
17302         (ht_endhostent): Likewise.
17303         (gethostent): Likewise.
17304         (dns_service): Likewise.
17305         * stdlib/drand48.c (drand48): Likewise.
17306         * stdlib/lrand48.c (lrand48): Likewise.
17307         * stdlib/mrand48.c (mrand48): Likewise.
17308         * stdlib/rand.c (rand): Likewise.
17309         * stdlib/random.c (__random): Likewise.
17310         * stdlib/setenv.c (clearenv): Likewise.
17311         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17312         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17313         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17314         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17315         (__get_nprocs): Likewise.
17316         (__get_phys_pages): Likewise.
17317         (__get_avphys_pages): Likewise.
17318         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17319         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17320         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17321         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17322         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17323         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17324         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17325         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17326         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17327         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17328         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17329         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17330         * sysdeps/posix/clock.c (clock): Likewise.
17331         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17332         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17333         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17334         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17335         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17336         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17337         (__get_nprocs_conf): Likewise.
17338         (__get_phys_pages): Likewise.
17339         (__get_avphys_pages): Likewise.
17340         * time/clock.c (clock): Likewise.
17341         * time/tzset.c (__tzname_max): Likewise.
17342
17343 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17344
17345         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17346         (__bswap_32): Do not use "register".
17347         * crypt/crypt.c (_ufc_doit_r): Likewise.
17348         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17349         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17350         * gmon/gmon.c (__monstartup): Likewise.
17351         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17352         * hurd/hurdmalloc.c (more_memory): Likewise.
17353         (malloc): Likewise.
17354         (free): Likewise.
17355         (realloc): Likewise.
17356         (malloc_fork_prepare): Likewise.
17357         (malloc_fork_parent): Likewise.
17358         (malloc_fork_child): Likewise.
17359         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17360         (_svcauth_des): Likewise.
17361         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17362         * inet/inet_net.c (inet_network): Likewise.
17363         * inet/inet_netof.c (inet_netof): Likewise.
17364         * inet/rcmd.c (__validuser2_sa): Likewise.
17365         * io/fts.c (fts_open): Likewise.
17366         (fts_load): Likewise.
17367         (fts_close): Likewise.
17368         (fts_read): Likewise.
17369         (fts_children): Likewise.
17370         (fts_build): Likewise.
17371         (fts_stat): Likewise.
17372         (fts_sort): Likewise.
17373         (fts_alloc): Likewise.
17374         (fts_lfree): Likewise.
17375         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17376         (_IO_file_xsgetn): Likewise.
17377         (_IO_file_xsgetn_mmap): Likewise.
17378         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17379         (_IO_cookie_write): Likewise.
17380         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17381         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17382         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17383         * malloc/obstack.c (_obstack_begin): Likewise.
17384         (_obstack_begin_1): Likewise.
17385         (_obstack_newchunk): Likewise.
17386         (_obstack_allocated_p): Likewise.
17387         (obstack_free): Likewise.
17388         (_obstack_memory_used): Likewise.
17389         * misc/getttyent.c (getttynam): Likewise.
17390         (getttyent): Likewise.
17391         (skip): Likewise.
17392         (value): Likewise.
17393         * misc/getusershell.c (initshells): Likewise.
17394         * misc/syslog.c (__vsyslog_chk): Likewise.
17395         * misc/ttyslot.c (ttyslot): Likewise.
17396         * nis/nis_hash.c (__nis_hash): Likewise.
17397         * posix/fnmatch_loop.c (FCT): Likewise.
17398         * posix/getconf.c (print_all): Likewise.
17399         (main): Likewise.
17400         * posix/getopt.c (exchange): Likewise.
17401         * posix/glob.c (globfree): Likewise.
17402         (prefix_array): Likewise.
17403         (__glob_pattern_type): Likewise.
17404         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17405         (NS_GET32): Likewise.
17406         (NS_PUT16): Likewise.
17407         (NS_PUT32): Likewise.
17408         * resolv/gethnamaddr.c (getanswer): Likewise.
17409         (gethostbyname2): Likewise.
17410         (gethostbyaddr): Likewise.
17411         (_gethtent): Likewise.
17412         (_gethtbyname2): Likewise.
17413         (_gethtbyaddr): Likewise.
17414         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17415         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17416         * resolv/res_init.c (__res_vinit): Likewise.
17417         (net_mask): Likewise.
17418         * resolv/res_mkquery.c (outchar): Likewise.
17419         (PRINT): Likewise.
17420         * stdio-common/printf_fp.c (outchar): Likewise.
17421         (PRINT): Likewise.
17422         * stdio-common/printf_fphex.c (outchar): Likewise.
17423         (PRINT): Likewise.
17424         * stdio-common/printf_size.c (outchar): Likewise.
17425         (PRINT): Likewise.
17426         * stdio-common/test_rdwr.c (main): Likewise.
17427         * stdio-common/tfformat.c (matches): Likewise.
17428         * stdio-common/vfprintf.c (outchar): Likewise.
17429         (printf_unknown): Likewise.
17430         (buffered_vfprintf): Likewise.
17431         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17432         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17433         (ReadFile): Likewise.
17434         * stdlib/qsort.c (SWAP): Likewise.
17435         (_quicksort): Likewise.
17436         * stdlib/setenv.c (__add_to_environ): Likewise.
17437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17438         * stdlib/strtol_l.c (__strtol_l): Likewise.
17439         * stdlib/tst-strtod.c (main): Likewise.
17440         * stdlib/tst-strtol.c (main): Likewise.
17441         * stdlib/tst-strtoll.c (main): Likewise.
17442         * string/bits/string2.h (__strcmp_cc): Likewise.
17443         (__strcmp_cg): Likewise.
17444         (__strcspn_c1): Likewise.
17445         (__strcspn_c2): Likewise.
17446         (__strcspn_c3): Likewise.
17447         (__strspn_c1): Likewise.
17448         (__strspn_c2): Likewise.
17449         (__strspn_c3): Likewise.
17450         (__strsep_1c): Likewise.
17451         (__strsep_2c): Likewise.
17452         (__strsep_3c): Likewise.
17453         * string/memccpy.c (__memccpy): Likewise.
17454         * string/stpcpy.c (__stpcpy): Likewise.
17455         * string/strcmp.c (strcmp): Likewise.
17456         * string/strrchr.c (strrchr): Likewise.
17457         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17458         Likewise.
17459         * sysdeps/mach/hurd/getcwd.c
17460         (_hurd_canonicalize_directory_name_internal): Likewise.
17461         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17462         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17463         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17464         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17465         Likewise, in both definitions.
17466         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17467         definitions.
17468         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17469         64] (__bswap_64): Likewise.
17470         * time/test_time.c (main): Likewise.
17471         * time/tzfile.c (__tzfile_read): Likewise.
17472         (__tzfile_compute): Likewise.
17473         * time/tzset.c (__tzset_parse_tz): Likewise.
17474         (tzset_internal): Likewise.
17475         (compute_change): Likewise.
17476         * wcsmbs/wcscat.c (__wcscat): Likewise.
17477         * wcsmbs/wcschr.c (wcschr): Likewise.
17478         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17479         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17480         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17481         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17482         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17483         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17484         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17485         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17486         * wcsmbs/wmemset.c (wmemset): Likewise.
17487
17488 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17489
17490         * scripts/config.guess: Update to version 2013-05-16.
17491         * scripts/config.sub: Update to version 2013-04-24.
17492         * scripts/install-sh: Update to version 2011-11-20.07.
17493         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17494         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17495
17496 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17497
17498         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17499         * elf/sln.c: Likewise.
17500         * hurd/hurd/ioctl.h: Likewise.
17501         * hurd/hurdmalloc.c: Likewise.
17502         * hurd/xattr.c: Likewise.
17503         * include/shlib-compat.h: Likewise.
17504         * inet/ruserpass.c: Likewise.
17505         * libio/iofgets_u.c: Likewise.
17506         * libio/iofgetws_u.c: Likewise.
17507         * locale/programs/ld-identification.c: Likewise.
17508         * locale/programs/ld-time.c: Likewise.
17509         * mach/msg-destroy.c: Likewise.
17510         * nss/nss_files/files-netgrp.c: Likewise.
17511         * resolv/res_data.c: Likewise.
17512         * soft-fp/op-1.h: Likewise.
17513         * soft-fp/op-2.h: Likewise.
17514         * soft-fp/op-4.h: Likewise.
17515         * soft-fp/op-common.h: Likewise.
17516         * stdio-common/printf_fphex.c: Likewise.
17517         * stdlib/strtod_l.c: Likewise.
17518         * sunrpc/rpc/clnt.h: Likewise.
17519         * sysdeps/generic/framestate.c: Likewise.
17520         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17521         * sysdeps/i386/bsd-setjmp.S: Likewise.
17522         * sysdeps/i386/__longjmp.S: Likewise.
17523         * sysdeps/i386/setjmp.S: Likewise.
17524         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17525         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17526         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17527         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17528         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17529         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17531         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17532         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17533         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17534         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17535         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17536         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17537         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17538         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17539         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17540         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17541         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17542         * sysdeps/ieee754/support.c: Likewise.
17543         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17544         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17545         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17546         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17547         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17548         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17549         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17550         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17551         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17552         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17553         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17554         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17555         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17556         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17557         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17558         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17559         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17561
17562 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17563
17564         * posix/transbug.c: Remove executable mode.
17565
17566 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17567
17568         * crypt/speeds.c: Remove trailing whitespace.
17569         * dlfcn/default.c: Likewise.
17570         * elf/ifuncdep2.c: Likewise.
17571         * elf/ifuncmain1.c: Likewise.
17572         * elf/ifuncmain1vis.c: Likewise.
17573         * elf/testobj.h: Likewise.
17574         * elf/tst-stackguard1.c: Likewise.
17575         * gmon/sys/gmon.h: Likewise.
17576         * hurd/hurdmsg.c: Likewise.
17577         * hurd/new-fd.c: Likewise.
17578         * hurd/ports-get.c: Likewise.
17579         * iconvdata/ibm1008_420.c: Likewise.
17580         * inet/tst-getni1.c: Likewise.
17581         * inet/tst-getni2.c: Likewise.
17582         * libio/ioungetc.c: Likewise.
17583         * libio/wfiledoalloc.c: Likewise.
17584         * manual/libm-err-tab.pl: Likewise.
17585         * math/w_dremf.c: Likewise.
17586         * misc/ftruncate.c: Likewise.
17587         * posix/bug-glob2.c: Likewise.
17588         * posix/tst-pcre.c: Likewise.
17589         * posix/wait4.c: Likewise.
17590         * resolv/README: Likewise.
17591         * resolv/res_debug.h: Likewise.
17592         * resolv/tst-inet_ntop.c: Likewise.
17593         * setjmp/bug269-setjmp.c: Likewise.
17594         * soft-fp/extended.h: Likewise.
17595         * soft-fp/op-1.h: Likewise.
17596         * soft-fp/op-2.h: Likewise.
17597         * soft-fp/op-4.h: Likewise.
17598         * soft-fp/op-8.h: Likewise.
17599         * soft-fp/testit.c: Likewise.
17600         * stdio-common/bug16.c: Likewise.
17601         * stdlib/random.c: Likewise.
17602         * sunrpc/rpcsvc/rquota.x: Likewise.
17603         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17604         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17605         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17606         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17607         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17608         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17609         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17610         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17611         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17612         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17613         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17615         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17616         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17617         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17618         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17619         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17620         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17621         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17622         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17623         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17624         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17625         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17626         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17628         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17629         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17630         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17632         * sysdeps/ieee754/s_lib_version.c: Likewise.
17633         * sysdeps/mach/hurd/check_fds.c: Likewise.
17634         * sysdeps/mach/hurd/getsockname.c: Likewise.
17635         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17636         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17637         * sysdeps/powerpc/bits/link.h: Likewise.
17638         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17639         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17640         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17641         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17642         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17643         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17644         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17645         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17646         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17647         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17648         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17649         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17650         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17651         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17652         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17653         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17654         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17655         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17656         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17657         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17658         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17659         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17660         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17661         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17662         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17663         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17664         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17665         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17666         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17667         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17668         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17669         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17670         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17671         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17672         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17673         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17674         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17675         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17676         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17677         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17678         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17679         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17680         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17681         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17682         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17683         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17684         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17685         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17686         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17687         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17688         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17690         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17691         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17692         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17693         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17694         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17695         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17696         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17697         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17698         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17699         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17700         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17701         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17702         * sysdeps/powerpc/sysdep.h: Likewise.
17703         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17704         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17705         * sysdeps/sh/dl-trampoline.S: Likewise.
17706         * sysdeps/sh/memset.S: Likewise.
17707         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17708         * sysdeps/sh/strlen.S: Likewise.
17709         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17710         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17711         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17712         * sysdeps/sparc/sparc32/rem.S: Likewise.
17713         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17714         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17715         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17716         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17717         * sysdeps/sparc/sparc32/urem.S: Likewise.
17718         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17719         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17720         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17721         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17722         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17723         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17724         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17725         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17726         * sysdeps/unix/bsd/times.c: Likewise.
17727         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17728         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17732         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17733         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17734         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17735         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17736         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17737         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17738         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17739         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17740         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17741         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17742         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17743         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17744         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17745         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17746         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17747         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17748         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17749         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17750         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17751         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17752         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17753         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17754         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17755         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17756         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17757         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17758         * sysdeps/x86_64/strcspn.S: Likewise.
17759
17760 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17761
17762         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17763         generated file.  Regenerate properly from gen-translit.pl.
17764         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17765         locale/C-translit.h.
17766
17767 2013-06-05  Andreas Schwab  <schwab@suse.de>
17768
17769         [BZ #15100]
17770         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17771         week as 6 instead of -1.
17772         * time/tst-strptime.c (day_tests): Add test case.
17773
17774 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17775
17776         * sysdeps/generic/math_private.h
17777         (libc_feholdexcept_setround_53bit): Replace with
17778         libc_feholdsetround_53bit.
17779         (libc_feupdateenv_53bit): Replace with
17780         libc_feresetround_53bit.
17781         (SET_RESTORE_ROUND_53BIT): Adjust.
17782
17783 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17784
17785         * string/test-strchrnul.c: Add copyright header.
17786
17787         * posix/tst-getaddrinfo4.c: Increase test timeout.
17788
17789 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17790
17791         [BZ #15536]
17792         * math/libm-test.inc (MAX_EXP): Remove
17793         (MIN_EXP): Define.
17794         (ulp): Use MIN_EXP - MANT_DIG.
17795         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17796
17797 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17798
17799         * po/be.po: Revert last change.
17800         * po/zh_CN.po: Likewise.
17801         * po/header.pot: Likewise.
17802
17803 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17804
17805         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17806         link-libc-deps to empty as target-specific variable.
17807         * Makerules (link-libc-args): New variable.
17808         (libc-for-link): Likewise.
17809         (link-libc-deps): Likewise.
17810         (lib%.so): Depend on $(link-libc-deps).  Link with
17811         $(link-libc-args).
17812         (build-module): Link with $(link-libc-args).
17813         (build-module-asneeded): Likewise.
17814         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17815         list of objects.
17816         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17817         target-specific variable.
17818         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17819         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17820         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17821         libc.
17822         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17823         libc and ld.so.
17824         ($(objpfx)libpcprofile.so): Likewise.
17825         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17826         libc_nonshared.a.
17827         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17828         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17829         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17830         $(link-libc-deps).
17831         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17832         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17833         * login/Makefile ($(objpfx)libutil.so): Likewise.
17834         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17835         * math/Makefile ($(objpfx)libm.so): Likewise.
17836         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17837         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17838         variable instead of depending directly on libc.
17839         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17840         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17841         $(link-libc-deps).
17842         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17843         libc.
17844         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17845         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17846         ($(objpfx)libanl.so): Likewise.
17847         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17848         ld.so.
17849         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17850         $(link-libc-deps).
17851         * sysdeps/i386/fpu/Makefile: Remove file.
17852         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17853         ($(objpfx)libm.so): Remove dependency on ld.so.
17854
17855 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17856
17857         [BZ # 15553]
17858         * nis/yp_xdr.c (XDRMAXNAME): Define.
17859         (XDRMAXRECORD): Define.
17860         (xdr_domainname): Use XDRMAXNAME.
17861         (xdr_mapname): Likewise.
17862         (xdr_peername): Likewise.
17863         (xdr_keydat): Use XDRMAXRECORD.
17864         (xdr_valdat): Likewise.
17865
17866 2013-05-30  Jeff Law  <law@redhat.com>
17867
17868         [BZ #14256]
17869         * manual/errno.texi (ESTALE): Update to account for more than
17870         just NFS file systems.
17871         * sysdeps/gnu/errlist.c: Regenerated.
17872
17873 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17874
17875         [BZ #15465]
17876         * elf/Makefile (tests): Add tst-null-argv.
17877         (modules-names):  Add tst-null-argv-lib.
17878         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17879         (tst-null-argv-ENV): Set environment for tst-null-argv.
17880         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17881         (RTLD_PROGNAME): New macro.
17882         * elf/tst-null-argv.c: New test case.
17883         * elf/tst-null-argv-lib.c: Library for test case.
17884         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17885         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17886         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17887         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17888         * elf/dl-init.c (call_init): Likewise.
17889         (_dl_init): Likewise.
17890         * elf/dl-load.c (print_search_path): Likewise.
17891         (_dl_map_object): Likewise.
17892         * elf/dl-lookup.c (do_lookup_x): Likewise.
17893         (add_dependency): Likewise.
17894         (_dl_lookup_symbol_x): Likewise.
17895         (_dl_debug_bindings): Likewise.
17896         * elf/dl-open.c (_dl_show_scope): Likewise.
17897         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17898         * elf/dl-version.c (match_symbol): Likewise.
17899         (_dl_check_map_versions): Likewise.
17900         * elf/rtld.c (dl_main): Likewise.
17901         (print_unresolved): Use RTLD_PROGNAME.
17902         (print_missing_version): Likewise.
17903         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17904         (elf_machine_rela): Likewise.
17905         * sysdeps/powerpc/powerpc32/dl-machine.c
17906         (__process_machine_rela): Likewise.
17907         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17908         Likewise.
17909         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17910         Likewise.
17911         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17912         Likewise.
17913         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17914         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17915         Likewise.
17916         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17917         Likewise.
17918         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17919
17920 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17921
17922         * po/be.po: Add descriptive title.
17923         * po/zh_CN.po: Likewise.
17924         * po/header.pot: Likewise.
17925
17926 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17927
17928         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17929         error message.
17930         (enlarge_archive): Likewise.
17931
17932 2013-05-28  Ben North  <ben@redfrontdoor.org>
17933
17934         * manual/arith.texi (frexp): It is the magnitude of the return
17935         value which lies in [0.5, 1), not the return value itself.
17936
17937 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17938
17939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17940
17941 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17942
17943         * stdio-common/bug26.c (main): Correct fscanf template.
17944
17945         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17946         declare _dl_skip_args.
17947
17948         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17949         Don't declare.
17950
17951         * manual/platform.texi: Add missing @end deftypefun.
17952
17953 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17954
17955         [BZ #15529]
17956         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17957         bit of mantissa of 2^16382.
17958         * math/libm-test.inc (hypot_test_data): Add more tests.
17959
17960         * math/libm-test.inc: Add drem and pow10 to list of tested
17961         functions.
17962         (pow10_test): New function.
17963         (drem_test): Likewise.
17964         (drem_test_tonearest): Likewise.
17965         (drem_test_towardzero): Likewise.
17966         (drem_test_downward): Likewise.
17967         (drem_test_upward): Likewise.
17968         (main): Call the new functions.
17969
17970         * math/libm-test.inc (finite_test_data): Remove.
17971         (finite_test): Run tests from isfinite_test_data.
17972         (gamma_test_data): Remove.
17973         (gamma_test): Run tests from lgamma_test_data.
17974         * sysdeps/i386/fpu/libm-test-ulps: Update.
17975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17976
17977 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17978
17979         * manual/platform.texi: Add PowerPC PPR function set documentation.
17980         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17981         implementation.
17982
17983 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17984
17985         * math/libm-test.inc (MAX_EXP): Define.
17986         (ULPDIFF): Define.
17987         (ulp): New function.
17988         (check_float_internal): Use ULPDIFF.
17989         (cpow_test): Disable failing test.
17990         (check_ulp): Test ulp() implemetnation.
17991         (main): Call check_ulp before starting tests.
17992
17993 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17994
17995         * math/gen-libm-test.pl (generate_testfile): Do not handle
17996         START_DATA and END_DATA.
17997         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17998         END_DATA.
17999         (acos_tonearest_test_data): Likewise.
18000         (acos_towardzero_test_data): Likewise.
18001         (acos_downward_test_data): Likewise.
18002         (acos_upward_test_data): Likewise.
18003         (acosh_test_data): Likewise.
18004         (asin_test_data): Likewise.
18005         (asin_tonearest_test_data): Likewise.
18006         (asin_towardzero_test_data): Likewise.
18007         (asin_downward_test_data): Likewise.
18008         (asin_upward_test_data): Likewise.
18009         (asinh_test_data): Likewise.
18010         (atan_test_data): Likewise.
18011         (atanh_test_data): Likewise.
18012         (atan2_test_data): Likewise.
18013         (cabs_test_data): Likewise.
18014         (cacos_test_data): Likewise.
18015         (cacosh_test_data): Likewise.
18016         (carg_test_data): Likewise.
18017         (casin_test_data): Likewise.
18018         (casinh_test_data): Likewise.
18019         (catan_test_data): Likewise.
18020         (catanh_test_data): Likewise.
18021         (cbrt_test_data): Likewise.
18022         (ccos_test_data): Likewise.
18023         (ccosh_test_data): Likewise.
18024         (ceil_test_data): Likewise.
18025         (cexp_test_data): Likewise.
18026         (cimag_test_data): Likewise.
18027         (clog_test_data): Likewise.
18028         (clog10_test_data): Likewise.
18029         (conj_test_data): Likewise.
18030         (copysign_test_data): Likewise.
18031         (cos_test_data): Likewise.
18032         (cos_tonearest_test_data): Likewise.
18033         (cos_towardzero_test_data): Likewise.
18034         (cos_downward_test_data): Likewise.
18035         (cos_upward_test_data): Likewise.
18036         (cosh_test_data): Likewise.
18037         (cosh_tonearest_test_data): Likewise.
18038         (cosh_towardzero_test_data): Likewise.
18039         (cosh_downward_test_data): Likewise.
18040         (cosh_upward_test_data): Likewise.
18041         (cpow_test_data): Likewise.
18042         (cproj_test_data): Likewise.
18043         (creal_test_data): Likewise.
18044         (csin_test_data): Likewise.
18045         (csinh_test_data): Likewise.
18046         (csqrt_test_data): Likewise.
18047         (ctan_test_data): Likewise.
18048         (ctan_tonearest_test_data): Likewise.
18049         (ctan_towardzero_test_data): Likewise.
18050         (ctan_downward_test_data): Likewise.
18051         (ctan_upward_test_data): Likewise.
18052         (ctanh_test_data): Likewise.
18053         (ctanh_tonearest_test_data): Likewise.
18054         (ctanh_towardzero_test_data): Likewise.
18055         (ctanh_downward_test_data): Likewise.
18056         (ctanh_upward_test_data): Likewise.
18057         (erf_test_data): Likewise.
18058         (erfc_test_data): Likewise.
18059         (exp_test_data): Likewise.
18060         (exp_tonearest_test_data): Likewise.
18061         (exp_towardzero_test_data): Likewise.
18062         (exp_downward_test_data): Likewise.
18063         (exp_upward_test_data): Likewise.
18064         (exp10_test_data): Likewise.
18065         (exp2_test_data): Likewise.
18066         (expm1_test_data): Likewise.
18067         (fabs_test_data): Likewise.
18068         (fdim_test_data): Likewise.
18069         (finite_test_data): Likewise.
18070         (floor_test_data): Likewise.
18071         (fma_test_data): Likewise.
18072         (fma_towardzero_test_data): Likewise.
18073         (fma_downward_test_data): Likewise.
18074         (fma_upward_test_data): Likewise.
18075         (fmax_test_data): Likewise.
18076         (fmin_test_data): Likewise.
18077         (fmod_test_data): Likewise.
18078         (fpclassify_test_data): Likewise.
18079         (frexp_test_data): Likewise.
18080         (gamma_test_data): Likewise.
18081         (hypot_test_data): Likewise.
18082         (ilogb_test_data): Likewise.
18083         (isfinite_test_data): Likewise.
18084         (isgreater_test_data): Likewise.
18085         (isgreaterequal_test_data): Likewise.
18086         (isinf_test_data): Likewise.
18087         (isless_test_data): Likewise.
18088         (islessequal_test_data): Likewise.
18089         (islessgreater_test_data): Likewise.
18090         (isnan_test_data): Likewise.
18091         (isnormal_test_data): Likewise.
18092         (issignaling_test_data): Likewise.
18093         (isunordered_test_data): Likewise.
18094         (j0_test_data): Likewise.
18095         (j1_test_data): Likewise.
18096         (jn_test_data): Likewise.
18097         (ldexp_test_data): Likewise.
18098         (lgamma_test_data): Likewise.
18099         (lrint_test_data): Likewise.
18100         (lrint_tonearest_test_data): Likewise.
18101         (lrint_towardzero_test_data): Likewise.
18102         (lrint_downward_test_data): Likewise.
18103         (lrint_upward_test_data): Likewise.
18104         (llrint_test_data): Likewise.
18105         (llrint_tonearest_test_data): Likewise.
18106         (llrint_towardzero_test_data): Likewise.
18107         (llrint_downward_test_data): Likewise.
18108         (llrint_upward_test_data): Likewise.
18109         (log_test_data): Likewise.
18110         (log10_test_data): Likewise.
18111         (log1p_test_data): Likewise.
18112         (log2_test_data): Likewise.
18113         (logb_test_data): Likewise.
18114         (logb_downward_test_data): Likewise.
18115         (lround_test_data): Likewise.
18116         (llround_test_data): Likewise.
18117         (modf_test_data): Likewise.
18118         (nearbyint_test_data): Likewise.
18119         (nextafter_test_data): Likewise.
18120         (nexttoward_test_data): Likewise.
18121         (pow_test_data): Likewise.
18122         (pow_tonearest_test_data): Likewise.
18123         (pow_towardzero_test_data): Likewise.
18124         (pow_downward_test_data): Likewise.
18125         (pow_upward_test_data): Likewise.
18126         (remainder_test_data): Likewise.
18127         (remainder_tonearest_test_data): Likewise.
18128         (remainder_towardzero_test_data): Likewise.
18129         (remainder_downward_test_data): Likewise.
18130         (remainder_upward_test_data): Likewise.
18131         (remquo_test_data): Likewise.
18132         (rint_test_data): Likewise.
18133         (rint_tonearest_test_data): Likewise.
18134         (rint_towardzero_test_data): Likewise.
18135         (rint_downward_test_data): Likewise.
18136         (rint_upward_test_data): Likewise.
18137         (round_test_data): Likewise.
18138         (scalb_test_data): Likewise.
18139         (scalbn_test_data): Likewise.
18140         (scalbln_test_data): Likewise.
18141         (signbit_test_data): Likewise.
18142         (sin_test_data): Likewise.
18143         (sin_tonearest_test_data): Likewise.
18144         (sin_towardzero_test_data): Likewise.
18145         (sin_downward_test_data): Likewise.
18146         (sin_upward_test_data): Likewise.
18147         (sincos_test_data): Likewise.
18148         (sinh_test_data): Likewise.
18149         (sinh_tonearest_test_data): Likewise.
18150         (sinh_towardzero_test_data): Likewise.
18151         (sinh_downward_test_data): Likewise.
18152         (sinh_upward_test_data): Likewise.
18153         (sqrt_test_data): Likewise.
18154         (tan_test_data): Likewise.
18155         (tan_tonearest_test_data): Likewise.
18156         (tan_towardzero_test_data): Likewise.
18157         (tan_downward_test_data): Likewise.
18158         (tan_upward_test_data): Likewise.
18159         (tanh_test_data): Likewise.
18160         (tgamma_test_data): Likewise.
18161         (trunc_test_data): Likewise.
18162         (y0_test_data): Likewise.
18163         (y1_test_data): Likewise.
18164         (yn_test_data): Likewise.
18165         (significand_test_data): Likewise.
18166
18167         * math/gen-libm-test.pl (@functions): Remove variable.
18168         (generate_testfile): Don't handle START and END lines.
18169         * math/libm-test.inc (START): New macro.
18170         (END): Likewise.
18171         (END_COMPLEX): Likewise.
18172         (acos_test): Use END macro without arguments.
18173         (acos_test_tonearest): Likewise.
18174         (acos_test_towardzero): Likewise.
18175         (acos_test_downward): Likewise.
18176         (acos_test_upward): Likewise.
18177         (acosh_test): Likewise.
18178         (asin_test): Likewise.
18179         (asin_test_tonearest): Likewise.
18180         (asin_test_towardzero): Likewise.
18181         (asin_test_downward): Likewise.
18182         (asin_test_upward): Likewise.
18183         (asinh_test): Likewise.
18184         (atan_test): Likewise.
18185         (atanh_test): Likewise.
18186         (atan2_test): Likewise.
18187         (cabs_test): Likewise.
18188         (cacos_test): Use END_COMPLEX macro without arguments.
18189         (cacosh_test): Likewise.
18190         (carg_test): Use END macro without arguments.
18191         (casin_test): Use END_COMPLEX macro without arguments.
18192         (casinh_test): Likewise.
18193         (catan_test): Likewise.
18194         (catanh_test): Likewise.
18195         (cbrt_test): Use END macro without arguments.
18196         (ccos_test): Use END_COMPLEX macro without arguments.
18197         (ccosh_test): Likewise.
18198         (ceil_test): Use END macro without arguments.
18199         (cexp_test): Use END_COMPLEX macro without arguments.
18200         (cimag_test): Use END macro without arguments.
18201         (clog_test): Use END_COMPLEX macro without arguments.
18202         (clog10_test): Likewise.
18203         (conj_test): Likewise.
18204         (copysign_test): Use END macro without arguments.
18205         (cos_test): Likewise.
18206         (cos_test_tonearest): Likewise.
18207         (cos_test_towardzero): Likewise.
18208         (cos_test_downward): Likewise.
18209         (cos_test_upward): Likewise.
18210         (cosh_test): Likewise.
18211         (cosh_test_tonearest): Likewise.
18212         (cosh_test_towardzero): Likewise.
18213         (cosh_test_downward): Likewise.
18214         (cosh_test_upward): Likewise.
18215         (cpow_test): Use END_COMPLEX macro without arguments.
18216         (cproj_test): Likewise.
18217         (creal_test): Use END macro without arguments.
18218         (csin_test): Use END_COMPLEX macro without arguments.
18219         (csinh_test): Likewise.
18220         (csqrt_test): Likewise.
18221         (ctan_test): Likewise.
18222         (ctan_test_tonearest): Likewise.
18223         (ctan_test_towardzero): Likewise.
18224         (ctan_test_downward): Likewise.
18225         (ctan_test_upward): Likewise.
18226         (ctanh_test): Likewise.
18227         (ctanh_test_tonearest): Likewise.
18228         (ctanh_test_towardzero): Likewise.
18229         (ctanh_test_downward): Likewise.
18230         (ctanh_test_upward): Likewise.
18231         (erf_test): Use END macro without arguments.
18232         (erfc_test): Likewise.
18233         (exp_test): Likewise.
18234         (exp_test_tonearest): Likewise.
18235         (exp_test_towardzero): Likewise.
18236         (exp_test_downward): Likewise.
18237         (exp_test_upward): Likewise.
18238         (exp10_test): Likewise.
18239         (exp2_test): Likewise.
18240         (expm1_test): Likewise.
18241         (fabs_test): Likewise.
18242         (fdim_test): Likewise.
18243         (finite_test): Likewise.
18244         (floor_test): Likewise.
18245         (fma_test): Likewise.
18246         (fma_test_towardzero): Likewise.
18247         (fma_test_downward): Likewise.
18248         (fma_test_upward): Likewise.
18249         (fmax_test): Likewise.
18250         (fmin_test): Likewise.
18251         (fmod_test): Likewise.
18252         (fpclassify_test): Likewise.
18253         (frexp_test): Likewise.
18254         (gamma_test): Likewise.
18255         (hypot_test): Likewise.
18256         (ilogb_test): Likewise.
18257         (isfinite_test): Likewise.
18258         (isgreater_test): Likewise.
18259         (isgreaterequal_test): Likewise.
18260         (isinf_test): Likewise.
18261         (isless_test): Likewise.
18262         (islessequal_test): Likewise.
18263         (islessgreater_test): Likewise.
18264         (isnan_test): Likewise.
18265         (isnormal_test): Likewise.
18266         (issignaling_test): Likewise.
18267         (isunordered_test): Likewise.
18268         (j0_test): Likewise.
18269         (j1_test): Likewise.
18270         (jn_test): Likewise.
18271         (ldexp_test): Likewise.
18272         (lgamma_test): Likewise.
18273         (lrint_test): Likewise.
18274         (lrint_test_tonearest): Likewise.
18275         (lrint_test_towardzero): Likewise.
18276         (lrint_test_downward): Likewise.
18277         (lrint_test_upward): Likewise.
18278         (llrint_test): Likewise.
18279         (llrint_test_tonearest): Likewise.
18280         (llrint_test_towardzero): Likewise.
18281         (llrint_test_downward): Likewise.
18282         (llrint_test_upward): Likewise.
18283         (log_test): Likewise.
18284         (log10_test): Likewise.
18285         (log1p_test): Likewise.
18286         (log2_test): Likewise.
18287         (logb_test): Likewise.
18288         (logb_test_downward): Likewise.
18289         (lround_test): Likewise.
18290         (llround_test): Likewise.
18291         (modf_test): Likewise.
18292         (nearbyint_test): Likewise.
18293         (nextafter_test): Likewise.
18294         (nexttoward_test): Likewise.
18295         (pow_test): Likewise.
18296         (pow_test_tonearest): Likewise.
18297         (pow_test_towardzero): Likewise.
18298         (pow_test_downward): Likewise.
18299         (pow_test_upward): Likewise.
18300         (remainder_test): Likewise.
18301         (remainder_test_tonearest): Likewise.
18302         (remainder_test_towardzero): Likewise.
18303         (remainder_test_downward): Likewise.
18304         (remainder_test_upward): Likewise.
18305         (remquo_test): Likewise.
18306         (rint_test): Likewise.
18307         (rint_test_tonearest): Likewise.
18308         (rint_test_towardzero): Likewise.
18309         (rint_test_downward): Likewise.
18310         (rint_test_upward): Likewise.
18311         (round_test): Likewise.
18312         (scalb_test): Likewise.
18313         (scalbn_test): Likewise.
18314         (scalbln_test): Likewise.
18315         (signbit_test): Likewise.
18316         (sin_test): Likewise.
18317         (sin_test_tonearest): Likewise.
18318         (sin_test_towardzero): Likewise.
18319         (sin_test_downward): Likewise.
18320         (sin_test_upward): Likewise.
18321         (sincos_test): Likewise.
18322         (sinh_test): Likewise.
18323         (sinh_test_tonearest): Likewise.
18324         (sinh_test_towardzero): Likewise.
18325         (sinh_test_downward): Likewise.
18326         (sinh_test_upward): Likewise.
18327         (sqrt_test): Likewise.
18328         (tan_test): Likewise.
18329         (tan_test_tonearest): Likewise.
18330         (tan_test_towardzero): Likewise.
18331         (tan_test_downward): Likewise.
18332         (tan_test_upward): Likewise.
18333         (tanh_test): Likewise.
18334         (tgamma_test): Likewise.
18335         (trunc_test): Likewise.
18336         (y0_test): Likewise.
18337         (y1_test): Likewise.
18338         (yn_test): Likewise.
18339         (significand_test): Likewise.
18340
18341 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18342
18343         [BZ #15381]
18344         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18345
18346 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18347
18348         [BZ #14894]
18349         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18350         __ppc_mdoio and __ppc_mdoom.
18351         * manual/platform.texi: Document new functions __ppc_yield,
18352         __ppc_mdoio and __ppc_mdoom.
18353
18354 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18355
18356         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18357         (main): Mention "tls" pseudo-hwcap is legacy.
18358         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18359
18360 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18361
18362         * math/gen-libm-test.pl (parse_args): Output only string of
18363         arguments as text for test name, not full call or descriptions of
18364         tests for extra outputs.
18365         (generate_testfile): Do not pass function name to parse_args.
18366         Generate this_func variable from START.
18367         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18368         field to arg_str.
18369         (struct test_ff_f_data): Likewise.
18370         (test_ff_f_data_nexttoward): Likewise.
18371         (struct test_fi_f_data): Likewise.
18372         (struct test_fl_f_data): Likewise.
18373         (struct test_if_f_data): Likewise.
18374         (struct test_fff_f_data): Likewise.
18375         (struct test_c_f_data): Likewise.
18376         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18377         (struct test_fF_f1_data): Likewise.
18378         (struct test_ffI_f1_data): Likewise.
18379         (struct test_c_c_data): Rename test_name field to arg_str.
18380         (struct test_cc_c_data): Likewise.
18381         (struct test_f_i_data): Likewise.
18382         (struct test_ff_i_data): Likewise.
18383         (struct test_f_l_data): Likewise.
18384         (struct test_f_L_data): Likewise.
18385         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18386         and extra2_name.
18387         (COMMON_TEST_SETUP): New macro.
18388         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18389         (COMMON_TEST_CLEANUP): Likewise.
18390         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18391         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18392         macros.
18393         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18394         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18395         macros.
18396         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18397         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18398         cleanup macros.
18399         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18400         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18401         macros.
18402         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18403         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18404         macros.
18405         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18406         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18407         cleanup macros.
18408         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18409         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18410         cleanup macros.
18411         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18412         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18413         cleanup macros.
18414         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18415         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18416         macros.
18417         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18418         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18419         macros.
18420         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18421         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18422         macros.
18423         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18424         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18425         cleanup macros.
18426         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18427         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18428         cleanup macros.
18429         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18430         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18431         macros.
18432         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18433         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18434         cleanup macros.
18435         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18436         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18437         macros.
18438         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18439         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18440         macros.
18441         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18442         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18443         cleanup macros.
18444         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18445
18446 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18447
18448         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18449         to _sifields.sigfault.
18450         (si_addr_lsb): Define new macro.
18451         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18452         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18453         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18454
18455 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18456
18457         [BZ #15441]
18458         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18459         returns -1.
18460         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18461         null return -1.
18462         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18463         loading the domain.
18464
18465 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18466
18467         * math/gen-libm-test.pl (parse_args): Do not include expected
18468         result in test name.
18469         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18471         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18472         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18473         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18475
18476 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18477
18478         * benchtests/Makefile: Sort function entries.
18479
18480         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18481         tanh, asinh, acosh, atanh.
18482         * benchtests/acos-inputs: New file.
18483         * benchtests/acosh-inputs: New file.
18484         * benchtests/asin-inputs: New file.
18485         * benchtests/asinh-inputs: New file.
18486         * benchtests/atanh-inputs: New file.
18487         * benchtests/cosh-inputs: New file.
18488         * benchtests/log-inputs: New file.
18489         * benchtests/sinh-inputs: New file.
18490         * benchtests/tanh-inputs: New file.
18491
18492 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18493
18494         [BZ #15339]
18495         * posix/tst-getaddrinfo4.c: New test.
18496         * posix/Makefile (tests): Add it.
18497
18498 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18499
18500         [BZ #15339]
18501         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18502         when no services were used.
18503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18504         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18505
18506 2013-05-21  Andreas Schwab  <schwab@suse.de>
18507
18508         [BZ #15014]
18509         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18510         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18511         successful.
18512         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18513         redundant variable declarations and reallocation of buffer when
18514         parsing as IPv6 address.  Always set NSS status when called from
18515         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18516         buffer too small.  Correct computation of needed size.
18517         * nss/Makefile (tests): Add test-digits-dots.
18518         * nss/test-digits-dots.c: New test.
18519
18520 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18521
18522         * benchtests/Makefile: Remove instructions for adding
18523         benchmark tests.
18524         * benchtests/README: New file to explain how to execute and
18525         enhance the benchmark tests.
18526
18527 2013-05-21  Andreas Schwab  <schwab@suse.de>
18528
18529         [BZ #15493]
18530         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18531         * setjmp/tst-sigsetjmp.c: New test.
18532
18533 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18534
18535         * sysdeps/x86_64/memset.S (memset): New implementation.
18536         (__bzero): Likewise.
18537         (__memset_tail): New function.
18538
18539 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18540
18541         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18542         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18543         __memcpy_sse2_unaligned ifunc selection.
18544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18545         Add memcpy-sse2-unaligned.S.
18546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18547         Add: __memcpy_sse2_unaligned.
18548
18549 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18550
18551         [BZ #15490]
18552         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18553         math_force_eval before restoring floating-point envrionment.
18554         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18555         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18556         Likewise.
18557         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18558         <math_private.h>.
18559         (__nearbyintl): Use math_force_eval before restoring
18560         floating-point environment.
18561         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18562
18563         * math/gen-libm-test.pl (special_functions): Remove.
18564         (parse_args): Don't handle TEST_extra.  Handle functions with no
18565         return value.
18566         * math/libm-test.inc (struct test_sincos_data): Replace with
18567         struct test_fFF_11_data.
18568         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18569         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18570         (sincos_test_data): Change element type to struct
18571         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18572         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18573         RUN_TEST_LOOP_sincos.
18574         * math/README.libm-test: Don't mention special handling of
18575         individual functions.
18576         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18577         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18578         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18579         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18580         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18582
18583         * math/gen-libm-test.pl (get_variable): Remove function.
18584         (parse_args): Don't show pointer parameters to call in test
18585         names.  Use "extra output N" in test names for extra outputs
18586         rather than naming variables.
18587
18588 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18589
18590         [BZ #15488]
18591         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18592         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18593         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18594         double tests.
18595         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18596         disable.
18597         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18598         check_long_double.
18599
18600         * math/gen-libm-test.pl (@tests): Remove variable.
18601         ($count): Likewise.
18602         (new_test): Remove function.
18603         (show_exceptions): New function.
18604         (special_functions): Use show_exceptions instead of new_test.
18605         (parse_args): Likewise.
18606         (generate_testfile): Pass only function name in generated call to
18607         print_max_error or print_complex_max_error.
18608         (get_ulps): Do not handle complex tests specially.
18609         (output_test): Rename to ...
18610         (get_all_ulps_for_test): ... this.  Return a string rather than
18611         printing to a file.  Require ulps to be present.
18612         (output_ulps): Generate arrays rather than #defines.
18613         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18614         (struct ulp_data): New type.
18615         (BUILD_COMPLEX_ULP): Remove macro.
18616         (compare_ulp_data): New function.
18617         (find_ulps): Likewise.
18618         (find_test_ulps): Likewise.
18619         (find_function_ulps): Likewise.
18620         (find_complex_function_ulps): Likewise.
18621         (print_max_error): Determine allowed ulps using
18622         find_function_ulps.
18623         (print_complex_max_error): Determine allowed ulps using
18624         find_complex_function_ulps.
18625         (check_float_internal): Determine max ulps using find_test_ulps.
18626         (check_float): Do not take max_ulp parameter.  Update call to
18627         check_float_internal.
18628         (check_complex): Likewise.
18629         (check_int): Do not take max_ulp parameter.
18630         (check_long): Likewise.
18631         (check_bool): Likewise.
18632         (check_longlong): Likewise.
18633         (struct test_f_f_data): Remove max_ulp field.
18634         (struct test_ff_f_data): Likewise.
18635         (struct test_ff_f_data_nexttoward): Likewise.
18636         (struct test_fi_f_data): Likewise.
18637         (struct test_fl_f_data): Likewise.
18638         (struct test_if_f_data): Likewise.
18639         (struct test_fff_f_data): Likewise.
18640         (struct test_c_f_data): Likewise.
18641         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18642         (struct test_fF_f1_data): Likewise.
18643         (struct test_ffI_f1_data): Likewise.
18644         (struct test_c_c_data): Remove max_ulp field.
18645         (struct test_cc_c_data): Likewise.
18646         (struct test_f_i_data): Likewise.
18647         (struct test_ff_i_data): Likewise.
18648         (struct test_f_l_data): Likewise.
18649         (struct test_f_L_data): Likewise.
18650         (struct test_sincos_data): Likewise.
18651         (RUN_TEST_f_f): Do not handle ulps.
18652         (RUN_TEST_LOOP_f_f): Likewise.
18653         (RUN_TEST_2_f): Likewise.
18654         (RUN_TEST_LOOP_2_f): Likewise.
18655         (RUN_TEST_fff_f): Likewise.
18656         (RUN_TEST_LOOP_fff_f): Likewise.
18657         (RUN_TEST_c_f): Likewise.
18658         (RUN_TEST_LOOP_c_f): Likewise.
18659         (RUN_TEST_f_f1): Likewise.
18660         (RUN_TEST_LOOP_f_f1): Likewise.
18661         (RUN_TEST_fF_f1): Likewise.
18662         (RUN_TEST_LOOP_fF_f1): Likewise.
18663         (RUN_TEST_fI_f1): Likewise.
18664         (RUN_TEST_LOOP_fI_f1): Likewise.
18665         (RUN_TEST_ffI_f1): Likewise.
18666         (RUN_TEST_LOOP_ffI_f1): Likewise.
18667         (RUN_TEST_c_c): Likewise.
18668         (RUN_TEST_LOOP_c_c): Likewise.
18669         (RUN_TEST_cc_c): Likewise.
18670         (RUN_TEST_LOOP_cc_c): Likewise.
18671         (RUN_TEST_f_i): Likewise.
18672         (RUN_TEST_LOOP_f_i): Likewise.
18673         (RUN_TEST_f_i_tg): Likewise.
18674         (RUN_TEST_LOOP_f_i_tg): Likewise.
18675         (RUN_TEST_ff_i_tg): Likewise.
18676         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18677         (RUN_TEST_f_b): Likewise.
18678         (RUN_TEST_LOOP_f_b): Likewise.
18679         (RUN_TEST_f_b_tg): Likewise.
18680         (RUN_TEST_LOOP_f_b_tg): Likewise.
18681         (RUN_TEST_f_l): Likewise.
18682         (RUN_TEST_LOOP_f_l): Likewise.
18683         (RUN_TEST_f_L): Likewise.
18684         (RUN_TEST_LOOP_f_L): Likewise.
18685         (RUN_TEST_sincos): Likewise.
18686         (RUN_TEST_LOOP_sincos): Likewise.
18687
18688 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18689
18690         [BZ #15480]
18691         [BZ #15485]
18692         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18693         main case of finite arguments, set rounding mode to FE_TONEAREST
18694         and discard exceptions.
18695         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18696         exceptions.
18697         (remainder_tonearest_test_data): New variable.
18698         (remainder_test_tonearest): New function.
18699         (remainder_towardzero_test_data): New variable.
18700         (remainder_test_towardzero): New function.
18701         (remainder_downward_test_data): New variable.
18702         (remainder_test_downward): New function.
18703         (remainder_upward_test_data): New variable.
18704         (remainder_test_upward): New function.
18705         (main): Call the new test functions.
18706
18707         * math/libm-test.inc (struct test_f_f1_data): Remove field
18708         extra_init.
18709         (struct test_fF_f1_data): Likewise.
18710         (struct test_ffI_f1_data): Likewise.
18711         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18712         based on value of EXTRA_EXPECTED.
18713         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18714         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18715         EXTRA_VAR based on value of EXTRA_EXPECTED.
18716         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18717         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18718         EXTRA_VAR based on value of EXTRA_EXPECTED.
18719         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18720         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18721         EXTRA_VAR based on value of EXTRA_EXPECTED.
18722         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18723         * math/gen-libm-test.pl (parse_args): Don't output initializers
18724         for extra output values.
18725
18726         * math/libm-test.inc (check_int): Expect result to be exactly
18727         equal to expected value and do not handle ulps.
18728         (check_long): Likewise.
18729         (check_longlong): Likewise.
18730
18731         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18732         exceptions.
18733         (cimag_test_data): Likewise.
18734         (conj_test_data): Likewise.
18735         (copysign_test_data): Likewise.
18736         (cproj_test_data): Likewise.
18737         (creal_test_data): Likewise.
18738         (fabs_test_data): Likewise.
18739         (fdim_test_data): Likewise.
18740         (finite_test_data): Likewise.
18741         (floor_test_data): Likewise.
18742         (fmax_test_data): Likewise.
18743         (fmin_test_data): Likewise.
18744         (fmod_test_data): Likewise.
18745         (fpclassify_test_data): Likewise.
18746         (frexp_test_data): Likewise.
18747         (ilogb_test_data): Likewise.
18748         (isfinite_test_data): Likewise.
18749         (isgreater_test_data): Likewise.
18750         (isgreaterequal_test_data): Likewise.
18751         (isinf_test_data): Likewise.
18752         (isless_test_data): Likewise.
18753         (islessequal_test_data): Likewise.
18754         (islessgreater_test_data): Likewise.
18755         (isnan_test_data): Likewise.
18756         (isnormal_test_data): Likewise.
18757         (issignaling_test_data): Likewise.
18758         (isunordered_test_data): Likewise.
18759         (ldexp_test_data): Likewise.
18760         (lrint_test_data): Likewise.
18761         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18762         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18763         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18764         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18765         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18766         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18767         test input.
18768         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18769         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18770         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18771         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18772         that test input.
18773         (lrint_downward_test_data): Test for "inexact" exceptions.
18774         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18775         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18776         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18777         test input.
18778         (lrint_upward_test_data): Test for "inexact" exceptions.
18779         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18780         test input.
18781         (llrint_test_data): Test for "inexact" exceptions.
18782         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18783         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18784         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18785         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18786         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18787         (llrint_downward_test_data): Test for "inexact" exceptions.
18788         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18789         (llrint_upward_test_data): Test for "inexact" exceptions.
18790         (logb_test_data): Likewise.
18791         (logb_downward_test_data): Likewise.
18792         (nextafter_test_data): Likewise.
18793         (nexttoward_test_data): Likewise.
18794         (remainder_test_data): Likewise.
18795         (remquo_test_data): Likewise.
18796         (scalbn_test_data): Likewise.
18797         (scalbln_test_data): Likewise.
18798         (signbit_test_data): Likewise.
18799         (sqrt_test_data): Likewise.
18800         (significand_test_data): Likewise.
18801
18802 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18803
18804         [BZ #15424]
18805         * benchtests/bench-modf.c (struct args): Mark arg0 as
18806         volatile.
18807         * scripts/bench.pl: Mark members of struct args as volatile.
18808
18809 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18810
18811         [BZ # 15497]
18812         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18813         negative infinity on POWER6 or lower.
18814         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18815
18816 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18817
18818         [BZ #15442]
18819         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18820         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18821         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18822         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18823         (_FP_SETQNAN): New macro.
18824         (_FP_SETQNAN_SEMIRAW): Likewise.
18825         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18826         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18827         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18828         (FP_EXTEND): Use _FP_FRAC_SNANP.
18829         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18830         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18831         into account.
18832         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18833         New macro.
18834         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18835         Likewise.
18836
18837 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18838
18839         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18840         with DIVIDE_BY_ZERO_EXCEPTION.
18841         (gamma_test_data): Likewise.
18842         (lgamma_test_data): Likewise.
18843         (log_test_data): Likewise.
18844         (log10_test_data): Likewise.
18845         (log2_test_data): Likewise.
18846         (tgamma_test_data): Likewise.
18847
18848         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18849         (acos_test_tonearest): Likewise.
18850         (acos_test_towardzero): Likewise.
18851         (acos_test_downward): Likewise.
18852         (acos_test_upward): Likewise.
18853         (acosh_test): Likewise.
18854         (asin_test): Likewise.
18855         (asin_test_tonearest): Likewise.
18856         (asin_test_towardzero): Likewise.
18857         (asin_test_downward): Likewise.
18858         (asin_test_upward): Likewise.
18859         (asinh_test): Likewise.
18860         (atan_test): Likewise.
18861         (atanh_test): Likewise.
18862         (atan2_test): Likewise.
18863         (cabs_test): Likewise.
18864         (cacos_test): Likewise.
18865         (cacosh_test): Likewise.
18866         (casin_test): Likewise.
18867         (casinh_test): Likewise.
18868         (catan_test): Likewise.
18869         (catanh_test): Likewise.
18870         (cbrt_test): Likewise.
18871         (ccos_test): Likewise.
18872         (ccosh_test): Likewise.
18873         (cexp_test): Likewise.
18874         (clog_test): Likewise.
18875         (clog10_test): Likewise.
18876         (cos_test): Likewise.
18877         (cos_test_tonearest): Likewise.
18878         (cos_test_towardzero): Likewise.
18879         (cos_test_downward): Likewise.
18880         (cos_test_upward): Likewise.
18881         (cosh_test): Likewise.
18882         (cosh_test_tonearest): Likewise.
18883         (cosh_test_towardzero): Likewise.
18884         (cosh_test_downward): Likewise.
18885         (cosh_test_upward): Likewise.
18886         (cpow_test): Likewise.
18887         (csin_test): Likewise.
18888         (csinh_test): Likewise.
18889         (csqrt_test): Likewise.
18890         (ctan_test): Likewise.
18891         (ctan_test_tonearest): Likewise.
18892         (ctan_test_towardzero): Likewise.
18893         (ctan_test_downward): Likewise.
18894         (ctan_test_upward): Likewise.
18895         (ctanh_test): Likewise.
18896         (ctanh_test_tonearest): Likewise.
18897         (ctanh_test_towardzero): Likewise.
18898         (ctanh_test_downward): Likewise.
18899         (ctanh_test_upward): Likewise.
18900         (erf_test): Likewise.
18901         (erfc_test): Likewise.
18902         (exp_test): Likewise.
18903         (exp_test_tonearest): Likewise.
18904         (exp_test_towardzero): Likewise.
18905         (exp_test_downward): Likewise.
18906         (exp_test_upward): Likewise.
18907         (exp10_test): Likewise.
18908         (exp2_test): Likewise.
18909         (expm1_test): Likewise.
18910         (fmod_test): Likewise.
18911         (gamma_test): Likewise.
18912         (hypot_test): Likewise.
18913         (j0_test): Likewise.
18914         (j1_test): Likewise.
18915         (jn_test): Likewise.
18916         (lgamma_test): Likewise.
18917         (log_test): Likewise.
18918         (log10_test): Likewise.
18919         (log1p_test): Likewise.
18920         (log2_test): Likewise.
18921         (logb_test_downward): Likewise.
18922         (pow_test): Likewise.
18923         (pow_test_tonearest): Likewise.
18924         (pow_test_towardzero): Likewise.
18925         (pow_test_downward): Likewise.
18926         (pow_test_upward): Likewise.
18927         (remainder_test): Likewise.
18928         (remquo_test): Likewise.
18929         (sin_test): Likewise.
18930         (sin_test_tonearest): Likewise.
18931         (sin_test_towardzero): Likewise.
18932         (sin_test_downward): Likewise.
18933         (sin_test_upward): Likewise.
18934         (sincos_test): Likewise.
18935         (sinh_test): Likewise.
18936         (sinh_test_tonearest): Likewise.
18937         (sinh_test_towardzero): Likewise.
18938         (sinh_test_downward): Likewise.
18939         (sinh_test_upward): Likewise.
18940         (sqrt_test): Likewise.
18941         (tan_test): Likewise.
18942         (tan_test_tonearest): Likewise.
18943         (tan_test_towardzero): Likewise.
18944         (tan_test_downward): Likewise.
18945         (tan_test_upward): Likewise.
18946         (tanh_test): Likewise.
18947         (tgamma_test): Likewise.
18948         (y0_test): Likewise.
18949         (y1_test): Likewise.
18950         (yn_test): Likewise.
18951
18952         * math/gen-libm-test.pl (adjust_arg): Remove function.
18953         (special_function): Remove argument $in_func.  Only handle
18954         generating output for tables of tests, not inside functions.
18955         (parse_args): Likewise.
18956         (generate_testfile): Remove variable $in_func.  Update call to
18957         parse_args.
18958         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18959         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18960         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18961         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18962         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18963         (MAX_VALUE_INIT): Rename macro to max_value.
18964         (MIN_VALUE_INIT): Rename macro to min_value.
18965         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18966         (plus_zero): Remove variable.
18967         (minus_zero): Likewise.
18968         (plus_infty): Likewise.
18969         (minus_infty): Likewise.
18970         (qnan_value): Likewise.
18971         (max_value): Likewise.
18972         (min_value): Likewise.
18973         (min_subnorm_value): Likewise.
18974
18975 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18976
18977         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18978         uint64_t or uint32_t usage.
18979         * crypt/sha256-block.c: Likewise.
18980         * crypt/sha256-crypt.c: Likewise.
18981         * crypt/sha256.c: Likewise.
18982         * crypt/sha512-block.c: Likewise.
18983         * crypt/sha512-crypt.c: Likewise.
18984         * crypt/sha512.c: Likewise.
18985         * debug/backtrace-tst.c: Likewise.
18986         * debug/pcprofiledump.c: Likewise.
18987         * elf/cache.c: Likewise.
18988         * elf/dl-cache.c: Likewise.
18989         * elf/dl-misc.c: Likewise.
18990         * elf/dl-profile.c: Likewise.
18991         * elf/dl-support.c: Likewise.
18992         * elf/ldconfig.c: Likewise.
18993         * elf/sprof.c: Likewise.
18994         * iconv/dummy-repertoire.c: Likewise.
18995         * iconv/iconv_charmap.c: Likewise.
18996         * iconv/skeleton.c: Likewise.
18997         * iconvdata/8bit-generic.c: Likewise.
18998         * iconvdata/cp737.h: Likewise.
18999         * iconvdata/cp775.h: Likewise.
19000         * iconvdata/ibm1008.h: Likewise.
19001         * iconvdata/ibm1025.h: Likewise.
19002         * iconvdata/ibm1046.h: Likewise.
19003         * iconvdata/ibm1097.h: Likewise.
19004         * iconvdata/ibm1112.h: Likewise.
19005         * iconvdata/ibm1122.h: Likewise.
19006         * iconvdata/ibm1123.h: Likewise.
19007         * iconvdata/ibm1124.h: Likewise.
19008         * iconvdata/ibm1129.h: Likewise.
19009         * iconvdata/ibm1130.h: Likewise.
19010         * iconvdata/ibm1132.h: Likewise.
19011         * iconvdata/ibm1133.h: Likewise.
19012         * iconvdata/ibm1137.h: Likewise.
19013         * iconvdata/ibm1140.h: Likewise.
19014         * iconvdata/ibm1141.h: Likewise.
19015         * iconvdata/ibm1142.h: Likewise.
19016         * iconvdata/ibm1143.h: Likewise.
19017         * iconvdata/ibm1144.h: Likewise.
19018         * iconvdata/ibm1145.h: Likewise.
19019         * iconvdata/ibm1146.h: Likewise.
19020         * iconvdata/ibm1147.h: Likewise.
19021         * iconvdata/ibm1148.h: Likewise.
19022         * iconvdata/ibm1149.h: Likewise.
19023         * iconvdata/ibm1153.h: Likewise.
19024         * iconvdata/ibm1154.h: Likewise.
19025         * iconvdata/ibm1155.h: Likewise.
19026         * iconvdata/ibm1156.h: Likewise.
19027         * iconvdata/ibm1157.h: Likewise.
19028         * iconvdata/ibm1158.h: Likewise.
19029         * iconvdata/ibm1160.h: Likewise.
19030         * iconvdata/ibm1161.h: Likewise.
19031         * iconvdata/ibm1162.h: Likewise.
19032         * iconvdata/ibm1163.h: Likewise.
19033         * iconvdata/ibm1164.h: Likewise.
19034         * iconvdata/ibm1166.h: Likewise.
19035         * iconvdata/ibm1167.h: Likewise.
19036         * iconvdata/ibm12712.h: Likewise.
19037         * iconvdata/ibm1390.h: Likewise.
19038         * iconvdata/ibm1399.h: Likewise.
19039         * iconvdata/ibm16804.h: Likewise.
19040         * iconvdata/ibm4517.h: Likewise.
19041         * iconvdata/ibm4899.h: Likewise.
19042         * iconvdata/ibm4909.h: Likewise.
19043         * iconvdata/ibm4971.h: Likewise.
19044         * iconvdata/ibm5347.h: Likewise.
19045         * iconvdata/ibm803.h: Likewise.
19046         * iconvdata/ibm856.h: Likewise.
19047         * iconvdata/ibm901.h: Likewise.
19048         * iconvdata/ibm902.h: Likewise.
19049         * iconvdata/ibm9030.h: Likewise.
19050         * iconvdata/ibm9066.h: Likewise.
19051         * iconvdata/ibm921.h: Likewise.
19052         * iconvdata/ibm922.h: Likewise.
19053         * iconvdata/ibm9448.h: Likewise.
19054         * iconvdata/isiri-3342.h: Likewise.
19055         * iconvdata/jis0201.h: Likewise.
19056         * include/link.h: Likewise.
19057         * include/netdb.h: Likewise.
19058         * inet/check_native.c: Likewise.
19059         * inet/check_pf.c: Likewise.
19060         * inet/getipv4sourcefilter.c: Likewise.
19061         * inet/getnameinfo.c: Likewise.
19062         * inet/getsourcefilter.c: Likewise.
19063         * inet/htonl.c: Likewise.
19064         * inet/setipv4sourcefilter.c: Likewise.
19065         * inet/setsourcefilter.c: Likewise.
19066         * inet/test-inet6_opt.c: Likewise.
19067         * inet/tst-network.c: Likewise.
19068         * locale/C-collate.c: Likewise.
19069         * locale/C-ctype.c: Likewise.
19070         * locale/C-time.c: Likewise.
19071         * locale/C-translit.h: Likewise.
19072         * locale/loadarchive.c: Likewise.
19073         * locale/programs/3level.h: Likewise.
19074         * locale/programs/charmap.c: Likewise.
19075         * locale/programs/charmap.h: Likewise.
19076         * locale/programs/ld-address.c: Likewise.
19077         * locale/programs/ld-collate.c: Likewise.
19078         * locale/programs/ld-ctype.c: Likewise.
19079         * locale/programs/ld-identification.c: Likewise.
19080         * locale/programs/ld-measurement.c: Likewise.
19081         * locale/programs/ld-messages.c: Likewise.
19082         * locale/programs/ld-monetary.c: Likewise.
19083         * locale/programs/ld-name.c: Likewise.
19084         * locale/programs/ld-numeric.c: Likewise.
19085         * locale/programs/ld-paper.c: Likewise.
19086         * locale/programs/ld-telephone.c: Likewise.
19087         * locale/programs/ld-time.c: Likewise.
19088         * locale/programs/linereader.c: Likewise.
19089         * locale/programs/locale.c: Likewise.
19090         * locale/programs/locarchive.c: Likewise.
19091         * locale/programs/locfile.h: Likewise.
19092         * locale/programs/repertoire.c: Likewise.
19093         * locale/programs/simple-hash.c: Likewise.
19094         * locale/programs/simple-hash.h: Likewise.
19095         * malloc/memusage.c: Likewise.
19096         * malloc/memusagestat.c: Likewise.
19097         * nis/nis_defaults.c: Likewise.
19098         * nis/nis_hash.c: Likewise.
19099         * nis/nis_print.c: Likewise.
19100         * nis/nis_xdr.c: Likewise.
19101         * nscd/connections.c: Likewise.
19102         * nscd/hstcache.c: Likewise.
19103         * nscd/nscd_gethst_r.c: Likewise.
19104         * nscd/nscd_getserv_r.c: Likewise.
19105         * nscd/nscd_helper.c: Likewise.
19106         * nscd/servicescache.c: Likewise.
19107         * nss/makedb.c: Likewise.
19108         * nss/nss_db/db-XXX.c: Likewise.
19109         * nss/nss_db/db-initgroups.c: Likewise.
19110         * nss/nss_db/db-netgrp.c: Likewise.
19111         * nss/nss_files/files-network.c: Likewise.
19112         * nss/nss_files/files-parse.c: Likewise.
19113         * posix/bug-regex5.c: Likewise.
19114         * posix/fnmatch_loop.c: Likewise.
19115         * posix/regcomp.c: Likewise.
19116         * posix/regexec.c: Likewise.
19117         * posix/tst-rfc3484-2.c: Likewise.
19118         * posix/tst-rfc3484-3.c: Likewise.
19119         * posix/tst-rfc3484.c: Likewise.
19120         * resolv/nss_dns/dns-canon.c: Likewise.
19121         * resolv/nss_dns/dns-network.c: Likewise.
19122         * resolv/res_init.c: Likewise.
19123         * resolv/res_mkquery.c: Likewise.
19124         * resolv/tst-aton.c: Likewise.
19125         * stdlib/cxa_atexit.c: Likewise.
19126         * stdlib/cxa_finalize.c: Likewise.
19127         * stdlib/gen-fpioconst.c: Likewise.
19128         * stdlib/strtol_l.c: Likewise.
19129         * string/tst-endian.c: Likewise.
19130         * sunrpc/auth_des.c: Likewise.
19131         * sunrpc/clnt_udp.c: Likewise.
19132         * sunrpc/rtime.c: Likewise.
19133         * sunrpc/svcauth_des.c: Likewise.
19134         * sunrpc/xdr.c: Likewise.
19135         * sunrpc/xdr_intXX_t.c: Likewise.
19136         * sunrpc/xdr_rec.c: Likewise.
19137         * sysdeps/generic/ldconfig.h: Likewise.
19138         * sysdeps/generic/ldsodefs.h: Likewise.
19139         * sysdeps/generic/memusage.h: Likewise.
19140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19141         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19142         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19143         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19144         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19145         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19146         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19147         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19148         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19150         * sysdeps/posix/getaddrinfo.c: Likewise.
19151         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19152         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19153         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19154         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19155         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19156         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19157         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19158         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19159         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19160         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19161         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19162         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19163         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19164         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19165         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19166         * sysdeps/x86_64/dl-tls.h: Likewise.
19167         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19168         * time/alt_digit.c: Likewise.
19169         * time/era.c: Likewise.
19170         * wcsmbs/tst-c16c32-1.c: Likewise.
19171
19172 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19173
19174         * math/libm-test.inc (struct test_sincos_data): New type.
19175         (RUN_TEST_LOOP_sincos): New macro.
19176         (sincos_test_data): New variable.
19177         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19178
19179 2013-05-16  Richard Henderson  <rth@redhat.com>
19180
19181         * math/atest-exp2.c (LIMB64): New macro.
19182         (CONSTSZ): New macro.
19183         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19184         (hexdig): Move ...
19185         (print_mpn_fp): ... to function scope.
19186         (read_mpn_hex): Remove.
19187         (get_log2): Remove.
19188         (exp2_mpn): Use mp_log2.
19189         (main): Use mp_exp1.
19190
19191 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19192
19193         * math/libm-test.inc: Remove comment about not testing "inexact"
19194         exceptions.
19195         (INEXACT_EXCEPTION): New macro.
19196         (NO_INEXACT_EXCEPTION): Likewise.
19197         (INVALID_EXCEPTION_OK): Update value.
19198         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19199         (OVERFLOW_EXCEPTION_OK): Likewise.
19200         (UNDERFLOW_EXCEPTION_OK): Likewise.
19201         (IGNORE_ZERO_INF_SIGN): Likewise.
19202         (ERRNO_UNCHANGED): Likewise.
19203         (ERRNO_EDOM): Likewise.
19204         (ERRNO_ERANGE): Likewise.
19205         (test_exceptions): Handle testing "inexact" exceptions.
19206         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19207         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19208         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19209         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19210         INEXACT_EXCEPTION.
19211         (rint_towardzero_test_data): Likewise.
19212         (rint_downward_test_data): Likewise.
19213         (rint_upward_test_data): Likewise.
19214
19215         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19216         with OVERFLOW_EXCEPTION.
19217         (exp10_test_data): Likewise.
19218         (exp2_test_data): Likewise.
19219         (expm1_test_data): Likewise.
19220         (lgamma_test_data): Likewise.
19221         (pow_test_data): Likewise.
19222         (tgamma_test_data): Likewise.
19223         (yn_test_data): Remove duplicate test of overflow.
19224
19225         * math/libm-test.inc (struct test_cc_c_data): New type.
19226         (RUN_TEST_LOOP_cc_c): New macro.
19227         (cpow_test_data): New variable.
19228         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19229
19230         * math/libm-test.inc (struct test_f_L_data): New type.
19231         (RUN_TEST_LOOP_f_L): New macro.
19232         (llrint_test_data): New variable.
19233         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19234         (llrint_tonearest_test_data): New variable.
19235         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19236         (llrint_towardzero_test_data): New variable.
19237         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19238         (llrint_downward_test_data): New variable.
19239         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19240         (llrint_upward_test_data): New variable.
19241         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19242         (llround_test_data): New variable.
19243         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19244
19245 2013-05-13  Peter Collingbourne  <pcc@google.com>
19246
19247         * math/atest-exp2.c (get_log2): Remove const attribute.
19248
19249 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19250
19251         * math/libm-test.inc (struct test_f_l_data): New type.
19252         (RUN_TEST_LOOP_f_l): New macro.
19253         (lrint_test_data): New variable.
19254         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19255         (lrint_tonearest_test_data): New variable.
19256         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19257         (lrint_towardzero_test_data): New variable.
19258         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19259         (lrint_downward_test_data): New variable.
19260         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19261         (lrint_upward_test_data): New variable.
19262         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19263         (lround_test_data): New variable.
19264         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19265
19266 2013-05-15  Peter Collingbourne  <pcc@google.com>
19267
19268         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19269         (EXTRACT_WORDS64) Use where appropriate.
19270         (INSERT_WORDS64) Likewise.
19271
19272         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19273         constraints with x constraints.
19274         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19275
19276         * malloc/obstack.c (_obstack_compat): Add initializer.
19277
19278 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19279
19280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19281         si_trapno and add si_addr_lsb to _sifields.sigfault.
19282         (si_trapno): Remove macro.
19283         (si_addr_lsb): Define new macro.
19284         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19285
19286 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19287
19288         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19289         instead of TEST_f_l.
19290         (llrint_test_tonearest): Likewise.
19291         (llrint_test_towardzero): Likewise.
19292         (llrint_test_downward): Likewise.
19293         (llrint_test_upward): Likewise.
19294         (llround_test): Likewise.
19295
19296         * math/libm-test.inc (struct test_f_i_data): Add comment.
19297         (RUN_TEST_LOOP_f_b): New macro.
19298         (RUN_TEST_LOOP_f_b_tg): Likewise.
19299         (finite_test_data): New variable.
19300         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19301         (isfinite_test_data): New variable.
19302         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19303         (isinf_test_data): New variable.
19304         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19305         (isnan_test_data): New variable.
19306         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19307         (isnormal_test_data): New variable.
19308         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19309         (issignaling_test_data): New variable.
19310         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19311         (signbit_test_data): New variable.
19312         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19313
19314         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19315         with INVALID_EXCEPTION.
19316         (acosh_test_data): Likewise.
19317         (asin_test_data): Likewise.
19318         (atanh_test_data): Likewise.
19319         (fmod_test_data): Likewise.
19320         (log_test_data): Likewise.
19321         (log10_test_data): Likewise.
19322         (log2_test_data): Likewise.
19323         (pow_test_data): Likewise.
19324         (sqrt_test_data): Likewise.
19325         (y0_test_data): Likewise.
19326         (y1_test_data): Likewise.
19327         (yn_test_data): Likewise.
19328
19329         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19330         function contents.
19331
19332         * math/libm-test.inc (struct test_ff_i_data): New type.
19333         (RUN_TEST_LOOP_ff_i_tg): New macro.
19334         (isgreater_test_data): New variable.
19335         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19336         (isgreaterequal_test_data): New variable.
19337         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19338         (isless_test_data): New variable.
19339         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19340         (islessequal_test_data): New variable.
19341         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19342         (islessgreater_test_data): New variable.
19343         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19344         (isunordered_test_data): New variable.
19345         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19346
19347 2013-05-14  David S. Miller  <davem@davemloft.net>
19348
19349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19350
19351 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19352
19353         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19354
19355         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19356         extra_test to int.
19357         (struct test_f_i_data): Change type of max_ulp to int.
19358
19359         * math/libm-test.inc (test_ffI_f1_data): New type.
19360         (RUN_TEST_LOOP_ffI_f1): New macro.
19361         (remquo_test_data): New variable.
19362         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19363
19364         * setjmp/tst-setjmp-fp.c: New file.
19365         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19366         (link-libm): New variable.
19367         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19368
19369         * math/libm-test.inc (struct test_f_i_data): New type.
19370         (RUN_TEST_LOOP_f_i): New macro.
19371         (RUN_TEST_LOOP_f_i_tg): Likewise.
19372         (fpclassify_test_data): New variable.
19373         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19374         (ilogb_test_data): New variable.
19375         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19376
19377         * math/libm-test.inc (scalbln_test): Correct function name in END
19378         call.
19379
19380         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19381         (RUN_TEST_LOOP_fI_f1): New macro.
19382         (frexp_test_data): New variable.
19383         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19384
19385         * math/libm-test.inc (struct test_fF_f1_data): New type.
19386         (RUN_TEST_LOOP_fF_f1): New macro.
19387         (modf_test_data): New variable.
19388         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19389
19390         * math/libm-test.inc (struct test_f_f1_data): New type.
19391         (RUN_TEST_LOOP_f_f1): New macro.
19392         (gamma_test_data): New variable.
19393         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19394         (lgamma_test_data): New variable.
19395         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19396
19397 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19398
19399         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19400         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19401         (main): Comment "tls" pseudo-hwcap.
19402
19403 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19404
19405         * math/libm-test.inc (struct test_fl_f_data): New type.
19406         (RUN_TEST_LOOP_fl_f): New variable.
19407         (scalbln_test_data): New variable.
19408         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19409
19410         * math/libm-test.inc (struct test_fi_f_data): New type.
19411         (RUN_TEST_LOOP_fi_f): New macro.
19412         (ldexp_test_data): New variable.
19413         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19414         (scalbn_test_data): New variable.
19415         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19416
19417         * math/libm-test.inc (struct test_c_f_data): New type.
19418         (RUN_TEST_LOOP_c_f): New macro.
19419         (cabs_test_data): New variable.
19420         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19421         (carg_test_data): New variable.
19422         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19423         (cimag_test_data): New variable.
19424         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19425         (creal_test_data): New variable.
19426         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19427
19428         * math/libm-test.inc (struct test_if_f_data): New type.
19429         (RUN_TEST_LOOP_if_f): New macro.
19430         (jn_test_data): New variable.
19431         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19432         (yn_test_data): New variable.
19433         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19434
19435         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19436
19437 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19438
19439         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19440         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19441
19442 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19443
19444         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19445         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19446         (bench-deps): Add bench-timing.h.
19447         * benchtests-bench-skeleton.c: Include bench-timing.h.
19448         (main): Use TIMING_* macros instead of clock_gettime.
19449         * benchtests/bench-timing.h: New file.
19450
19451         [BZ #14582]
19452         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19453         Renamed from _LIB_VERSION.
19454         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19455
19456 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19457
19458         * math/libm-test.inc (struct test_fff_f_data): New type.
19459         (RUN_TEST_LOOP_fff_f): New macro.
19460         (fma_test_data): New variable.
19461         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19462         (fma_towardzero_test_data): New variable.
19463         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19464         (fma_downward_test_data): New variable.
19465         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19466         (fma_upward_test_data): New variable.
19467         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19468
19469         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19470         (struct test_c_c_data): New type.
19471         (RUN_TEST_LOOP_c_c): New macro.
19472         (cacos_test_data): New variable.
19473         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19474         (cacosh_test_data): New variable.
19475         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19476         (casin_test_data): New variable.
19477         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19478         (casinh_test_data): New variable.
19479         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19480         (catan_test_data): New variable.
19481         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19482         (catanh_test_data): New variable.
19483         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19484         (ccos_test_data): New variable.
19485         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19486         (ccosh_test_data): New variable.
19487         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19488         (cexp_test_data): New variable.
19489         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19490         (clog_test_data): New variable.
19491         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19492         (clog10_test_data): New variable.
19493         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19494         (conj_test_data): New variable.
19495         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19496         (cproj_test_data): New variable.
19497         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19498         (csin_test_data): New variable.
19499         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19500         (csinh_test_data): New variable.
19501         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19502         (csqrt_test_data): New variable.
19503         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19504         (ctan_test_data): New variable.
19505         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19506         (ctan_tonearest_test_data): New variable.
19507         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19508         (ctan_towardzero_test_data): New variable.
19509         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19510         (ctan_downward_test_data): New variable.
19511         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19512         (ctan_upward_test_data): New variable.
19513         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19514         (ctanh_test_data): New variable.
19515         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19516         (ctanh_tonearest_test_data): New variable.
19517         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19518         (ctanh_towardzero_test_data): New variable.
19519         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19520         (ctanh_downward_test_data): New variable.
19521         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19522         (ctanh_upward_test_data): New variable.
19523         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19524         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19525         of BUILD_COMPLEX.
19526
19527         * math/libm-test.inc (struct test_ff_f_data): New type.
19528         (struct test_ff_f_data_nexttoward): Likewise.
19529         (RUN_TEST_LOOP_2_f): New macro.
19530         (RUN_TEST_LOOP_ff_f): Likewise.
19531         (atan2_test_data): New variable.
19532         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19533         (copysign_test_data): New variable.
19534         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19535         (fdim_test_data): New variable.
19536         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19537         (fmax_test_data): New variable.
19538         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19539         (fmin_test_data): New variable.
19540         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19541         (fmod_test_data): New variable.
19542         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19543         (hypot_test_data): New variable.
19544         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19545         (nextafter_test_data): New variable.
19546         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19547         (nexttoward_test_data): New variable.
19548         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19549         (pow_test_data): New variable.
19550         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19551         (pow_tonearest_test_data): New variable.
19552         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19553         (pow_towardzero_test_data): New variable.
19554         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19555         (pow_downward_test_data): New variable.
19556         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19557         (pow_upward_test_data): New variable.
19558         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19559         (remainder_test_data): New variable.
19560         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19561         (scalb_test_data): New variable.
19562         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19563         * sysdeps/i386/fpu/libm-test-ulps: Update.
19564
19565 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19566
19567         * math/libm-test.inc (fma_test): Use max_value instead of local
19568         variable fltmax.
19569         (nextafter_test): Likewise.
19570
19571         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19572         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19573         (acos_downward_test_data): New variable.
19574         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19575         (acos_upward_test_data): New variable.
19576         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19577         (acosh_test_data): New variable.
19578         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19579         (asin_test_data): New variable.
19580         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19581         (asin_tonearest_test_data): New variable.
19582         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19583         (asin_towardzero_test_data): New variable.
19584         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19585         (asin_downward_test_data): New variable.
19586         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19587         (asin_upward_test_data): New variable.
19588         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19589         (asinh_test_data): New variable.
19590         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19591         (atan_test_data): New variable.
19592         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19593         (atanh_test_data): New variable.
19594         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19595         (cbrt_test_data): New variable.
19596         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19597         (ceil_test_data): New variable.
19598         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19599         (cos_test_data): New variable.
19600         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19601         (cos_tonearest_test_data): New variable.
19602         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19603         (cos_towardzero_test_data): New variable.
19604         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19605         (cos_downward_test_data): New variable.
19606         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19607         (cos_upward_test_data): New variable.
19608         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19609         (cosh_test_data): New variable.
19610         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19611         (cosh_tonearest_test_data): New variable.
19612         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19613         (cosh_towardzero_test_data): New variable.
19614         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19615         (cosh_downward_test_data): New variable.
19616         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19617         (cosh_upward_test_data): New variable.
19618         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19619         (erf_test_data): New variable.
19620         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19621         (erfc_test_data): New variable.
19622         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19623         (exp_test_data): New variable.
19624         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19625         (exp_tonearest_test_data): New variable.
19626         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19627         (exp_towardzero_test_data): New variable.
19628         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19629         (exp_downward_test_data): New variable.
19630         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19631         (exp_upward_test_data): New variable.
19632         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19633         (exp10_test_data): New variable.
19634         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19635         (exp2_test_data): New variable.
19636         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19637         (expm1_test_data): New variable.
19638         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19639         (fabs_test_data): New variable.
19640         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19641         (floor_test_data): New variable.
19642         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19643         (j0_test_data): New variable.
19644         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19645         (j1_test_data): New variable.
19646         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19647         (log_test_data): New variable.
19648         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19649         (log10_test_data): New variable.
19650         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19651         (log1p_test_data): New variable.
19652         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19653         (log2_test_data): New variable.
19654         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19655         (logb_test_data): New variable.
19656         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19657         (logb_downward_test_data): New variable.
19658         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19659         (nearbyint_test_data): New variable.
19660         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19661         (rint_test_data): New variable.
19662         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19663         (rint_tonearest_test_data): New variable.
19664         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19665         (rint_towardzero_test_data): New variable.
19666         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19667         (rint_downward_test_data): New variable.
19668         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19669         (rint_upward_test_data): New variable.
19670         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19671         (round_test_data): New variable.
19672         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19673         (sin_test_data): New variable.
19674         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19675         (sin_tonearest_test_data): New variable.
19676         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19677         (sin_towardzero_test_data): New variable.
19678         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19679         (sin_downward_test_data): New variable.
19680         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19681         (sin_upward_test_data): New variable.
19682         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19683         (sinh_test_data): New variable.
19684         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19685         (sinh_tonearest_test_data): New variable.
19686         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19687         (sinh_towardzero_test_data): New variable.
19688         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19689         (sinh_downward_test_data): New variable.
19690         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19691         (sinh_upward_test_data): New variable.
19692         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19693         (sqrt_test_data): New variable.
19694         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19695         (tan_test_data): New variable.
19696         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19697         (tan_tonearest_test_data): New variable.
19698         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19699         (tan_towardzero_test_data): New variable.
19700         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19701         (tan_downward_test_data): New variable.
19702         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19703         (tan_upward_test_data): New variable.
19704         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19705         (tanh_test_data): New variable.
19706         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19707         (tgamma_test_data): New variable.
19708         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19709         (trunc_test_data): New variable.
19710         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19711         (y0_test_data): New variable.
19712         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19713         (y1_test_data): New variable.
19714         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19715         (significand_test_data): New variable.
19716         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19717
19718 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19719
19720         [BZ #12387]
19721         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19722
19723 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19724
19725         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19726
19727 2013-05-10  Andreas Jaeger  <aj@suse.de>
19728
19729         [BZ #15448]
19730         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19731         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19732
19733 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19734
19735         * math/gen-libm-test.pl (adjust_arg): New function.
19736         (special_functions): Handle generating output in both functions
19737         and arrays.
19738         (parse_args): Likewise.
19739         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19740         $in_func argument to parse_args.
19741         * math/libm-test.inc (struct test_f_f_data): New type.
19742         (IF_ROUND_INIT_): New macro.
19743         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19744         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19745         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19746         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19747         (ROUND_RESTORE_): Likewise.
19748         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19749         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19750         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19751         (ROUND_RESTORE_FE_UPWARD): Likewise.
19752         (RUN_TEST_LOOP_f_f): New macro.
19753         (acos_test_data): New variable.
19754         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19755         (acos_tonearest_test_data): New variable.
19756         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19757
19758 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19759
19760         * benchtests/bench-skeleton.c (startup): Fix coding style.
19761
19762 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19763
19764         [BZ #6809]
19765         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19766         negative infinity argument.
19767         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19768         negative infinity argument.
19769         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19770         negative infinity argument.
19771         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19772         domain errors.
19773
19774 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19775
19776         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19777         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19778         * iconv/iconv_prog.c (main): Likewise.
19779         * locale/programs/charmap-dir.c (charmap_readdir)
19780         (fopen_uncompressed): Likewise.
19781         * locale/programs/locfile.c (siblings_uncached)
19782         (write_locale_data): Use lstat64 instead of lstat.
19783         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19784         stat.
19785
19786 2013-05-10  Andreas Jaeger  <aj@suse.de>
19787
19788         [BZ #15395]
19789         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19790         localization.
19791         Include <locale.h>.
19792
19793 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19794
19795         * elf/dl-close.c (_dl_close_worker): Add comments.
19796
19797 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19798
19799         [BZ #15359]
19800         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19801         high part of pi/2.
19802         (__ieee754_rem_pio2l): Update comments.
19803
19804         [BZ #15429]
19805         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19806         high part of pi/2.
19807         (__ieee754_rem_pio2l): Update comments.
19808
19809         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19810         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19811
19812         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19813         M_PI_4l.
19814
19815         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19816         (M_PI_34_LOG10El): Likewise.
19817         (M_PI2_LOG10El): Likewise.
19818         (M_PI4_LOG10El): Likewise.
19819         (M_PI_LOG10El): Likewise.
19820
19821 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19822
19823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19824
19825 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19826
19827         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19828         (MINUS_ZERO_INIT): Likewise.
19829         (PLUS_INFTY_INIT): Likewise.
19830         (MINUS_INFTY_INIT): Likewise.
19831         (QNAN_VALUE_INIT): Likewise.
19832         (MAX_VALUE_INIT): Likewise.
19833         (MIN_VALUE_INIT): Likewise.
19834         (MIN_SUBNORM_VALUE_INIT): Likewise.
19835         (plus_zero): Initialize with PLUS_ZERO_INIT.
19836         (minus_zero): Initialize with MINUS_ZERO_INIT.
19837         (plus_infty): Initialize with PLUS_INFTY_INIT.
19838         (minus_infty): Initialize with MINUS_INFTY_INIT.
19839         (qnan_value): Initialize with QNAN_VALUE_INIT.
19840         (max_value): Initialize with MAX_VALUE_INIT.
19841         (min_value): Initialize with MIN_VALUE_INIT.
19842         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19843
19844         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19845         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19846         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19847         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19848
19849         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19850         (RUN_TEST_2_f): Likewise.
19851         (RUN_TEST_ff_f): Likewise.
19852         (RUN_TEST_fi_f): Likewise.
19853         (RUN_TEST_fl_f): Likewise.
19854         (RUN_TEST_fff_f): Likewise.
19855         (RUN_TEST_c_f): Likewise.
19856         (RUN_TEST_f_f1): Likewise.
19857         (RUN_TEST_fF_f1): Likewise.
19858         (RUN_TEST_fI_f1): Likewise.
19859         (RUN_TEST_ffI_f1): Likewise.
19860         (RUN_TEST_c_c): Likewise.
19861         (RUN_TEST_cc_c): Likewise.
19862         (RUN_TEST_f_i): Likewise.
19863         (RUN_TEST_f_i_tg): Likewise.
19864         (RUN_TEST_ff_i_tg): Likewise.
19865         (RUN_TEST_f_b): Likewise.
19866         (RUN_TEST_f_b_tg): Likewise.
19867         (RUN_TEST_f_l): Likewise.
19868         (RUN_TEST_f_L): Likewise.
19869         (RUN_TEST_sincos): Likewise.
19870         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19871         whether to show exceptions.  Do not include ");\n" in return
19872         value.
19873         (special_functions): Output call to RUN_TEST_sincos instead of
19874         check_float calls.  Update calls to new_test.
19875         (parse_args): Output call to single RUN_TEST_* macro instead of
19876         check_* calls and other assignments.  Update calls to new_test.
19877
19878         [BZ #2546]
19879         [BZ #2560]
19880         [BZ #5159]
19881         [BZ #15426]
19882         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19883         input to result for tgamma overflow.
19884         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19885         (gamma_coeff): New variable.
19886         (NCOEFF): New macro.
19887         (gamma_positive): New function.
19888         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19889         underflow here.  Use gamma_positive instead of exp (lgamma) for
19890         other arguments.
19891         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19892         (gamma_coeff): New variable.
19893         (NCOEFF): New macro.
19894         (gammaf_positive): New function.
19895         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19896         underflow here.  Use gamma_positive instead of exp (lgamma) for
19897         other arguments.
19898         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19899         (gamma_coeff): New variable.
19900         (NCOEFF): New macro.
19901         (gammal_positive): New function.
19902         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19903         underflow here.  Use gamma_positive instead of exp (lgamma) for
19904         other arguments.
19905         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19906         (gamma_coeff): New variable.
19907         (NCOEFF): New macro.
19908         (gammal_positive): New function.
19909         (__ieee754_gammal_r): Handle positive infinity, overflow and
19910         underflow here.  Handle NaN the same as positive infinity.  Remove
19911         check x < 0xffffffff for negative integers.  Use gamma_positive
19912         instead of exp (lgamma) for other arguments.
19913         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19914         (gamma_coeff): New variable.
19915         (NCOEFF): New macro.
19916         (gammal_positive): New function.
19917         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19918         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19919         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19920         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19921         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19922         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19923         * sysdeps/generic/math_private.h (__gamma_productf): New
19924         prototype.
19925         (__gamma_product): Likewise.
19926         (__gamma_productl): Likewise.
19927         * math/Makefile (libm-calls): Add gamma_product.
19928         * math/libm-test.inc (tgamma_test): Add more tests.
19929         * sysdeps/i386/fpu/libm-test-ulps: Update.
19930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19931
19932 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19933
19934         * benchtests/bench-skeleton.c (main): Preheat CPU.
19935
19936 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19937
19938         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19939
19940 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19941
19942         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19943         and _dl_skip_args_internal.
19944
19945 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19946
19947         * manual/message.texi (Message Translation): Talk about users.
19948         Message to key mapping impacts design.
19949
19950 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19951
19952         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19953
19954         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19955
19956         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19957         * sysdeps/wordsize-64/glob64.c: ... here.
19958
19959         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19960         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19961         New macros.
19962
19963         * debug/getlogin_r_chk.c: Moved to ...
19964         * login/getlogin_r_chk.c: ... here.
19965         * debug/Makefile (routines): Move getlogin_r_chk to ...
19966         * login/Makefile (routines): ... here.
19967         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19968         * login/Versions (libc: GLIBC_2.4): ... here.
19969
19970         * io/poll.c (__poll): Renamed from poll.
19971         Add libc_hidden_def.
19972         (poll): Define as weak alias.
19973
19974         * debug/ptsname_r_chk.c: Moved to ...
19975         * login/ptsname_r_chk.c: ... here.
19976         * debug/Makefile (routines): Move ptsname_r_chk to ...
19977         * login/Makefile (routines): ... here.
19978         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19979         * login/Versions (libc: GLIBC_2.4): ... here.
19980
19981         * posix/getlogin.c: Moved to ...
19982         * login/getlogin.c: ... here.
19983         * posix/getlogin_r.c: Moved to ...
19984         * login/getlogin_r.c: ... here.
19985         * posix/getlogin_r.c: Moved to ...
19986         * login/getlogin_r.c: ... here.
19987         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19988         * login/Makefile (routines): ... here.
19989         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19990         * login/Versions (libc: GLIBC_2.0): ... here.
19991
19992         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19993         (setrlimit): Define as weak alias.
19994
19995         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19996         Call __ names for open, ftruncate, and close.
19997         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19998         (truncate): Define as weak alias.
19999
20000 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20001
20002         * math/gen-libm-test.pl (parse_args): Initialize x before each
20003         test of frexp, modf and remquo.
20004
20005         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20006         test signgam value.
20007
20008 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20009
20010         [BZ #15418]
20011         [BZ #15419]
20012         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20013         internal tests.
20014         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20015
20016 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20017
20018         * elf/dl-writev.h: New file.
20019         * elf/dl-misc.c: Include it.
20020         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20021         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20022
20023 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20024
20025         * math/libm-test.inc (noXFails): Remove variable.
20026         (noXPasses): Likewise.
20027         (BUILD_COMPLEX_INT): Remove macro.
20028         (print_screen): Remove xfail argument.
20029         (print_screen_max_error): Likewise.
20030         (update_stats): Likewise.
20031         (print_max_error): Likewise.  Update calls to other affected
20032         functions.
20033         (print_complex_max_error): Likewise.
20034         (test_single_exception): Update calls to print_screen.
20035         (test_single_errno): Likewise.
20036         (check_float_internal): Remove xfail argument.  Update calls to
20037         other affected functions.
20038         (check_float): Likewise.
20039         (check_complex): Likewise.
20040         (check_int): Likewise.
20041         (check_long): Likewise.
20042         (check_bool): Likewise.
20043         (check_longlong): Likewise.
20044         (main): Don't print noXFails and noXPasses.
20045         * math/gen-libm-test.pl (top level): Don't mention expected
20046         failure handling in comment.
20047         (new_test): Don't handle expected failures.
20048         (parse_args): Don't mention expected failure handling in comment.
20049         (generate_testfile): Don't handle expected failures.
20050         (parse_ulps): Likewise.
20051         (print_ulps_file): Likewise.
20052         (get_failure): Remove function.
20053         (output_test): Don't handle expected failures.
20054         * make/README.libm-test: Don't mention expected failure handling.
20055
20056         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20057         (minus_zero): Likewise.
20058         (plus_infty): Likewise.
20059         (minus_infty): Likewise.
20060         (qnan_value): Likewise.
20061         (max_value): Likewise.
20062         (min_value): Likewise.
20063         (min_subnorm_value): Likewise.
20064         (initialize): Do not initialize those variables dynamically.
20065
20066 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20067
20068         * io/open.c (__open_2): Moved to ...
20069         * io/open_2.c: ... this new file.
20070         * io/open64.c (__open64_2): Moved to ...
20071         * io/open64_2.c: ... this new file.
20072         * io/openat.c (__openat_2): Moved to ...
20073         * io/openat_2.c: ... this new file.
20074         * io/openat64.c (__openat64_2): Moved to ...
20075         * io/openat64_2.c: ... this new file.
20076         * io/Makefile (routines): Add them.
20077         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20078         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20079         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20080         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20081         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20082         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20083         (__openat64): Add hidden_ver.
20084         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20085         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20086
20087         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20088         Separately conditionalize setting of GLRO(dl_sysinfo) so
20089         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20090         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20091
20092 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20093
20094         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20095         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20096         definition.
20097         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20098         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20099         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20100         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20101         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20102
20103 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20104
20105         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20106         test signgam value.
20107
20108         * math/libm-test.inc (hypot_test): Do not use
20109         IGNORE_ZERO_INF_SIGN.
20110
20111 2013-05-03  Andreas Jaeger  <aj@suse.de>
20112
20113         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20114         Linux 3.9.
20115         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20116         (PF_MAX): Adjust for VSOCK change.
20117
20118 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20119
20120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20121
20122 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20123
20124         [BZ #15264]
20125         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20126         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20127         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20128
20129 2013-05-02  David S. Miller  <davem@davemloft.net>
20130
20131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20132
20133 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20134
20135         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20136
20137 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20138
20139         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20140
20141 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20142
20143         [BZ #14952]
20144         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20145         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20146         Use __attribute__ ((__gnu_inline__)).
20147         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20148         Don't use __attribute__ ((__gnu_inline__)).
20149
20150 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20151
20152         [BZ #15423]
20153         * math/s_catan.c (__catan): Handle small real or imaginary part of
20154         input specially to avoid spurious underflow.
20155         * math/s_catanf.c (__catanf): Likewise.
20156         * math/s_catanh.c (__catanh): Likewise.
20157         * math/s_catanhf.c (__catanhf): Likewise.
20158         * math/s_catanhl.c (__catanhl): Likewise.
20159         * math/s_catanl.c (__catanl): Likewise.
20160         * math/libm-test.inc (catan_test): Add more tests.
20161         (catanh_test): Likewise.
20162         * sysdeps/i386/fpu/libm-test-ulps: Update.
20163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164
20165 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20166
20167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20168
20169 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20170
20171         [BZ #15416]
20172         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20173         accurately for denominator in atan2.
20174         * math/s_catanf.c (__catanf): Likewise.
20175         * math/s_catanh.c (__catanh): Likewise.
20176         * math/s_catanhf.c (__catanhf): Likewise.
20177         * math/s_catanhl.c (__catanhl): Likewise.
20178         * math/s_catanl.c (__catanl): Likewise.
20179         * math/libm-test.inc (catan_test): Add more tests.
20180         (catanh_test): Likewise.
20181         * sysdeps/i386/fpu/libm-test-ulps: Update.
20182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20183
20184 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20185
20186         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20187
20188         * benchtests/Makefile (bench): Remove slow benchmarks.
20189         * benchtests/atan-inputs: Add slow benchmark inputs.
20190         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20191         (BENCH_FUNC): Accept variant offset.
20192         (VARIANT): Define.
20193         * benchtests/bench-skeleton.c (main): Run benchmark for each
20194         variant.
20195         * benchtests/cos-inputs: Add slow benchmark inputs.
20196         * benchtests/exp-inputs: Likewise.
20197         * benchtests/pow-inputs: Likewise.
20198         * benchtests/sin-inputs: Likewise.
20199         * benchtests/slowatan-inputs: Remove.
20200         * benchtests/slowatan.c: Remove.
20201         * benchtests/slowcos-inputs: Remove.
20202         * benchtests/slowcos.c: Remove.
20203         * benchtests/slowexp-inputs: Remove.
20204         * benchtests/slowexp.c: Remove.
20205         * benchtests/slowpow-inputs: Remove.
20206         * benchtests/slowpow.c: Remove.
20207         * benchtests/slowsin-inputs: Remove.
20208         * benchtests/slowsin.c: Remove.
20209         * benchtests/slowtan-inputs: Remove.
20210         * benchtests/slowtan.c: Remove.
20211         * benchtests/tan-inputs: Add slow benchmark inputs.
20212         * scripts/bench.pl: Parse comments and directives.
20213
20214         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20215         in CPPFLAGS.
20216         ($(objpfx)bench-%.c): Remove *-ITER.
20217         * benchtests/bench-modf.c: Remove definition of ITER.
20218         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20219         (main): Loop for DURATION seconds instead of fixed number of
20220         iterations.
20221         * scripts/bench.pl: Don't expect iterations in parameters.
20222
20223 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20224
20225         * io/fchdir.c (__fchdir): Renamed from fchdir.
20226         (fchdir): Define as weak alias.
20227
20228 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20229
20230         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20231         (ERRNO_EDOM): Likewise.
20232         (ERRNO_ERANGE): Likewise.
20233         (noErrnoTests): New variable.
20234         (init_max_error): Set errno to 0.
20235         (test_single_errno): New function.
20236         (test_errno): Likewise.
20237         (check_float_internal): Call test_errno.  Set errno to 0.
20238         (check_complex): Refer to errno tests in comment.
20239         (check_int): Call test_errno.  Set errno to 0.
20240         (check_long): Likewise.
20241         (check_bool): Likewise.
20242         (check_longlong): Likewise.
20243         (cos_test): Use ERRNO_* flags for errno tests instead of
20244         check_int.
20245         (expm1_test): Likewise.
20246         (fmod_test): Likewise.
20247         (ilogb_test): Likewise.
20248         (lgamma_test): Likewise.
20249         (pow_test): Likewise.
20250         (remainder_test): Likewise.
20251         (sin_test): Likewise.
20252         (tan_test): Likewise.
20253         (yn_test): Likewise.
20254         (initialize): Set errno to 0.
20255         (main): Print number of errno tests.
20256         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20257
20258 2013-04-29  Andreas Jaeger  <aj@suse.de>
20259
20260         [BZ #15084]
20261         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20262         and RES_USEVC.
20263
20264         [BZ #15085]
20265         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20266         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20267         unimplemented.
20268
20269         [BZ #15380]
20270         * stdlib/random.c (__initstate): Return NULL if
20271         __initstate fails.
20272
20273         [BZ #15086]
20274         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20275         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20276         RES_SNGLKUPREOP.
20277
20278 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20279
20280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20281
20282 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20283
20284         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20285         of individual tests.
20286         (casin_test): Likewise.
20287         (casinh_test): Likewise.
20288
20289 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20290
20291         [BZ #15409]
20292         * math/s_catan.c (__catan): Handle arguments with large real or
20293         imaginary part separately without squaring.
20294         * math/s_catanf.c (__catanf): Likewise.
20295         * math/s_catanh.c (__catanh): Likewise.
20296         * math/s_catanhf.c (__catanhf): Likewise.
20297         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20298         and redefine.
20299         (__catanhl): Handle arguments with large real or imaginary part
20300         separately without squaring.
20301         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20302         and redefine.
20303         (__catanl): Handle arguments with large real or imaginary part
20304         separately without squaring.
20305         * math/libm-test.inc (catan_test): Add more tests.
20306         (catanh_test): Likewise.
20307         * sysdeps/i386/fpu/libm-test-ulps: Update.
20308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20309
20310 2013-04-27  Andreas Jaeger  <aj@suse.de>
20311
20312         [BZ #15007]
20313         * stdlib/stdlib.h: Update guards for qecvt.
20314         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20315         <stdlib.h>.
20316
20317 2013-04-27  Allan McRae  <allan@archlinux.org>
20318
20319         * sysdeps/i386/fpu/libm-test-ulps: Update.
20320
20321 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20322
20323         [BZ #15406]
20324         * math/s_catan.c: Include <float.h>.
20325         (__catan): Ensure underflow exception occurs for underflowed
20326         result.
20327         * math/s_catanf.c: Include <float.h>.
20328         (__catanf): Ensure underflow exception occurs for underflowed
20329         result.
20330         * math/s_catanh.c: Include <float.h>.
20331         (__catanh): Ensure underflow exception occurs for underflowed
20332         result.
20333         * math/s_catanhf.c: Include <float.h>.
20334         (__catanhf): Ensure underflow exception occurs for underflowed
20335         result.
20336         * math/s_catanhl.c: Include <float.h>.
20337         (__catanhl): Ensure underflow exception occurs for underflowed
20338         result.
20339         * math/s_catanl.c: Include <float.h>.
20340         (__catanl): Ensure underflow exception occurs for underflowed
20341         result.
20342         * math/libm-test.inc (catan_test): Add more tests.
20343         (catanh_test): Likewise.
20344
20345         [BZ #15405]
20346         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20347         underflowed result.
20348         * math/s_ccoshf.c (__ccoshf): Likewise.
20349         * math/s_ccoshl.c (__ccoshl): Likewise.
20350         * math/s_csin.c (__csin): Likewise.
20351         * math/s_csinf.c (__csinf): Likewise.
20352         * math/s_csinh.c (__csinh): Likewise.
20353         * math/s_csinhf.c (__csinhf): Likewise.
20354         * math/s_csinhl.c (__csinhl): Likewise.
20355         * math/s_csinl.c (__csinl): Likewise.
20356         * math/libm-test.inc (ccos_test): Add more tests.
20357         (ccosh_test): Likewise.
20358         (csin_test): Likewise.
20359         (csinh_test): Likewise.
20360
20361 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20362
20363         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20364         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20365         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20366         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20367         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20368         powerpc/power5+/fpu folders.
20369         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20370
20371
20372 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20373
20374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20375
20376 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20377
20378         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20379         additions to variable.
20380         [$(config-machine) = x86_64] (modules-names): Likewise.
20381         ($(objpfx)tst-audit3): Remove dependency.
20382         ($(objpfx)tst-audit3.out): Likewise.
20383         ($(objpfx)tst-audit4): Likewise.
20384         ($(objpfx)tst-audit4.out): Likewise.
20385         ($(objpfx)tst-audit5): Likewise.
20386         ($(objpfx)tst-audit5.out): Likewise.
20387         ($(objpfx)tst-audit6): Likewise.
20388         ($(objpfx)tst-audit6.out): Likewise.
20389         ($(objpfx)tst-audit7): Likewise.
20390         ($(objpfx)tst-audit7.out): Likewise.
20391         (tst-audit3-ENV): Remove variable.
20392         (tst-audit4-ENV): Likewise.
20393         (tst-audit5-ENV): Likewise.
20394         (tst-audit6-ENV): Likewise.
20395         (tst-audit7-ENV): Likewise.
20396         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20397         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20398         addition to variable.
20399         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20400         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20401         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20402         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20403         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20404         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20405         tst-audit3, tst-audit4 and tst-audit5.
20406         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20407         tst-audit6 and tst-audit7.
20408         [$(subdir) = elf] (modules-names): Add audit modules for those
20409         tests.
20410         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20411         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20412         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20413         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20414         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20415         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20416         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20417         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20418         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20419         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20420         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20421         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20422         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20423         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20424         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20425         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20426         Likewise.
20427         [$(subdir) = elf && $(config-cflags-avx) = yes]
20428         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20429         [$(subdir) = elf && $(config-cflags-avx) = yes]
20430         (CFLAGS-tst-auditmod4a.c): Likewise.
20431         [$(subdir) = elf && $(config-cflags-avx) = yes]
20432         (CFLAGS-tst-auditmod4b.c): Likewise.
20433         [$(subdir) = elf && $(config-cflags-avx) = yes]
20434         (CFLAGS-tst-auditmod6b.c): Likewise.
20435         [$(subdir) = elf && $(config-cflags-avx) = yes]
20436         (CFLAGS-tst-auditmod6c.c): Likewise.
20437         [$(subdir) = elf && $(config-cflags-avx) = yes]
20438         (CFLAGS-tst-auditmod7b.c): Likewise.
20439         * elf/tst-audit3.c: Move to ...
20440         * sysdeps/x86_64/tst-audit3.c: ... here.
20441         * elf/tst-audit4.c: Move to ...
20442         * sysdeps/x86_64/tst-audit4.c: ... here.
20443         * elf/tst-audit5.c: Move to ...
20444         * sysdeps/x86_64/tst-audit5.c: ... here.
20445         * elf/tst-audit6.c: Move to ...
20446         * sysdeps/x86_64/tst-audit6.c: ... here.
20447         * elf/tst-audit7.c: Move to ...
20448         * sysdeps/x86_64/tst-audit7.c: ... here.
20449         * elf/tst-auditmod3a.c: Move to ...
20450         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20451         * elf/tst-auditmod3b.c: Move to ...
20452         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20453         * elf/tst-auditmod4a.c: Move to ...
20454         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20455         * elf/tst-auditmod4b.c: Move to ...
20456         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20457         * elf/tst-auditmod5a.c: Move to ...
20458         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20459         * elf/tst-auditmod5b.c: Move to ...
20460         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20461         * elf/tst-auditmod6a.c: Move to ...
20462         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20463         * elf/tst-auditmod6b.c: Move to ...
20464         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20465         * elf/tst-auditmod6c.c: Move to ...
20466         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20467         * elf/tst-auditmod7a.c: Move to ...
20468         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20469         * elf/tst-auditmod7b.c: Move to ...
20470         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20471
20472 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20473
20474         [BZ #15366]
20475         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20476         define unconditionally.
20477         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20478         define unconditionally.
20479         (INT8_C, INT16_C, etc.): Likewise.
20480
20481 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20482
20483         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20484         __ehdr_start with hidden visibility.
20485
20486         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20487
20488 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20489
20490         * math/libm-test.inc (cos_test): Use accurate hex constants.
20491         (sincost_test): Likewise.
20492
20493 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20494
20495         * math/libm-test.inc (catan_test): Add more tests.
20496         (catanh_test): Likewise.
20497
20498         * math/s_catanf.c (__catanf): Use suffixed floating-point
20499         constants.
20500         * math/s_catanhf.c (__catanhf): Likewise.
20501         * math/s_catanhl.c (__catanhl): Likewise.
20502         * math/s_catanl.c (__catanl): Likewise.
20503
20504         [BZ #15394]
20505         * math/s_catan.c (__catan): Calculate imaginary part of result
20506         with log1p not log unless computing log of number close to 0.
20507         * math/s_catanf.c (__catanf): Likewise.
20508         * math/s_catanl.c (__catanl): Likewise.
20509         * math/s_catanh.c (__catanh): Calculate real part of result with
20510         log1p not log unless computing log of number close to 0.
20511         * math/s_catanhf.c (__catanhf): Likewise.
20512         * math/s_catanhl.c (__catanhl): Likewise.
20513         * math/libm-test.inc (catan_test): Add more tests.
20514         (catanh_test): Likewise.
20515         * sysdeps/i386/fpu/libm-test-ulps: Update.
20516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20517
20518 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20519
20520         * benchtests/Makefile: Mention files in which fast and slow
20521         paths of math functions are implemented.
20522
20523 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20524
20525         * sysdeps/posix/timespec_get.c: New file.
20526
20527 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20528
20529         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20530         POWER.
20531         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20532         for POWER.
20533         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20534         powerpc/power5/fpu folders.
20535         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20536         * benchtests/Makefile: Add modf testcase.
20537         * benchtests/bench-modf.c: New file: Benchmark test for mo
20538
20539 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20540
20541         [BZ #14888]
20542         * time/Makefile (tests): Add tst-strptime-whitespace.
20543         * time/strptime_l.c (get_number): Use ISSPACE.
20544         (__strptime_internal): Likewise.
20545         * time/tst-strptime-whitespace.c: New test case.
20546
20547 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20548
20549         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20550         member.
20551         (_nss_files_init): Set it here.
20552
20553 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20554
20555         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20556         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20557         unsigned.
20558
20559 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20560
20561         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20562
20563 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20564
20565         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20566         size just once.
20567
20568 2013-04-21  David S. Miller  <davem@davemloft.net>
20569
20570         * po/ru.po: Update Russion translation from translation project.
20571
20572 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20573
20574         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20575         and setfsgid.
20576
20577 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20578
20579         * configure.in: Remove i386 configure warning. Remove i386 case.
20580         * configure: Regenerate.
20581         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20582         Add example to error message.
20583         * sysdeps/i386/configure: Regenerate.
20584
20585 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20586
20587         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20588         slowtan.
20589         * benchtests/cos-inputs: New file.
20590         * benchtests/slowcos-inputs: New file.
20591         * benchtests/slowcos.c: New file.
20592         * benchtests/slowtan-inputs: New file.
20593         * benchtests/slowtan.c: New file.
20594         * benchtests/tan-inputs: New file.
20595
20596 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20597
20598         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20599         considered kosher.
20600
20601 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20602
20603         * benchtests/Makefile: Include cppflags-iterator.mk to add
20604         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20605
20606         * Makefile.in (bench-clean): New target.
20607         * benchtests/Makefile (bench-clean): Likewise.
20608
20609 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20610
20611         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20612
20613 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20614
20615         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20616
20617 2013-04-15  Andreas Schwab  <schwab@suse.de>
20618
20619         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20620         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20621         * nscd/pwdcache.c (cache_addpw): Likewise.
20622         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20623         more than recsize.
20624
20625 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20626
20627         * benchtests/Makefile (bench): Write all output to
20628         bench-out.tmp together.
20629
20630 2013-04-15  Andreas Schwab  <schwab@suse.de>
20631
20632         * nscd/nscd.c (main): Don't fork again after closing files.
20633
20634 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20635
20636         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20637
20638         * benchtests/Rules (bench-deps): Collect dependencies into a
20639         single variable.  Add Makefile to dependencies.
20640         ($(objpfx)bench-%.c): Depend on bench-deps.
20641
20642 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20643             Xavier Roche  <roche+kml2@exalead.com>
20644
20645         [BZ #15361]
20646         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20647         just that it's a file descriptor.
20648         * manual/llio.texi (Synchronizing AIO Operations): Update description
20649         for EBADF error from aio_fsync.
20650
20651 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20652
20653         * Rules (bench): Move target definition...
20654         * benchtests/Makefile: ... here.
20655
20656 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20657
20658         * math/libm-test.inc (cos_test): Fix PI/2 test.
20659         (sincos_test): Likewise.
20660         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20661         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20662
20663 2013-04-11  Andreas Schwab  <schwab@suse.de>
20664
20665         [BZ #13988]
20666         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20667         accept exponent character only when digits were seen.
20668         * stdio-common/Makefile (tests): Add bug26.
20669         * stdio-common/bug26.c: New file.
20670
20671         [BZ #14293]
20672         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20673         non-freeable.
20674
20675 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20676
20677         * Makeconfig (rtld-prefix): Define built linker prefix.
20678         * Rules (run-bench): Use it.
20679         * math/Makefile (run-regen-ulps): Likewise.
20680
20681         * Rules (bench): Remove eval.
20682
20683 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20684             Roland McGrath  <roland@hack.frob.com>
20685             Ondrej Bilka  <neleai@seznam.cz>
20686
20687         [BZ #15346]
20688         * time/getdate.c: Include ctype.h and alloca.h.
20689         (__getdate_r): Trim leading and trailing spaces of input.
20690         * time/tst-getdate.c (tests): Add tests with leading and
20691         trailing spaces.
20692
20693 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20694
20695         [BZ #14280]
20696         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20697         when computing value.
20698
20699 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20700
20701         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20702         Use testrun.sh to run libm tests.
20703
20704         [BZ #15309]
20705         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20706
20707 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20708
20709         [BZ #15264]
20710         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20711
20712 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20713
20714         * Makefile.in (regen-ulps): New target.
20715         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20716         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20717         [ifneq (no,$(PERL)] (regen-ulps): New target.
20718         [ifeq (no,$(PERL)] (regen-ulps): New target.
20719         * math/libm-test.inc (ulps_file_name): Define.
20720         (output_dir): New variable.
20721         (options): Add "output-dir" option.
20722         (parse_opt): Handle 'o' case.
20723         (main): If output_dir is non-NULL use it as a prefix
20724         otherwise use "".
20725         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20726
20727 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20728
20729         [BZ #10060, #10062]
20730         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20731         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20732         fail configure if __sync_val_compare_and_swap is not inlined.
20733         * sysdeps/i386/configure: Regenerate.
20734         * configure.in: Build for i686 when configured for i386.
20735         * configure: Regenerate.
20736         * README: Remove i386 reference.
20737
20738 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20739
20740         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20741         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20742
20743 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20744
20745         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20746         (lmsnanval): New variables.
20747         (F): Add conversion tests.
20748         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20749         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20750
20751         * stdio-common/tstdiomisc.c (F): Properly collect individual
20752         tests' results.
20753
20754         [BZ #14686, #15336]
20755         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20756         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20757         Instead, use input NaN values or generate a qNaN by arithmetic
20758         operation.  Also fix bugs to comply with the standard.
20759         * math/libm-test.inc (remainder_test): Add more tests.
20760
20761         [BZ #15335, #15342]
20762         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20763         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20764         input NaN values or generate a qNaN by arithmetic operation.
20765
20766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20767         unreachable code.
20768
20769         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20770         definitions.
20771
20772 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20773
20774         [BZ #14478]
20775         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20776         underflowed result.
20777         * math/s_cexpf.c (__cexpf): Likewise.
20778         * math/s_cexpl.c (__cexpl): Likewise.
20779         * math/libm-test.inc (cexp_test): Add more tests.
20780
20781 2013-04-03  Andreas Schwab  <schwab@suse.de>
20782
20783         [BZ #15330]
20784         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20785         order arrays from heap if bigger than alloca cutoff.
20786
20787 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20788
20789         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20790         (SNAN_TESTS_double): Refer to GCC PR56831.
20791         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20792         GCC PR56828.
20793
20794 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20795
20796         * Rules (bench): Move bench.out after the run is complete.
20797
20798         * Rules (bench): Echo currently running benchmark.
20799
20800         * benchtests/Makefile (bench): Add atan and slowatan.
20801         * benchtests/atan-inputs: New file.
20802         * benchtests/slowatan-inputs: New file.
20803         * benchtests/slowatan.c: New file.
20804
20805         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20806         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20807         its value.
20808
20809         [BZ #15305]
20810         * sysdeps/unix/sysv/linux/kernel-features.h
20811         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20812         __ASSUME_XFS_RESTRICTED_CHOWN.
20813         * sysdeps/unix/sysv/linux/pathconf.c
20814         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20815         Save and restore errno.
20816
20817 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20818
20819         [BZ #15327]
20820         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20821         arguments using __kernel_casinh.
20822         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20823         arguments using __kernel_casinhf.
20824         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20825         arguments using __kernel_casinhl.
20826         * math/libm-test.inc (cacosh_test): Add more tests.
20827         * sysdeps/i386/fpu/libm-test-ulps: Update.
20828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20829
20830 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20831
20832         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20834
20835         * bench/Makefile (bench): Add sin and slowsin.
20836         * benchtests/sin-inputs: New file.
20837         * benchtests/slowsin-inputs: New file.
20838         * benchtests/slowsin.c: New file.
20839
20840         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20841         (bench): Add slowexp and slowpow.
20842         (exp-ITER): Increase iterations.
20843         (pow-ITER): Likewise.
20844         * benchtests/exp-inputs: Change input.
20845         * benchtests/pow-inputs: Likewise.
20846         * benchtests/slowexp-inputs: New file.
20847         * benchtests/slowexp.c: New file.
20848         * benchtests/slowpow-inputs: New file.
20849         * benchtests/slowpow.c: New file.
20850
20851 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20852
20853         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20854         instructions.
20855         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20856         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20857         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20858         * benchtests/Makefile: Add rint benchtest.
20859         * benchtests/rint-inputs: Input for rint benchtest.
20860
20861 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20862
20863         * Versions.def (libm): Add GLIBC_2.18.
20864         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20865         hidden libm prototypes.
20866         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20867         * math/Makefile (libm-calls): Add s_issignaling.
20868         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20869         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20870         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20871         declaration.
20872         * math/math.h [__USE_GNU] (issignaling): New macro.
20873         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20874         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20875         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20876         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20877         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20878         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20879         * manual/arith.texi (issignaling): New section.
20880         * manual/libm-err-tab.pl (@all_functions): Update comment.
20881         * math/gen-libm-test.pl (parse_args): Apply special handling for
20882         issignaling.
20883         * math/libm-test.inc (print_float, issignaling_test): New
20884         functions.
20885         (check_float_internal): Add issignaling checks.
20886         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20887         default definition.
20888         * sysdeps/powerpc/math-tests.h: New file.
20889         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20890         tests.
20891         * math/test-snan.c (TEST_FUNC): Likewise.
20892
20893 2013-03-30  David S. Miller  <davem@davemloft.net>
20894
20895         * po/de.po: Update from translation team.
20896
20897 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20898
20899         [BZ #10357]
20900         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20901         imaginary part less than 1.0 and real part less than 0.5
20902         specially.
20903         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20904         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20905         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20906         (cacos_test): Add more tests.
20907         (casin_test): Likewise.
20908         (casinh_test): Likewise.
20909         * sysdeps/i386/fpu/libm-test-ulps: Update.
20910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20911
20912 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20913
20914         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20915         ONE with its value.
20916
20917         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20918         (__pow_mp): Replace ONE and MONE with their values.
20919         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20920         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20921         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20922         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20923         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20924         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20925
20926         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20927
20928         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20929         (__pow_mp): Replace ZERO and MZERO with their values.
20930         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20931         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20932         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20934         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20935         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20936         (__sqr): Likewise.
20937
20938         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20939
20940         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20941
20942 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20943
20944         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20945         Declare with __attribute__ ((weak)).
20946         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20947         Call __call_tls_dtors only if it's not NULL.
20948
20949 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20950
20951         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20952         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20953         magic __ehdr_start linker symbol if it's defined.
20954         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20955         them up here if it was already done.
20956
20957         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20958         (_dl_aux_init): Use const in cast when setting it.
20959         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20960         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20961         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20962
20963         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20964         Declare them here.
20965         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20966         * csu/libc-tls.c: Nor here.
20967         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20968
20969         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20970         (__libc_message): Never call vsyslog.
20971
20972 2013-03-28  Alan Modra  <amodra@gmail.com>
20973
20974         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20975         Define as empty.
20976         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20977         Likewise.
20978
20979 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20980
20981         [BZ #15214]
20982         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20983         underflow.
20984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20985
20986 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20987
20988         [BZ #15304]
20989         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20990         Don't add gid passed as argument.
20991
20992         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20993
20994 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20995
20996         [BZ #15307]
20997         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20998         imaginary part between 1.0 and 1.5 and real part less than 0.5
20999         specially.
21000         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21001         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21002         * math/libm-test.inc (cacos_test): Add more tests.
21003         (casin_test): Likewise.
21004         (casinh_test): Likewise.
21005         * sysdeps/i386/fpu/libm-test-ulps: Update.
21006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21007
21008 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21009
21010         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21011         constants.
21012         (norm): Likewise.
21013         (denorm): Likewise.
21014         (__dbl_mp): Likewise.
21015         (add_magnitudes): Likewise.
21016         (sub_magnitudes): Likewise.
21017         (__add): Likewise.
21018         (__sub): Likewise.
21019         (__mul): Likewise.
21020         (__sqr): Likewise.
21021         (__inv): Likewise.
21022         (__dvd): Likewise.
21023
21024         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21025         commented code.
21026         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21027         (__dubcos): Likewise.
21028         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21029         (__ieee754_acos): Likewise.
21030         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21031         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21032         (__exp1): Likewise.
21033         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21034         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21035         (log1): Likewise.
21036         (my_log2): Likewise.
21037         (checkint): Likewise.
21038         * sysdeps/ieee754/dbl-64/e_remainder.c
21039         (__ieee754_remainder): Likewise.
21040         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21042         (bsloww): Likewise.
21043         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21044
21045         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21046         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21047         MANTISSA_STORE_T to store computations on mantissa.  Use
21048         macros for rounding and division.
21049         (denorm): Likewise.
21050         (__dbl_mp): Likewise.
21051         (add_magnitudes): Likewise.
21052         (sub_magnitudes): Likewise.
21053         (__mul): Likewise.
21054         (__sqr): Likewise.
21055         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21056         powers of two in terms of TWOPOW macro.
21057         (mp_no): Make type of mantissa as MANTISSA_T.
21058         [!RADIXI]: Define RADIXI.
21059         [!TWO52]: Define TWO52.
21060         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21061
21062 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21063
21064         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21065         llroundl symbol when building for PPC32.
21066
21067 2013-03-24  Mark H Weaver  <mhw@netris.org>
21068
21069         * manual/arith.texi (Normalization Functions): Fix prototypes for
21070         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21071
21072 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21073
21074         [BZ #13889]
21075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21076         high value to check if expl overflow.
21077         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21078         to check for underflow and overflow.
21079         * math/libm-test.inc: Add exp test.
21080
21081 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21082
21083         [BZ #11120]
21084         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21085         with NOT_IN_libc.
21086
21087 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21088
21089         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21090         symbol.
21091
21092 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21093
21094         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21095         wrap blocks consisting of several statements.
21096
21097         * sysdeps/generic/math-tests.h: New file.
21098         * sysdeps/i386/fpu/math-tests.h: Likewise.
21099         * math/test-snan.c: Include it.
21100         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21101
21102 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21103
21104         [BZ #15285]
21105         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21106         (__ieee754_j0l): Do not improve calculations using cos of twice
21107         input for inputs above LDBL_MAX / 2.0L.
21108         (__ieee754_y0l): Likewise.
21109         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21110         (__ieee754_j1l): Do not improve calculations using cos of twice
21111         input for inputs above LDBL_MAX / 2.0L.
21112         (__ieee754_y1l): Likewise.
21113         * math/libm-test.inc (j0_test): Add another test.
21114         (j1_test): Likewise.
21115         (y0_test): Likewise.
21116         (y1_test): Likewise.
21117         * sysdeps/i386/fpu/libm-test-ulps: Update.
21118
21119 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21120
21121         * Rules ($(objpfx)bench-%.c): Include code from a C source
21122         file.
21123
21124 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21125
21126         [BZ #15287]
21127         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21128         imaginary part 1.0 and real part less than 0.5 specially.
21129         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21130         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21131         * math/libm-test.inc (cacos_test): Add more tests.
21132         (casin_test): Likewise.
21133         (casinh_test): Likewise.
21134         * sysdeps/i386/fpu/libm-test-ulps: Update.
21135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21136
21137 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21138
21139         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21140         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21141
21142 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21143
21144         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21145         * config.make.in (config-cflags-sse4): Remove variable.
21146         (config-cflags-avx): Likewise.
21147         (config-cflags-sse2avx): Likewise.
21148         (config-cflags-novzeroupper): Likewise.
21149         (config-asflags-i686): Likewise.
21150         (have-mfma4): Likewise.
21151         (have-as-vis3): Likewise.
21152         (MIG): Likewise.
21153         * configure.in (MIG): Do not AC_SUBST.
21154         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21155         (libc_cv_cc_sse4): Do not AC_SUBST.
21156         (libc_cv_cc_avx): Likewise.
21157         (libc_cv_cc_sse2avx): Likewise.
21158         (libc_cv_cc_novzeroupper): Likewise.
21159         (libc_cv_cc_fma4): Likewise.
21160         (libc_cv_as_i686): Likewise.
21161         (libc_cv_sparc_as_vis3): Likewise.
21162         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21163         LIBC_CONFIG_VAR.
21164         (config-asflags-i686): Likewise.
21165         (config-cflags-avx): Likewise.
21166         (config-cflags-sse2avx): Likewise.
21167         (have-mfma4): Likewise.
21168         (config-cflags-novzeroupper): Likewise.
21169         * sysdeps/mach/configure.in (MIG): Likewise.
21170         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21171         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21172         LIBC_CONFIG_VAR.
21173         (config-cflags-avx): Likewise.
21174         (config-cflags-sse2avx): Likewise.
21175         (have-mfma4): Likewise.
21176         (config-cflags-novzeroupper): Likewise.
21177         * configure: Regenerated.
21178         * sysdeps/i386/configure: Likewise.
21179         * sysdeps/mach/configure: Likewise.
21180         * sysdeps/sparc/configure: Likewise.
21181         * sysdeps/x86_64/configure: Likewise.
21182
21183 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21184
21185         [BZ #14812]
21186         * locale/programs/localedef.c (options): Put N_ translation marker
21187         on argument names, not just descriptions.
21188
21189 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21190
21191         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21192
21193 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21194
21195         [BZ #14176]
21196         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21197
21198 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21199
21200         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21201         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21202         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21203         [!BEFORE_ABORT] (before_abort): New function.
21204         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21205         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21206         (writev_for_fatal): New function.
21207         (WRITEV_FOR_FATAL): New macro; call that.
21208         (backtrace_and_maps): New function.
21209         (BEFORE_ABORT): New macro; call that.
21210         (struct str_list): Type removed.
21211         (__libc_message, __libc_fatal): Functions removed.
21212         Include <sysdeps/posix/libc_fatal.c> instead.
21213
21214 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21215
21216         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21217         constants.
21218         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21219         double constants.
21220
21221 2013-03-19  Andreas Schwab  <schwab@suse.de>
21222
21223         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21224         * sysdeps/gnu/configure: Regenerate.
21225
21226         * configure.in: Substitute libc_cv_rtlddir.
21227         * configure: Regenerate.
21228         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21229         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21230         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21231         * elf/Makefile (install-others, CFLAGS-interp.c)
21232         (ldso_install, common-ldd-rewrite): Likewise.
21233         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21234         $(inst_slibdir)/$(rtld-installed-name).
21235         * scripts/rellns-sh: Add -p option.
21236         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21237         for source.
21238
21239 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21240
21241         * manual/nptl.texi: Renamed to ...
21242         * manual/threads.texi: ... this.
21243         * manual/Makefile (chapters): Update.
21244
21245 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21246
21247         [BZ #14812]
21248         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21249         on argument names, not just descriptions.
21250         * malloc/memusagestat.c (options): Likewise.
21251         * nss/getent.c (options): Likewise.
21252
21253 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21254
21255         [BZ #14812]
21256         * iconv/iconv_prog.c (options): Put N_ translation marker
21257         on argument names, not just descriptions.
21258         * iconv/iconvconfig.c (options): Likewise.
21259
21260 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21261
21262         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21263         implementation which is faster on all x86_64 architectures.
21264         Tested on AMD, Intel Nehalem, SNB, IVB.
21265         * sysdeps/x86_64/strnlen.S: Likewise.
21266
21267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21268         Remove all multiarch strlen and strnlen versions.
21269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21270         Remove strlen and strnlen related parts.
21271
21272         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21273         Inline strlen part.
21274         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21275
21276         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21277         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21278         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21279         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21280         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21281         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21282
21283 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21284
21285         * manual/memory.texi (Malloc Tunable Parameters):
21286         Sort parameters alphabetically. Add comments for missing entries.
21287
21288 2013-03-17  David S. Miller  <davem@davemloft.net>
21289
21290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21291
21292 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21293
21294         [BZ #15283]
21295         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21296         for arguments at most half maximum finite value.
21297         * math/libm-test.inc (j0_test): Add more tests.
21298         (j1_test): Likewise.
21299         (y0_test): Likewise.
21300         (y1_test): Likewise.
21301         * sysdeps/i386/fpu/libm-test-ulps: Update.
21302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21303
21304         [BZ #14155]
21305         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21306         1 / x and functions P and Q for arguments above 0x1p256L.
21307         (__ieee754_y0l): Likewise.
21308         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21309         (__ieee754_y1l): Likewise.
21310         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21311         (j1_test): Likewise.
21312         (y0_test): Likewise.
21313         (y1_test): Likewise.
21314
21315 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21316
21317         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21318         variable.
21319
21320 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21321
21322         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21323         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21324         zero since it's initialized to EXEC_PAGESIZE.
21325
21326         * sysdeps/unix/sysv/linux/ldsodefs.h
21327         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21328         * sysdeps/generic/ldsodefs.h: ... here.
21329
21330 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21331
21332         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21333
21334         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21335         math/test-snan.c.
21336         * math/test-snan.c: Renamed from
21337         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21338         * math/Makefile (tests): Add test-snan.
21339         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21340         test-powerpc-snan.
21341
21342         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21343         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21344         functions.
21345         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21346         __builtin_nan family of functions.
21347         * math/libm-test.inc (initialize): Initialize qnan_value with
21348         __builtin_nan family of functions.
21349         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21350         Remove variables.
21351         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21352         Remove functions.
21353         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21354         storage class.  Initialize qNaN_var and sNaN_var with
21355         __builtin_nan and __builtin_nans families of functions,
21356         respectively.
21357
21358         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21359         (sqrt_test): Remove duplicate test with qNaN input.
21360         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21361         (round_test, signbit_test, significand_test): Note missing +/-Inf
21362         as well as qNaN tests.
21363
21364         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21365         qNaN_var.  Fix a few strings, too.
21366         * math/libm-test.inc (nan_value): Rename to qnan_value.
21367         * math/gen-libm-test.pl (%beautify): Adjust to that.
21368         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21369         * math/test-misc.c (main): Likewise.
21370         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21371         to __qnan_bytes, and __qnan_union, respectively.
21372         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21373         Likewise.
21374         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21375         and lqnanval, respectively.
21376         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21377         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21378         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21379         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21380
21381         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21382         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21383         doubles.
21384
21385         * math/test-misc.c (main): Fix copy'n'pastos.
21386         * misc/tst-efgcvt.c (special): Likewise.
21387
21388         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21389         Remove declarations.
21390
21391 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21392
21393         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21394         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21395         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21396         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21397
21398 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21399
21400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21401         macro to return vdso values correctly in IFUNC implementations.
21402         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21403         Optimization by using IFUNC.
21404
21405 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21406             Richard Henderson  <rth@redhat.com>
21407             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21408
21409         * Makefile.in (bench): New target.
21410         * NEWS: Mention the benchmark framework.
21411         * Rules (bench): Likewise.
21412         (binaries-bench): Generate binaries for functions to
21413         benchmark.
21414         * benchtests/Makefile: New makefile for benchmark tests.
21415         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21416         programs.
21417         * benchtests/exp-inputs: New input file for EXP function.
21418         * benchtests/pow-inputs: New input file for POW function.
21419         * scripts/bench.pl: New script to generate source files for
21420         benchmark programs.
21421
21422 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21423
21424         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21425         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21426         computations on mantissa.  Use macros for rounding and
21427         division.
21428         (denorm): Likewise.
21429         (__dbl_mp): Likewise.
21430         (add_magnitudes): Likewise.
21431         (sub_magnitudes): Likewise.
21432         (__mul): Likewise.
21433         (__sqr): Likewise.
21434         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21435         powers of two in terms of TWOPOW macro.
21436         (mp_no): Make type of mantissa as MANTISSA_T.
21437         [!RADIXI]: Define RADIXI.
21438         [!TWO52]: Define TWO52.
21439         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21440
21441         * manual/nptl.texi (cindex): Modify threads to pthreads.
21442
21443 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21444
21445         * sysdeps/x86_64/preconfigure: Regenerated.
21446
21447 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21448
21449         [BZ #14155]
21450         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21451         0x1p28 and above.
21452         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21453         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21454         0x1p28 and above.
21455         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21456         * math/libm-test.inc (j0_test): Do not allow one spurious
21457         underflow exception.
21458         (y1_test): Likewise.
21459
21460 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21461
21462         * manual/Makefile (chapters): Add nptl.
21463         * manual/debug.texi (Debugging Support): Add link to Threads
21464         chapter.
21465         * manual/nptl.texi: New file.
21466
21467         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21468
21469 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21470
21471         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21472         for non-NULL pointer before the memory validity test. Pointed
21473         out by Holger Brunck <holger.brunck@keymile.com>.
21474
21475 2013-03-13  Andreas Schwab  <schwab@suse.de>
21476
21477         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21478         instead of .os.
21479
21480 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21481
21482         * timezone/zic.c: Update from tzcode 2013b.
21483
21484 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21485
21486         * manual/install.texi (Configuring and compiling):
21487         Mention i686 and i586.
21488         * INSTALL: Regenerate.
21489
21490 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21491
21492         * sysdeps/init_array/elf-init.c: New file.
21493         * csu/elf-init.c
21494         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21495         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21496
21497         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21498         __gmon_start__ as global, but as static with a .preinit_array pointer.
21499         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21500         * sysdeps/init_array/crti.S: New file, empty except for comments.
21501         * sysdeps/init_array/crtn.S: Likewise.
21502
21503 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21504
21505         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21506         definining bcopy.
21507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21508         Remove Prefer_SSE_for_memop.
21509         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21510         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21511         HAS_PREFER_SSE_FOR_MEMOP.
21512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21513         memset-x86-64.
21514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21515         Remove bzero, memset ifunc support.
21516         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21517         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21518         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21519         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21520
21521 2013-03-11  Andreas Schwab  <schwab@suse.de>
21522
21523         [BZ #15234]
21524         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21525         by SHLIB_COMPAT.
21526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21527         (GLIBC_2.16): Remove pthread_atfork.
21528
21529 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21530
21531         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21532         (ptestcases.h): Likewise.
21533
21534 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21535
21536         * Makeconfig ($(common-objpfx)config.status): Depend on
21537         sysdeps/*/preconfigure{,.in} too.
21538
21539 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21540
21541         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21542         (__free_hook): Use void * instead of __malloc_ptr_t.
21543         (__malloc_hook): Likewise.
21544         (__realloc_hook): Likewise.
21545         (__memalign_hook): Likewise.
21546         (__after_morecore_hook): Likewise.
21547         * malloc/arena.c (save_malloc_hook): Likewise.
21548         (save_free_hook): Likewise.
21549         * malloc/hooks.c (malloc_hook_ini): Likewise.
21550         (realloc_hook_ini): Likewise.
21551         (memalign_hook_ini): Likewise.
21552         * malloc/malloc.c (malloc_hook_ini): Likewise.
21553         (realloc_hook_ini): Likewise.
21554         (memalign_hook_ini): Likewise.
21555         (__free_hook): Likewise.
21556         (__malloc_hook): Likewise.
21557         (__realloc_hook): Likewise.
21558         (__memalign_hook): Likewise.
21559         (__libc_malloc): Likewise.
21560         (__libc_free): Likewise.
21561         (__libc_realloc): Likewise.
21562         (__libc_memalign): Likewise.
21563         (__libc_valloc): Likewise.
21564         (__libc_pvalloc): Likewise.
21565         (__libc_calloc): Likewise.
21566         (__posix_memalign): Likewise.
21567         * malloc/morecore.c (__sbrk): Likewise.
21568         (__default_morecore): Likewise.
21569
21570         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21571
21572         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21573         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21574         __malloc_ptrdiff_t.
21575
21576         * malloc/malloc.h (__malloc_size_t): Remove macro.
21577         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21578         __malloc_size_t.
21579         (old_memalign_hook): Likewise.
21580         (old_realloc_hook): Likewise.
21581         (struct hdr): Likewise.
21582         (flood): Likewise.
21583         (mallochook): Likewise.
21584         (memalignhook): Likewise.
21585         (reallochook): Likewise.
21586         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21587         (tr_old_realloc_hook): Likewise.
21588         (tr_old_memalign_hook): Likewise.
21589         (tr_mallochook): Likewise.
21590         (tr_reallochook): Likewise.
21591         (tr_memalignhook): Likewise.
21592
21593 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21594
21595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21596         default_ldbl_pack and using as default implementation.
21597         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21598         implementation.
21599         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21600         redundant definition.
21601         (ldbl_insert_mantissa): Likewise.
21602         (ldbl_canonicalize): Likewise.
21603         (ldbl_nearbyint): Likewise.
21604         (ldbl_pack): Rename to ldbl_pack_ppc.
21605         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21606         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21607         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21608
21609 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21610
21611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21612         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21613         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21614         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21616         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21617         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21618         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21619
21620 2013-03-07  Andreas Jaeger  <aj@suse.de>
21621
21622         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21623         bits/mman-linux.h.
21624
21625 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21626
21627         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21628         Include mpa.h and declare __MPEXP.
21629         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21630         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21631         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21632         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21633         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21634         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21635         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21636
21637         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21638         (__slowpow): Use long double EXPL and LOGL functions to
21639         compute POW.
21640         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21641         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21642         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21643         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21644         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21645         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21646
21647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21648         intermediate variable to calculate exponent.
21649         (__sqr): Likewise.
21650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21651         Likewise.
21652         (__sqr): Likewise.
21653
21654         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21655         [!NO__SQR]: Define __sqr.
21656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21657         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21658         sysdeps/ieee754/dbl-64/mpa.c.
21659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21660
21661         [BZ #12723]
21662         * posix/Makefile (tests): Add tst-pathconf.
21663         * posix/tst-pathconf.c: New test case.
21664         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21665         _PC_PIPE_BUF.
21666         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21667
21668 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21669
21670         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21671
21672 2013-03-06  Andreas Jaeger  <aj@suse.de>
21673
21674         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21675         definition via __MAP_ANONYMOUS.
21676
21677         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21678         it's not part of Linux headers.
21679
21680         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21681         (MAP_HUGE_MASK): Define.
21682
21683         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21684         Define.
21685         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21687         Define.
21688         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21689         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21690         Define.
21691         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21692         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21693         Define.
21694         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21695
21696         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21697         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21698         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21699         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21700         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21701         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21702
21703         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21704         Handle f2fs.
21705
21706         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21707         Handle f2fs and efivarfs.
21708
21709         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21710         f2fs.
21711
21712         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21713         (EFIVARFS_MAGIC): Add.
21714         (F2FS_LINK_MAX): Add.
21715
21716 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21717
21718         * stdio-common/vfprintf.c: Replace __builtin_expect with
21719         __glibc_unlikely.
21720
21721 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21722
21723         [BZ #13550]
21724         * sysdeps/generic/bp-sym.h: Remove file.
21725         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21726         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21727         <bp-sym.h> and <bp-asm.h>.
21728         (__longjmp): Don't use BP_SYM.
21729         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21730         and <bp-asm.h>.
21731         (memcpy): Don't use BP_SYM.
21732         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21733         <bp-sym.h> and <bp-asm.h>.
21734         (memcpy): Don't use BP_SYM.
21735         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21736         <bp-asm.h>.
21737         (memcpy): Don't use BP_SYM.
21738         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21739         <bp-asm.h>.
21740         (memset): Don't use BP_SYM.
21741         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21742         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21743         (__bzero): Don't use BP_SYM.
21744         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21745         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21746         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21747         <bp-sym.h> and <bp-asm.h>.
21748         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21749         pointers.
21750         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21751         <bp-sym.h> and <bp-asm.h>.
21752         (memcpy): Don't use BP_SYM.
21753         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21754         <bp-sym.h> and <bp-asm.h>.
21755         (memset): Don't use BP_SYM.
21756         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21757         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21758         (__bzero): Don't use BP_SYM.
21759         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21760         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21761         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21762         <bp-sym.h> and <bp-asm.h>.
21763         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21764         pointers.
21765         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21766         <bp-sym.h> and <bp-asm.h>.
21767         (memcpy): Don't use BP_SYM.
21768         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21769         <bp-sym.h> and <bp-asm.h>.
21770         (memset): Don't use BP_SYM.
21771         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21772         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21773         (__bzero): Don't use BP_SYM.
21774         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21775         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21776         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21777         <bp-sym.h> and <bp-asm.h>.
21778         (__memchr): Don't use BP_SYM.
21779         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21780         <bp-sym.h> and <bp-asm.h>.
21781         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21782         pointers.
21783         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21784         <bp-sym.h> and <bp-asm.h>.
21785         (memcpy): Don't use BP_SYM.
21786         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21787         <bp-sym.h> and <bp-asm.h>.
21788         (__mempcpy): Don't use BP_SYM.
21789         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21790         <bp-sym.h> and <bp-asm.h>.
21791         (__memrchr): Don't use BP_SYM.
21792         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21793         <bp-sym.h> and <bp-asm.h>.
21794         (memset): Don't use BP_SYM.
21795         (__bzero): Likewise.
21796         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21797         <bp-sym.h> and <bp-asm.h>.
21798         (__rawmemchr): Don't use BP_SYM.
21799         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21800         <bp-sym.h> and <bp-asm.h>.
21801         (__STRCMP): Don't use BP_SYM.
21802         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21803         <bp-sym.h> and <bp-asm.h>.
21804         (strchr): Don't use BP_SYM.
21805         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21806         <bp-sym.h> and <bp-asm.h>.
21807         (__strchrnul): Don't use BP_SYM.
21808         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21809         <bp-sym.h> and <bp-asm.h>.
21810         (strlen): Don't use BP_SYM.
21811         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21812         <bp-sym.h> and <bp-asm.h>.
21813         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21814         pointers.
21815         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21816         <bp-sym.h> and <bp-asm.h>.
21817         (__strnlen): Don't use BP_SYM.
21818         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21819         <bp-sym.h> and <bp-asm.h>.
21820         (__GI__setjmp): Don't use BP_SYM.
21821         (_setjmp): Likewise.
21822         (__sigsetjmp): Likewise.
21823         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21824         (L(start_addresses)): Don't use BP_SYM.
21825         (_start): Likewise.
21826         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21827         <bp-asm.h>.
21828         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21829         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21830         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21831         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21832         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21833         <bp-asm.h>.
21834         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21835         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21836         about bounded pointers.
21837         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21838         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21839         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21840         <bp-asm.h>.
21841         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21842         about bounded pointers.  Remove GKM FIXME comments.
21843         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21844         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21845         <bp-asm.h>.
21846         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21847         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21848         Remove GKM FIXME comments.
21849         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21850         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21851         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21852         <bp-asm.h>.
21853         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21854         about bounded pointers.  Remove GKM FIXME comment.
21855         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21856         and <bp-asm.h>.
21857         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21858         pointers.
21859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21860         <bp-sym.h> and <bp-asm.h>.
21861         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21863         <bp-sym.h> and <bp-asm.h>.
21864         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21865         comment.
21866
21867 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21868
21869         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21870         call free(NULL).
21871
21872 2013-03-05  David S. Miller  <davem@davemloft.net>
21873
21874         * po/es.po: Update from translation team.
21875
21876 2013-03-05  Andreas Jaeger  <aj@suse.de>
21877
21878         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21879         <bits/mman-linux.h>.
21880         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21881         is fine.
21882         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21883         <bits/mman-linux.h> to end of file.
21884         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21885         is fine.
21886         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21887         <bits/mman-linux.h> to end of file.
21888         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21889         is fine.
21890         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21891         <bits/mman-linux.h> to end of file.
21892
21893         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21894         (MCL_CURRENT, MCL_FUTURE): Define here.
21895
21896 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21897
21898         [BZ #15232]
21899         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21900         attribute_hidden.
21901         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21902
21903 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21904
21905         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21906         fourth parameter needed for rt_sigprocmask syscall.
21907         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21908         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21909         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21910         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21911         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21912         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21913
21914 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21915
21916         [BZ #13550]
21917         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21918         comment about bounded pointers.
21919         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21920         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21921
21922 2013-03-04  Andreas Jaeger  <aj@suse.de>
21923
21924         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21925         common definitions.
21926
21927         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21928         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21929         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21930         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21932         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21933
21934 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21935
21936         [BZ #15055]
21937         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21938         __ieee754_sqrl instead of __sqrl.
21939
21940 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21941
21942         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21943         * sysdeps/powerpc/fpu_control.h: ... here.
21944         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21945         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21946         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21947         * sysdeps/powerpc/bits/mathinline.h: ... here.
21948
21949 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21950
21951         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21952         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21953         to just [NEED_DL_SYSINFO_DSO].
21954         * elf/dl-support.c: Likewise.
21955         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21956         * elf/rtld.c (dl_main): Likewise.
21957         * elf/setup-vdso.h (setup_vdso): Likewise.
21958         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21959         * sysdeps/unix/sysv/linux/dl-sysdep.c
21960         (_dl_discover_osversion): Likewise.
21961
21962 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21963
21964         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21965         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21966
21967 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21968
21969         * NEWS: Mention libm performance improvements and non-x86 PI
21970         futex support.
21971
21972         * csu/libc-start.c (__pthread_initialize_minimal): Change
21973         function arguments.
21974         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21975
21976 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21977
21978         [BZ #13550]
21979         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21980         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21981         <bp-sym.h> and <bp-asm.h>.
21982         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21983         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21984         and <bp-asm.h>.
21985         (memcpy): Don't use BP_SYM.
21986         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21987         <bp-asm.h>.
21988         (__mpn_add_n): Don't use BP_SYM.
21989         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21990         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21991         and <bp-asm.h>.
21992         (__mpn_addmul_1): Don't use BP_SYM.
21993         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21994         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21995         <bp-sym.h>.
21996         (_setjmp): Don't use BP_SYM.
21997         (__novmx_setjmp): Likewise.
21998         (__GI__setjmp): Likewise.
21999         (__vmx_setjmp): Likewise.
22000         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22001         <bp-sym.h>.
22002         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22003         (__bzero): Don't use BP_SYM.
22004         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22005         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22006         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22007         <bp-sym.h> and <bp-asm.h>.
22008         (memcpy): Don't use BP_SYM.
22009         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22010         <bp-sym.h> and <bp-asm.h>.
22011         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22012         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22013         <bp-sym.h> and <bp-asm.h>.
22014         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22015         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22016         <bp-asm.h>.
22017         (__mpn_lshift): Don't use BP_SYM.
22018         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22019         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22020         <bp-asm.h>.
22021         (memset): Don't use BP_SYM.
22022         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22023         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22024         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22025         <bp-asm.h>.
22026         (__mpn_mul_1): Don't use BP_SYM.
22027         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22028         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22029         <bp-sym.h> and <bp-asm.h>.
22030         (memcmp): Don't use BP_SYM.
22031         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22032         <bp-sym.h> and <bp-asm.h>.
22033         (memcpy): Don't use BP_SYM.
22034         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22035         <bp-sym.h> and <bp-asm.h>.
22036         (memset): Don't use BP_SYM.
22037         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22038         <bp-sym.h> and <bp-asm.h>.
22039         (strncmp): Don't use BP_SYM.
22040         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22041         <bp-sym.h> and <bp-asm.h>.
22042         (memcpy): Don't use BP_SYM.
22043         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22044         <bp-sym.h> and <bp-asm.h>.
22045         (memset): Don't use BP_SYM.
22046         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22047         <bp-sym.h> and <bp-asm.h>.
22048         (__memchr): Don't use BP_SYM.
22049         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22050         <bp-sym.h> and <bp-asm.h>.
22051         (memcmp): Don't use BP_SYM.
22052         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22053         <bp-sym.h> and <bp-asm.h>.
22054         (memcpy): Don't use BP_SYM.
22055         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22056         <bp-sym.h> and <bp-asm.h>.
22057         (__mempcpy): Don't use BP_SYM.
22058         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22059         <bp-sym.h> and <bp-asm.h>.
22060         (__memrchr): Don't use BP_SYM.
22061         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22062         <bp-sym.h> and <bp-asm.h>.
22063         (memset): Don't use BP_SYM.
22064         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22065         <bp-sym.h> and <bp-asm.h>.
22066         (__rawmemchr): Don't use BP_SYM.
22067         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22068         <bp-sym.h> and <bp-asm.h>.
22069         (__STRCMP): Don't use BP_SYM.
22070         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22071         <bp-sym.h> and <bp-asm.h>.
22072         (strchr): Don't use BP_SYM.
22073         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22074         <bp-sym.h> and <bp-asm.h>.
22075         (__strchrnul): Don't use BP_SYM.
22076         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22077         <bp-sym.h> and <bp-asm.h>.
22078         (strlen): Don't use BP_SYM.
22079         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22080         <bp-sym.h> and <bp-asm.h>.
22081         (strncmp): Don't use BP_SYM.
22082         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22083         <bp-sym.h> and <bp-asm.h>.
22084         (__strnlen): Don't use BP_SYM.
22085         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22086         <bp-asm.h>.
22087         (__mpn_rshift): Don't use BP_SYM.
22088         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22089         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22090         <bp-sym.h> and <bp-asm.h>.
22091         (__sigsetjmp): Don't use BP_SYM.
22092         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22093         (L(start_addresses)): Don't use BP_SYM.
22094         (_start): Likewise.
22095         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22096         <bp-asm.h>.
22097         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22098         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22099         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22100         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22101         <bp-asm.h>.
22102         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22103         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22104         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22105         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22106         <bp-asm.h>.
22107         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22108         comments.
22109         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22110         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22111         <bp-asm.h>.
22112         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22113         FIXME comments.
22114         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22115         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22116         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22117         <bp-asm.h>.
22118         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22119         comment.
22120         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22121         and <bp-asm.h>.
22122         (strncmp): Don't use BP_SYM,
22123         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22124         <bp-asm.h>.
22125         (__mpn_sub_n): Don't use BP_SYM.
22126         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22127         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22128         and <bp-asm.h>.
22129         (__mpn_submul_1): Don't use BP_SYM.
22130         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22132         <bp-sym.h> and <bp-asm.h>.
22133         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22135         <bp-sym.h> and <bp-asm.h>.
22136         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22137         comment.
22138
22139 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22140
22141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22142         Use ZK to minimize writes to Z.
22143         (sub_magnitudes): Simplify code a bit.
22144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22145         Use ZK to minimize writes to Z.
22146         (sub_magnitudes): Simplify code a bit.
22147
22148 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22149
22150         * csu/gmon-start.c: Add special exception to license text.
22151
22152 2013-02-27  Richard Henderson  <rth@redhat.com>
22153
22154         * scripts/config.guess: Update from config.git.
22155         * scripts/config.sub: Likewise.
22156
22157 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22158
22159         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22160
22161         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22162
22163         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22164
22165         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22166
22167         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22168
22169 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22170
22171         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22172         [$(build-shared = yes].
22173
22174 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22175
22176         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22177         (__mul): Reduce iterations for calculating mantissa.
22178
22179         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22180         MPTWO.
22181         (__mpranred): Likewise.
22182
22183         [BZ #15160]
22184         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22185         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22186
22187 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22188
22189         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22190         Define __attribute__.
22191
22192 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22193
22194         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22195         unused.
22196         * posix/regex_internal.h (__attribute): Remove.
22197         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22198         (re_string_context_at): Likewise.
22199         (bitset_not): Use __attribute__ and mark function as possibly
22200         unused.
22201         (bitset_merge): Likewise.
22202         (bitset_mask): Likewise.
22203         (re_string_char_size_at): Likewise.
22204         (re_string_wchar_at): Likewise.
22205         (re_string_elem_size_at): Likewise.
22206
22207 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22208
22209         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22210         code.
22211         (cc32): Likewise.
22212
22213         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22214         (__acr): Likewise.
22215         (__cpy): Likewise.
22216         (norm): Likewise.
22217         (denorm): Likewise.
22218         (__dbl_mp): Likewise.
22219         (add_magnitudes): Likewise.
22220         (sub_magnitudes): Likewise.
22221         (__mul): Likewise.
22222         (__inv): Likewise.
22223
22224         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22225         style.
22226
22227         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22228         style.
22229
22230         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22231         code.
22232
22233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22234         up changes with default code.
22235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22236         Likewise.
22237
22238 2013-02-24  Allan McRae  <allan@archlinux.org>
22239
22240         * manual/socket.texi (The Internet Namespace): Order menu items
22241         to match that in the file.
22242
22243         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22244         node listing of the info page menu.
22245
22246 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22247
22248         [BZ #13550]
22249         * sysdeps/i386/bp-asm.h: Remove file.
22250         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22251         (PARMS): Do not use macros from bp-asm.h.
22252         (S1): Likewise.
22253         (S2): Likewise.
22254         (SIZE): Likewise.
22255         (__mpn_add_n): Do not use BP_SYM
22256         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22257         "bp-asm.h".
22258         (PARMS): Do not use macros from bp-asm.h.
22259         (S1): Likewise.
22260         (SIZE): Likewise.
22261         (__mpn_addmul_1): Do not use BP_SYM
22262         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22263         "bp-asm.h".
22264         (PARMS): Do not use macros from bp-asm.h.
22265         (SIGMSK): Likewise.
22266         (_setjmp): Likewise.  Do not use BP_SYM.
22267         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22268         "bp-asm.h".
22269         (PARMS): Do not use macros from bp-asm.h.
22270         (SIGMSK): Likewise.
22271         (setjmp): Likewise.  Do not use BP_SYM.
22272         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22273         "bp-asm.h".
22274         (PARMS): Do not use macros from bp-asm.h.
22275         (__frexp): Do not use BP_SYM.
22276         (frexp): Likewise.
22277         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22278         "bp-asm.h".
22279         (PARMS): Do not use macros from bp-asm.h.
22280         (__frexpf): Do not use BP_SYM.
22281         (frexpf): Likewise.
22282         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22283         "bp-asm.h".
22284         (PARMS): Do not use macros from bp-asm.h.
22285         (__frexpl): Do not use BP_SYM.
22286         (frexpl): Likewise.
22287         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22288         "bp-asm.h".
22289         (PARMS): Do not use macros from bp-asm.h.
22290         (__remquo): Do not use BP_SYM.
22291         (remquo): Likewise.
22292         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22293         "bp-asm.h".
22294         (PARMS): Do not use macros from bp-asm.h.
22295         (__remquof): Do not use BP_SYM.
22296         (remquof): Likewise.
22297         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22298         "bp-asm.h".
22299         (PARMS): Do not use macros from bp-asm.h.
22300         (__remquol): Do not use BP_SYM.
22301         (remquol): Likewise.
22302         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22303         "bp-asm.h".
22304         (PARMS): Do not use macros from bp-asm.h.
22305         (DEST): Likewise.
22306         (SRC): Likewise.
22307         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22308         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22309         "bp-asm.h".
22310         (PARMS): Do not use macros from bp-asm.h.
22311         (strlen): Do not use BP_SYM.
22312         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22313         "bp-asm.h".
22314         (PARMS): Do not use macros from bp-asm.h.
22315         (S1): Likewise.
22316         (S2): Likewise.
22317         (SIZE): Likewise.
22318         (__mpn_add_n): Do not use BP_SYM.
22319         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22320         "bp-asm.h".
22321         (PARMS): Do not use macros from bp-asm.h.
22322         (S1): Likewise.
22323         (SIZE): Likewise.
22324         (__mpn_addmul_1): Do not use BP_SYM.
22325         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22326         weak_alias.
22327         (bzero): Likewise.
22328         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22329         "bp-asm.h".
22330         (PARMS): Do not use macros from bp-asm.h.
22331         (S): Likewise.
22332         (SIZE): Likewise.
22333         (__mpn_lshift): Do not use BP_SYM.
22334         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22335         "bp-asm.h".
22336         (PARMS): Do not use macros from bp-asm.h.
22337         (DEST): Likewise.
22338         (SRC): Likewise.
22339         (LEN): Likewise.
22340         (memcpy): Likewise.  Do not use BP_SYM.
22341         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22342         libc_hidden_def and weak_alias.
22343         (mempcpy): Do not use BP_SYM in weak_alias.
22344         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22345         "bp-asm.h".
22346         (PARMS): Do not use macros from bp-asm.h.
22347         (DEST): Likewise.
22348         (LEN): Likewise.
22349         [!BZERO_P] (CHR): Likewise.
22350         (memset): Likewise.  Do not use BP_SYM.
22351         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22352         "bp-asm.h".
22353         (PARMS): Do not use macros from bp-asm.h.
22354         (S1): Likewise.
22355         (SIZE): Likewise.
22356         (__mpn_mul_1): Do not use BP_SYM.
22357         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22358         "bp-asm.h".
22359         (PARMS): Do not use macros from bp-asm.h.
22360         (S): Likewise.
22361         (SIZE): Likewise.
22362         (__mpn_rshift): Do not use BP_SYM.
22363         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22364         "bp-asm.h".
22365         (PARMS): Do not use macros from bp-asm.h.
22366         (STR): Likewise.
22367         (CHR): Likewise.
22368         (strchr): Likewise.  Do not use BP_SYM.
22369         (index): Do not use BP_SYM in weak_alias.
22370         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22371         "bp-asm.h".
22372         (PARMS): Do not use macros from bp-asm.h.
22373         (DEST): Likewise.
22374         (SRC): Likewise.
22375         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22376         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22377         "bp-asm.h".
22378         (PARMS): Do not use macros from bp-asm.h.
22379         (strlen): Do not use BP_SYM.
22380         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22381         "bp-asm.h".
22382         (PARMS): Do not use macros from bp-asm.h.
22383         (S1): Likewise.
22384         (S2): Likewise.
22385         (SIZE): Likewise.
22386         (__mpn_sub_n): Do not use BP_SYM.
22387         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22388         "bp-asm.h".
22389         (PARMS): Do not use macros from bp-asm.h.
22390         (S1): Likewise.
22391         (SIZE): Likewise.
22392         (__mpn_submul_1): Do not use BP_SYM.
22393         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22394         "bp-asm.h".
22395         (PARMS): Do not use macros from bp-asm.h.
22396         (S1): Likewise.
22397         (S2): Likewise.
22398         (SIZE): Likewise.
22399         (__mpn_add_n): Do not use BP_SYM.
22400         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22401         weak_alias.
22402         (bzero): Likewise.
22403         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22404         "bp-asm.h".
22405         (PARMS): Do not use macros from bp-asm.h.
22406         (BLK2): Likewise.
22407         (LEN): Likewise.
22408         (memcmp): Do not use BP_SYM.
22409         (bcmp): Do not use BP_SYM in weak_alias.
22410         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22411         "bp-asm.h".
22412         (PARMS): Do not use macros from bp-asm.h.
22413         (DEST): Likewise.
22414         (SRC): Likewise.
22415         (LEN): Likewise.
22416         (memcpy): Likewise.  Do not use BP_SYM.
22417         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22418         "bp-asm.h".
22419         (PARMS): Do not use macros from bp-asm.h.
22420         (DEST): Likewise.
22421         (SRC): Likewise.
22422         (LEN): Likewise.
22423         (memmove): Likewise.  Do not use BP_SYM.
22424         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22425         "bp-asm.h".
22426         (PARMS): Do not use macros from bp-asm.h.
22427         (DEST): Likewise.
22428         (SRC): Likewise.
22429         (LEN): Likewise.
22430         (__mempcpy): Likewise.  Do not use BP_SYM.
22431         (mempcpy): Do not use BP_SYM in weak_alias.
22432         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22433         "bp-asm.h".
22434         (PARMS): Do not use macros from bp-asm.h.
22435         (DEST): Likewise.
22436         (LEN): Likewise.
22437         [!BZERO_P] (CHR): Likewise.
22438         (memset): Likewise.  Do not use BP_SYM.
22439         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22440         "bp-asm.h".
22441         (PARMS): Do not use macros from bp-asm.h.
22442         (STR2): Likewise.
22443         (strcmp): Do not use BP_SYM.
22444         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22445         "bp-asm.h".
22446         (PARMS): Do not use macros from bp-asm.h.
22447         (STR): Likewise.
22448         (DELIM): Likewise.
22449         [USE_AS_STRTOK_R] (SAVE): Likewise.
22450         (FUNCTION): Likewise.  Do not use BP_SYM.
22451         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22452         aliases.
22453         (strtok_r): Likewise.
22454         (__GI___strtok_r): Likewise.
22455         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22456         (PARMS): Do not use macros from bp-asm.h.
22457         (S): Likewise.
22458         (SIZE): Likewise.
22459         (__mpn_lshift): Do not use BP_SYM.
22460         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22461         (PARMS): Do not use macros from bp-asm.h.
22462         (STR): Likewise.
22463         (CHR): Likewise.
22464         (__memchr): Do not use BP_SYM.
22465         (memchr): Do not use BP_SYM in weak_alias.
22466         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22467         (PARMS): Do not use macros from bp-asm.h.
22468         (BLK2): Likewise.
22469         (LEN): Likewise.
22470         (memcmp): Do not use BP_SYM.
22471         (bcmp): Do not use BP_SYM in weak_alias.
22472         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22473         (PARMS): Do not use macros from bp-asm.h.
22474         (S1): Likewise.
22475         (SIZE): Likewise.
22476         (__mpn_mul_1): Do not use BP_SYM.
22477         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22478         "bp-asm.h".
22479         (PARMS): Do not use macros from bp-asm.h.
22480         (STR): Likewise.
22481         (CHR): Likewise.
22482         (__rawmemchr): Do not use BP_SYM.
22483         (rawmemchr): Do not use BP_SYM in weak_alias.
22484         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22485         (PARMS): Do not use macros from bp-asm.h.
22486         (S): Likewise.
22487         (SIZE): Likewise.
22488         (__mpn_rshift): Do not use BP_SYM.
22489         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22490         (PARMS): Do not use macros from bp-asm.h.
22491         (SIGMSK): Likewise.
22492         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22493         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22494         (_start): Do not use BP_SYM.
22495         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22496         (PARMS): Do not use macros from bp-asm.h.
22497         (DEST): Likewise.
22498         (SRC): Likewise.
22499         (__stpcpy): Likewise.  Do not use BP_SYM.
22500         (stpcpy): Do not use BP_SYM in weak_alias.
22501         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22502         "bp-asm.h".
22503         (PARMS): Do not use macros from bp-asm.h.
22504         (DEST): Likewise.
22505         (SRC): Likewise.
22506         (LEN): Likewise.
22507         (__stpncpy): Likewise.  Do not use BP_SYM.
22508         (stpncpy): Do not use BP_SYM in weak_alias.
22509         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22510         (PARMS): Do not use macros from bp-asm.h.
22511         (STR): Likewise.
22512         (CHR): Likewise.
22513         (strchr): Likewise.  Do not use BP_SYM.
22514         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22515         "bp-asm.h".
22516         (PARMS): Do not use macros from bp-asm.h.
22517         (STR): Likewise.
22518         (CHR): Likewise.
22519         (__strchrnul): Likewise.  Do not use BP_SYM.
22520         (strchrnul): Do not use BP_SYM in weak_alias.
22521         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22522         "bp-asm.h".
22523         (PARMS): Do not use macros from bp-asm.h.
22524         (STOP): Likewise.
22525         (strcspn): Do not use BP_SYM.
22526         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22527         "bp-asm.h".
22528         (PARMS): Do not use macros from bp-asm.h.
22529         (STR): Likewise.
22530         (STOP): Likewise.
22531         (strpbrk): Likewise.  Do not use BP_SYM.
22532         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22533         "bp-asm.h".
22534         (PARMS): Do not use macros from bp-asm.h.
22535         (STR): Likewise.
22536         (CHR): Likewise.
22537         (strrchr): Likewise.  Do not use BP_SYM.
22538         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22539         (PARMS): Do not use macros from bp-asm.h.
22540         (SKIP): Likewise.
22541         (strspn): Do not use BP_SYM.
22542         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22543         (PARMS): Do not use macros from bp-asm.h.
22544         (STR): Likewise.
22545         (DELIM): Likewise.
22546         (SAVE): Likewise.
22547         (FUNCTION): Likewise.  Do not use BP_SYM.
22548         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22549         aliases.
22550         (strtok_r): Likewise.
22551         (__GI___strtok_r): Likewise.
22552         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22553         (PARMS): Do not use macros from bp-asm.h.
22554         (S1): Likewise.
22555         (S2): Likewise.
22556         (SIZE): Likewise.
22557         (__mpn_sub_n): Do not use BP_SYM.
22558         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22559         "bp-asm.h".
22560         (PARMS): Do not use macros from bp-asm.h.
22561         (S1): Likewise.
22562         (SIZE): Likewise.
22563         (__mpn_submul_1): Do not use BP_SYM.
22564         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22565         <bp-sym.h>.
22566         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22567         and <bp-asm.h>.
22568         (PARMS): Do not use macros from bp-asm.h.
22569         (FLAGS): Likewise.
22570         (PTID): Likewise.
22571         (TLS): Likewise.
22572         (CTID): Likewise.
22573         (__clone): Do not use BP_SYM.
22574         (clone): Do not use BP_SYM in weak_alias.
22575         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22576         and <bp-asm.h>.
22577         (PARMS): Do not use macros from bp-asm.h.
22578         (LEN): Likewise.
22579         (__mmap64): Do not use BP_SYM.
22580         (mmap64): Do not use BP_SYM in weak_alias.
22581         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22582         <bp-sym.h> and <bp-asm.h>.
22583         (PARMS): Do not use macros from bp-asm.h.
22584         (__posix_fadvise64_l64): Do not use BP_SYM.
22585         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22586         (PARMS): Do not use macros from bp-asm.h.
22587         (NSOPS): Likewise.
22588         (semtimedop): Do not use BP_SYM.
22589         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22590         and <bp-asm.h>.
22591
22592 2013-02-21  Allan McRae  <allan@archlinux.org>
22593
22594         * manual/message.texi (Charset conversion in gettext):
22595         Move @end statement to beginning of line.
22596
22597 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22598
22599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22600         static.
22601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22602         Likewise.
22603
22604         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22605         (denorm): Likewise.
22606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22608
22609 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22610
22611         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22612         tail-call to the resolved function if pltexit isn't needed.
22613
22614 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22615
22616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22617         or Y being zero as being unlikely.
22618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22619         Likewise.
22620
22621 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22622
22623         * manual/nss.texi (System Databases and Name Service Switch):
22624         Remove frobnicate @pxref.
22625
22626 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22627
22628         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22629         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22630
22631 2013-02-20  Petr Machata  <pmachata@redhat.com>
22632
22633         * elf/elf.h (R_ARM_TARGET1): New macro.
22634         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22635         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22636         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22637         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22638         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22639         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22640         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22641         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22642         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22643         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22644         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22645         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22646         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22647         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22648         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22649         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22650         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22651         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22652         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22653         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22654         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22655         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22656         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22657         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22658         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22659         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22660         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22661         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22662         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22663         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22664         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22665         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22666         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22667         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22668         (R_ARM_THM_GOT_BREL12): Likewise.
22669         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22670         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22671         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22672         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22673         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22674         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22675         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22676         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22677         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22678
22679 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22680
22681         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22682         __attribute_used__ to __attribute__ ((unused)).
22683
22684 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22685
22686         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22687         powerpc mpa.c.
22688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22689         comment formatting.
22690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22691
22692 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22693
22694         [BZ #13550]
22695         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22696         Remove macro.
22697         (ENTER): Remove both macro definitions.
22698         (LEAVE): Likewise.
22699         (CHECK_BOUNDS_LOW): Likewise.
22700         (CHECK_BOUNDS_HIGH): Likewise.
22701         (CHECK_BOUNDS_BOTH): Likewise.
22702         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22703         (RETURN_BOUNDED_POINTER): Likewise.
22704         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22705         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22706         (POP_ERRNO_LOCATION_RETURN): Likewise.
22707         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22708         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22709         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22710         macros.
22711         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22712         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22713         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22714         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22715         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22716         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22717         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22718         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22719         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22720         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22721         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22722         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22723         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22724         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22725         removed macros.
22726         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22727         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22728         macros.
22729         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22730         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22731         * sysdeps/i386/i586/memset.S (memset): Likewise.
22732         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22733         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22734         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22735         macros.
22736         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22737         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22738         Change uses of L(2) to L(out).
22739         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22740         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22741         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22742         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22743         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22744         removed macros.
22745         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22746         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22747         macros.
22748         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22749         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22750         (RETURN): Do not use macro LEAVE.
22751         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22752         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22753         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22754         * sysdeps/i386/i686/memset.S (memset): Likewise.
22755         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22756         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22757         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22758         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22759         Likewise.
22760         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22761         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22762         L(1_2) and L(1_3) into L(1).
22763         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22764         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22765         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22766         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22767         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22768         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22769         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22770         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22771         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22772         macros.
22773         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22774         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22775         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22776         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22777         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22778         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22779         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22780         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22781         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22782         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22783         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22784         * sysdeps/i386/strspn.S (strspn): Likewise.
22785         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22786         conditional code.
22787         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22788         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22789         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22790         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22791         L(1_3) into L(1_1).
22792         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22793         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22794         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22795         macros.
22796         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22797
22798 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22799
22800         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22801         macro.
22802
22803 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22804
22805         * math/atest-exp.c (exp_mpn): Remove ROUND.
22806         * math/atest-exp2.c (exp_mpn): Likewise.
22807         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22808
22809         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22810         * stdlib/tst-tls-atexit-lib.c: Likewise.
22811         * stdlib/tst-tls-atexit.c: Likewise.
22812
22813 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22814
22815         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22816         and __attribute_alloc_size__.
22817
22818 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22819
22820         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22821         __attribute_alloc_size__.
22822         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22823         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22824
22825 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22826
22827         * include/programs/xmalloc.h: New file.
22828         * catgets/gencat.c: Include it.
22829         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22830         * elf/pldd.c: Likewise.
22831         * iconv/iconv_charmap.c: Likewise.
22832         * iconv/iconvconfig.c: Likewise.
22833         * iconv/strtab.c: Likewise.
22834         * locale/programs/locale.c: Likewise.
22835         * locale/programs/localedef.h: Likewise.
22836         * locale/programs/simple-hash.c: Likewise.
22837         * nscd/nscd.h: Likewise.
22838         * nss/makedb.c: Likewise.
22839         * sysdeps/generic/ldconfig.h: Likewise.
22840
22841 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22842
22843         * Versions.def: Add GLIBC_2.18.
22844         * include/link.h (struct link_map): New member l_tls_dtor_count.
22845         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22846         (__call_tls_dtors): Likewise.
22847         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22848         __cxa_thread_atexit_impl.
22849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22850         Likewise.
22851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22852         Likewise.
22853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22854         Likewise.
22855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22856         Likewise.
22857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22859         Likewise.
22860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22861         Likewise.
22862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22864         Likewise.
22865         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22866         (tests): Add test case tst-tls-atexit.
22867         (modules-names): Add shared library for tst-tls-atexit.
22868         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22869         (GLIBC_PRIVATE): Add __call_tls_dtors.
22870         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22871         for libstdc++.
22872         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22873         * stdlib/tst-tls-atexit.c: New test case.
22874         * stdlib/tst-tls-atexit-lib.c: New test case.
22875
22876         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22877
22878         * elf/Versions (ld): Add _dl_find_dso_for_object.
22879         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22880         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22881         (dl_open_worker): Use _dl_find_dso_for_object.
22882         * elf/dl-sym.c (do_sym): Likewise.
22883         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22884
22885 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22886
22887         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22888         Syntactic changes only.
22889         (_dl_runtime_profile): Do a tail-call to the resolved function.
22890
22891 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22892
22893         [BZ #13550]
22894         * sysdeps/x86_64/bp-asm.h: Remove file.
22895         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22896         <bp-sym.h> and <bp-asm.h>.
22897         (__clone): Do not use BP_SYM.
22898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22899         <bp-sym.h> and <bp-asm.h>.
22900         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22901         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22902         "bp-asm.h".
22903         (_setjmp): Do not use BP_SYM.
22904         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22905         "bp-asm.h".
22906         (setjmp): Do not use BP_SYM.
22907         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22908         libc_hidden_def.
22909         (mempcpy): Do not use BP_SYM in weak_alias.
22910         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22911         "bp-asm.h".
22912         (strchr): Do not use BP_SYM.
22913         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22914         "bp-asm.h".
22915         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22916         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22917         (_start): Do not use BP_SYM.
22918         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22919         "bp-asm.h".
22920         (strcat): Do not use BP_SYM.
22921         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22922         "bp-asm.h".
22923         (STRCMP): Do not use BP_SYM.
22924         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22925         "bp-asm.h".
22926         (STRCPY): Do not use BP_SYM.
22927         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22928         "bp-asm.h".
22929         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22930         "bp-asm.h".
22931         (FUNCTION): Do not use BP_SYM.
22932         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22933         weak_alias.
22934         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22935
22936 2013-02-17  Andreas Jaeger  <aj@suse.de>
22937
22938         * time/Versions: Sort entries.
22939         * string/Versions: Likewise.
22940         * resolv/Versions: Likewise.
22941         * posix/Versions: Likewise.
22942         * iconv/Versions: Likewise.
22943         * elf/Versions: Likewise.
22944         * wcsmbs/Versions: Likewise.
22945
22946 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22947
22948         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22949         loop termination condition.
22950
22951         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22952         variable to calculate EZ.
22953         (__sqr): Likewise.
22954
22955         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22956         the lower precision input.
22957
22958 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22959
22960         [BZ #13550]
22961         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22962         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22963         (run-via-rtld-prefix): Do not handle %-bp tests.
22964         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22965         (all-object-suffixes): Remove .ob.
22966         (bppfx): Remove variable.
22967         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22968         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22969         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22970         [$(build-bounded) = yes] (libtype.ob): Likewise.
22971         * Makerules (elide-routines.ob): Remove variable.
22972         (do-tests-clean): Do not handle *-bp.out.
22973         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22974         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22975         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22976         (tests): Do not include $(tests-bp.out).
22977         (xtests): Do not include $(xtests-bp.out).
22978         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22979         [$(build-bounded) = yes] ($(addprefix
22980         $(objpfx),$(binaries-bounded))): Remove rule.
22981         ($(objpfx)%-bp.out): Remove rule.
22982         * config.make.in (build-bounded): Remove variable.
22983         * crypt/Makefile [$(build-bounded) = yes]
22984         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22985         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22986         append to variable.
22987         [$(build-bounded) = yes] (install-lib): Likewise.
22988         [$(build-bounded) = yes] (generated): Likewise.
22989         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22990         Remove rule.
22991         * intl/Makefile [$(build-bounded) = yes]
22992         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22993         * math/Makefile [$(build-bounded) = yes]
22994         ($(tests:%=$(objpfx)%-bp): Likewise.
22995         * misc/Makefile [$(build-bounded) = yes]
22996         ($(objpfx)tst-tsearch-bp): Likewise.
22997         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22998         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22999         Remove dependency.
23000         * string/Makefile (o-objects.ob): Remove variable.
23001         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23002         (CFLAGS-.ob): Remove variable.
23003         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23004         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23005         both definitions of variable.
23006         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23007         (ASFLAGS-.ob): Remove variable.
23008
23009 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23010
23011         [BZ #13550]
23012         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23013         Remove __BOUNDED_POINTERS__ from condition.
23014         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23015         * string/bits/string2.h [!__NO_STRING_INLINES &&
23016         !__BOUNDED_POINTERS__]: Likewise.
23017         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23018         Likewise.
23019         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23020         Remove conditional code.
23021         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23022         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23023         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23024         condition.
23025
23026         [BZ #13550]
23027         * csu/libc-start.c: Do not include <bp-sym.h>.
23028         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23029         * elf/dl-open.c: Do not include <bp-sym.h>.
23030         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23031         * math/fegetenv.c: Do not include <bp-sym.h>.
23032         (fegetenv): Do not use BP_SYM in versioned symbols.
23033         * nptl/sysdeps/pthread/bits/libc-lockP.h
23034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23035         <bp-sym.h>.
23036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23037         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23039         (__pthread_mutex_destroy): Likewise.
23040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23041         (__pthread_mutex_lock): Likewise.
23042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23043         (__pthread_mutex_trylock): Likewise.
23044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23045         (__pthread_mutex_unlock): Likewise.
23046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23047         (__pthread_mutexattr_init): Likewise.
23048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23049         (__pthread_mutexattr_destroy): Likewise.
23050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23051         (__pthread_mutexattr_settype): Likewise.
23052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23053         (__pthread_rwlock_init): Likewise.
23054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23055         (__pthread_rwlock_destroy): Likewise.
23056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23057         (__pthread_rwlock_rdlock): Likewise.
23058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23059         (__pthread_rwlock_tryrdlock): Likewise.
23060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23061         (__pthread_rwlock_wrlock): Likewise.
23062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23063         (__pthread_rwlock_trywrlock): Likewise.
23064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23065         (__pthread_rwlock_unlock): Likewise.
23066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23067         (__pthread_key_create): Likewise.
23068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23069         (__pthread_setspecific): Likewise.
23070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23071         (__pthread_getspecific): Likewise.
23072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23073         Likewise.
23074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23075         (_pthread_cleanup_push_defer): Likewise.
23076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23077         (_pthread_cleanup_pop_restore): Likewise.
23078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23079         (pthread_setcancelstate): Likewise.
23080         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23081         <bp-sym.h>.
23082         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23083         (memchr): Do not use BP_SYM in weak_alias.
23084         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23085         (fegetenv): Do not use BP_SYM in versioned symbols.
23086         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23087         (fesetenv): Do not use BP_SYM in versioned symbols.
23088         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23089         (feupdateenv): Do not use BP_SYM in versioned symbols.
23090         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23091         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23092         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23093         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23094         (open64): Do not use BP_SYM in weak_alias.
23095         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23096         (fegetenv): Do not use BP_SYM in versioned symbols.
23097         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23098         (fesetenv): Do not use BP_SYM in versioned symbols.
23099         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23100         (feupdateenv): Do not use BP_SYM in versioned symbols.
23101         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23102         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23103         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23104         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23105         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23106         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23107         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23108         <bp-sym.h>.
23109         (__libc_start_main): Do not use BP_SYM.
23110
23111 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23112
23113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23114         redundant return line.
23115         (norm): Likewise.
23116         (denorm): Likewise.
23117         (dbl_mp): Likewise.
23118         (sub_magnitudes): Likewise.
23119         (__add): Likewise.
23120         (__sub): Likewise.
23121         (__mul): Likewise.
23122         (__inv): Likewise.
23123         (__dvd): Likewise.
23124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23125         (norm): Likewise.
23126         (denorm): Likewise.
23127         (dbl_mp): Likewise.
23128         (sub_magnitudes): Likewise.
23129         (__add): Likewise.
23130         (__sub): Likewise.
23131         (__mul): Likewise.
23132         (__inv): Likewise.
23133         (__dvd): Likewise.
23134
23135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23136         instead of __mul.
23137         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23138         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23139         (cc32): Likewise.
23140
23141         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23142         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23144         of __mul for squares.
23145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23146         function
23147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23148         Likewise.
23149         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23150         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23151
23152 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23153
23154         [BZ #13550]
23155         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23156         code.
23157         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23158         prototype or function definition.  Rename ubp_* variables and
23159         parameters.  Remove argv definitions conditional on
23160         [__BOUNDED_POINTERS__].
23161         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23162         * elf/dl-runtime.c (_dl_fixup): Likewise.
23163         * include/set-hooks.h (RUN_HOOK): Likewise.
23164         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23165         definition.
23166         * string/strcpy.c (strcpy): Do not use __unbounded.
23167         * sysdeps/generic/frame.h (struct layout): Likewise.
23168         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23169         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23170         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23171         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23172         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23173         (__backtrace): Likewise.
23174         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23175         use __ptrvalue.
23176         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23177         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23178         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23179         Likewise.
23180         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23181         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23182         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23183         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23184         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23185         Do not use __unbounded.
23186         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23187         Rename __unboundedrlimits parameter to rlimits in prototype.
23188         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23189         Do not use __unbounded.
23190         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23191         not use __ptrvalue.
23192         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23193         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23194         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23195         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23196         __ptrvalue or __unbounded.
23197         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23198         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23199         use __unbounded.
23200         (__new_msgctl): Do not use __ptrvalue.
23201         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23202         __unbounded.
23203         (__libc_msgrcv): Do not use __ptrvalue.
23204         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23205         startup_info): Do not use __unbounded.
23206         (__libc_start_main): Likewise.  Rename ubp_* variables and
23207         parameters.  Remove argv definitions conditional on
23208         [__BOUNDED_POINTERS__].
23209         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23210         __ptrvalue.
23211         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23212         use __unbounded.
23213         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23214         or __ptrvalue.
23215         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23216         use __unbounded.
23217         (__new_shmctl): Do not use __ptrvalue.
23218         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23219         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23220         Likewise.
23221         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23222         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23223         (__libc_sigaction): Likewise.
23224         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23225         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23226         Likewise.
23227         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23228
23229 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23230
23231         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23232
23233         * string/mempcpy.c: Implement by calling memcpy.
23234
23235 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23236
23237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23238
23239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23240         evaluation.
23241
23242         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23243         values in the mantissa.
23244
23245         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23246         minimize writes to Z.
23247         (sub_magnitudes): Simplify code a bit.
23248
23249 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23250
23251         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23252         from the message.  The linker prefixes all warnings with that already.
23253
23254 2013-02-12  Andreas Schwab  <schwab@suse.de>
23255
23256         [BZ #15078]
23257         * posix/regexec.c (extend_buffers): Add parameter min_len.
23258         (check_matching): Pass minimum needed length.
23259         (clean_state_log_if_needed): Likewise.
23260         (get_subexp): Likewise.
23261         * posix/Makefile (tests): Add bug-regex34.
23262         (bug-regex34-ENV): Define.
23263         * posix/bug-regex34.c: New file.
23264
23265         [BZ #11561]
23266         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23267         elements compare against the byte sequence of it, not its name.
23268         * posix/Makefile (tests): Add bug-regex35.
23269         (bug-regex35-ENV): Define.
23270         * posix/bug-regex35.c: New file.
23271
23272 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23273
23274         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23275         comment.
23276         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23277         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23278         (CHECK_EOL): Add undef.
23279
23280 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23281
23282         * bits/stdlib-bsearch.h: New file.
23283         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23284         * stdlib/stdlib.h: Likewise.
23285
23286 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23287
23288         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23289         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23290         declaration.
23291         * manual/search.texi (Array Search Function): Add missing const in
23292         lfind prototype.
23293         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23294         declaration to use rlim_t.
23295         (Basic Scheduling Functions): Remove erroneous const from
23296         sched_getparam prototype.  Remove erroneous * from
23297         sched_get_priority_max and sched_get_priority_min prototypes.
23298         (Resource Usage): Fix summary @comment on vtimes to refer to
23299         sys/vtimes.h rather than vtimes.h.
23300         Add missing *s in vtimes prototype.
23301         (Limits on Resources): Fix ulimit prototype to return long int.
23302         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23303         prototypes to use long int rather than double.
23304         (BSD Random): Fix initstate and setstate to use char *, not void *.
23305         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23306         prototype to make second argument 'struct aiocb64 *const[]'.
23307         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23308         (Status of AIO Operations): Remove erroneous const in aio_return and
23309         aio_return64 prototypes.
23310         (Synchronizing I/O): Fix sync prototype to return void.
23311         * manual/startup.texi (Suboptions): Remove an erroneous const in
23312         getsubopt prototype.
23313         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23314         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23315         use size_t rather than int.
23316         (Scanning All Users): Likewise for getpwent_r.
23317         (Setting Groups): Add missing const to setgroups prototype.
23318         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23319         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23320         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23321         'const void *' rather than 'const char *'.
23322         (Host Address Functions): Likewise for inet_ntop.
23323         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23324         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23325         ssize_t for return value.
23326         (Sending Data): Likewise for send, sendto, sendmsg.
23327         (Socket Option Functions): Add a missing const in setsockopt prototype.
23328         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23329         use wchar_t for the argument.
23330         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23331         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23332         take no arguments.
23333         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23334         double/float/long double for second argument.
23335         Fix return types of significand, significandf, significandl.
23336         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23337         argument in fchmod prototype.
23338         (File Owner): Use uid_t and gid_t in fchown prototype.
23339         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23340         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23341         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23342         use 'const struct dirent **' as argument types to CMP function pointer
23343         argument.
23344         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23345         (File Times): Fix summary magic @comment for struct utimbuf and utime
23346         to refer to utime.h, not time.h.
23347         * manual/string.texi (Argz Functions): Add missing const in
23348         argz_extract and argz_next prototypes.
23349         (Finding Tokens in a String): Likewise for basename.
23350         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23351         (Copying and Concatenation): Fix typo in wmemmove prototype.
23352         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23353         (Signal Stack): Remove erroneous const in sigstack prototype.
23354         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23355         prototype.
23356         (Simple Calendar Time): Likewise for stime.
23357         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23358         prototype.
23359         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23360         say sys/sysctl.h instead.
23361         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23362         and vsyslog prototypes.
23363
23364 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23365
23366         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23367         Remove.
23368
23369 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23370
23371         * misc/sys/mman.h: Fix typo in mremap comment.
23372
23373 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23374
23375         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23376         the '\0' terminator.
23377
23378 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23379
23380         [BZ #13550]
23381         * debug/segfault.c: Don't include <bp-checks.h>.
23382         * sysdeps/generic/bp-checks.h: Remove file.
23383         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23384         (__GETDENTS): Don't use CHECK_N.
23385         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23386         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23387         (__getgroups): Don't use CHECK_N.
23388         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23389         (setgroups): Don't use CHECK_N.
23390         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23391         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23392         (__libc_msgrcv): Don't use CHECK_N.
23393         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23394         (__libc_msgsnd): Don't use CHECK_N.
23395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23396         <bp-checks.h>.
23397         (__libc_pread): Don't use CHECK_N.
23398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23399         include <bp-checks.h>.
23400         (__libc_pread64): Don't use CHECK_N.
23401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23402         include <bp-checks.h>.
23403         (__libc_pwrite): Don't use CHECK_N.
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23405         include <bp-checks.h>.
23406         (__libc_pwrite64): Don't use CHECK_N.
23407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23408         <bp-checks.h>.
23409         (__libc_pread): Don't use CHECK_N.
23410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23411         include <bp-checks.h>.
23412         (__libc_pread64): Don't use CHECK_N.
23413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23414         include <bp-checks.h>.
23415         (__libc_pwrite): Don't use CHECK_N.
23416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23417         include <bp-checks.h>.
23418         (__libc_pwrite64): Don't use CHECK_N.
23419         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23420         (do_pread): Don't use CHECK_N.
23421         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23422         (do_pread64): Don't use CHECK_N.
23423         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23424         (do_pwrite): Don't use CHECK_N.
23425         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23426         (do_pwrite64): Don't use CHECK_N.
23427         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23428         (__libc_readv): Don't use CHECK_N.
23429         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23430         (semop): Don't use CHECK_N.
23431         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23432         <bp-checks.h>.
23433         (semtimedop): Don't use CHECK_N.
23434         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23435         (__libc_pread): Don't use CHECK_N.
23436         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23437         <bp-checks.h>.
23438         (__libc_pread64): Don't use CHECK_N.
23439         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23440         <bp-checks.h>.
23441         (__libc_pwrite): Don't use CHECK_N.
23442         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23443         <bp-checks.h>.
23444         (__libc_pwrite64): Don't use CHECK_N.
23445         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23446         <bp-checks.h>.
23447         (__libc_msgrcv): Don't use CHECK_N.
23448         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23449         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23450         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23451         (__libc_writev): Don't use CHECK_N.
23452
23453 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23454
23455         * string/strcpy.c: Removed unused variable.
23456
23457         * Makeconfig (+sysdep-includes): Define with := rather than =.
23458         Use an existing include/ subdir of each sysdeps dir before it.
23459
23460 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23461
23462         * nscd/connection.c (register_traced_file): Comment function.
23463         [HAVE_INOTIFY] (union __inev): Define.
23464         [HAVE_INOTIFY] (inotify_check_files): New function.
23465         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23466         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23467         clear_db_cache.
23468         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23469
23470 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23471
23472         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23473         loaded if not already and that a failure is permanent.
23474
23475 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23476
23477         [BZ #15006]
23478         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23479         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23480
23481 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23482
23483         [BZ #13550]
23484         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23485         (CHECK_1_NULL_OK): Likewise.
23486         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23487         (__fxstat): Do not use CHECK_1.
23488         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23489         <bp-checks.h>.
23490         (___fxstat64): Do not use CHECK_1.
23491         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23492         <bp-checks.h>.
23493         (__fxstatat): Do not use CHECK_1.
23494         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23495         <bp-checks.h>.
23496         (__fxstatat64): Do not use CHECK_1.
23497         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23498         <bp-checks.h>.
23499         (__fxstat): Do not use CHECK_1.
23500         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23501         <bp-checks.h>.
23502         (__fxstatat): Do not use CHECK_1.
23503         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23504         <bp-checks.h>.
23505         (__getresgid): Do not use CHECK_1.
23506         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23507         <bp-checks.h>.
23508         (__getresuid): Do not use CHECK_1.
23509         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23510         <bp-checks.h>.
23511         (__lxstat): Do not use CHECK_1.
23512         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23513         <bp-checks.h>.
23514         (__old_msgctl): Do not use CHECK_1.
23515         (__new_msgctl): Likewise.
23516         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23517         <bp-checks.h>.
23518         (__new_setrlimit): Do not use CHECK_1.
23519         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23520         <bp-checks.h>.
23521         (__old_shmctl): Do not use CHECK_1.
23522         (__new_shmctl): Likewise.
23523         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23524         <bp-checks.h>.
23525         (__xstat): Do not use CHECK_1.
23526         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23527         (__lxstat): Do not use CHECK_1.
23528         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23529         <bp-checks.h>.
23530         (___lxstat64): Do not use CHECK_1.
23531         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23532         (__old_msgctl): Do not use CHECK_1.
23533         (__new_msgctl): Likewise.
23534         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23535         <bp-checks.h>.
23536         (__gettimeofday): Do not use CHECK_1.
23537         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23538         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23539         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23540         <bp-checks.h>.
23541         (__gettimeofday): Do not use CHECK_1.
23542         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23543         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23544         (__new_shmctl): Do not use CHECK_1.
23545         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23546         <bp-checks.h>.
23547         (do_sigtimedwait): Do not use CHECK_1.
23548         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23549         <bp-checks.h>.
23550         (do_sigwaitinfo): Do not use CHECK_1.
23551         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23552         <bp-checks.h>.
23553         (msgctl): Do not use CHECK_1.
23554         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23555         <bp-checks.h>.
23556         (shmctl): Do not use CHECK_1.
23557         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23558         (ustat): Do not use CHECK_1.
23559         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23560         <bp-checks.h>.
23561         (__fxstat): Do not use CHECK_1.
23562         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23563         <bp-checks.h>.
23564         (__fxstatat): Do not use CHECK_1.
23565         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23566         <bp-checks.h>.
23567         (__lxstat): Do not use CHECK_1.
23568         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23569         <bp-checks.h>.
23570         (__xstat): Do not use CHECK_1.
23571         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23572         (__xstat): Do not use CHECK_1.
23573         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23574         (___xstat64): Do not use CHECK_1.
23575
23576         [BZ #13550]
23577         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23578         definitions.
23579         (CHECK_BOUNDS_HIGH): Likewise.
23580         * string/strcpy.c: Do not include <bp-checks.h>.
23581         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23582
23583 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23584
23585         * nscd/nscd-client.h (__nscd_drop_map_ref):
23586         Add __attribute__ ((unused)).
23587         * nis/nss-nisplus.h (niserr2nss): Likewise.
23588
23589         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23590         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23591
23592         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23593         Remove inline keyword.
23594         * include/rounding-mode.h (round_away): Likewise.
23595         * libio/wfileops.c (adjust_wide_data): Likewise.
23596         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23597         (__m128i_strloadu_tolower): Likewise.
23598         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23599         (__m128i_strloadu_tolower): Likewise.
23600         * time/mktime.c (ydhms_diff): Likewise.
23601         * locale/elem-hash.h (elem_hash): Likewise.
23602         * locale/setlocale.c (setdata): Likewise.
23603         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23604         (re_string_wchar_at): Likewise.
23605         (bitset_not, bitset_merge, bitset_mask): Likewise.
23606         [!(__GNUC__ > 3)] (inline): Remove macro.
23607         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23608         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23609         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23610         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23611         * string/memcmp.c (memcmp_bytes): Likewise.
23612         * locale/programs/locarchive.c (compute_hashval): Likewise.
23613         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23614         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23615         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23616         * nss/getent.c (print_rpc, print_protocols): Likewise.
23617         (print_passwd, print_group, print_aliases): Likewise.
23618         * nis/nss-nisplus.h (niserr2nss): Likewise.
23619         * nscd/connections.c (restart_p): Likewise.
23620         Change return type to bool.
23621
23622 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23623
23624         * Makeconfig (all-Depend-files): Add existing
23625         $(sorted-subdirs:=/Depend) files.
23626         (all-subdirs): Remove nss.
23627         * sysdeps/unix/inet/Subdirs: Add it here instead.
23628         * hesiod/Depend: New file.
23629
23630         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23631         instead of calling alloca.
23632
23633         * io/lseek.c (__lseek): Rename to __libc_lseek.
23634         Define __lseek as an alias.
23635
23636         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23637
23638 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23639
23640         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23641         else clause and remove check for non-standard endianness.
23642
23643 2013-02-04  David S. Miller  <davem@davemloft.net>
23644
23645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23646
23647 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23648
23649         [BZ #13550]
23650         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23651         (__ubp_memchr): Remove prototype.
23652         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23653         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23654         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23655         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23656         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23657         Remove alias.
23658         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23659         (__ubp_memchr): Likewise.
23660         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23661         (__ubp_memchr): Likewise.
23662         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23663         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23664         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23665         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23666         CHECK_STRING.
23667         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23668         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23669         (__getcwd): Do not use CHECK_STRING.
23670         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23671         <bp-checks.h>.
23672         (__real_chown): Do not use CHECK_STRING.
23673         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23674         <bp-checks.h>.
23675         (fchownat): Do not use CHECK_STRING.
23676         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23677         CHECK_STRING.
23678         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23679         <bp-checks.h>.
23680         (__lchown): Do not use CHECK_STRING.
23681         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23682         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23683         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23684         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23686         include <bp-checks.h>.
23687         (truncate64): Do not use CHECK_STRING.
23688         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23689         <bp-checks.h>.
23690         (__real_chown): Do not use CHECK_STRING.
23691         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23692         <bp-checks.h>.
23693         (__lchown): Do not use CHECK_STRING.
23694         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23695         <bp-checks.h>.
23696         (__chown): Do not use CHECK_STRING.
23697         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23698         <bp-checks.h>.
23699         (truncate64): Do not use CHECK_STRING.
23700         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23701         Likewise.
23702         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23703         (__xmknod): Do not use CHECK_STRING.
23704         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23705         <bp-checks.h>.
23706         (__xmknodat): Do not use CHECK_STRING.
23707         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23708         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23709
23710 2013-02-04  Andreas Schwab  <schwab@suse.de>
23711
23712         [BZ #14142]
23713         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23714         * include/netdb.h: Likewise for h_errno.
23715         * elf/tst-stackguard1.c: Include <tls.h>.
23716
23717 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23718
23719         * elf/link.h (struct link_map): Extend the l_addr comment.
23720         * include/link.h (struct link_map): Likewise.
23721
23722 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23723
23724         [BZ #13550]
23725         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23726         (BOUNDED_1): Remove macro.
23727         * debug/backtrace.c: Don't include <bp-checks.h>.
23728         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23729         (__backtrace): Likewise.
23730         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23731         <bp-checks.h>.
23732         (__backtrace): Don't use BOUNDED_1.
23733         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23734         <bp-checks.h>.
23735         (__backtrace): Don't use BOUNDED_1.
23736         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23737         (__backtrace): Don't use BOUNDED_1.
23738         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23739         (shmat): Don't use BOUNDED_N.
23740
23741 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23742
23743         [BZ #13550]
23744         * sysdeps/generic/bp-start.h: Remove file.
23745         * csu/libc-start.c: Don't include <bp-start.h>.
23746         (LIBC_START_MAIN): Set up __environ directly instead of using
23747         INIT_ARGV_and_ENVIRON.
23748         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23749         <bp-start.h>.
23750
23751         [BZ #13550]
23752         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23753         definitions.
23754         (CHECK_FCNTL): Likewise.
23755         (CHECK_N_PAGES): Likewise.
23756
23757         [BZ #13550]
23758         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23759         definitions.
23760         (CHECK_SIGSET_NULL_OK): Likewise.
23761         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23762         <bp-checks.h>.
23763         (sigpending): Don't use CHECK_SIGSET.
23764         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23765         <bp-checks.h>.
23766         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23767         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23768         <bp-checks.h>.
23769         (do_sigsuspend): Don't use CHECK_SIGSET.
23770         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23771         use CHECK_SIGSET.
23772         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23773         (do_sigwait): Don't use CHECK_SIGSET.
23774         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23775         use CHECK_SIGSET.
23776         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23777         include <bp-checks.h>.
23778         (sigpending): Don't use CHECK_SIGSET.
23779         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23780         include <bp-checks.h>.
23781         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23782         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23783         <bp-checks.h>.
23784         (sigpending): Don't use CHECK_SIGSET.
23785         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23786         <bp-checks.h>.
23787         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23788
23789         [BZ #13550]
23790         * sysdeps/generic/bp-semctl.h: Remove file.
23791         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23792         <bp-checks.h> and <bp-semctl.h>.
23793         (__old_semctl): Don't use CHECK_SEMCTL.
23794         (__new_semctl): Likewise.
23795         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23796         and <bp-semctl.h>.
23797         (__old_semctl): Don't use CHECK_SEMCTL.
23798         (__new_semctl): Likewise.
23799         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23800         <bp-checks.h> and <bp-semctl.h>.
23801         (__old_semctl): Don't use CHECK_SEMCTL.
23802         (__new_semctl): Likewise.
23803         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23804         <bp-checks.h> and <bp-semctl.h>.
23805         (semctl): Don't use CHECK_SEMCTL.
23806
23807         [BZ #13550]
23808         * Makerules (elide-bp-thunks): Remove variable.
23809         (elide-routines.oS): Don't use $(elide-bp-thunks).
23810         (elide-routines.os): Likewise.
23811         (elide-routines.o): Likewise.
23812         (elide-routines.op): Likewise.
23813         (elide-routines.og): Likewise.
23814         (objects): Don't use $(bp-thunks).
23815         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23816         include.
23817         (common-generated): Do not add s-proto-bp.d.
23818         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23819         (int): Likewise.
23820         (typ): Likewise.
23821         Do not generate makefile rules for bounded-pointer thunks.
23822         * sysdeps/generic/bp-thunks.h: Remove file.
23823         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23824         * sysdeps/unix/s-proto-bp.S: Likewise.
23825
23826         [BZ #15062]
23827         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23828         parts of result separately when argument is not close to line from
23829         -i to i and one part of argument is small.
23830         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23831         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23832         * math/libm-test.inc (cacos_test): Add more tests.
23833         (casin_test): Likewise.
23834         (casinh_test): Likewise.
23835         * sysdeps/i386/fpu/libm-test-ulps: Update.
23836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23837
23838 2013-01-31  David S. Miller  <davem@davemloft.net>
23839
23840         * po/de.po: Update from translation team.
23841
23842 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23843
23844         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23845
23846 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23847
23848         * configure.in (_AC_PROG_CC_C89): New definition.
23849         * configure: Regenerate.
23850
23851         * configure.in (AC_PROG_CPP): New definition.
23852         * configure: Regenerate.
23853
23854 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23855
23856         * debug/tst-backtrace.h: New file.
23857         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23858         (ret): Remove variable.
23859         (x): Likewise.
23860         (FAIL): Remove macro.
23861         (NO_INLINE): Likewise.
23862         (fn1): Use match function instead of strstr.
23863         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23864         (ret): Remove variable.
23865         (x): Likewise.
23866         (FAIL): Remove macro.
23867         (NO_INLINE): Likewise.
23868         (fn): Use match function instead of strstr.
23869         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23870         (ret): Remove variable.
23871         (x): Likewise.
23872         (FAIL): Remove macro.
23873         (NO_INLINE): Likewise.
23874         (handle_signal): Use match function instead of strstr.
23875         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23876         (ret): Remove variable.
23877         (x): Likewise.
23878         (FAIL): Remove macro.
23879         (NO_INLINE): Likewise.
23880         (handle_signal): Use match function instead of strstr.
23881
23882 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23883
23884         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23885
23886 2013-01-23  David S. Miller  <davem@davemloft.net>
23887
23888         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23889         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23890         argument of CAS if possible.
23891         * sysdeps/sparc/sparc64/bits/atomic.h
23892         (__arch_compare_and_exchange_val_32_acq): Likewise.
23893         (__arch_compare_and_exchange_val_64_acq): Likewise.
23894
23895 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23896
23897         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23898         * sysdeps/posix/ulimit.c: ... this.
23899         Include <limits.h>.
23900         * sysdeps/unix/bsd/ulimit.c: Remove file.
23901
23902 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23903
23904         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23905         (LDFLAGS-tst-array5): Likewise.
23906
23907 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23908
23909         [BZ #15036]
23910         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23911         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23912         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23913         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23914
23915 2013-01-21  David S. Miller  <davem@davemloft.net>
23916
23917         * sysdeps/sparc/backtrace.c: New file.
23918         * sysdeps/sparc/sparc32/backtrace.h: New file.
23919         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23920         * sysdeps/sparc/sparc64/backtrace.h: New file.
23921         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23922         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23923         -funwind-tables.
23924
23925 2013-01-21  Andreas Schwab  <schwab@suse.de>
23926
23927         [BZ #15020]
23928         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23929         closed its stdout.
23930
23931 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23932
23933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23934         "mpa2.h".
23935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23936
23937 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23938             Mark Mitchell  <mark@codesourcery.com>
23939             Tom de Vries  <tom@codesourcery.com>
23940             Paul Pluzhnikov  <ppluzhnikov@google.com>
23941
23942         * debug/tst-backtrace2.c: New file.
23943         * debug/tst-backtrace3.c: Likewise.
23944         * debug/tst-backtrace4.c: Likewise.
23945         * debug/tst-backtrace5.c: Likewise.
23946         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23947         (CFLAGS-tst-backtrace3.c): Likewise.
23948         (CFLAGS-tst-backtrace4.c): Likewise.
23949         (CFLAGS-tst-backtrace5.c): Likewise.
23950         (LDFLAGS-tst-backtrace2): Likewise.
23951         (LDFLAGS-tst-backtrace3): Likewise.
23952         (LDFLAGS-tst-backtrace4): Likewise.
23953         (LDFLAGS-tst-backtrace5): Likewise.
23954         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23955         tst-backtrace4 and tst-backtrace5.
23956
23957 2013-01-18  Anton Blanchard  <anton@samba.org>
23958             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23959
23960         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23961         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23962         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23963         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23965         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23966         "+r" and remove output regs list as redundant.  Add explicit inline
23967         asm to specify register of return val to work around compiler codegen
23968         bug.  Remove (int) cast on return value.  Add return type parameter to
23969         use in macro so that this macro does not truncate return value for
23970         64-bit values.
23971         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23972         pass to INTERNAL_VSYSCALL_NCS.
23973         (INLINE_VSYSCALL): Add 'long int' as return type to
23974         INTERNAL_VSYSCALL_NCS macro invocation.
23975         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23976         INTERNAL_VSYSCALL_NCS macro invocation.
23977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23978
23979 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23980
23981         [BZ #14496]
23982         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23983         Fix application of SIMD FP exception mask.
23984
23985         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23986         mp_no from a power of two.
23987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23988         __mpexp_twomm1.  Use __pow_mp.
23989
23990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23991         multiplication.
23992
23993 2013-01-17  David S. Miller  <davem@davemloft.net>
23994
23995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23996
23997 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23998
23999         [BZ #15023]
24000         * include/complex.h: Condition contents on [!_COMPLEX_H].
24001         (__kernel_casinhf): New prototype.
24002         (__kernel_casinh): Likewise.
24003         (__kernel_casinhl): Likewise.
24004         * math/Makefile (libm_calls): Add k_casinh.
24005         * math/k_casinh.c: New file.
24006         * math/k_casinhf.c: Likewise.
24007         * math/k_casinhl.c: Likewise.
24008         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24009         finite nonzero arguments.
24010         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24011         finite nonzero arguments.
24012         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24013         finite nonzero arguments.
24014         * math/s_casinh.c: Do not include <float.h>.
24015         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24016         * math/s_casinhf.c: Do not include <float.h>.
24017         (__casinhf): Move code for finite nonzero arguments to
24018         k_casinhf.c.
24019         * math/s_casinhl.c: Do not include <float.h>.
24020         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24021         redefine.
24022         (__casinhl): Move code for finite nonzero arguments to
24023         k_casinhl.c.
24024         * math/libm-test.inc (cacos_test): Add more tests.
24025         * sysdeps/i386/fpu/libm-test-ulps: Update.
24026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24027
24028 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24029
24030         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24031         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24032         [!HAVE_MREMAP]: Remove [defined linux] case.
24033         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24034
24035 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24036
24037         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24038
24039 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24040
24041         * elf/elf.h (R_386_SIZE32): New relocation.
24042         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24043         R_386_SIZE32.
24044         (elf_machine_rela): Likewise.
24045         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24046         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24047
24048 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24049
24050         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24051         (FP_FAST_FMA): Do not define.
24052         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24053         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24054         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24055         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24056         !_SOFT_FLOAT]: Likewise.
24057         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24058         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24059         value.
24060         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24061         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24062         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24063         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24064         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24065         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24066         file.
24067
24068 2013-01-16  Andreas Schwab  <schwab@suse.de>
24069
24070         [BZ #14327]
24071         * include/stdlib.h (__mktemp): Add declaration.
24072         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24073         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24074
24075 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24076
24077         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24078         definitions.
24079         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24080         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24081         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24082         definitions here.
24083         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24084         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24085         definitions.
24086         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24087         and ONE.
24088         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24089         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24090         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24091         definitions.
24092         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24093         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24094         definitions.
24095         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24096
24097         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24098
24099 2013-01-15  David S. Miller  <davem@davemloft.net>
24100
24101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24102         trunc{,f} to libm-sysdep_routes.
24103         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24105         file.
24106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24108         file.
24109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24110         file.
24111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24113         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24114         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24115         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24116         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24117         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24118         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24119
24120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24121         nearbyint{,f} to libm-sysdep_routes.
24122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24124         New file.
24125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24126         file.
24127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24128         New file.
24129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24130         file.
24131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24133         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24134         file.
24135         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24136         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24137         file.
24138         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24139         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24140         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24141
24142         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24143         libc_feholdexcept and libc_fesetenv.
24144
24145 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24146
24147         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24148
24149 2013-01-14  David S. Miller  <davem@davemloft.net>
24150
24151         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24152         (SPARC_ASM_VIS2_IFUNC): Likewise.
24153         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24155         use of 'siam' instruction.
24156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24157         Likewise.
24158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24159         Likewise.
24160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24161         Likewise.
24162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24167         file.
24168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24169         file.
24170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24171         file.
24172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24173         file.
24174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24179         new VIS2 routines.
24180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24183         Likewise.
24184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24189         routines to libm-sysdep_routines.
24190         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24191
24192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24193         fdim/fdimf to libm-sysdep_routines.
24194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24195         file.
24196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24198         file.
24199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24202         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24203         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24204         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24205         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24206
24207 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24208
24209         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24210         to optimize copies.
24211
24212         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24215
24216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24217         local variable MPTWO.
24218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24219         Likewise.
24220
24221 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24222
24223         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24224         GLOB_NOESCAPE.
24225
24226 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24227
24228         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24229
24230 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24231
24232         * manual/pattern.texi (glob_t): Document gl_flags.
24233         (glob64_t): Likewise.
24234
24235 2013-01-11  David S. Miller  <davem@davemloft.net>
24236
24237         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24238         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24239         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24240         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24241         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24242         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24243         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24244         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24245         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24246         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24247         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24248         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24249         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24250
24251         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24252         sparc V9 rather than using V8 code.
24253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24255
24256         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24257         Move to...
24258         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24259         Here.
24260
24261 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24262
24263         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24264         not in the main loop.
24265         * configure: Regenerated.
24266
24267 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24268
24269         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24270         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24271         to just #else.
24272         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24273         [!__GLIBC_HAVE_LONG_LONG] case.
24274         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24275         condition to just #else.
24276         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24277         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24278         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24279         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24280         unconditional.
24281         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24282         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24283         #elif condition to just #else.
24284         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24285         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24286         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24287         #elif condition to just #else.
24288
24289 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24290
24291         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24292         (EF_MIPS_ARCH_64): Fix value.
24293         (EF_MIPS_ARCH_32R2): New.
24294         (EF_MIPS_ARCH_64R2): New.
24295
24296 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24297
24298         * Makeconfig (+link-pie-before-libc): New.
24299         (+link-pie-after-libc): Likewise.
24300         (+link-pie-tests): Likewise.
24301         (+link-pie): Rewritten.
24302         (link-before-libc): Remove $(config-LDFLAGS).
24303         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24304         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24305         (config-LDFLAGS): Renamed to ...
24306         (rtld-LDFLAGS): This.
24307         (rtld-tests-LDFLAGS): New macro.
24308         (link-libc-rpath-link): Likewise.
24309         (link-libc-tests-rpath-link): Likewise.
24310         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24311         (link-libc): Prepand $(link-libc-rpath-link).
24312         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24313         (test-program-prefix): New macro.
24314         (test-via-rtld-prefix): Likewise.
24315         (test-program-cmd): Likewise.
24316         (host-test-program-cmd): Likewise.
24317         * Makefile ($(common-objpfx)testrun.sh): Replace
24318         $(run-program-prefix) with $(test-program-prefix).
24319         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24320         $(rtld-LDFLAGS).
24321         ($(common-objpfx)shlib.lds): Likewise.
24322         (build-module-helper): Likewise.
24323         ($(common-objpfx)format.lds): Likewise.
24324         * Rules (binaries-pie-tests): New.
24325         (binaries-pie-notests): Likewise.
24326         (binaries-pie): Rewritten.
24327         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24328         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24329         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24330         (make-test-out): Replace $(host-built-program-cmd) with
24331         $(host-test-program-cmd).
24332         * config.make.in (build-hardcoded-path-in-tests): New variable.
24333         * configure.in (--enable-hardcoded-path-in-tests): New configure
24334         option.
24335         (hardcoded_path_in_tests): New AC_SUBST.
24336         * configure: Regenerated.
24337         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24338         $(built-program-cmd) with $(test-program-cmd).
24339         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24340         (test_program_cmd): This.
24341         * elf/Makefile ($(objpfx)order.out): Run test with
24342         $(test-program-prefix).
24343         ($(objpfx)order2.out): Likewise.
24344         ($(objpfx)tst-initorder.out): Likewise.
24345         ($(objpfx)tst-initorder2.out): Likewise.
24346         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24347         $(test-program-cmd).
24348         ($(objpfx)tst-array1-static.out): Likewise.
24349         ($(objpfx)tst-array2.out): Likewise.
24350         ($(objpfx)tst-array3.out): Likewise.
24351         ($(objpfx)tst-array4.out): Likewise.
24352         ($(objpfx)tst-array5.out): Likewise.
24353         ($(objpfx)tst-array5-static.out): Likewise.
24354         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24355         $(test-program-cmd).
24356         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24357         $(run-program-prefix) with $(test-program-prefix).
24358         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24359         (test_program_prefix): This.
24360         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24361         $(run-program-prefix) with $(test-program-prefix).
24362         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24363         (test_program_prefix): This.
24364         * iconvdata/tst-tables.sh: Likewise.
24365         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24366         $(run-program-prefix) with $(test-program-prefix).
24367         ($(objpfx)tst-translit.out): Likewise.
24368         ($(objpfx)tst-gettext2.out): Likewise.
24369         ($(objpfx)tst-gettext4.out): Likewise.
24370         ($(objpfx)tst-gettext6.out): Likewise.
24371         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24372         (test_program_prefix): This.
24373         * intl/tst-gettext2.sh: Likewise.
24374         * intl/tst-gettext4.sh  Likewise.
24375         * intl/tst-gettext6.sh: Likewise.
24376         * intl/tst-translit.sh: Likewise.
24377         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24378         with $(test-program-cmd).
24379         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24380         $(run-program-prefix) with $(test-program-prefix).
24381         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24382         (test_program_prefix): This.
24383         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24384         $(run-program-prefix) with $(test-program-prefix).
24385         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24386         (test_program_prefix): This.
24387         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24388         * posix/Makefile ($(objpfx)globtest.out): Replace
24389         $(run-via-rtld-prefix) and $(test-wrapper) with
24390         $(test-program-prefix) and $(test-via-rtld-prefix).
24391         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24392         $(test-program-prefix).
24393         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24394         $(host-test-program-cmd).
24395         (tst-spawn-ARGS): Likewise.
24396         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24397         $(test-program-prefix).
24398         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24399         (test_via_rtld_prefix): This.
24400         (test_wrapper): Renamed to ...
24401         (test_program_prefix): This.
24402         (run_program_prefix): Replaced by test_program_prefix.
24403         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24404         (test_program_prefix): This.
24405         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24406         with $(host-test-program-cmd).
24407         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24408         $(run-program-prefix) with $(test-program-prefix).
24409         ($(objpfx)tst-printf.out): Likewise.
24410         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24411         $(test-program-cmd).
24412         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24413         (test_program_prefix): This.
24414         * stdio-common/tst-unbputc.sh: Likewise.
24415         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24416         $(run-program-prefix) with $(test-program-prefix).
24417         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24418         (test_program_prefix): This.
24419         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24420         $(built-program-cmd) with $(test-program-cmd).
24421
24422 2013-01-11  Andreas Jaeger  <aj@suse.de>
24423
24424         [BZ #15003]
24425         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24426         value. Sync with Linux 3.7.
24427
24428 2013-01-10  David S. Miller  <davem@davemloft.net>
24429
24430         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24431         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24432         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24433
24434 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24435
24436         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24437         never set.
24438         * configure: Regenerated.
24439
24440 2013-01-10  David S. Miller  <davem@davemloft.net>
24441
24442         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24443         sparc V9 rather than using V8 code.
24444         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24445         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24446
24447 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24448
24449         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24450         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24451         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24452         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24453         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24454         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24455         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24456         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24457         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24458         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24459         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24460         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24461         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24462         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24463         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24464         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24465         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24466         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24467         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24468         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24469         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24470         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24471         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24472         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24473         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24474         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24475         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24476
24477 2013-01-10  David S. Miller  <davem@davemloft.net>
24478
24479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24480
24481 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24482
24483         * posix/Makefile (tests-static): New variable.
24484         (tests): Add $(tests-static).
24485         (tst-exec-static-ARGS): New variable.
24486         (tst-spawn-static-ARGS): Likewise.
24487         * posix/tst-exec-static.c: New file.
24488         * posix/tst-spawn-static.c: Likewise.
24489         * posix/tst-exec.c: Support run directly.
24490         * posix/tst-spawn.c: Likewise.
24491
24492 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24493
24494         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24495         long.
24496         * math/bits/mathcalls.h (llrint): Likewise.
24497         (llround): Likewise.
24498         * stdlib/stdlib.h (struct drand48_data): Likewise.
24499         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24500         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24501         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24502         Likewise.
24503         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24504         Likewise.
24505         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24506         (elf_greg_t): Likewise.
24507         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24508         (__jmp_buf): Likewise.
24509         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24510         definitions.
24511         (llrint): Likewise, for all definitions.
24512         (llrintl): Likewise.
24513
24514         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24515         Remove [__GNUC__] condition.
24516         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24517         condition to just [__USE_ISOC99].
24518         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24519
24520 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24521
24522         [BZ #14200]
24523         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24524         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24525         defined.
24526         (_POSIX_V6_ILP32_OFF32): Likewise.
24527         (_XBS5_ILP32_OFF32): Likewise.
24528         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24529         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24530
24531 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24532
24533         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24534
24535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24536         doubles __mpexp_twomm1.  Adjust usage.
24537         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24538         Remove.
24539
24540 2013-01-10  Andreas Schwab  <schwab@suse.de>
24541
24542         [BZ #14964]
24543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24544         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24545
24546 2013-01-09  David S. Miller  <davem@davemloft.net>
24547
24548         [BZ #15003]
24549         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24550         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24551         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24552         (TCP_FASTOPEN): Define.
24553         (tcp_repair_opt): New structure.
24554         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24555         enum values.
24556         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24557         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24558         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24559         (tcp_cookie_transactions): New structure.
24560
24561 2013-01-09  Anton Blanchard  <anton@samba.org>
24562
24563         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24564         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24565         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24566         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24567
24568 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24569
24570         * include/features.h (__USE_ANSI): Remove.
24571
24572 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24573
24574         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24575
24576         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24577
24578 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24579
24580         * sysdeps/s390/fpu/libm-test-ulps: Update.
24581
24582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24583
24584         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24585         (__acr): Likewise.
24586         (__cpy): Likewise.
24587         (norm): Likewise.
24588         (denorm): Likewise.
24589         (__mp_dbl): Likewise.
24590         (__dbl_mp): Likewise.
24591         (add_magnitudes): Likewise.
24592         (sub_magnitudes): Likewise.
24593         (__add): Likewise.
24594         (__sub): Likewise.
24595         (__mul): Likewise.
24596         (__inv): Likewise.
24597         (__dvd): Likewise.
24598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24599         (__acr): Likewise.
24600         (__cpy): Likewise.
24601         (norm): Likewise.
24602         (denorm): Likewise.
24603         (__mp_dbl): Likewise.
24604         (__dbl_mp): Likewise.
24605         (add_magnitudes): Likewise.
24606         (sub_magnitudes): Likewise.
24607         (__add): Likewise.
24608         (__sub): Likewise.
24609         (__mul): Likewise.
24610         (__inv): Likewise.
24611         (__dvd): Likewise.
24612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24613         (__acr): Likewise.
24614         (__cpy): Likewise.
24615         (norm): Likewise.
24616         (denorm): Likewise.
24617         (__mp_dbl): Likewise.
24618         (__dbl_mp): Likewise.
24619         (add_magnitudes): Likewise.
24620         (sub_magnitudes): Likewise.
24621         (__add): Likewise.
24622         (__sub): Likewise.
24623         (__mul): Likewise.
24624         (__inv): Likewise.
24625         (__dvd): Likewise.
24626
24627 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24628
24629         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24630         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24631         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24632         2 && __USE_EXTERN_INLINES]: Likewise.
24633
24634 2013-01-08  Andreas Jaeger  <aj@suse.de>
24635
24636         [BZ# 14985]
24637         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24638         Remove.
24639         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24640         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24641
24642 2013-01-07  Anton Blanchard  <anton@samba.org>
24643
24644         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24645         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24646         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24647         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24648         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24649         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24650         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24651         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24653         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24654         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24655         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24656         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24657         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24658         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24659         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24660         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24662         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24663         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24665         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24667         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24668         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24669         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24670         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24671         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24672         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24673         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24674         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24676         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24677         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24678         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24679         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24680         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24681         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24682         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24683         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24684         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24686         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24687
24688 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24689
24690         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24691         (__MALLOC_PMT): Likewise.
24692         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24693         [__GNUC__], only on [_LIBC].
24694         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24695         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24696         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24697         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24698         forward declaration.
24699         (realloc_hook_ini): Likewise.
24700         (memalign_hook_ini): Likewise.
24701         (__libc_memalign): Do not use __MALLOC_PMT in variable
24702         declaration.
24703         (__libc_valloc): Likewise.
24704         (__libc_pvalloc): Likewise.
24705         (__libc_calloc): Likewise.
24706         (__posix_memalign): Likewise.
24707
24708         [BZ #14996]
24709         * math/s_casinh.c: Include <float.h>.
24710         (__casinh): Do not do computation with squaring and square root
24711         for large arguments.
24712         * math/s_casinhf.c: Include <float.h>.
24713         (__casinhf): Do not do computation with squaring and square root
24714         for large arguments.
24715         * math/s_casinhl.c: Include <float.h>.
24716         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24717         (__casinhl): Do not do computation with squaring and square root
24718         for large arguments.
24719         * math/libm-test.inc (casin_test): Add more tests.
24720         (casinh_test): Likewise.
24721         * sysdeps/i386/fpu/libm-test-ulps: Update.
24722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24723
24724 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24725
24726         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24727         (__x86_64_raw_data_cache_size): Likewise.
24728         (__x86_64_data_cache_size_half): Likewise.
24729         (__x86_64_raw_data_cache_size_half): Likewise.
24730         (__x86_64_shared_cache_size): Likewise.
24731         (__x86_64_raw_shared_cache_size): Likewise.
24732         (__x86_64_shared_cache_size_half): Likewise.
24733         (__x86_64_raw_shared_cache_size_half): Likewise.
24734         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24735         to ...
24736         (__x86_data_cache_size): This.
24737         (__x86_64_raw_data_cache_size): Renamed to ...
24738         (__x86_raw_data_cache_size): This.
24739         (__x86_64_data_cache_size_half): Renamed to ...
24740         (__x86_data_cache_size_half): This.
24741         (__x86_64_raw_data_cache_size_half): Renamed to ...
24742         (__x86_raw_data_cache_size_half): This.
24743         (__x86_64_shared_cache_size): Renamed to ...
24744         (__x86_shared_cache_size): This.
24745         (__x86_64_raw_shared_cache_size): Renamed to ...
24746         (__x86_raw_shared_cache_size): This.
24747         (__x86_64_shared_cache_size_half): Renamed to ...
24748         (__x86_shared_cache_size_half): This.
24749         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24750         (__x86_raw_shared_cache_size_half): This.
24751         * sysdeps/x86_64/memcpy.S: Updated.
24752         * sysdeps/x86_64/memset.S: Likewise.
24753         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24754         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24755         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24756
24757 2013-01-04  David S. Miller  <davem@davemloft.net>
24758
24759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24760
24761 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24762
24763         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24764         1 to avoid redefinition warning.
24765         (__USE_GNU): Don't define.
24766         (init_signaling_nan): Protoize.
24767
24768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24769
24770 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24771
24772         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24774         (__cpymn): Likewise.
24775         (norm): Remove commented code.
24776         (denorm): Likewise.
24777         (__mp_dbl): Likewise.
24778         (__inv): Likewise.
24779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24780         (__cpymn): Likewise.
24781         (norm): Remove commented code.
24782         (denorm): Likewise.
24783         (__mp_dbl): Likewise.
24784         (__inv): Likewise.
24785
24786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24787         mp_no value for 1.0 and 2.0.
24788         (norm): Use RADIXI instead of radixi.d.
24789         (denorm): Likewise.
24790         (__mul): Use 0.0 instead of zero.d.
24791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24792         mp_no value for 1.0 and 2.0.
24793         (norm): Use RADIXI instead of radixi.d.
24794         (denorm): Likewise.
24795         (__mul): Use 0.0 instead of zero.d.
24796
24797 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24798
24799         [BZ #14994]
24800         * math/s_casinh.c (__casinh): Reduce finite argument to first
24801         quadrant then set signs of results at the end.
24802         * math/s_casinhf.c (__casinhf): Likewise.
24803         * math/s_casinhl.c (__casinhl): Likewise.
24804         * math/libm-test.inc (casin_test): Add more tests.
24805         (casinh_test): Likewise.
24806         * sysdeps/i386/fpu/libm-test-ulps: Update.
24807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24808
24809 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24810
24811         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24812
24813         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24814
24815         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24816         declarations.
24817         (denorm): Likewise.
24818         (__mp_dbl): Likewise.
24819         (__inv): Likewise.
24820
24821         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24822         and adjust the header comment.
24823
24824         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24825         variable name from declaration.
24826
24827 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24828
24829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24830         Initialize COMMON_CPUID_INDEX_7 element.
24831         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24832         (CPUID_RTM): Likewise.
24833         (HAS_RTM): Likewise.
24834         (COMMON_CPUID_INDEX_7): New enum.
24835
24836 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24837
24838         [BZ #14981]
24839         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24840         size is zero, record memory as freed.
24841
24842 2013-01-03  Andreas Jaeger  <aj@suse.de>
24843
24844         * po/ia.po: Add new Interlingua translation.
24845
24846 2012-01-03  Allan McRae  <allan@archlinux.org>
24847
24848         * locale/programs/localedef.c: Fix description of '--posix' flag.
24849
24850 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24851
24852         * NEWS: Update dates in second copyright notice.
24853         * README: Update copyright dates in example.
24854         * manual/libc.texinfo: Update copyright dates.
24855         * scripts/test-installation.pl: Update copyright date in --version
24856         output.
24857
24858         * hurd/ctty-input.c: Fix copyright notice formatting.
24859         * hurd/ctty-output.c: Likewise.
24860         * hurd/dtable.c: Likewise.
24861         * hurd/hurd-raise.c: Likewise.
24862         * hurd/hurdprio.c: Likewise.
24863         * hurd/msgportdemux.c: Likewise.
24864         * misc/sys/file.h: Likewise.
24865         * misc/sys/ioctl.h: Likewise.
24866         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24867         * sysdeps/mach/hurd/chdir.c: Likewise.
24868         * sysdeps/mach/hurd/fchdir.c: Likewise.
24869         * sysdeps/mach/hurd/rename.c: Likewise.
24870         * sysdeps/mach/hurd/rmdir.c: Likewise.
24871         * sysdeps/mach/hurd/seekdir.c: Likewise.
24872         * sysdeps/mach/hurd/setsid.c: Likewise.
24873         * sysdeps/posix/wait3.c: Likewise.
24874
24875         * All files with FSF copyright notices: Update copyright dates
24876         using scripts/update-copyrights.
24877         * intl/plural.c: Regenerated.
24878         * locale/programs/charmap-kw.h: Likewise.
24879         * locale/programs/locfile-kw.h: Likewise.
24880
24881 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24882
24883         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24884         four values.
24885
24886         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24887         calculation loop and add branch prediction.
24888
24889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24890         check access beyond bounds of m1np.
24891
24892         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24893         MPTWO.
24894         (__inv): Remove local variable MPTWO to use the global
24895         constant.
24896         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24897         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24898         variable MPTWO.
24899         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24900         MP3HALFS static const.
24901
24902 2013-01-01  David S. Miller  <davem@davemloft.net>
24903
24904         * po/ca.po: Update from translation team.
24905
24906 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24907
24908         * scripts/update-copyrights: New file.
24909         * Makeconfig: Reformat copyright notice.
24910         * ctype/ctype.h: Likewise.
24911         * debug/swprintf_chk.c: Likewise.
24912         * elf/dl-cache.c: Likewise.
24913         * elf/dl-debug.c: Likewise.
24914         * elf/dl-object.c: Likewise.
24915         * grp/initgroups.c: Likewise.
24916         * hurd/Makefile: Likewise.
24917         * hurd/hurd/signal.h: Likewise.
24918         * hurd/hurdfault.c: Likewise.
24919         * hurd/hurdioctl.c: Likewise.
24920         * hurd/hurdlookup.c: Likewise.
24921         * hurd/intr-msg.c: Likewise.
24922         * iconv/gconv_open.c: Likewise.
24923         * libio/swprintf.c: Likewise.
24924         * locale/lc-ctype.c: Likewise.
24925         * locale/nl_langinfo.c: Likewise.
24926         * mach/Machrules: Likewise.
24927         * mach/Makefile: Likewise.
24928         * malloc/obstack.h: Likewise.
24929         * manual/Makefile: Likewise.
24930         * manual/tsort.awk: Likewise.
24931         * misc/bits/stab.def: Likewise.
24932         * nis/nis_print_group_entry.c: Likewise.
24933         * nis/nis_table.c: Likewise.
24934         * nis/nss_compat/compat-pwd.c: Likewise.
24935         * nis/nss_compat/compat-spwd.c: Likewise.
24936         * po/Makefile: Likewise.
24937         * posix/fnmatch.c: Likewise.
24938         * posix/regex.h: Likewise.
24939         * resolv/Makefile: Likewise.
24940         * resolv/nss_dns/dns-network.c: Likewise.
24941         * resolv/res_hconf.c: Likewise.
24942         * scripts/gen-sorted.awk: Likewise.
24943         * soft-fp/soft-fp.h: Likewise.
24944         * stdio-common/printf.h: Likewise.
24945         * stdlib/monetary.h: Likewise.
24946         * stdlib/random.c: Likewise.
24947         * stdlib/random_r.c: Likewise.
24948         * sysdeps/generic/Makefile: Likewise.
24949         * sysdeps/gnu/Makefile: Likewise.
24950         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24952         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24954         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24957         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24958         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24959         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24960         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24961         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24962         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24963         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24964         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24965         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24966         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24967         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24968         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24969         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24970         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24971         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24972         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24973         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24974         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24975         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24976         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24977         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24978         * sysdeps/mach/hurd/errnos.awk: Likewise.
24979         * sysdeps/mach/hurd/fork.c: Likewise.
24980         * sysdeps/mach/hurd/getcwd.c: Likewise.
24981         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24982         * sysdeps/mach/hurd/mmap.c: Likewise.
24983         * sysdeps/mach/hurd/utimes.c: Likewise.
24984         * sysdeps/mach/hurd/xmknod.c: Likewise.
24985         * sysdeps/posix/profil.c: Likewise.
24986         * sysdeps/posix/readdir_r.c: Likewise.
24987         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24988         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24989         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24990         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24992         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24993         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24994         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24996         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24997         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24998         * sysdeps/pthread/lio_listio.c: Likewise.
24999         * sysdeps/sparc/dl-procinfo.h: Likewise.
25000         * sysdeps/unix/i386/sysdep.S: Likewise.
25001         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25002         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25003         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25004         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25006         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25007         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25008         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25009         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25010         * sysdeps/wordsize-32/divdi3.c: Likewise.
25011         * time/sys/time.h: Likewise.
25012         * wcsmbs/Makefile: Likewise.
25013
25014 2013-01-01  David S. Miller  <davem@davemloft.net>
25015
25016         * po/fr.po: Update from translation team.
25017
25018         * catgets/gencat.c: Update copyright year.
25019         * csu/version.c: Likewise.
25020         * debug/catchsegv.sh: Likewise.
25021         * debug/pcprofiledump.c: Likewise.
25022         * debug/xtrace.sh: Likewise.
25023         * elf/ldconfig.c: Likewise.
25024         * elf/ldd.bash.in: Likewise.
25025         * elf/pldd.c: Likewise.
25026         * elf/sotruss.ksh: Likewise.
25027         * elf/sprof.c: Likewise.
25028         * iconv/iconv_prog.c: Likewise.
25029         * iconv/iconvconfig.c: Likewise.
25030         * locale/programs/locale.c: Likewise.
25031         * locale/programs/localedef.c: Likewise.
25032         * login/programs/pt_chown.c: Likewise.
25033         * malloc/memusage.sh: Likewise.
25034         * malloc/memusagestat.c: Likewise.
25035         * malloc/mtrace.pl: Likewise.
25036         * nscd/nscd.c: Likewise.
25037         * nss/getent.c: Likewise.
25038         * nss/makedb.c: Likewise.
25039         * posix/getconf.c: Likewise.
25040
25041 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25042
25043         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25044         numbers.
25045
25046 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25047
25048         * math/bits/mathcalls.h (modf): Use __nonnull.
25049
25050 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25051
25052         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25053         (split): Use macro CN instead of the bare value.
25054         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25055         could be used.
25056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25057         instead of the bare value.
25058         (power1): Likewise.
25059
25060 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25061
25062         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25063         __ATAN_TWOM.
25064         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25065
25066         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25067         their values.
25068         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25069         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25070         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25071         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25072
25073 2012-12-28  Andreas Jaeger  <aj@suse.de>
25074
25075         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25076         values are from Linux 3.7.
25077
25078         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25079         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25080
25081 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25082
25083         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25084         TRUE case.
25085
25086         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25087         (norm): Likewise.
25088         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25089         variables with preprocessor constants.
25090         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25091         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25092         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25093
25094 2012-12-27  Bruno Haible  <bruno@clisp.org>
25095
25096         [BZ #14317]
25097         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25098         only if needed.
25099
25100 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25101
25102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25103         and use variable directly.
25104         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25105
25106         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25107         MPONE.
25108         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25110         variable MPONE.
25111         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25112         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25113         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25114         include directive.  Remove local variable MPONE.
25115         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25116         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25117         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25118
25119 2012-12-25  David S. Miller  <davem@davemloft.net>
25120
25121         * version.h (RELEASE): Set to "development".
25122         (VERSION): Set to "2.17.90".
25123         * NEWS: Add 2.18 section.
25124
25125 2012-12-21  David S. Miller  <davem@davemloft.net>
25126
25127         * po/hr.po: Update from translation team.
25128
25129 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25130
25131         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25132
25133 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25134
25135         * NEWS:  Mention new memcpy for MIPS.
25136
25137 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25138
25139         * manual/contrib.texi (Contributors): Spelling correction.
25140
25141 2012-12-15  David S. Miller  <davem@davemloft.net>
25142
25143         * po/ru.po: Update from translation team.
25144
25145 2012-12-13  David S. Miller  <davem@davemloft.net>
25146
25147         * NEWS: Mention IFUNC testsuite enhancements.
25148
25149         * po/pl.po: Update from translation team.
25150         * po/bg.po: Likewise.
25151
25152         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25153         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25154
25155 2012-12-11  David S. Miller  <davem@davemloft.net>
25156
25157         * po/sv.po: Update from translation team.
25158
25159         * po/vi.po: Update from translation team.
25160
25161         * po/cs.po: Update from translation team.
25162
25163         * po/de.po: Update from translation team.
25164         * po/eo.po: Likewise.
25165         * po/nl.po: Likewise.
25166
25167 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25168
25169         [BZ #14246]
25170         * manual/argp.texi (Argp Helper Functions): Move node to follow
25171         Argp Parsing State.
25172
25173         [BZ #14872]
25174         * manual/conf.texi (Limits on File System Capacity): Mention if
25175         terminating null is included in the max size.
25176
25177 2012-12-10  Andreas Jaeger  <aj@suse.de>
25178
25179         * po/cs.po: Update from translation team.
25180
25181 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25182
25183         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25184         void pointer and cast to uintptr_t.
25185         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25186         path.
25187         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25188         * sysdeps/s390/s390-64/memset.S: Likewise.
25189
25190 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25191
25192         [BZ #14833]
25193         * menual/message.texi (Message Translation): Fix typos.
25194         (Helper programs for gettext): Likewise.
25195
25196 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25197
25198         [BZ #14898]
25199         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25200         Change to -1.
25201
25202 2012-12-07  David S. Miller  <davem@davemloft.net>
25203
25204         * po/libc.pot: Update.
25205
25206 2012-12-07  Richard Henderson  <rth@redhat.com>
25207
25208         [BZ #10114]
25209         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25210         normal/normal case to before the switch.
25211         (_FP_DIV): Likewise.
25212
25213 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25214             Mike Frysinger  <vapier@gentoo.org>
25215
25216         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25217         check for __NR_fadvise64_64.
25218
25219 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25220
25221         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25222         0, not just to plain "0" as a statement.
25223         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25224         with cw.
25225
25226 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25227
25228         * NEWS: Use sourceware.org in Bugzilla URL.
25229
25230 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25231
25232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25233         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25234
25235         * stdio-common/tst-put-error.c (do_test): Add newline to the
25236         padded test to ensure flush.
25237
25238 2012-12-05  Jeff Law  <law@redhat.com>
25239
25240         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25241
25242 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25243
25244         * README: Don't refer to ports add-on as distributed separately.
25245         Mention AArch64 in list of systems supported in the ports add-on.
25246
25247         * LICENSES: Add more non-FSF copyright and license notices.
25248
25249         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25250         ((unused)).
25251
25252         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25253
25254         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25255         10000 as width of padded output.
25256
25257 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25258
25259         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25260
25261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25262         variable LX with __attribute__ ((unused)).
25263         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25264         Likewise.
25265         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25266         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25267         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25268         with __attribute__ ((unused)).
25269
25270 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25271
25272         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25273
25274 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25275
25276         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25277         (CFLAGS-nldbl-acos.c): New variable.
25278         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25279         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25280         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25281         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25282         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25283         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25284         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25285         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25286         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25287         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25288         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25289         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25290         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25291         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25292         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25293         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25294         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25295         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25296         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25297         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25298         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25299         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25300         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25301         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25302         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25303         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25304         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25305         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25306         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25307         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25308         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25309         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25310         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25311         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25312         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25313         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25314         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25315         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25316         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25317         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25318         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25319         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25320         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25321         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25322         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25323         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25324         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25325         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25326         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25327         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25328         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25329         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25330         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25331         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25332         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25333         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25334         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25335         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25336         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25337         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25338         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25339         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25340         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25341         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25342         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25343         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25344         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25345         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25346         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25347         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25348         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25349         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25350         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25351         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25352         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25353         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25354         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25355         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25356         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25357         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25358         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25359         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25360         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25361         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25362         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25363         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25364         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25365         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25366         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25367         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25368         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25369         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25370         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25371         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25372         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25373         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25374         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25375
25376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25377         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25378
25379         [BZ #14914]
25380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25381         whole low double instead of just low 47 bits when splitting values
25382         into two parts.
25383
25384 2012-12-03  Allan McRae  <allan@archlinux.org>
25385
25386         * manual/stdio.texi (Predefined Printf Handlers): Remove
25387         @hsep and @vsep usage.
25388
25389 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25390
25391         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25392         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25393
25394 2012-12-03  Jeff Law  <law@redhat.com>
25395
25396         * time/sys/time.h (settimeofday): Do not mark TV argument
25397         as __nonnull.
25398
25399 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25400
25401         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25402         when currently writing and seek to current position when not.
25403         * libio/Makefile (tests): Remove bug-fclose1.
25404         * libio/bug-fclose1.c: Delete.
25405
25406 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25407
25408         * manual/arith.texi (feenableexcept): Fix typo.
25409         (fedisableexcept): Likewise.
25410
25411 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25412
25413         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25414         second, differently-typed declaration, rather than a cast.
25415
25416 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25417
25418         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25419         * include/rpc/svc.h: ... here.
25420
25421 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25422
25423         [BZ #13013]
25424         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25425         depending n and resplen2 to catch cases where answer
25426         equals answerp2.
25427
25428 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25429
25430         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25431         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25432
25433 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25434
25435         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25436
25437 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25438
25439         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25440
25441 2012-11-28  Jeff Law  <law@redhat.com>
25442
25443         [BZ #13761]
25444         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25445         dataset_temporary.  Track alloca usage into alloca_used.
25446         If dataset is large allocate and release it via malloc/free.
25447
25448 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25449
25450         [BZ #14197]
25451         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25452
25453 2012-11-28  David S. Miller  <davem@davemloft.net>
25454
25455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25456
25457 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25458
25459         [BZ #14803]
25460         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25461         of pi/2 rounded to nearest to 64 bits.
25462         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25463         nearest to 64 bits.
25464         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25465         bits.
25466
25467 2012-11-28  Jeff Law <law@redhat.com>
25468             Martin Osvald <mosvald@redhat.com>
25469
25470         [BZ #14889]
25471         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25472         * sunrpc/svc.c: Include time.h.
25473         (__svc_accept_failed): New function.
25474         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25475         any reason other than EINTR, call __svc_accept_failed.
25476         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25477         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25478
25479 2012-11-28  Andreas Schwab  <schwab@suse.de>
25480
25481         * scripts/abilist.awk: Also handle indirect functions in .opd
25482         section.
25483
25484 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25485
25486         [BZ #13881]
25487         * sysdeps/x86/fpu/powl_helper.c: New file.
25488         * sysdeps/x86/fpu/Makefile: Likewise.
25489         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25490         (p3): New object.
25491         (__ieee754_powl): Use __powl_helper for finite arguments except
25492         integer exponents below 8.
25493         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25494         (p3): New object.
25495         (__ieee754_powl): Use __powl_helper for finite arguments except
25496         integer exponents below 8.
25497         * math/libm-test.inc (pow_test): Add more tests and enable some
25498         previously disabled tests.
25499         * sysdeps/i386/fpu/libm-test-ulps: Update.
25500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25501
25502 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25503             Carlos O'Donell  <carlos_odonell@mentor.com>
25504
25505         * nss/makedb.c (is_prime): Assert that input is odd and greater
25506         than 4.  Note that fact in a comment too.
25507         (next_prime): Add 4 to input.
25508
25509 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25510
25511         [BZ #11741]
25512         * libio/Makefile (tests): Add test case tst-fwrite-error.
25513         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25514         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25515         * libio/tst-fwrite-error.c: New test case.
25516
25517 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25518
25519         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25520         before casting to void *.
25521         * include/libc-internal.h (__pointer_type): New macro.
25522         (__integer_if_pointer_type_sub): Likewise.
25523         (__integer_if_pointer_type): Likewise.
25524         (cast_to_integer): Likewise.
25525         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25526         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25527         before casting to atomic64_t.
25528         (atomic_exchange_acq): Likewise.
25529         (__arch_exchange_and_add_body): Likewise.
25530         (__arch_add_body): Likewise.
25531         (atomic_add_negative): Likewise.
25532         (atomic_add_zero): Likewise.
25533
25534 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25535
25536         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25537         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25538         (add_fdes): Likewise.
25539         (linear_search_fdes): Likewise.
25540         (binary_search_unencoded_fdes): Likewise.
25541
25542 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25543
25544         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25545
25546 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25547
25548         * configure.in: Autodetect C++ header directories.
25549         * configure: Regenerated.
25550
25551 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25552
25553         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25554
25555 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25556
25557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25558
25559 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25560
25561         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25562         LDBL_MANT_DIG == 106]: Disable some tests.
25563         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25564         Likewise.
25565         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25566         Likewise.
25567
25568         [BZ #14871]
25569         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25570         input for small inputs.  Return +/- pi/2 for large inputs.
25571         * math/libm-test.inc (atan_test): Add more tests.
25572
25573         * sysdeps/generic/unwind-dw2-fde-glibc.c
25574         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25575         __attribute__ ((unused)).
25576
25577         [BZ #14645]
25578         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25579         x * y if x and y are nonzero and z is zero.
25580
25581         [BZ #14811]
25582         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25583         nonzero exponents with absolute value below 0x1p-117 to +/-
25584         0x1p-117.
25585
25586         [BZ #14869]
25587         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25588         up arguments below 2**-450, not just those below 2**-500.
25589         * math/libm-test.inc (hypot_test): Add another test.
25590
25591         [BZ #14868]
25592         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25593         Return a+b for ratio over 2**120, not 2**60.
25594         * math/libm-test.inc (hypot_test): Add another test.
25595
25596         * math/libm-test.inc (clog_test): Use
25597         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25598         (clog10_test): Likewise.
25599
25600         [BZ #6778]
25601         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25602
25603 2012-11-22  Andreas Schwab  <schwab@suse.de>
25604
25605         * sysdeps/i386/fpu/libm-test-ulps: Update.
25606
25607 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25608
25609         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25610         printf output with newline.
25611
25612 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25613
25614         [BZ #14865]
25615         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25616         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25617         -z nodlopen, -z initfirst and -z execstack support.
25618         * configure: Regenerated.
25619
25620         * elf/elf.h (DF_1_NODIRECT): New macro.
25621         (DF_1_IGNMULDEF): Likewise.
25622         (DF_1_NOKSYMS): Likewise.
25623         (DF_1_NOHDR): Likewise.
25624         (DF_1_EDITED): Likewise.
25625         (DF_1_NORELOC): Likewise.
25626         (DF_1_SYMINTPOSE): Likewise.
25627         (DF_1_GLOBAUDIT): Likewise.
25628         (DF_1_SINGLETON): Likewise.
25629         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25630         DT_1_SUPPORTED_MASK bits.
25631         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25632
25633 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25634
25635         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25636
25637 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25638
25639         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25640         macro.
25641
25642         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25643         (sendmmsg): Move declarations...
25644         * socket/sys/socket.h: ... here.
25645         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25646         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25647         include it from...
25648         * socket/recvmmsg.c: ... this new file.
25649         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25650         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25651         definition of __sendmmsg hidden.
25652         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25653         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25654         Move ENOSYS stub into and include it from...
25655         * socket/sendmmsg.c: ... this new file.
25656         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25657         (sysdep_routines): Move recvmmsg and sendmmsg...
25658         * socket/Makefile (routines): ... here.
25659         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25660         (GLIBC_PRIVATE): Add __sendmmsg.
25661         * include/sys/socket.h (__sendmmsg): Add declarations.
25662         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25663         sendmmsg.
25664
25665 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25666
25667         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25668         variable I1 with __attribute__ ((unused)).
25669         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25670
25671 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25672
25673         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25674         DUMMY variables with __attribute__ ((unused)).
25675
25676         * bits/byteswap.h: Include <bits/types.h>.
25677         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25678
25679 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25680
25681         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25682         string_t.  Do not manually set errno.
25683         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25684         length with __strnlen.  Make sure to both set errno and return it on
25685         failure.
25686
25687 2012-11-19  David S. Miller  <davem@davemloft.net>
25688
25689         With help from Joseph Myers.
25690         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25691         very large arguments properly.
25692         * math/libm-test.inc (atan_test): New tests.
25693         (atan2_test): New tests.
25694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25696
25697 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25698
25699         [BZ #14856]
25700         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25701         Define to 3.
25702
25703         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25704         [POSIX] (EADDRNOTAVAIL): Likewise.
25705         [POSIX] (EAFNOSUPPORT): Likewise.
25706         [POSIX] (EALREADY): Likewise.
25707         [POSIX] (ECONNABORTED): Likewise.
25708         [POSIX] (ECONNREFUSED): Likewise.
25709         [POSIX] (ECONNRESET): Likewise.
25710         [POSIX] (EDESTADDRREQ): Likewise.
25711         [POSIX] (EDQUOT): Likewise.
25712         [POSIX] (EHOSTUNREACH): Likewise.
25713         [POSIX] (EIDRM): Likewise.
25714         [POSIX] (EISCONN): Likewise.
25715         [POSIX] (ELOOP): Likewise.
25716         [POSIX] (EMULTIHOP): Likewise.
25717         [POSIX] (ENETDOWN): Likewise.
25718         [POSIX] (ENETUNREACH): Likewise.
25719         [POSIX] (ENOBUFS): Likewise.
25720         [POSIX] (ENODATA): Likewise.
25721         [POSIX] (ENOLINK): Likewise.
25722         [POSIX] (ENOMSG): Likewise.
25723         [POSIX] (ENOPROTOOPT): Likewise.
25724         [POSIX] (ENOSR): Likewise.
25725         [POSIX] (ENOSTR): Likewise.
25726         [POSIX] (ENOTCONN): Likewise.
25727         [POSIX] (ENOTSOCK): Likewise.
25728         [POSIX] (EOPNOTSUPP): Likewise.
25729         [POSIX] (EOVERFLOW): Likewise.
25730         [POSIX] (EPROTO): Likewise.
25731         [POSIX] (EPROTONOSUPPORT): Likewise.
25732         [POSIX] (EPROTOTYPE): Likewise.
25733         [POSIX] (ESTALE): Likewise.
25734         [POSIX] (ETIME): Likewise.
25735         [POSIX] (ETXTBSY): Likewise.
25736         [POSIX] (EWOULDBLOCK): Likewise.
25737         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25738         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25739         [POSIX] (SEEK_CUR): Likewise.
25740         [POSIX] (SEEK_END): Likewise.
25741         [POSIX || UNIX98] (mode_t): Do not require.
25742         [POSIX] (off_t): Likewise.
25743         [POSIX] (pid_t): Likewise.
25744         [POSIX] (sys/stat.h): Do not allow header.
25745         [POSIX] (unistd.h): Likewise.
25746         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25747         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25748         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25749         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25750         require.
25751         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25752         sigevent): Specify elements.
25753         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25754         entry.
25755         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25756         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25757
25758         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25759         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25760         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25761         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25762         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25763         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25764         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25765         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25766         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25767         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25768         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25769         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25770         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25771         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25772         Likewise.
25773         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25774         Likewise.
25775         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25776         Likewise.
25777         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25778         Likewise.
25779         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25780         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25781         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25782         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25783         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25784         Specify lower bound on value.
25785         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25786         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25787         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25788         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25789         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25790         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25791         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25792         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25793         value.
25794         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25795         as optional.
25796         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25797         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25798         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25799         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25800         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25801         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25802         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25803         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25804         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25805         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25806         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25807         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25808         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25809         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25810         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25811         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25812         entry.
25813         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25814         optional.
25815         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25816         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25817         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25818         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25819         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25820         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25821         Likewise.
25822         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25823         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25824         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25825         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25826         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25827         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25828         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25829         as optional.
25830         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25831         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25832         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25833         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25834         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25835         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25836         specify as optional.
25837         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25838         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25839         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25840         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25841         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25842         [XPG3] (NL_LANGMAX): Likewise.
25843         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25844         [POSIX || XPG3] (NL_NMAX): Likewise.
25845         [POSIX || XPG3] (NL_SETMAX): Likewise.
25846         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25847         [XPG3] (NZERO): Likewise.
25848         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25849         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25850         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25851         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25852         (REG_ERANGE): Expect.
25853         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25854         optional-constant.
25855         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25856         Use (void) in prototype.
25857         [POSIX] (*_t): Allow.
25858         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25859         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25860         (WRDE_BADVAL): Expect.
25861
25862         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25863         expect.
25864         [XPG3 || XPG4] (O_RSYNC): Likewise.
25865         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25866         Likewise.
25867         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25868         [XPG3 || XPG4] (sigqueue): Likewise.
25869         [XPG3 || XPG4] (sigtimedwait): Likewise.
25870         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25871         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25872         [XPG3 || XPG4] (vsnprintf): Likewise.
25873         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25874         Likewise.
25875         [XPG3 || XPG4] (blksize_t): Likewise.
25876         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25877         Likewise.
25878         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25879         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25880         [XPG3 || XPG4] (struct itimerspec): Likewise.
25881         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25882         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25883         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25884         [XPG3 || XPG4] (clockid_t): Likewise.
25885         [XPG3 || XPG4] (timer_t): Likewise.
25886         [XPG3 || XPG4] (clock_getres): Likewise.
25887         [XPG3 || XPG4] (clock_gettime): Likewise.
25888         [XPG3 || XPG4] (clock_settime): Likewise.
25889         [XPG3 || XPG4] (nanosleep): Likewise.
25890         [XPG3 || XPG4] (timer_create): Likewise.
25891         [XPG3 || XPG4] (timer_delete): Likewise.
25892         [XPG3 || XPG4] (timer_gettime): Likewise.
25893         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25894         [XPG3 || XPG4] (timer_settime): Likewise.
25895         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25896         [XPG3 || XPG4] (getlogin_r): Likewise.
25897         [XPG3 || XPG4] (pread): Likewise.
25898         [XPG3 || XPG4] (pthread_atfork): Likewise.
25899         [XPG3 || XPG4] (pwrite): Likewise.
25900
25901         [BZ #14835]
25902         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25903         <bits/siginfo.h>.
25904
25905 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25906
25907         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25908         finalizing MALLSTREAM.
25909
25910         * sysdeps/mach/hurd/syncfs.c: New file.
25911
25912 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25913
25914         [BZ #14719]
25915         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25916         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25918         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25919         (_nss_dns_gethostbyname4_r): Likewise.
25920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25921         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25922
25923 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25924
25925         [BZ #13763]
25926         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25927
25928 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25929
25930         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25931         * elf/cache.c (print_entry): Print ",AArch64" for
25932         FLAG_AARCH64_LIB64
25933
25934         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25935         * elf/cache.c (print_entry): Print ",hard-float" for
25936         FLAG_ARM_LIBHF.
25937
25938 2012-11-18  David S. Miller  <davem@davemloft.net>
25939
25940         With help from Joseph Myers.
25941         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25942         cutoff to 2**-13.
25943         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25944         cutoff to 2**-25.
25945         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25946         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25947         small.
25948         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25949         * math/libm-test.inc (y0_test): New tests.
25950         (y1_test): New tests.
25951         * sysdeps/i386/fpu/libm-test-ulps: Update.
25952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25954
25955 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25956
25957         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25958         64-bit targets.
25959         * configure: Regenerated.
25960
25961 2012-11-17  David S. Miller  <davem@davemloft.net>
25962
25963         [BZ #14811]
25964         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25965         nonzero exponents with absolute value below 0x1p-128 to +/-
25966         0x1p-128.
25967
25968 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25969
25970         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25971
25972         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25973
25974         * posix/getconf-speclist.c: New file.
25975         * posix/posix-envs.def: Likewise.
25976         * posix/confstr.c (START_ENV_GROUP): New macro.
25977         (END_ENV_GROUP): Likewise.
25978         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25979         (KNOWN_PRESENT_ENV_STRING): Likewise.
25980         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25981         (UNKNOWN_ENVIRONMENT): Likewise.
25982         (confstr): Include posix-envs.def instead of handling
25983         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25984         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25985         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25986         (END_ENV_GROUP): Likewise.
25987         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25988         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25989         (UNKNOWN_ENVIRONMENT): Likewise.
25990         (__sysconf): Include posix-envs.def instead of handling associated
25991         cases directly here.
25992         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25993         preprocessing getconf-speclist.c rather than running getconf or
25994         generating empty file.
25995
25996 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25997
25998         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25999
26000 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26001
26002         [BZ #14672]
26003         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26004
26005 2012-11-16  David S. Miller  <davem@davemloft.net>
26006
26007         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26008         smaller than LDBL_EPSILON/2.0L, just return xm1.
26009
26010 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26011
26012         * elf/tst-array1.c (init): Set constructor priority to 1000.
26013         (fini): Set destructor priority to 1000.
26014         * elf/tst-array2dep.c: Likewise.
26015
26016 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26017
26018         [BZ #11741]
26019         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26020         (_IO_new_file_xsputn): Also return EOF if none of the input
26021         data was written when overflow failed.
26022         * libio/iopadn.c (_IO_padn): Likewise.
26023         * libio/iowpadn.c (_IO_wpadn): Likewise.
26024         * stdio-common/tst-put-error.c: Add copyright notice.
26025         (do_test): Add case for printing padded string.
26026         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26027         _IO_padn returned error.
26028         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26029         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26030         return EOF.
26031
26032 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26033
26034         * libio/libioP.h: Add comment note that the references to C++
26035         bits are now obsolete.
26036
26037 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26038
26039         * math/libm-test.inc (check_complex): Use asprintf.
26040
26041 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26042
26043         * debug/pcprofiledump.c (print_version): Update copyright year.
26044         * malloc/memusagestat.c (print_version): Likewise.
26045
26046 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26047
26048         [BZ #14831]
26049         * elf/Makefile (tests): Add tst-audit8.
26050         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26051         ($(objpfx)tst-audit8.out): New target.
26052         (tst-audit8-ENV): New variable.
26053         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26054         audit if l_reloc_result is NULL.
26055         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26056         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26057         * elf/tst-audit8.c: New file.
26058
26059 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26060
26061         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26062         * misc/Makefile (CFLAGS-select.c): Define.
26063         * posix/Makefile (CFLAGS-pause.c): Define.
26064
26065 2012-11-13  David S. Miller  <davem@davemloft.net>
26066
26067         * crypt/Makefile: Move test targets after toplevel Rules
26068         inclusion.  Grab any necessary sysdep routines when linking.
26069         * crypt/md5.c (md5_process_block): Remove define, we will always
26070         name it __md5_process_block.
26071         (md5_finish_ctx): Update md5_process_block call.
26072         (md5_stream): Likewise.
26073         (md5_process_bytes): Likewise.
26074         (md5_process_block): Rename to __md5_process_block and move to ...
26075         * crypt/md5-block.c: ... here.
26076         * crypt/sha256.c (sha256_process_block): Move to ...
26077         * crypt/sha256-block.c: ... here.
26078         * crypt/sha512.c (sha512_process_block): Move to ...
26079         * crypt/sha512-block.c: ... here.
26080         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26081         path.
26082         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26083         * sysdeps/sparc/sparc64/multiarch/Makefile
26084         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26085         crypt subdir.
26086         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26087         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26088         multiarch changes.
26089         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26090         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26091         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26092         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26093         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26094         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26095         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26096         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26097         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26098         file.
26099         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26100         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26101         file.
26102         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26103
26104 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26105
26106         * timezone/tzselect.ksh: Update from tzcode git revision
26107         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26108         * timezone/zdump.c: Likewise.
26109         * timezone/zic.c: Likewise.
26110         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26111         in TZVERSION setting, not $(PKGVERSION).
26112         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26113         REPORT_BUGS_TO settings.
26114
26115         [BZ #14838]
26116         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26117         macro.
26118
26119 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26120
26121         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26122         detection to immediately after _FP_ROUND().
26123         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26124         bits are 0.
26125
26126 2012-11-11  David S. Miller  <davem@davemloft.net>
26127
26128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26129         inttypes.h
26130         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26131         __close rather than their public counterparts.
26132
26133 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26134
26135         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26136         file.
26137         [UNIX98] (sem_timedwait): Do not expect.
26138         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26139         [XPG4 || UNIX98] (sockatmark): Do not expect.
26140         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26141         (clock_getcpuclockid): Do not expect.
26142         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26143         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26144         Do not expect.
26145         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26146         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26147         [UNIX98] (vwscanf): Likewise.
26148         [UNIX98] (vswscanf): Likewise.
26149
26150 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26151
26152         * timezone/version.h: Remove file.
26153         * timezone/README: Do not refer to version.h.
26154         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26155         $(objpfx)version.h.
26156         ($(objpfx)zdump.o): Likewise.
26157         ($(objpfx)version.h): New target.
26158
26159         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26160         2012i.
26161         * timezone/README: Don't mention modification to tzselect.ksh.
26162         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26163         work on unmodified tzselect.ksh.  Substitute version numbers in
26164         tzselect.ksh.
26165
26166         * Makefile (format-me): Remove.
26167         (INSTALL): Adjust indentation.  Use commands directly instead of
26168         using $(format-me).
26169
26170         * aclocal.m4 (ACX_PKGVERSION): New macro.
26171         (ACX_BUGURL): Likewise.
26172         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26173         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26174         (REPORT_BUGS_TO): Likewise.
26175         * configure: Regenerated.
26176         * config.h.in (PKGVERSION): New macro.
26177         (REPORT_BUGS_TO): Likewise.
26178         * config.make.in (PKGVERSION): New variable.
26179         (PKGVERSION_TEXI): Likewise.
26180         (REPORT_BUGS_TO): Likewise.
26181         (REPORT_BUGS_TEXI): Likewise.
26182         * Makefile (format-me): Use -I$(common-objpfx)manual.
26183         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26184         ($(common-objpfx)manual/%): New target.
26185         (manual/%): Remove target.
26186         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26187         (print_version): Use PKGVERSION.
26188         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26189         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26190         and REPORT_BUGS_TO.
26191         ($(objpfx)xtrace): Likewise.
26192         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26193         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26194         (print_version): Use PKGVERSION.
26195         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26196         (do_version): Use PKGVERSION.
26197         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26198         REPORT_BUGS_TO.
26199         (common-ldd-rewrite): Likewise.
26200         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26201         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26202         (print_version): Use PKGVERSION.
26203         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26204         * elf/pldd.c (argp_program_bug_address): Remove variable.
26205         (more_help): New function.
26206         (argp): Use more_help.
26207         (print_version): Use PKGVERSION.
26208         * elf/sln.c (main): Use PKGVERSION.
26209         (usage): Use REPORT_BUGS_TO.
26210         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26211         (top level): Use PKGVERSION.
26212         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26213         (print_version): Use PKGVERSION.
26214         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26215         (print_version): Use PKGVERSION.
26216         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26217         (print_version): Use PKGVERSION.
26218         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26219         (print_version): Use PKGVERSION.
26220         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26221         (print_version): Use PKGVERSION.
26222         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26223         (print_version): Use PKGVERSION.
26224         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26225         and BUGURL.
26226         ($(objpfx)memusage): Likewise.
26227         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26228         (do_version): Use PKGVERSION.
26229         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26230         (print_version): Use PKGVERSION.
26231         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26232         ($PKGVERSION): New variable.
26233         ($REPORT_BUGS_TO): Likewise.
26234         (usage): Use $REPORT_BUGS_TO.
26235         (top level): Use $PKGVERSION.
26236         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26237         ($(objpfx)pkgvers.texi): New rule.
26238         ($(objpfx)stamp-pkgvers): Likewise.
26239         * manual/install.texi: Include pkgvers.texi.
26240         (--with-pkgversion): Document new configure option.
26241         (--with-bugurl): Likewise.
26242         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26243         than necessarily for this particular distribution.  Use
26244         REPORT_BUGS_TO for where to report bugs.
26245         * INSTALL: Regenerated.
26246         * manual/libc.texinfo: Include pkgvers.texi.
26247         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26248         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26249         (print_version): Use PKGVERSION.
26250         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26251         (print_version): Use PKGVERSION.
26252         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26253         (print_version): Use PKGVERSION.
26254         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26255         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26256         macro.
26257         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26258         (print_version): Use PKGVERSION.
26259         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26260         (print_version): Use PKGVERSION.
26261         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26262         and PKGVERSION.
26263
26264         * timezone/checktab.awk: Update from tzcode 2012i.
26265         * timezone/ialloc.c: Likewise.
26266         * timezone/private.h: Likewise.
26267         * timezone/scheck.c: Likewise.
26268         * timezone/tzfile.h: Likewise.
26269         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26270         (TZVERSION): Hardcode tzcode version number.
26271         * timezone/zdump.c: Update from tzcode 2012i.
26272         * timezone/zic.c: Likewise.
26273         * timezone/version.h: New file.
26274         * timezone/README: Describe version.h.  Update upstream location.
26275
26276         [BZ #14824]
26277         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26278         (mktemp): Enable declaration.
26279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26280         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26283         Likewise.
26284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26285         Likewise.
26286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26287         Likewise.
26288         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26289         Likewise.
26290         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26291         Likewise.
26292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26293         Likewise.
26294
26295         [BZ #14821]
26296         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26297         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26298         for copies of such integer values.
26299         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26300         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26301
26302 2012-11-09  Andreas Jaeger  <aj@suse.de>
26303
26304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26305         definitions and declarations that are provided by
26306         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26307
26308 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26309
26310         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26311         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26312         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26313         definition.
26314
26315 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26316
26317         * elf/elf.h: Update comment before AArch64 relocations.
26318
26319 2012-11-07  David S. Miller  <davem@davemloft.net>
26320
26321         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26322         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26323         (__start_context): Declare.
26324         (__makecontext_ret): Delete.
26325         (__makecontext): Hook up __start_context instead of
26326         __makecontext_ret.
26327         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26328         (sysdep_routines): Add __start_context when in stdlib.
26329
26330 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26331
26332         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26333         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26334         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26335         hardcoded "nm".
26336         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26337         (READELF): New variable.  Use it instead of hardcoded "readelf".
26338
26339 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26340
26341         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26342         * sysdeps/x86/Makefile: Here.
26343         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26344         * sysdeps/x86/tst-xmmymm.sh: This.
26345
26346 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26347
26348         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26349         expectations.
26350         [UNIX98] (pthread_barrier_t): Do not expect.
26351         [UNIX98] (pthread_barrierattr_t): Likewise.
26352         [UNIX98] (pthread_spinlock_t): Likewise.
26353         [UNIX98] (pthread_barrier_destroy): Likewise.
26354         [UNIX98] (pthread_barrier_init): Likewise.
26355         [UNIX98] (pthread_barrier_wait): Likewise.
26356         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26357         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26358         [UNIX98] (pthread_barrierattr_init): Likewise.
26359         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26360         [UNIX98] (pthread_getcpuclockid): Likewise.
26361         [UNIX98] (pthread_mutex_timedlock): Likewise.
26362         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26363         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26364         [UNIX98] (pthread_sigmask): Likewise.
26365         [UNIX98] (pthread_spin_destroy): Likewise.
26366         [UNIX98] (pthread_spin_init): Likewise.
26367         [UNIX98] (pthread_spin_lock): Likewise.
26368         [UNIX98] (pthread_spin_trylock): Likewise.
26369         [UNIX98] (pthread_spin_unlock): Likewise.
26370         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26371         Do not expect.
26372         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26373         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26374         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26375         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26376         [XPG3 || XPG4] (pthread_key_t): Likewise.
26377         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26378         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26379         [XPG3 || XPG4] (pthread_once_t): Likewise.
26380         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26381         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26382         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26383         [XPG3 || XPG4] (pthread_t): Likewise.
26384
26385         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26386         not expect.
26387         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26388
26389         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26390         Change function return type to int.
26391
26392         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26393         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26394         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26395         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26396         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26397         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26398         [!POSIX] (posix_madvise): Likewise.
26399         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26400         && !UNIX98].
26401         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26402         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26403         (mode_t): Likewise.
26404         (posix_mem_offset): Likewise.
26405         (posix_typed_mem_get_info): Likewise.
26406         (posix_typed_mem_open): Likewise.
26407
26408         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26409         Change condition to [XOPEN2K8].
26410
26411         * conform/conformtest.pl: Preprocess allow-header data with -x c
26412         instead of from stdin.
26413         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26414         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26415         [C99-based standards] (cerfc): Likewise.
26416         [C99-based standards] (cexp2): Likewise.
26417         [C99-based standards] (cexpm1): Likewise.
26418         [C99-based standards] (clog10): Likewise.
26419         [C99-based standards] (clog1p): Likewise.
26420         [C99-based standards] (clog2): Likewise.
26421         [C99-based standards] (clgamma): Likewise.
26422         [C99-based standards] (ctgamma): Likewise.
26423         [C99-based standards] (cerff): Likewise.
26424         [C99-based standards] (cerfcf): Likewise.
26425         [C99-based standards] (cexp2f): Likewise.
26426         [C99-based standards] (cexpm1f): Likewise.
26427         [C99-based standards] (clog10f): Likewise.
26428         [C99-based standards] (clog1pf): Likewise.
26429         [C99-based standards] (clog2f): Likewise.
26430         [C99-based standards] (clgammaf): Likewise.
26431         [C99-based standards] (ctgammaf): Likewise.
26432         [C99-based standards] (cerfl): Likewise.
26433         [C99-based standards] (cerfcl): Likewise.
26434         [C99-based standards] (cexp2l): Likewise.
26435         [C99-based standards] (cexpm1l): Likewise.
26436         [C99-based standards] (clog10l): Likewise.
26437         [C99-based standards] (clog1pl): Likewise.
26438         [C99-based standards] (clog2l): Likewise.
26439         [C99-based standards] (clgammal): Likewise.
26440         [C99-based standards] (ctgammal): Likewise.
26441         * conform/data/inttypes.h-data [C99-based standards]: Include
26442         stdint.h-data.  Remove all expectations for stdint.h contents.
26443         [C99-based standards] (PRI*): Do not allow.
26444         [C99-based standards] (SCN*): Likewise.
26445         [C99-based standards] (*_t): Likewise.
26446         [C99-based-standards] (PRId8): Expect macro.
26447         [C99-based-standards] (PRIi8): Likewise.
26448         [C99-based-standards] (PRIo8): Likewise.
26449         [C99-based-standards] (PRIu8): Likewise.
26450         [C99-based-standards] (PRIx8): Likewise.
26451         [C99-based-standards] (PRIX8): Likewise.
26452         [C99-based-standards] (SCNd8): Likewise.
26453         [C99-based-standards] (SCNi8): Likewise.
26454         [C99-based-standards] (SCNo8): Likewise.
26455         [C99-based-standards] (SCNu8): Likewise.
26456         [C99-based-standards] (SCNx8): Likewise.
26457         [C99-based-standards] (PRIdLEAST8): Likewise.
26458         [C99-based-standards] (PRIiLEAST8): Likewise.
26459         [C99-based-standards] (PRIoLEAST8): Likewise.
26460         [C99-based-standards] (PRIuLEAST8): Likewise.
26461         [C99-based-standards] (PRIxLEAST8): Likewise.
26462         [C99-based-standards] (PRIXLEAST8): Likewise.
26463         [C99-based-standards] (SCNdLEAST8): Likewise.
26464         [C99-based-standards] (SCNiLEAST8): Likewise.
26465         [C99-based-standards] (SCNoLEAST8): Likewise.
26466         [C99-based-standards] (SCNuLEAST8): Likewise.
26467         [C99-based-standards] (SCNxLEAST8): Likewise.
26468         [C99-based-standards] (PRIdFAST8): Likewise.
26469         [C99-based-standards] (PRIiFAST8): Likewise.
26470         [C99-based-standards] (PRIoFAST8): Likewise.
26471         [C99-based-standards] (PRIuFAST8): Likewise.
26472         [C99-based-standards] (PRIxFAST8): Likewise.
26473         [C99-based-standards] (PRIXFAST8): Likewise.
26474         [C99-based-standards] (SCNdFAST8): Likewise.
26475         [C99-based-standards] (SCNiFAST8): Likewise.
26476         [C99-based-standards] (SCNoFAST8): Likewise.
26477         [C99-based-standards] (SCNuFAST8): Likewise.
26478         [C99-based-standards] (SCNxFAST8): Likewise.
26479         [C99-based-standards] (PRId16): Likewise.
26480         [C99-based-standards] (PRIi16): Likewise.
26481         [C99-based-standards] (PRIo16): Likewise.
26482         [C99-based-standards] (PRIu16): Likewise.
26483         [C99-based-standards] (PRIx16): Likewise.
26484         [C99-based-standards] (PRIX16): Likewise.
26485         [C99-based-standards] (SCNd16): Likewise.
26486         [C99-based-standards] (SCNi16): Likewise.
26487         [C99-based-standards] (SCNo16): Likewise.
26488         [C99-based-standards] (SCNu16): Likewise.
26489         [C99-based-standards] (SCNx16): Likewise.
26490         [C99-based-standards] (PRIdLEAST16): Likewise.
26491         [C99-based-standards] (PRIiLEAST16): Likewise.
26492         [C99-based-standards] (PRIoLEAST16): Likewise.
26493         [C99-based-standards] (PRIuLEAST16): Likewise.
26494         [C99-based-standards] (PRIxLEAST16): Likewise.
26495         [C99-based-standards] (PRIXLEAST16): Likewise.
26496         [C99-based-standards] (SCNdLEAST16): Likewise.
26497         [C99-based-standards] (SCNiLEAST16): Likewise.
26498         [C99-based-standards] (SCNoLEAST16): Likewise.
26499         [C99-based-standards] (SCNuLEAST16): Likewise.
26500         [C99-based-standards] (SCNxLEAST16): Likewise.
26501         [C99-based-standards] (PRIdFAST16): Likewise.
26502         [C99-based-standards] (PRIiFAST16): Likewise.
26503         [C99-based-standards] (PRIoFAST16): Likewise.
26504         [C99-based-standards] (PRIuFAST16): Likewise.
26505         [C99-based-standards] (PRIxFAST16): Likewise.
26506         [C99-based-standards] (PRIXFAST16): Likewise.
26507         [C99-based-standards] (SCNdFAST16): Likewise.
26508         [C99-based-standards] (SCNiFAST16): Likewise.
26509         [C99-based-standards] (SCNoFAST16): Likewise.
26510         [C99-based-standards] (SCNuFAST16): Likewise.
26511         [C99-based-standards] (SCNxFAST16): Likewise.
26512         [C99-based-standards] (PRId32): Likewise.
26513         [C99-based-standards] (PRIi32): Likewise.
26514         [C99-based-standards] (PRIo32): Likewise.
26515         [C99-based-standards] (PRIu32): Likewise.
26516         [C99-based-standards] (PRIx32): Likewise.
26517         [C99-based-standards] (PRIX32): Likewise.
26518         [C99-based-standards] (SCNd32): Likewise.
26519         [C99-based-standards] (SCNi32): Likewise.
26520         [C99-based-standards] (SCNo32): Likewise.
26521         [C99-based-standards] (SCNu32): Likewise.
26522         [C99-based-standards] (SCNx32): Likewise.
26523         [C99-based-standards] (PRIdLEAST32): Likewise.
26524         [C99-based-standards] (PRIiLEAST32): Likewise.
26525         [C99-based-standards] (PRIoLEAST32): Likewise.
26526         [C99-based-standards] (PRIuLEAST32): Likewise.
26527         [C99-based-standards] (PRIxLEAST32): Likewise.
26528         [C99-based-standards] (PRIXLEAST32): Likewise.
26529         [C99-based-standards] (SCNdLEAST32): Likewise.
26530         [C99-based-standards] (SCNiLEAST32): Likewise.
26531         [C99-based-standards] (SCNoLEAST32): Likewise.
26532         [C99-based-standards] (SCNuLEAST32): Likewise.
26533         [C99-based-standards] (SCNxLEAST32): Likewise.
26534         [C99-based-standards] (PRIdFAST32): Likewise.
26535         [C99-based-standards] (PRIiFAST32): Likewise.
26536         [C99-based-standards] (PRIoFAST32): Likewise.
26537         [C99-based-standards] (PRIuFAST32): Likewise.
26538         [C99-based-standards] (PRIxFAST32): Likewise.
26539         [C99-based-standards] (PRIXFAST32): Likewise.
26540         [C99-based-standards] (SCNdFAST32): Likewise.
26541         [C99-based-standards] (SCNiFAST32): Likewise.
26542         [C99-based-standards] (SCNoFAST32): Likewise.
26543         [C99-based-standards] (SCNuFAST32): Likewise.
26544         [C99-based-standards] (SCNxFAST32): Likewise.
26545         [C99-based-standards] (PRId64): Likewise.
26546         [C99-based-standards] (PRIi64): Likewise.
26547         [C99-based-standards] (PRIo64): Likewise.
26548         [C99-based-standards] (PRIu64): Likewise.
26549         [C99-based-standards] (PRIx64): Likewise.
26550         [C99-based-standards] (PRIX64): Likewise.
26551         [C99-based-standards] (SCNd64): Likewise.
26552         [C99-based-standards] (SCNi64): Likewise.
26553         [C99-based-standards] (SCNo64): Likewise.
26554         [C99-based-standards] (SCNu64): Likewise.
26555         [C99-based-standards] (SCNx64): Likewise.
26556         [C99-based-standards] (PRIdLEAST64): Likewise.
26557         [C99-based-standards] (PRIiLEAST64): Likewise.
26558         [C99-based-standards] (PRIoLEAST64): Likewise.
26559         [C99-based-standards] (PRIuLEAST64): Likewise.
26560         [C99-based-standards] (PRIxLEAST64): Likewise.
26561         [C99-based-standards] (PRIXLEAST64): Likewise.
26562         [C99-based-standards] (SCNdLEAST64): Likewise.
26563         [C99-based-standards] (SCNiLEAST64): Likewise.
26564         [C99-based-standards] (SCNoLEAST64): Likewise.
26565         [C99-based-standards] (SCNuLEAST64): Likewise.
26566         [C99-based-standards] (SCNxLEAST64): Likewise.
26567         [C99-based-standards] (PRIdFAST64): Likewise.
26568         [C99-based-standards] (PRIiFAST64): Likewise.
26569         [C99-based-standards] (PRIoFAST64): Likewise.
26570         [C99-based-standards] (PRIuFAST64): Likewise.
26571         [C99-based-standards] (PRIxFAST64): Likewise.
26572         [C99-based-standards] (PRIXFAST64): Likewise.
26573         [C99-based-standards] (SCNdFAST64): Likewise.
26574         [C99-based-standards] (SCNiFAST64): Likewise.
26575         [C99-based-standards] (SCNoFAST64): Likewise.
26576         [C99-based-standards] (SCNuFAST64): Likewise.
26577         [C99-based-standards] (SCNxFAST64): Likewise.
26578         [C99-based-standards] (PRIdMAX): Likewise.
26579         [C99-based-standards] (PRIiMAX): Likewise.
26580         [C99-based-standards] (PRIoMAX): Likewise.
26581         [C99-based-standards] (PRIuMAX): Likewise.
26582         [C99-based-standards] (PRIxMAX): Likewise.
26583         [C99-based-standards] (PRIXMAX): Likewise.
26584         [C99-based-standards] (SCNdMAX): Likewise.
26585         [C99-based-standards] (SCNiMAX): Likewise.
26586         [C99-based-standards] (SCNoMAX): Likewise.
26587         [C99-based-standards] (SCNuMAX): Likewise.
26588         [C99-based-standards] (SCNxMAX): Likewise.
26589         [C99-based-standards] (PRIdPTR): Likewise.
26590         [C99-based-standards] (PRIiPTR): Likewise.
26591         [C99-based-standards] (PRIoPTR): Likewise.
26592         [C99-based-standards] (PRIuPTR): Likewise.
26593         [C99-based-standards] (PRIxPTR): Likewise.
26594         [C99-based-standards] (PRIXPTR): Likewise.
26595         [C99-based-standards] (SCNdPTR): Likewise.
26596         [C99-based-standards] (SCNiPTR): Likewise.
26597         [C99-based-standards] (SCNoPTR): Likewise.
26598         [C99-based-standards] (SCNuPTR): Likewise.
26599         [C99-based-standards] (SCNxPTR): Likewise.
26600         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26601         allow.
26602         * conform/data/stdint.h-data: Update comments to clarify
26603         requirements.
26604         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26605         type.
26606         [C99-based standards] (INT8_MAX): Likewise.
26607         [C99-based standards] (INT16_MIN): Likewise.
26608         [C99-based standards] (INT16_MAX): Likewise.
26609         [C99-based standards] (INT32_MIN): Likewise.
26610         [C99-based standards] (INT32_MAX): Likewise.
26611         [C99-based standards] (INT64_MIN): Likewise.
26612         [C99-based standards] (INT64_MAX): Likewise.
26613         [C99-based standards] (UINT8_MAX): Likewise.
26614         [C99-based standards] (UINT16_MAX): Likewise.
26615         [C99-based standards] (UINT32_MAX): Likewise.
26616         [C99-based standards] (UINT64_MAX): Likewise.
26617         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26618         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26619         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26620         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26621         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26622         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26623         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26624         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26625         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26626         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26627         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26628         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26629         [C99-based standards] (INT_FAST8_MIN): Likewise.
26630         [C99-based standards] (INT_FAST8_MAX): Likewise.
26631         [C99-based standards] (INT_FAST16_MIN): Likewise.
26632         [C99-based standards] (INT_FAST16_MAX): Likewise.
26633         [C99-based standards] (INT_FAST32_MIN): Likewise.
26634         [C99-based standards] (INT_FAST32_MAX): Likewise.
26635         [C99-based standards] (INT_FAST64_MIN): Likewise.
26636         [C99-based standards] (INT_FAST64_MAX): Likewise.
26637         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26638         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26639         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26640         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26641         [C99-based standards] (INTPTR_MIN): Likewise.
26642         [C99-based standards] (INTPTR_MAX): Likewise.
26643         [C99-based standards] (UINTPTR_MAX): Likewise.
26644         [C99-based standards] (INTMAX_MIN): Likewise.
26645         [C99-based standards] (INTMAX_MAX): Likewise.
26646         [C99-based standards] (UINTMAX_MAX): Likewise.
26647         [C99-based standards] (PTRDIFF_MIN): Likewise.
26648         [C99-based standards] (PTRDIFF_MAX): Likewise.
26649         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26650         [C99-based standards] (SIZE_MAX): Likewise.
26651         [C99-based standards] (WCHAR_MAX): Likewise.
26652         [C99-based standards] (WINT_MAX): Likewise.
26653         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26654         constraint on value.
26655         [C99-based standards] (WCHAR_MIN): Likewise.
26656         [C99-based standards] (WINT_MIN): Likewise.
26657         [C99-based standards] (*_t): Allow.
26658         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26659         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26660         Include math.h-data and complex.h-data.  Remove all expectations
26661         of math.h and complex.h contents.
26662         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26663         at end of line.
26664         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26665         (struct tm): Expect tag.
26666         [C99-based-standards] (wcstof): Expect function.
26667         [C99-based-standards] (wcstold): Likewise.
26668         [C99-based-standards] (wcstoll): Likewise.
26669         [C99-based-standards] (wcstoull): Likewise.
26670         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26671         macro-int-constant.  Specify type.
26672         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26673         constraint on value.
26674         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26675         Specify type.
26676         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26677         Specify value.
26678         [ISO C standards]: Do not allow headers.
26679         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26680         wcs[abcdefghijklmnopqrstuvwxyz]*.
26681         [ISO C standards] (*_t): Do not allow.
26682         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26683         Expect function.
26684         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26685         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26686         Specify type.
26687         [ISO C standards]: Do not allow headers.
26688         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26689         is[abcdefghijklmnopqrstuvwxyz]*.
26690         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26691         to[abcdefghijklmnopqrstuvwxyz]*.
26692         [ISO C standards] (*_t): Do not allow.
26693         * conform/data/stdalign.h-data: New file.
26694         * conform/data/stdbool.h-data: Likewise.
26695         * conform/data/stdnoreturn.h-data: Likewise.
26696
26697 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26698
26699         [BZ #14815]
26700         * manual/filesys.texi (Directory Entries): Typo fix.
26701         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26702
26703 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26704
26705         * elf/elf.h (EM_AARCH64): New macro.
26706         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26707         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26708         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26709         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26710         (R_AARCH64_TLSDESC): Likewise.
26711         (NT_ARM_TLS): Likewise.
26712         (NT_ARM_HW_BREAK): Likewise.
26713         (NT_ARM_HW_WATCH): Likewise.
26714
26715 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26716
26717         [BZ #14811]
26718         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26719         (__ieee754_powl): Saturate nonzero exponents with absolute value
26720         below 0x1p-79 to +/- 0x1p-79.
26721         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26722         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26723         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26724         nonzero exponents with absolute value below 0x1p-32 to +/-
26725         0x1p-32.
26726         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26727         (__ieee754_powl): Saturate nonzero exponents with absolute value
26728         below 0x1p-79 to +/- 0x1p-79.
26729         * math/libm-test.inc (pow_test): Add more tests.
26730
26731 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26732
26733         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26734         _dl_s390_cap_flags with kernel. Increase string length.
26735         (_dl_s390_platforms): Add z196 and zEC12.
26736
26737 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26738
26739         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26740         Change XOPEN21K to XOPEN2K.
26741
26742 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26743
26744         * string/memmove.c: Use memcpy when possible.
26745
26746 2012-11-06  Andreas Jaeger  <aj@suse.de>
26747
26748         * po/eo.po: Update from translation team.
26749
26750 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26751
26752         [BZ #14793]
26753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26754         exponent and small x and y exponents, scale x or y up.  Increase
26755         by 2 the exponent used in scaling up.
26756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26757         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26758         * math/libm-test.inc (fma_test): Add more tests.
26759         (fma_test_towardzero): Likewise.
26760         (fma_test_downward): Likewise.
26761         (fma_test_upward): Likewise.
26762
26763 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26764
26765         [BZ #14805]
26766         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26767         fenv_t *.
26768
26769         [BZ #14801]
26770         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26771         namespace for names of struct fields.
26772         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26773         fenv_t fields.
26774         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26775         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26776
26777 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26778
26779         [BZ #3665]
26780         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26781
26782 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26783
26784         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26785         PTR_DEMANGLE.
26786
26787         [BZ #5246]
26788         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26789         PTR_DEMANGLE.
26790
26791 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26792
26793         [BZ #14797]
26794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26795         definitely overflow as x * y not x * y + z.
26796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26798         * math/libm-test.inc (fma_test): Add more tests.
26799         (fma_test_towardzero): Likewise.
26800         (fma_test_downward): Likewise.
26801         (fma_test_upward): Likewise.
26802
26803 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26804
26805         [BZ #157]
26806
26807         * include/stub-tag.h: Remove file.
26808         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26809         '#include' of it.
26810         * manual/maint.texi (Porting): Don't reference it.
26811         * Makerules ($(objpfx)stubs): Likewise.
26812         * dirent/closedir.c: Don't include <stub-tag.h>.
26813         * dirent/dirfd.c: Likewise.
26814         * dirent/fdopendir.c: Likewise.
26815         * dirent/getdents.c: Likewise.
26816         * dirent/getdents64.c: Likewise.
26817         * dirent/opendir.c: Likewise.
26818         * dirent/readdir.c: Likewise.
26819         * dirent/readdir64.c: Likewise.
26820         * dirent/readdir64_r.c: Likewise.
26821         * dirent/readdir_r.c: Likewise.
26822         * dirent/rewinddir.c: Likewise.
26823         * dirent/seekdir.c: Likewise.
26824         * dirent/telldir.c: Likewise.
26825         * gmon/profil.c: Likewise.
26826         * grp/setgroups.c: Likewise.
26827         * inet/if_index.c: Likewise.
26828         * io/access.c: Likewise.
26829         * io/chdir.c: Likewise.
26830         * io/chmod.c: Likewise.
26831         * io/chown.c: Likewise.
26832         * io/close.c: Likewise.
26833         * io/dup.c: Likewise.
26834         * io/dup2.c: Likewise.
26835         * io/dup3.c: Likewise.
26836         * io/euidaccess.c: Likewise.
26837         * io/faccessat.c: Likewise.
26838         * io/fchdir.c: Likewise.
26839         * io/fchmod.c: Likewise.
26840         * io/fchmodat.c: Likewise.
26841         * io/fchown.c: Likewise.
26842         * io/fchownat.c: Likewise.
26843         * io/fcntl.c: Likewise.
26844         * io/flock.c: Likewise.
26845         * io/fstatfs.c: Likewise.
26846         * io/fstatfs64.c: Likewise.
26847         * io/fstatvfs.c: Likewise.
26848         * io/fstatvfs64.c: Likewise.
26849         * io/futimens.c: Likewise.
26850         * io/fxstat.c: Likewise.
26851         * io/fxstat64.c: Likewise.
26852         * io/fxstatat.c: Likewise.
26853         * io/fxstatat64.c: Likewise.
26854         * io/getcwd.c: Likewise.
26855         * io/isatty.c: Likewise.
26856         * io/lchmod.c: Likewise.
26857         * io/lchown.c: Likewise.
26858         * io/link.c: Likewise.
26859         * io/linkat.c: Likewise.
26860         * io/lseek.c: Likewise.
26861         * io/lseek64.c: Likewise.
26862         * io/lxstat64.c: Likewise.
26863         * io/mkdir.c: Likewise.
26864         * io/mkdirat.c: Likewise.
26865         * io/mkfifo.c: Likewise.
26866         * io/mkfifoat.c: Likewise.
26867         * io/open.c: Likewise.
26868         * io/open64.c: Likewise.
26869         * io/openat.c: Likewise.
26870         * io/openat64.c: Likewise.
26871         * io/pipe.c: Likewise.
26872         * io/pipe2.c: Likewise.
26873         * io/poll.c: Likewise.
26874         * io/posix_fadvise.c: Likewise.
26875         * io/posix_fadvise64.c: Likewise.
26876         * io/posix_fallocate.c: Likewise.
26877         * io/posix_fallocate64.c: Likewise.
26878         * io/read.c: Likewise.
26879         * io/readlink.c: Likewise.
26880         * io/readlinkat.c: Likewise.
26881         * io/rmdir.c: Likewise.
26882         * io/sendfile.c: Likewise.
26883         * io/sendfile64.c: Likewise.
26884         * io/statfs.c: Likewise.
26885         * io/statfs64.c: Likewise.
26886         * io/statvfs.c: Likewise.
26887         * io/statvfs64.c: Likewise.
26888         * io/symlink.c: Likewise.
26889         * io/symlinkat.c: Likewise.
26890         * io/ttyname.c: Likewise.
26891         * io/ttyname_r.c: Likewise.
26892         * io/umask.c: Likewise.
26893         * io/unlink.c: Likewise.
26894         * io/unlinkat.c: Likewise.
26895         * io/utime.c: Likewise.
26896         * io/utimensat.c: Likewise.
26897         * io/write.c: Likewise.
26898         * io/xmknod.c: Likewise.
26899         * io/xmknodat.c: Likewise.
26900         * io/xstat.c: Likewise.
26901         * io/xstat64.c: Likewise.
26902         * login/getpt.c: Likewise.
26903         * login/grantpt.c: Likewise.
26904         * login/unlockpt.c: Likewise.
26905         * math/e_acoshl.c: Likewise.
26906         * math/e_acosl.c: Likewise.
26907         * math/e_asinl.c: Likewise.
26908         * math/e_atan2l.c: Likewise.
26909         * math/e_atanhl.c: Likewise.
26910         * math/e_coshl.c: Likewise.
26911         * math/e_expl.c: Likewise.
26912         * math/e_fmodl.c: Likewise.
26913         * math/e_gammal_r.c: Likewise.
26914         * math/e_hypotl.c: Likewise.
26915         * math/e_j0l.c: Likewise.
26916         * math/e_j1l.c: Likewise.
26917         * math/e_jnl.c: Likewise.
26918         * math/e_lgammal_r.c: Likewise.
26919         * math/e_log10l.c: Likewise.
26920         * math/e_log2l.c: Likewise.
26921         * math/e_logl.c: Likewise.
26922         * math/e_powl.c: Likewise.
26923         * math/e_rem_pio2l.c: Likewise.
26924         * math/e_sinhl.c: Likewise.
26925         * math/e_sqrtl.c: Likewise.
26926         * math/fclrexcpt.c: Likewise.
26927         * math/fedisblxcpt.c: Likewise.
26928         * math/feenablxcpt.c: Likewise.
26929         * math/fegetenv.c: Likewise.
26930         * math/fegetexcept.c: Likewise.
26931         * math/fegetround.c: Likewise.
26932         * math/feholdexcpt.c: Likewise.
26933         * math/fesetenv.c: Likewise.
26934         * math/fesetround.c: Likewise.
26935         * math/feupdateenv.c: Likewise.
26936         * math/fgetexcptflg.c: Likewise.
26937         * math/fraiseexcpt.c: Likewise.
26938         * math/fsetexcptflg.c: Likewise.
26939         * math/ftestexcept.c: Likewise.
26940         * math/k_cosl.c: Likewise.
26941         * math/k_rem_pio2l.c: Likewise.
26942         * math/k_sinl.c: Likewise.
26943         * math/k_tanl.c: Likewise.
26944         * math/s_asinhl.c: Likewise.
26945         * math/s_atanl.c: Likewise.
26946         * math/s_cbrtl.c: Likewise.
26947         * math/s_erfl.c: Likewise.
26948         * math/s_expm1l.c: Likewise.
26949         * math/s_log1pl.c: Likewise.
26950         * math/s_tanhl.c: Likewise.
26951         * misc/acct.c: Likewise.
26952         * misc/brk.c: Likewise.
26953         * misc/chflags.c: Likewise.
26954         * misc/chroot.c: Likewise.
26955         * misc/fchflags.c: Likewise.
26956         * misc/fgetxattr.c: Likewise.
26957         * misc/flistxattr.c: Likewise.
26958         * misc/fremovexattr.c: Likewise.
26959         * misc/fsetxattr.c: Likewise.
26960         * misc/fsync.c: Likewise.
26961         * misc/ftruncate.c: Likewise.
26962         * misc/futimes.c: Likewise.
26963         * misc/futimesat.c: Likewise.
26964         * misc/getdomain.c: Likewise.
26965         * misc/getdtsz.c: Likewise.
26966         * misc/gethostid.c: Likewise.
26967         * misc/gethostname.c: Likewise.
26968         * misc/getloadavg.c: Likewise.
26969         * misc/getpagesize.c: Likewise.
26970         * misc/getsysstats.c: Likewise.
26971         * misc/getxattr.c: Likewise.
26972         * misc/gtty.c: Likewise.
26973         * misc/ioctl.c: Likewise.
26974         * misc/lgetxattr.c: Likewise.
26975         * misc/listxattr.c: Likewise.
26976         * misc/llistxattr.c: Likewise.
26977         * misc/lremovexattr.c: Likewise.
26978         * misc/lsetxattr.c: Likewise.
26979         * misc/lutimes.c: Likewise.
26980         * misc/madvise.c: Likewise.
26981         * misc/mincore.c: Likewise.
26982         * misc/mlock.c: Likewise.
26983         * misc/mlockall.c: Likewise.
26984         * misc/mmap.c: Likewise.
26985         * misc/mprotect.c: Likewise.
26986         * misc/msync.c: Likewise.
26987         * misc/munlock.c: Likewise.
26988         * misc/munlockall.c: Likewise.
26989         * misc/munmap.c: Likewise.
26990         * misc/preadv.c: Likewise.
26991         * misc/preadv64.c: Likewise.
26992         * misc/ptrace.c: Likewise.
26993         * misc/pwritev.c: Likewise.
26994         * misc/pwritev64.c: Likewise.
26995         * misc/readv.c: Likewise.
26996         * misc/reboot.c: Likewise.
26997         * misc/remap_file_pages.c: Likewise.
26998         * misc/removexattr.c: Likewise.
26999         * misc/revoke.c: Likewise.
27000         * misc/select.c: Likewise.
27001         * misc/setdomain.c: Likewise.
27002         * misc/setegid.c: Likewise.
27003         * misc/seteuid.c: Likewise.
27004         * misc/sethostid.c: Likewise.
27005         * misc/sethostname.c: Likewise.
27006         * misc/setregid.c: Likewise.
27007         * misc/setreuid.c: Likewise.
27008         * misc/setxattr.c: Likewise.
27009         * misc/sstk.c: Likewise.
27010         * misc/stty.c: Likewise.
27011         * misc/swapoff.c: Likewise.
27012         * misc/swapon.c: Likewise.
27013         * misc/sync.c: Likewise.
27014         * misc/syncfs.c: Likewise.
27015         * misc/syscall.c: Likewise.
27016         * misc/truncate.c: Likewise.
27017         * misc/ualarm.c: Likewise.
27018         * misc/usleep.c: Likewise.
27019         * misc/ustat.c: Likewise.
27020         * misc/utimes.c: Likewise.
27021         * misc/vhangup.c: Likewise.
27022         * misc/writev.c: Likewise.
27023         * posix/_exit.c: Likewise.
27024         * posix/alarm.c: Likewise.
27025         * posix/execve.c: Likewise.
27026         * posix/fexecve.c: Likewise.
27027         * posix/fork.c: Likewise.
27028         * posix/fpathconf.c: Likewise.
27029         * posix/getaddrinfo.c: Likewise.
27030         * posix/getegid.c: Likewise.
27031         * posix/geteuid.c: Likewise.
27032         * posix/getgid.c: Likewise.
27033         * posix/getgroups.c: Likewise.
27034         * posix/getlogin.c: Likewise.
27035         * posix/getlogin_r.c: Likewise.
27036         * posix/getpgid.c: Likewise.
27037         * posix/getpid.c: Likewise.
27038         * posix/getppid.c: Likewise.
27039         * posix/getresgid.c: Likewise.
27040         * posix/getresuid.c: Likewise.
27041         * posix/getsid.c: Likewise.
27042         * posix/getuid.c: Likewise.
27043         * posix/glob64.c: Likewise.
27044         * posix/nanosleep.c: Likewise.
27045         * posix/pathconf.c: Likewise.
27046         * posix/pause.c: Likewise.
27047         * posix/posix_madvise.c: Likewise.
27048         * posix/pread.c: Likewise.
27049         * posix/pread64.c: Likewise.
27050         * posix/pwrite.c: Likewise.
27051         * posix/pwrite64.c: Likewise.
27052         * posix/sched_getaffinity.c: Likewise.
27053         * posix/sched_getp.c: Likewise.
27054         * posix/sched_gets.c: Likewise.
27055         * posix/sched_primax.c: Likewise.
27056         * posix/sched_primin.c: Likewise.
27057         * posix/sched_rr_gi.c: Likewise.
27058         * posix/sched_setaffinity.c: Likewise.
27059         * posix/sched_setp.c: Likewise.
27060         * posix/sched_sets.c: Likewise.
27061         * posix/sched_yield.c: Likewise.
27062         * posix/setgid.c: Likewise.
27063         * posix/setlogin.c: Likewise.
27064         * posix/setpgid.c: Likewise.
27065         * posix/setresgid.c: Likewise.
27066         * posix/setresuid.c: Likewise.
27067         * posix/setsid.c: Likewise.
27068         * posix/setuid.c: Likewise.
27069         * posix/sleep.c: Likewise.
27070         * posix/spawni.c: Likewise.
27071         * posix/sysconf.c: Likewise.
27072         * posix/times.c: Likewise.
27073         * posix/wait.c: Likewise.
27074         * posix/wait3.c: Likewise.
27075         * posix/wait4.c: Likewise.
27076         * posix/waitpid.c: Likewise.
27077         * resolv/gai_sigqueue.c: Likewise.
27078         * resource/getpriority.c: Likewise.
27079         * resource/getrlimit.c: Likewise.
27080         * resource/getrusage.c: Likewise.
27081         * resource/nice.c: Likewise.
27082         * resource/setpriority.c: Likewise.
27083         * resource/setrlimit.c: Likewise.
27084         * resource/ulimit.c: Likewise.
27085         * rt/aio_cancel.c: Likewise.
27086         * rt/aio_fsync.c: Likewise.
27087         * rt/aio_read.c: Likewise.
27088         * rt/aio_sigqueue.c: Likewise.
27089         * rt/aio_suspend.c: Likewise.
27090         * rt/aio_write.c: Likewise.
27091         * rt/clock_getres.c: Likewise.
27092         * rt/clock_gettime.c: Likewise.
27093         * rt/clock_nanosleep.c: Likewise.
27094         * rt/clock_settime.c: Likewise.
27095         * rt/lio_listio.c: Likewise.
27096         * rt/mq_close.c: Likewise.
27097         * rt/mq_getattr.c: Likewise.
27098         * rt/mq_notify.c: Likewise.
27099         * rt/mq_open.c: Likewise.
27100         * rt/mq_receive.c: Likewise.
27101         * rt/mq_send.c: Likewise.
27102         * rt/mq_setattr.c: Likewise.
27103         * rt/mq_timedreceive.c: Likewise.
27104         * rt/mq_timedsend.c: Likewise.
27105         * rt/mq_unlink.c: Likewise.
27106         * rt/shm_open.c: Likewise.
27107         * rt/shm_unlink.c: Likewise.
27108         * rt/timer_create.c: Likewise.
27109         * rt/timer_delete.c: Likewise.
27110         * rt/timer_getoverr.c: Likewise.
27111         * rt/timer_gettime.c: Likewise.
27112         * rt/timer_settime.c: Likewise.
27113         * setjmp/__longjmp.c: Likewise.
27114         * setjmp/setjmp.c: Likewise.
27115         * signal/kill.c: Likewise.
27116         * signal/killpg.c: Likewise.
27117         * signal/raise.c: Likewise.
27118         * signal/sigaction.c: Likewise.
27119         * signal/sigaltstack.c: Likewise.
27120         * signal/sigblock.c: Likewise.
27121         * signal/sigignore.c: Likewise.
27122         * signal/sigintr.c: Likewise.
27123         * signal/signal.c: Likewise.
27124         * signal/sigpause.c: Likewise.
27125         * signal/sigpending.c: Likewise.
27126         * signal/sigqueue.c: Likewise.
27127         * signal/sigreturn.c: Likewise.
27128         * signal/sigset.c: Likewise.
27129         * signal/sigsetmask.c: Likewise.
27130         * signal/sigstack.c: Likewise.
27131         * signal/sigsuspend.c: Likewise.
27132         * signal/sigtimedwait.c: Likewise.
27133         * signal/sigvec.c: Likewise.
27134         * signal/sigwait.c: Likewise.
27135         * signal/sigwaitinfo.c: Likewise.
27136         * signal/sysv_signal.c: Likewise.
27137         * socket/accept.c: Likewise.
27138         * socket/accept4.c: Likewise.
27139         * socket/bind.c: Likewise.
27140         * socket/connect.c: Likewise.
27141         * socket/getpeername.c: Likewise.
27142         * socket/getsockname.c: Likewise.
27143         * socket/getsockopt.c: Likewise.
27144         * socket/isfdtype.c: Likewise.
27145         * socket/listen.c: Likewise.
27146         * socket/recv.c: Likewise.
27147         * socket/recvfrom.c: Likewise.
27148         * socket/recvmsg.c: Likewise.
27149         * socket/send.c: Likewise.
27150         * socket/sendmsg.c: Likewise.
27151         * socket/sendto.c: Likewise.
27152         * socket/setsockopt.c: Likewise.
27153         * socket/shutdown.c: Likewise.
27154         * socket/sockatmark.c: Likewise.
27155         * socket/socket.c: Likewise.
27156         * socket/socketpair.c: Likewise.
27157         * stdio-common/ctermid.c: Likewise.
27158         * stdio-common/cuserid.c: Likewise.
27159         * stdio-common/remove.c: Likewise.
27160         * stdio-common/rename.c: Likewise.
27161         * stdio-common/renameat.c: Likewise.
27162         * stdio-common/tempname.c: Likewise.
27163         * stdlib/getcontext.c: Likewise.
27164         * stdlib/makecontext.c: Likewise.
27165         * stdlib/setcontext.c: Likewise.
27166         * stdlib/swapcontext.c: Likewise.
27167         * stdlib/system.c: Likewise.
27168         * streams/fattach.c: Likewise.
27169         * streams/fdetach.c: Likewise.
27170         * streams/getmsg.c: Likewise.
27171         * streams/getpmsg.c: Likewise.
27172         * streams/putmsg.c: Likewise.
27173         * streams/putpmsg.c: Likewise.
27174         * sysdeps/unix/bsd/getpt.c: Likewise.
27175         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27176         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27177         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27179         Likewise.
27180         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27181         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27182         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27183         * sysvipc/msgctl.c: Likewise.
27184         * sysvipc/msgget.c: Likewise.
27185         * sysvipc/msgrcv.c: Likewise.
27186         * sysvipc/msgsnd.c: Likewise.
27187         * sysvipc/semctl.c: Likewise.
27188         * sysvipc/semget.c: Likewise.
27189         * sysvipc/semop.c: Likewise.
27190         * sysvipc/semtimedop.c: Likewise.
27191         * sysvipc/shmat.c: Likewise.
27192         * sysvipc/shmctl.c: Likewise.
27193         * sysvipc/shmdt.c: Likewise.
27194         * sysvipc/shmget.c: Likewise.
27195         * termios/tcdrain.c: Likewise.
27196         * termios/tcflow.c: Likewise.
27197         * termios/tcflush.c: Likewise.
27198         * termios/tcgetattr.c: Likewise.
27199         * termios/tcgetpgrp.c: Likewise.
27200         * termios/tcsendbrk.c: Likewise.
27201         * termios/tcsetattr.c: Likewise.
27202         * termios/tcsetpgrp.c: Likewise.
27203         * time/adjtime.c: Likewise.
27204         * time/clock.c: Likewise.
27205         * time/getitimer.c: Likewise.
27206         * time/gettimeofday.c: Likewise.
27207         * time/setitimer.c: Likewise.
27208         * time/settimeofday.c: Likewise.
27209         * time/stime.c: Likewise.
27210         * time/time.c: Likewise.
27211
27212 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27213
27214         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27215         /usr/old/bin.
27216
27217         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27218         instead of spaces.
27219         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27220
27221 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27222
27223         [BZ #14796]
27224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27225         FE_TONEAREST before applying Dekker multiplication and Knuth
27226         addition.  Clear inexact exceptions and check for exact zero
27227         results afterwards.
27228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27231         * math/libm-test.inc (fma_test): Add more tests.
27232         (fma_test_towardzero): Likewise.
27233         (fma_test_downward): Likewise.
27234         (fma_test_upward): Likewise.
27235         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27236         function.
27237         (libc_fesetround): New macro.
27238         (libc_fesetroundf): Likewise.
27239         (libc_fesetroundl): Likewise.
27240         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27241         function.
27242         (libc_fesetround_387): Likewise.
27243         (libc_fesetroundf): New macro.
27244         (libc_fesetround): Likewise.
27245         (libc_fesetroundl): Likewise.
27246         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27247         function.
27248         (libc_fesetroundf): New macro.
27249         (libc_fesetround): Likewise.
27250         (libc_fesetroundl): Likewise.
27251         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27252         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27253         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27254         libm_hidden_ver.
27255         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27256         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27257         libm_hidden_def.
27258         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27259         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27260         libm_hidden_ver.
27261         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27262         libm_hidden_def.
27263
27264         [BZ #3439]
27265         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27266         integer constant usable in #if and use that to give value to enum
27267         constant.
27268         (FE_DIVBYZERO): Likewise.
27269         (FE_UNDERFLOW): Likewise.
27270         (FE_OVERFLOW): Likewise.
27271         (FE_INVALID): Likewise.
27272         (FE_INVALID_SNAN): Likewise.
27273         (FE_INVALID_ISI): Likewise.
27274         (FE_INVALID_IDI): Likewise.
27275         (FE_INVALID_ZDZ): Likewise.
27276         (FE_INVALID_IMZ): Likewise.
27277         (FE_INVALID_COMPARE): Likewise.
27278         (FE_INVALID_SOFTWARE): Likewise.
27279         (FE_INVALID_SQRT): Likewise.
27280         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27281         (FE_TONEAREST): Likewise.
27282         (FE_TOWARDZERO): Likewise.
27283         (FE_UPWARD): Likewise.
27284         (FE_DOWNWARD): Likewise.
27285         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27286         (FE_DIVBYZERO): Likewise.
27287         (FE_OVERFLOW): Likewise.
27288         (FE_UNDERFLOW): Likewise.
27289         (FE_INEXACT): Likewise.
27290         (FE_TONEAREST): Likewise.
27291         (FE_DOWNWARD): Likewise.
27292         (FE_UPWARD): Likewise.
27293         (FE_TOWARDZERO): Likewise.
27294         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27295         (FE_UNDERFLOW): Likewise.
27296         (FE_OVERFLOW): Likewise.
27297         (FE_DIVBYZERO): Likewise.
27298         (FE_INVALID): Likewise.
27299         (FE_TONEAREST): Likewise.
27300         (FE_TOWARDZERO): Likewise.
27301         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27302         (FE_OVERFLOW): Likewise.
27303         (FE_UNDERFLOW): Likewise.
27304         (FE_DIVBYZERO): Likewise.
27305         (FE_INEXACT): Likewise.
27306         (FE_TONEAREST): Likewise.
27307         (FE_TOWARDZERO): Likewise.
27308         (FE_UPWARD): Likewise.
27309         (FE_DOWNWARD): Likewise.
27310         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27311         (FE_DIVBYZERO): Likewise.
27312         (FE_OVERFLOW): Likewise.
27313         (FE_UNDERFLOW): Likewise.
27314         (FE_INEXACT): Likewise.
27315         (FE_TONEAREST): Likewise.
27316         (FE_DOWNWARD): Likewise.
27317         (FE_UPWARD): Likewise.
27318         (FE_TOWARDZERO): Likewise.
27319
27320 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27321
27322         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27323
27324 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27325
27326         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27327         commands.  Quote $PWD.
27328         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27329         -x" by "export".
27330         (remove_newlines): Remove.
27331
27332 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27333
27334         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27335         * stdlib/stdlib.h (atof): Moved to ...
27336         * include/bits/stdlib-float.h: Here.  New file.
27337         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27338         * stdlib/bits/stdlib-float.h: New file.
27339         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27340         -mno-sse -mno-mmx.
27341         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27342         <xmmintrin.h>.
27343
27344 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27345
27346         * conform/conformtest.pl (@headers): Add fenv.h.
27347         * conform/data/fenv.h-data: New file.
27348         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27349         include of <math/fenv.h>.
27350
27351         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27352         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27353         && !UNIX98].  Enables tests for XOPEN2K8.
27354         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27355         POSIX2008]: Likewise.
27356
27357         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27358         (struct rusage): Do not expect type or its members.
27359
27360         [BZ #3439]
27361         * math/math.h (FP_NAN): Define macro to integer constant usable in
27362         #if and use that to give value to enum constant.
27363         (FP_INFINITE): Likewise.
27364         (FP_ZERO): Likewise.
27365         (FP_SUBNORMAL): Likewise.
27366         (FP_NORMAL): Likewise.
27367
27368 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27369
27370         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27371         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27372         arguments.
27373
27374 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27375
27376         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27377         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27378         autoconf-time if not.
27379         * configure.in: Remove AC_PREREQ.
27380
27381 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27382
27383         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27384         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27385         of the internal implementation.
27386
27387 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27388
27389         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27390         except include of <misc/sys/syslog.h>.
27391
27392 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27393
27394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27395         function returns with a NULL context exit with zero.
27396
27397 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27398
27399         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27400
27401 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27402
27403         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27404         (run_program_cmd): This.
27405         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27406         (tst_langinfo): New variable.  Use it.
27407
27408 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27409
27410         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27411         floating point opcodes.
27412
27413 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27414
27415         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27416         variable.
27417
27418         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27419
27420         * sysdeps/mach/hurd/powerpc: Remove directory.
27421         * sysdeps/mach/powerpc: Likewise.
27422
27423 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27424
27425         * scripts/check-local-headers.sh: Ignore c++ headers.
27426
27427 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27428
27429         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27430         __libc_cleanup_region_start argument.
27431
27432 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27433
27434         [BZ #14784]
27435         [BZ #14785]
27436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27437         x * y using scaling, not as x * y + z.
27438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27440         * math/libm-test.inc (fma_test): Add more tests.
27441         (fma_test_towardzero): Likewise.
27442         (fma_test_downward): Likewise.
27443         (fma_test_upward): Likewise.
27444
27445 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27446
27447         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27448
27449 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27450
27451         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27452         New variable.
27453
27454 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27455
27456         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27457
27458 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27459
27460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27461         Fix sort order.
27462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27463         Likewise.
27464
27465 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27466
27467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27468         Fix the order of the list for glibc 2.17.
27469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27470         Likewise.
27471
27472 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27473
27474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27475
27476 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27477
27478         [BZ #14610]
27479         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27480         for low part of x being zero before using __atanl (y).
27481         * math/libm-test.inc (atan2_test): Add another test.
27482
27483         * manual/install.texi (Configuring and compiling): Document
27484         general use of test-wrapper and test-wrapper-env.
27485         * INSTALL: Regenerated.
27486
27487         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27488         (__fma): Do not extract and scale down low bits on after-rounding
27489         systems when result rounded to normal precision would have normal
27490         exponent.
27491         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27492         (__fmal): Do not extract and scale down low bits on after-rounding
27493         systems when result rounded to normal precision would have normal
27494         exponent.
27495         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27496         (__fmal): Do not extract and scale down low bits on after-rounding
27497         systems when result rounded to normal precision would have normal
27498         exponent.
27499         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27500         macro.
27501         (fma_test): Add more tests.
27502         (fma_test_towardzero): Likewise.
27503         (fma_test_downward): Likewise.
27504         (fma_test_upward): Likewise.
27505
27506 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27507
27508         * sysdeps/i386/tininess.h: Renamed to ...
27509         * sysdeps/x86/tininess.h: This.
27510         * sysdeps/x86_64/tininess.h: Removed.
27511
27512 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27513
27514         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27515         input.  Use $(build-program-cmd).
27516         ($(objpfx)tst-array1-static.out): Likewise.
27517         ($(objpfx)tst-array2.out): Likewise.
27518         ($(objpfx)tst-array3.out): Likewise.
27519         ($(objpfx)tst-array4.out): Likewise.
27520         ($(objpfx)tst-array5.out): Likewise.
27521         ($(objpfx)tst-array5-static.out): Likewise.
27522
27523 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27524
27525         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27526         if defined.
27527
27528         * nss/nsswitch.h (nss_interface_function): Provide new
27529         macro for use with NSS functions.
27530         * grp/initgroups.c: Use new macro.
27531         * nss/getXXbyYY.c: Likewise.
27532         * nss/getXXbyYY_r.c: Likewise.
27533         * nss/getXXent.c: Likewise.
27534         * nss/getXXent_r.c: Likewise.
27535         * sysdeps/posix/getaddrinfo.c: Likewise.
27536
27537 2012-10-30  Andreas Jaeger  <aj@suse.de>
27538
27539         * po/ru.po: Update Russion translation from translation project.
27540
27541 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27542
27543         [BZ #14152]
27544         [BZ #14783]
27545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27546         result and shift together with sticky bit instead of replicating
27547         round-to-nearest rounding.
27548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27550         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27551         missing underflow exceptions.
27552         (fma_test_towardzero): Add more tests.
27553         (fma_test_downward): Likewise.
27554         (fma_test_upward): Likewise.
27555
27556         [BZ #14047]
27557         * sysdeps/generic/tininess.h: New file.
27558         * sysdeps/i386/tininess.h: Likewise.
27559         * sysdeps/sh/tininess.h: Likewise.
27560         * sysdeps/x86_64/tininess.h: Likewise.
27561         * stdlib/tst-strtod-underflow.c: Likewise.
27562         * stdlib/tst-tininess.c: Likewise.
27563         * stdlib/strtod_l.c: Include <tininess.h>.
27564         (round_and_return): Do not set errno for exact underflow cases.
27565         Force an underflow exception when setting errno for underflow.
27566         Determine underflow based on rounding to normal precision if
27567         TININESS_AFTER_ROUNDING.
27568         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27569         ERANGE for exact underflow cases.
27570         * stdlib/Makefile (tests): Add tst-tininess and
27571         tst-strtod-underflow.
27572         ($(objpfx)tst-tininess): Use $(link-libm).
27573         ($(objpfx)tst-strtod-underflow): Likewise.
27574
27575 2012-10-30  Andreas Jaeger  <aj@suse.de>
27576
27577         [BZ#14767]
27578         * elf/Makefile (tests): Remove conditional for have-initfini-array
27579         since this is now always required and the variable does not exist
27580         anymore.
27581         (tests-static): Likewise.
27582         (modules-names): Likewise.
27583
27584         * po/eo.po: Add Esperanto translation from translation project.
27585
27586         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27587         merged with constructor/destructor.
27588         (init_array): Likewise.
27589         * elf/tst-array2dep.c (fini_array): Likewise.
27590         (init_array): Likewise.
27591
27592 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27593
27594         * manual/message.texi: Delete @cartouche tags.
27595
27596 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27597
27598         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27599         EOPNOTSUPP.
27600         * sysdeps/mach/hurd/fsync.c: Likewise.
27601
27602         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27603         [_POSIX_REALTIME_SIGNALS]: Change condition to
27604         [_POSIX_REALTIME_SIGNALS > 0].
27605
27606 2012-10-27  Andreas Jaeger  <aj@suse.de>
27607
27608         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27609         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27611         [__WORDSIZE != 64]: Likewise.
27612
27613 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27614
27615         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27616         *  iconvdata/tst-tables.sh: Likewise.
27617
27618 2012-10-25  David S. Miller  <davem@davemloft.net>
27619
27620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27621         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27622         of strtoull.
27623
27624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27625         ifunc-impl-list.c
27626         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27627         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27628         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27629         file.
27630
27631 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27632
27633         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27634         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27635         __getdirentries.
27636
27637 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27638             Jim Blandy  <jimb@codesourcery.com>
27639
27640         * scripts/cross-test-ssh.sh: New file.
27641         * manual/install.texi (Configuring and compiling): Document use of
27642         cross-test-ssh.sh.
27643         * INSTALL: Regenerated.
27644
27645 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27646
27647         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27648         EOPNOTSUPP.
27649
27650 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27651
27652         * Makeconfig (run-program-prefix): Fix comment.
27653
27654 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27655             Jim Blandy  <jimb@codesourcery.com>
27656
27657         * Makeconfig (test-wrapper): New variable,
27658         (test-wrapper-env): Likewise.
27659         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27660         (run-built-tests): Define to yes.
27661         (run-program-prefix): Use $(test-wrapper).
27662         (built-program-cmd): Likewise.
27663         * Rules (make-test-out): Use $(test-wrapper-env) and
27664         $(host-built-program-cmd).
27665         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27666         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27667         tst-pathopt.sh.
27668         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27669         $(test-wrapper-env) to tst-rtld-load-self.sh.
27670         ($(objpfx)order2.out): Use $(test-wrapper).
27671         ($(objpfx)tst-initorder.out): Likewise.
27672         ($(objpfx)tst-initorder2.out): Likewise.
27673         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27674         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27675         (test_wrapper_env): New variable.  Use it to run ld.so.
27676         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27677         Use it to run ld.so.
27678         (test_wrapper_env): Likewise.
27679         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27680         $(test-wrapper) to run-iconv-test.sh.
27681         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27682         (ICONV): Use $test_wrapper.
27683         * posix/Makefile ($(objpfx)globtest.out): Pass
27684         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27685         globtest.sh, not $(run-program-prefix).
27686         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27687         (test_wrapper): Likewise.
27688         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27689         set together with run_via_rtld_prefix.
27690         (run_program_prefix): Define in terms of test_wrapper and
27691         run_via_rtld_prefix.
27692
27693 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27694
27695         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27696         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27697         Targets removed.
27698
27699         [BZ #14743]
27700         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27701         Declare __clock_getres, __clock_gettime, __clock_settime,
27702         __clock_nanosleep, and __clock_getcpuclockid.
27703         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27704         Remove librt_hidden_def (clock_gettime).
27705         * sysdeps/unix/clock_gettime.c: Likewise.
27706         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27707         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27708         * rt/clock_getres.c: Define __clock_getres as an alias.
27709         * sysdeps/posix/clock_getres.c: Likewise.
27710         * rt/clock_settime.c: Define __clock_settime as an alias.
27711         * sysdeps/unix/clock_settime.c: Likewise.
27712         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27713         * sysdeps/unix/clock_nanosleep.c: Likewise.
27714         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27715         * rt/clock-compat.c: New file.
27716         * rt/Makefile (librt-routines): Add clock-compat and move
27717         $(clock-routines) to ...
27718         (routines): ... here, new variable.
27719         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27720         Don't add get_clockfreq here.
27721         * rt/Versions (libc: GLIBC_2.17): New version set.
27722         Add clock_* symbols here.
27723         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27724         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27725         (GLIBC_2.17): Add clock_* symbols.
27726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27730         Likewise.
27731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27732         Likewise.
27733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27737         * NEWS: Mention the move.
27738
27739         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27740         Use __open, __read, __close rather than their public counterparts.
27741         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27742         (__get_clockfreq_via_cpuinfo): Likewise.
27743         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27744         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27745
27746         * config.h.in (HAVE_IFUNC): New #undef.
27747         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27748         was successful.
27749         * configure: Regenerated.
27750
27751 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27752
27753         * configure.in: Move READELF check to start of file.
27754         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27755         libc_cv_asm_gnu_indirect_function in the process.
27756         * configure: Regenerated.
27757
27758 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27759
27760         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27761         send the output to /dev/null.
27762         (libc_cv_cc_with_libunwind): Likewise.
27763         (libc_cv_as_noexecstack): Likewise.
27764         * configure: Regenerate.
27765
27766 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27767
27768         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27769
27770         * posix/globtest.sh (TMPDIR): Do not set.
27771         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27772         (testout): Likewise.
27773
27774 2012-10-24  Andreas Jaeger  <aj@suse.de>
27775
27776         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27777         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27778         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27779         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27780         posix_fadvise64, posix_fallocate64.
27781
27782         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27783         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27784         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27785         Likewise.
27786         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27787         Likewise.
27788         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27789
27790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27791         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27792         <bits/fcntl-linux.h>.
27793         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27794
27795         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27796         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27797         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27798         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27799         [__WORDSIZE != 64]: Likewise.
27800
27801 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27802
27803         * Makeconfig (run-built-tests): New variable.
27804         * Rules [$(cross-compiling) = yes]: Change condition to
27805         [$(run-built-tests) = no].
27806         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27807         to [$(run-built-tests) = yes].
27808         * elf/Makefile [$(cross-compiling) = no]: Likewise
27809         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27810         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27811         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27812         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27813         * io/Makefile [$(cross-compiling) = no]: Likewise.
27814         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27815         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27816         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27817         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27818         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27819         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27820         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27821         * string/Makefile [$(cross-compiling) = no]: Likewise.
27822
27823         * posix/Makefile ($(objpfx)globtest.out): Pass
27824         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27825         $(rtld-installed-name).
27826         * posix/globtest.sh (elf_objpfx): Remove variable.
27827         (rtld_installed_name): Likewise.
27828         (library_path): Likewise.
27829         (run_program_prefix): New variable.  Use for running globtest
27830         binary.
27831
27832 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27833             Joseph Myers  <joseph@codesourcery.com>
27834
27835         * Makeconfig (host-built-program-cmd): New variable.
27836         * elf/Makefile (tst-stackguard1-ARGS): Use
27837         $(host-built-program-cmd).
27838         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27839         (tst-spawn-ARGS): Likewise.
27840         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27841
27842 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27843             Jim Blandy  <jimb@codesourcery.com>
27844
27845         * Makeconfig (run-via-rtld-prefix): New variable.
27846         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27847         (built-program-cmd): Likewise.
27848
27849 2012-10-22  Andreas Jaeger  <aj@suse.de>
27850
27851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27852         __O_RSYNC if it exists, otherwise to O_SYNC.
27853
27854 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27855             Joseph Myers  <joseph@codesourcery.com>
27856
27857         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27858         /dev/null.
27859         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27860         from /dev/null
27861         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27862         /dev/null.
27863
27864 2012-10-22  Andreas Jaeger  <aj@suse.de>
27865
27866         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27867         Define always.
27868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27869
27870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27871         bits/fcntl-linux.h.
27872
27873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27874         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27875
27876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27877         to __O_LARGEFILE.
27878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27879         to __O_LARGEFILE.
27880
27881 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27882             Joseph Myers  <joseph@codesourcery.com>
27883
27884         * config.make.in (NM): New variable.
27885
27886 2012-10-21  Andreas Jaeger  <aj@suse.de>
27887
27888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27889         definitions and declarations that are provided by
27890         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27891
27892 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27893
27894         [BZ #14683]
27895         * elf/Makefile (tests-static): Add tst-leaks1-static.
27896         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27897         ($(objpfx)tst-leaks1-static): New rule.
27898         ($(objpfx)tst-leaks1-static-mem): Likewise.
27899         (tst-leaks1-static-ENV): New macro.
27900         * elf/dl-open.c (dl_open_worker): Check the main application
27901         only if SHARED is defined.
27902         * elf/tst-leaks1-static.c: New file.
27903
27904 2012-10-20  Andreas Jaeger  <aj@suse.de>
27905
27906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27907         generic values for Linux.
27908         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27909         and declarations that are provided by <bits/fcntl-linux.h> and
27910         include <bits/fcntl-linux.h>.
27911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27913
27914 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27915
27916         * io/fcntl.h: Move include of <bits/types.h> to the top and
27917         include it unconditionally.
27918
27919 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27920
27921         * wcsmbs/Makefile (tests-ifunc): New variable.
27922         (tests): Add $(tests-ifunc).
27923         * wcsmbs/test-wcschr-ifunc.c: New file.
27924         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27925         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27926         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27927         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27928         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27929
27930         * string/Makefile (tests-ifunc): New variable.
27931         (tests): Add $(tests-ifunc).
27932         * string/test-memccpy.c (TEST_NAME): New macro.
27933         * string/test-memchr.c (TEST_NAME): Likewise.
27934         * string/test-memcmp.c (TEST_NAME): Likewise.
27935         * string/test-memcpy.c (TEST_NAME): Likewise.
27936         * string/test-memmem.c (TEST_NAME): Likewise.
27937         * string/test-memmove.c (TEST_NAME): Likewise.
27938         * string/test-memset.c (TEST_NAME): Likewise.
27939         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27940         * string/test-stpcpy.c (TEST_NAME): Likewise.
27941         * string/test-stpncpy.c (TEST_NAME): Likewise.
27942         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27943         * string/test-strcasestr.c (TEST_NAME): Likewise.
27944         * string/test-strcat.c (TEST_NAME): Likewise.
27945         * string/test-strchr.c (TEST_NAME): Likewise.
27946         * string/test-strcmp.c(TEST_NAME): Likewise.
27947         * string/test-strcpy.c (TEST_NAME): Likewise.
27948         * string/test-strcspn.c (TEST_NAME): Likewise.
27949         * string/test-strlen.c (TEST_NAME): Likewise.
27950         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27951         * string/test-strncmp.c (TEST_NAME): Likewise.
27952         * string/test-strncpy.c (TEST_NAME): Likewise.
27953         * string/test-strnlen.c (TEST_NAME): Likewise.
27954         * string/test-strpbrk.c (TEST_NAME): Likewise.
27955         * string/test-strrchr.c (TEST_NAME): Likewise.
27956         * string/test-strspn.c (TEST_NAME): Likewise.
27957         * string/test-strstr.c (TEST_NAME): Likewise.
27958         * string/test-bcopy-ifunc.c: New file.
27959         * string/test-bzero-ifunc.c: Likewise.
27960         * string/test-memccpy-ifunc.c: Likewise.
27961         * string/test-memchr-ifunc.c: Likewise.
27962         * string/test-memcmp-ifunc.c: Likewise.
27963         * string/test-memcpy-ifunc.c: Likewise.
27964         * string/test-memmem-ifunc.c: Likewise.
27965         * string/test-memmove-ifunc.c: Likewise.
27966         * string/test-mempcpy-ifunc.c: Likewise.
27967         * string/test-memset-ifunc.c: Likewise.
27968         * string/test-rawmemchr-ifunc.c: Likewise.
27969         * string/test-stpcpy-ifunc.c: Likewise.
27970         * string/test-stpncpy-ifunc.c: Likewise.
27971         * string/test-strcasecmp-ifunc.c: Likewise.
27972         * string/test-strcasestr-ifunc.c: Likewise.
27973         * string/test-strcat-ifunc.c: Likewise.
27974         * string/test-strchr-ifunc.c: Likewise.
27975         * string/test-strchrnul-ifunc.c: Likewise.
27976         * string/test-strcmp-ifunc.c: Likewise.
27977         * string/test-strcpy-ifunc.c: Likewise.
27978         * string/test-strcspn-ifunc.c: Likewise.
27979         * string/test-strlen-ifunc.c: Likewise.
27980         * string/test-strncasecmp-ifunc.c: Likewise.
27981         * string/test-strncat-ifunc.c: Likewise.
27982         * string/test-strncmp-ifunc.c: Likewise.
27983         * string/test-strncpy-ifunc.c: Likewise.
27984         * string/test-strnlen-ifunc.c: Likewise.
27985         * string/test-strpbrk-ifunc.c: Likewise.
27986         * string/test-strrchr-ifunc.c: Likewise.
27987         * string/test-strspn-ifunc.c: Likewise.
27988         * string/test-strstr-ifunc.c: Likewise.
27989
27990         * debug/Makefile (tests-ifunc): New variable.
27991         (tests): Add $(tests-ifunc).
27992         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27993         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27994         * debug/test-stpcpy_chk-ifunc.c: New file.
27995         * debug/test-strcpy_chk-ifunc.c: Likewise.
27996
27997 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27998
27999         [BZ #13601]
28000         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28001         header is not read in.
28002
28003 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28004
28005         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28006         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28007         directly.  Pass built executable to script as
28008         $(built-program-cmd).
28009         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28010         $testprogram without using LD_LIBRARY_PATH and $ldso.
28011
28012         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28013         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28014         $(rtld-installed-name).
28015         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28016         (rtld_installed_name): Likewise.
28017         (library_path): Likewise.
28018         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28019         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28020         $(run-program-prefix) to tst-tables.sh.
28021         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28022         it to run tst-table-from and tst-table-to.
28023         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28024         Pass it to tst-table.sh.
28025         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28026         $(run-program-prefix) to tst-gettext.sh.
28027         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28028         tst-translit.sh.
28029         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28030         tst-gettext2.sh.
28031         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28032         to run tst-gettext.
28033         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28034         to run tst-gettext2.
28035         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28036         to run tst-translit.
28037         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28038         $(run-program-prefix) to tst-mtrace.sh.
28039         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28040         to run tst-mtrace.
28041         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28042         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28043         $(rtld-installed-name).
28044         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28045         (rtld_installed_name): Likewise.
28046         (run_program_prefix): New variable.  Use it to run wordexp-test.
28047
28048         * Makeconfig (ARCH): Remove all definitions.
28049         (machine): Likewise.
28050         [ARCH]: Remove conditional code.
28051         [!objdir]: Give error.
28052         [!objdir] (objpfx): Remove.
28053         [!objdir] (common-objpfx): Likewise.
28054         [!objdir] (common-objdir): Likewise.
28055         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28056         AC_CONFIG_FILES call.
28057         * configure: Regenerated.
28058
28059         [BZ #13888]
28060         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28061         or TMPDIR.
28062         (testout): Likewise.
28063
28064         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28065         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28066         $(rtld-installed-name).
28067         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28068         (rtld_installed_name): Likwise.
28069         (runit): Remove function.
28070         (run_getconf): New variable,  Use it for running getconf binary.
28071
28072 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28073
28074         [BZ #14716]
28075         * string/test-memmem.c (check_result): New function.
28076         (do_one_test): Use it.
28077         (check1): New function.
28078         (test_main): Use it.
28079
28080 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28081
28082         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28083
28084 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28085
28086         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28087         (_G_LSEEK64): Likewise.
28088         (_G_MMAP64): Likewise.
28089         (_G_FSTAT64): Likewise.
28090         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28091         (_G_LSEEK64): Likewise.
28092         (_G_MMAP64): Likewise.
28093         (_G_FSTAT64): Likewise.
28094         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28095         unconditional.  Call __mmap64 directly.
28096         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28097         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28098         __lseek64 directly.
28099         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28100         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28101         __mmap64 directly.
28102         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28103         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28104         __lseek64 directly.
28105         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28106         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28107         __lseek64 directly.
28108         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28109         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28110         __lseek64 directly.
28111         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28112         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28113         __fxstat64 directly.
28114         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28115         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28116         unconditional.
28117         (freopen64) [!_G_OPEN64]: Remove conditional code.
28118         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28119         unconditional.
28120         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28121         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28122         unconditional.
28123         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28124         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28125         unconditional.
28126         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28127         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28128         unconditional.
28129         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28130         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28131         unconditional.
28132         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28133         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28134         unconditional.
28135         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28136         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28137         unconditional.
28138         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28139
28140 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28141
28142         [BZ #12140]
28143         * manual/memory.texi (Malloc Tunable Parameters): Add note
28144         about free list pointers overwriting some perturb bytes.
28145         Wording suggested by Roland McGrath.
28146
28147 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28148
28149         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28150         (lgamma_test): Likewise.
28151         (tgamma_test): Likewise.
28152
28153 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28154
28155         [BZ #14700]
28156         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28157         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28158
28159 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28160
28161         * NEWS: Mention BZ #14716.
28162         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28163         when removing AVAILABLE1_USES_J macro.
28164
28165 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28166
28167         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28168         (__bswap_64): __uint64_t for unsigned 64-bit int.
28169
28170 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28171
28172         * include/string.h (memmem): Declare libc hidden alias.
28173         * string/memmem.c (memmem): Define libc hidden alias.
28174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28175         __read, __close instead of open, read, close.
28176
28177 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28178
28179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28180         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28181         global and hidden.
28182         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28183         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28184         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28185         Likewise.
28186         (__rawmemchr_sse2): Likewise.
28187         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28188         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28189         (__strchr_sse2): Likewise.
28190         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28191         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28192         (__strcasecmp_sse2): Likewise.
28193         (__strncasecmp_sse2): Likewise.
28194         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28195         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28196         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28197         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28198         (__strrchr_sse2): Likewise.
28199         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28200         ifunc-impl-list.c.
28201         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28202         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28203         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28204         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28205         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28206         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28207         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28208         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28209         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28210         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28211         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28212         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28213         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28214         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28215         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28216         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28217         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28218         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28219         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28220         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28221         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28222         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28223         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28224         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28225         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28226         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28227         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28228         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28229         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28230         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28231
28232         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28233         global and hidden.
28234         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28235         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28236         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28237         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28238         Likewise.
28239         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28240         Likewise.
28241         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28242         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28243         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28244         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28245         ifunc-impl-list.c.
28246         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28247         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28248         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28249         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28250         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28251         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28252         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28253         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28254         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28255         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28256         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28257         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28258         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28259         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28260         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28261         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28262         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28263         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28264         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28265         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28266         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28267         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28268         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28269         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28270         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28271         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28272         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28273         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28274         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28275         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28276         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28277         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28278         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28279         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28280         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28281         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28282         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28283         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28284         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28285         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28286         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28287
28288         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28289         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28290         * include/ifunc-impl-list.h: New file.
28291         * misc/ifunc-impl-list.c: Likewise.
28292         * misc/Makefile (routines): Add ifunc-impl-list.
28293         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28294         * string/test-string.h: Include <ifunc-impl-list.h>.
28295         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28296         TEST_NAME]: New variables.
28297         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28298         are defined.
28299         (test_init): Call __libc_ifunc_impl_list to initialize
28300         func_list if TEST_IFUNC and TEST_NAME are defined.
28301
28302         * string/Makefile (strop-tests): Add bcopy and bzero.
28303         * string/test-bcopy.c: New file.
28304         * string/test-bzero.c: Likewise.
28305         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28306         defined.
28307         * string/test-memset.c: Support bzero test if TEST_BZERO is
28308         defined.
28309         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28310         __libc_memmove.
28311         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28312         __libc_memset.
28313         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28314         of memset.
28315
28316 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28317
28318         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28319         * configure: Regenerated.
28320
28321         * Makeconfig (+link-static-before-libc): Don't include
28322         $(link-static-libc).
28323
28324         * libio/libio.h (_IO_pos_t): Remove.
28325
28326 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28327
28328         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28329         McGrath.
28330
28331 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28332
28333         * crypt/crypt-entry.c: Include fips-private.h.
28334         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28335         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28336         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28337         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28338
28339 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28340
28341         * crypt/crypt-private.h: Include stdbool.h.
28342         (_ufc_setup_salt_r): Return bool.
28343         * crypt/crypt-entry.c: Include errno.h.
28344         (__crypt_r): Return NULL with EINVAL for bad salt.
28345         * crypt/crypt_util.c (bad_for_salt): New.
28346         (_ufc_setup_salt_r): Check that salt is long enough and within
28347         the specified alphabet.
28348         * crypt/badsalttest.c: New file.
28349         * crypt/Makefile (tests): Add it.
28350         ($(objpfx)badsalttest): New.
28351
28352 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28353
28354         * NEWS: Add entry for BZ #14602.
28355
28356 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28357
28358         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28359         type-generic.
28360         * math/libm-test.inc: Update comment listing what functions and
28361         macros are tested.
28362         (isgreater_test): New function.
28363         (isgreaterequal_test): Likewise.
28364         (isless_test): Likewise.
28365         (islessequal_test): Likewise.
28366         (islessgreater_test): Likewise.
28367         (isunordered_test): Likewise.
28368         (main): Call the new functions.
28369
28370 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28371
28372         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28373         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28374         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28375         * sysdeps/i386/configure: Regenerated.
28376         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28377         * sysdeps/mach/configure: Regenerated.
28378         * sysdeps/mach/hurd/configure: Regenerated.
28379         * sysdeps/powerpc/configure: Regenerated.
28380         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28381         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28382         * sysdeps/s390/s390-32/configure: Regenerated.
28383         * sysdeps/s390/s390-64/configure: Regenerated.
28384         * sysdeps/sh/configure: Regenerated.
28385         * sysdeps/sparc/configure: Regenerated.
28386         * sysdeps/unix/sysv/linux/configure: Regenerated.
28387         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28388         * sysdeps/x86_64/configure: Regenerated.
28389
28390         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28391         defined.  Don't check if MAP is NULL.
28392
28393 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28394
28395         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28396         (_G_stat64): Likewise.
28397         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28398         (_G_stat64): Likewise.
28399         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28400         instead of struct _G_stat64.
28401         * libio/fileops.c (mmap_remap_check): Likewise.
28402         (decide_maybe_mmap): Likewise.
28403         (_IO_new_file_seekoff): Likewise.
28404         (_IO_file_stat): Likewise.
28405         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28406         _G_off64_t.
28407         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28408         instead of struct _G_stat64.
28409         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28410
28411 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28412
28413         [BZ #14602]
28414         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28415         Replace with ...
28416         (CHECK_EOL): New macro.
28417         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28418         CHECK_EOL.
28419         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28420         Replace with CHECK_EOL.
28421         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28422         Replace with CHECK_EOL.
28423
28424 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28425
28426         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28427         type-generic.
28428         * math/libm-test.inc: Update comment listing what functions and
28429         macros are tested.
28430         (finite_test): New function.
28431         (isinf_test): Likewise.
28432         (isnan_test): Likewise.
28433         (fpclassify_test): Test subnormal input.
28434         (isfinite_test): Likewise.
28435         (isnormal_test): Likewise.
28436         (main): Call the new functions.
28437
28438 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28439
28440         [BZ #14660]
28441         * Makerules (%.dynsym): Force C locale when running
28442         $(OBJDUMP) --dynamic-syms.
28443
28444 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28445
28446         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28447         <stdint.h>.
28448
28449 2012-10-06  David S. Miller  <davem@davemloft.net>
28450
28451         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28452         upper 32-bits of the length value in %o2 since we use branch-on-register
28453         tests which consider the entire 64-bit register.
28454
28455 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28456
28457         * string/test-strstr.c (check2): Add a test for page boundary.
28458
28459 2012-10-05  David S. Miller  <davem@davemloft.net>
28460
28461         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28462         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28463         file.
28464         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28465         sysdep_routines.
28466         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28467         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28468         and bzero when HWCAP_SPARC_CRYPTO is present.
28469
28470 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28471
28472         [BZ #14602]
28473         * string/test-strstr.c (check2): New function.
28474         (test_main): Call check2.
28475
28476         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28477         and bug-strchr1.
28478         * string/bug-strcasestr1.c (do_test): Moved to ...
28479         * string/test-strcasestr.c (check1): Here.  New function.
28480         (do_one_test): Break out result checking code into ...
28481         (check_result): This.  New function.
28482         (do_one_test): Call check_result.
28483         (test_main): Call check1.
28484         * string/bug-strchr1.c (do_test): Moved to ...
28485         * string/test-strchr.c (check1): Here.  New function.
28486         (do_one_test): Break out result checking code into ...
28487         (check_result): This.  New function.
28488         (do_one_test): Call check_result.
28489         (test_main): Call check1.
28490         * string/bug-strstr1.c (main): Moved to ...
28491         * string/test-strstr.c (check1): Here.  New function.
28492         (do_one_test): Break out result checking code into ...
28493         (check_result): This.  New function.
28494         (do_one_test): Call check_result.
28495         (test_main): Call check1.
28496         * string/bug-strcasestr1.c: Removed.
28497         * string/bug-strchr1.c: Likewise.
28498         * string/bug-strstr1.c: Likewise.
28499
28500         * elf/Makefile (dl-routines): Add hwcaps.
28501         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28502         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28503         (_dl_important_hwcaps): Moved to ...
28504         * elf/dl-hwcaps.c: Here.  New file.
28505         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28506
28507         [BZ #14557]
28508         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28509         if IS_IN_rtld isn't defined.
28510
28511         * elf/dl-support.c (_dl_sysinfo_map): New.
28512         Include "get-dynamic-info.h" and "setup-vdso.h".
28513         (_dl_non_dynamic_init): Call setup_vdso.
28514         * elf/dynamic-link.h: Don't include <assert.h>.
28515         (elf_get_dynamic_info): Moved to ...
28516         * elf/get-dynamic-info.h: Here.  New file.
28517         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28518         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28519         * elf/setup-vdso.h: Here.  New file.
28520         * elf/rtld.c: Include "setup-vdso.h".
28521         (dl_main): Call setup_vdso.
28522
28523 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28524
28525         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28526         creal in comment listing functions tested.  List finite, isinf,
28527         isnan, isless, islessequal, isgreater, isgreaterequal,
28528         islessgreater, isunordered, lgamma_r and pow10 as functions and
28529         macros not tested.  Mention which functions not tested are aliases
28530         for other functions.  Fix typo.  Note that signs of NaNs are not
28531         tested.
28532
28533         * scripts/config.guess: Update from config.git.
28534         * scripts/config.sub: Likewise.
28535
28536 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28537
28538         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28539         * misc/madvise.c (madvise): Renamed to __madvise.
28540         Make madvise a weak alias.
28541         * include/sys/mman.h: Declare __madvise.
28542         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28543         * sysdeps/unix/syscalls.list
28544         (madvise): Make __madvise the strong name, and madvise a weak alias.
28545         * sysdeps/unix/sysv/linux/syscalls.list
28546         (madvise, mmap): Remove redundant entries.
28547         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28548         * malloc/malloc.c (mtrim): Likewise.
28549         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28550
28551 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28552
28553         * sysdeps/mach/hurd/dl-cache.c: File removed.
28554         * config.h.in (USE_LDCONFIG): New #undef.
28555         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28556         * configure: Regenerated.
28557         * elf/Makefile (dl-routines): Add dl-cache only under
28558         [$(use-ldconfig) = yes].
28559         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28560         cache on [USE_LDCONFIG].
28561         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28562         [USE_LDCONFIG].
28563         * elf/rtld.c (dl_main): Likewise.
28564
28565 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28566
28567         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28568         _SC_LEVEL4_CACHE_LINESIZE.
28569
28570 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28571
28572         * sysdeps/unix/bsd/confstr.h: File removed.
28573
28574 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28575
28576         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28577         sys/sdt-config.h.
28578
28579 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28580
28581         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28582         Make 'mapoff' field ElfW(Off) rather than off_t.
28583
28584 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28585
28586         * nscd/Makefile: Remove nscd-cflags and all its users.
28587         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28588         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28589
28590         [BZ #10631]
28591         * malloc.c (malloc_printerr): Clarify error message.
28592
28593 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28594
28595         [BZ #14648]
28596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28597         Set bit_FMA_Usable if FMA is supported.
28598         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28599         macro.
28600         (bit_FMA4_Usable): Updated.
28601         (index_FMA_Usable): New macro.
28602         (CPUID_FMA): Likewise
28603         (HAS_FMA): Defined with bit_FMA_Usable.
28604
28605 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28606
28607         * bits/types.h (__swblk_t): Type removed.
28608         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28609         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28611         (__SWBLK_T_TYPE): Likewise.
28612         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28613         (__SWBLK_T_TYPE): Likewise.
28614         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28615         (__SWBLK_T_TYPE): Likewise.
28616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28617         (__SWBLK_T_TYPE): Likewise.
28618
28619 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28620             Honza Horak <hhorak@redhat.com>
28621
28622         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28623         (xdr_mapname): Use YPMAXMAP as maxsize.
28624         (xdr_peername): Use YPMAXPEER as maxsize.
28625         (xdr_keydat): Use YPAXRECORD as maxsize.
28626         (xdr_valdat): Use YPMAXRECORD as maxsize.
28627
28628 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28629
28630         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28631
28632         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28633         * csu/init-first.c: ... here.
28634         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28635         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28636         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28637         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28638         * sysdeps/i386/init-first.c: File removed.
28639         * sysdeps/sh/init-first.c: File removed.
28640
28641 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28642
28643         [BZ #14645]
28644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28645         if x * y might underflow to zero and z is zero.
28646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28648         * math/libm-test.inc (min_subnorm_value): New variable.
28649         (fma_test): Add more tests.
28650         (fma_test_towardzero): Likewise.
28651         (fma_test_downward): Likewise
28652         (fma_test_upward): Likewise.
28653         (initialize): Set min_subnorm_value.
28654
28655 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28656
28657         [BZ #14638]
28658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28659         0 + 0.
28660         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28661         mode for addition resulting in exact zero.
28662         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28664         exact 0 + 0.
28665         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28667         * math/libm-test.inc (fma_test): Add more tests.
28668         (fma_test_towardzero): New function.
28669         (fma_test_downward): Likewise.
28670         (fma_test_upward): Likewise.
28671         (main): Call the new functions.
28672
28673 2012-09-28  David S. Miller  <davem@davemloft.net>
28674
28675         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28676
28677 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28678
28679         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28680         instead of SIGALRM.
28681
28682         * sysdeps/gnu/_G_config.h: Moved to ...
28683         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28684         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28685         * sysdeps/generic/_G_config.h: ... here.
28686
28687         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28688
28689         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28690
28691         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28692         Conditionalize target on [libnss_test1.so-version].
28693
28694         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28695
28696         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28697         (elfobjdir): Move out of conditionals.
28698
28699         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28700         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28701         (__nss_lookup_function): Conditionalize label remove_from_tree on
28702         [!DO_STATIC_NSS || SHARED], matching its only use.
28703
28704 2012-09-28  David S. Miller  <davem@davemloft.net>
28705
28706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28707         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28708         file.
28709         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28710         sysdep_routines.
28711         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28713         when HWCAP_SPARC_CRYPTO is present.
28714
28715 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28716
28717         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28718
28719 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28720
28721         [BZ #6530]
28722         * stdio-common/vfprintf.c (process_string_arg): Revert
28723         2000-07-22 change.
28724
28725 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28726
28727         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28728         for testcase.
28729         * stdio-common/tst-sprintf.c: Include <locale.h>
28730         (main): Test sprintf's handling of incomplete multibyte
28731         characters.
28732
28733 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28734
28735         * elf/dl-runtime.c (VERSYMIDX): Removed.
28736         * elf/dl-version.c (VERSYMIDX): Likewise.
28737         * elf/do-rel.h (VERSYMIDX): Likewise.
28738         (VALIDX): Likewise.
28739         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28740         * elf/rtld.c (VALIDX): Likewise.
28741         (ADDRIDX): Likewise.
28742         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28743         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28744         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28745         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28746         (VALIDX): Likewise.
28747         (ADDRIDX): Likewise.
28748
28749 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28750
28751         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28752
28753 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28754
28755         [BZ #11438]
28756         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28757         to global scope.
28758         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28759         addresses are in the same scope as 192.0.2/24.
28760         * posix/gai.conf: Document new scope table defaults.
28761
28762 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28763
28764         [BZ #5298]
28765         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28766         for ftell.  Compute offsets from write pointers instead.
28767         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28768
28769 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28770
28771         [BZ #14543]
28772         * libio/Makefile (tests): New test case tst-fseek.
28773         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28774         combination works in wide mode.
28775         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28776         state when the external buffer state changes.
28777
28778 2012-09-27  David S. Miller  <davem@davemloft.net>
28779
28780         [BZ #14376]
28781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28782         pass reloc->r_addend in as the 'high' argument to
28783         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28784
28785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28786
28787 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28788
28789         * rt/tst-aio2.c: Include <pthread.h>.
28790         * rt/tst-aio3.c: Likewise.
28791
28792 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28793
28794         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28795
28796 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28797
28798         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28799         contents on [SHARED].
28800
28801 2012-09-26  Marek Polacek  <polacek@redhat.com>
28802
28803         [BZ #14530]
28804         [BZ #13741]
28805         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28806         for C++ and GCC <4.3 as well as for non GCC compilers.
28807
28808 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28809
28810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28811
28812 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28813
28814         * Makefile.in (all, install): Declare with .PHONY.
28815         Reported by Michael Hope <michael.hope@linaro.org>.
28816
28817 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28818
28819         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28820         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28821         system header.
28822         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28823         Likewise.
28824         (sydep_routines): Add the new and the internal functions.
28825         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28826         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28828         (GLIBC_2.17): Add the new function.
28829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28830         (GLIBC_2.17): Likewise.
28831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28832         (GLIBC_2.17): Likewise.
28833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28834         (GLIBC_2.17): Likewise.
28835         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28836
28837 2012-09-25  Alan Modra  <amodra@gmail.com>
28838
28839         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28840         Add release barrier before setting once_control to say
28841         initialisation is done.  Add hints on lwarx.  Use macro in
28842         place of isync.
28843         (clear_once_control): Add release barrier.
28844
28845 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28846
28847         [BZ #13629]
28848         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28849         specially.
28850         * math/s_clog10.c (__clog10): Likewise.
28851         * math/s_clog10f.c (__clog10f): Likewise.
28852         * math/s_clog10l.c (__clog10l): Likewise.
28853         * math/s_clogf.c (__clogf): Likewise.
28854         * math/s_clogl.c (__clogl): Likewise.
28855         * math/Makefile (libm-calls): Add x2y2m1.
28856         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28857         (__x2y2m1): Likewise.
28858         (__x2y2m1l): Likewise.
28859         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28860         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28861         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28863         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28864         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28865         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28866         * sysdeps/i386/fpu/libm-test-ulps: Update.
28867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28868
28869         [BZ #14621]
28870         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28871         int as type of variable DEPTH.
28872         (glob): Use size_t instead of int as type of variables NEWCOUNT
28873         and OLD_PATHC.
28874
28875 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28876
28877         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28878         Add s_sincosf-sse2.
28879         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28880         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28881         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28882         macros for using routine as __sincosf_ia32.
28883         Use macro for function declaration and weak_alias.
28884         * sysdeps/i386/fpu/libm-test-ulps: Update.
28885
28886         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28888
28889         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28890         subnormal argument.
28891         * math/s_cexpf.c (__cexpf): Likewise.
28892         * math/s_csinf.c (__csinf): Likewise.
28893         * math/s_csinhf.c (__csinhf): Likewise.
28894         * math/s_ctanf.c (__ctanf): Likewise.
28895         * math/s_ctanhf.c (__ctanhf): Likewise.
28896         * math/s_ccosh.c (__ccoshf): Likewise.
28897         * math/s_cexp.c (__cexpl): Likewise.
28898         * math/s_csin.c (__csin): Likewise.
28899         * math/s_csinh.c (__csinh): Likewise.
28900         * math/s_ctan.c (__ctan): Likewise.
28901         * math/s_ctanh.c (ctanh): Likewise.
28902         * math/s_ccoshl.c (__ccoshl): Likewise.
28903         * math/s_cexpl.c (__cexpl): Likewise.
28904         * math/s_csinl.c (__csinl): Likewise.
28905         * math/s_csinhl.c (__csinhl): Likewise.
28906         * math/s_ctanl.c (__ctanl): Likewise.
28907         * math/s_ctanhl.c (__ctanhl): Likewise.
28908
28909 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28910
28911         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28912         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28913         (_IO_off_t): Define to __off_t, not _G_off_t.
28914         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28915         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28916         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28917         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28918         type of __dummy and __dummy2 fields.
28919         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28920         (_G_ssize_t): Likewise.
28921         (_G_off_t): Likewise.
28922         (_G_pid_t): Likewise.
28923         (_G_uid_t): Likewise.
28924         (_G_wchar_t): Likewise.
28925         (_G_wint_t): Likewise.
28926         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28927         (_G_ssize_t): Likewise.
28928         (_G_off_t): Likewise.
28929         (_G_pid_t): Likewise.
28930         (_G_uid_t): Likewise.
28931         (_G_wchar_t): Likewise.
28932         (_G_wint_t): Likewise.
28933         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28934         (_G_ssize_t): Likewise.
28935         (_G_off_t): Likewise.
28936         (_G_pid_t): Likewise.
28937         (_G_uid_t): Likewise.
28938         (_G_wchar_t): Likewise.
28939         (_G_wint_t): Likewise.
28940
28941 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28942
28943         * malloc/arena.c: Include malloc-sysdep.h.
28944         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28945         is sufficient to shrink the heap or an unmap is needed.
28946         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28947         new function check_may_shrink_heap.
28948         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28949         new function check_may_shrink_heap.
28950
28951 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28952
28953         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28954         comments.
28955
28956 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28957
28958         * catgets/test-gencat.sh: Add "set -e".
28959         * elf/tst-pathopt.sh: Likewise.
28960         * grp/tst_fgetgrent.sh: Likewise.
28961         * iconvdata/run-iconv-test.sh: Likewise.
28962         * intl/tst-gettext.sh: Likewise.
28963         * intl/tst-gettext2.sh: Likewise.
28964         * intl/tst-gettext4.sh: Likewise.
28965         * intl/tst-gettext6.sh: Likewise.
28966         * intl/tst-translit.sh: Likewise.
28967         * io/ftwtest-sh: Likewise.
28968         * libio/test-freopen.sh: Likewise.
28969         * malloc/tst-mtrace.sh: Likewise.
28970         * posix/globtest.sh: Likewise.
28971         * posix/tst-getconf.sh: Likewise.
28972         * posix/wordexp-tst.sh: Likewise.
28973         * stdio-common/tst-printf.sh: Likewise.
28974         * stdio-common/tst-unbputc.sh: Likewise.
28975         * stdlib/tst-fmtmsg.sh: Likewise.
28976         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28977         * catgets/Makefile: Do not specify -e option when running
28978         testsuite shell scripts.
28979         * elf/Makefile: Likewise.
28980         * grp/Makefile: Likewise.
28981         * iconvdata/Makefile: Likewise.
28982         * intl/Makefile: Likewise.
28983         * io/Makefile: Likewise.
28984         * libio/Makefile: Likewise.
28985         * malloc/Makefile: Likewise.
28986         * posix/Makefile: Likewise.
28987         * stdio-common/Makefile: Likewise.
28988         * stdlib/Makefile: Likewise.
28989         * sysdeps/x86_64/Makefile: Likewise.
28990
28991         * io/ftwtest-sh: Add copyright header.
28992         * posix/globtest.sh: Likewise.
28993         * posix/tst-getconf.sh: Likewise.
28994         * posix/wordexp-tst.sh: Likewise.
28995         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28996
28997 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28998
28999         [BZ #13679]
29000         * Makeconfig (+link): Defined as $(+link-static) if
29001         $(build-shared) isn't yes.
29002         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29003         isn't yes.
29004         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29005
29006         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29007
29008         [BZ #14562]
29009         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29010         new chunk size with MALLOC_ALIGN_MASK.
29011
29012 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29013
29014         [BZ #5044]
29015         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29016         <rounding-mode.h>.
29017         (__printf_fphex): Determine rounding using get_rounding_mode and
29018         round_away.
29019         * stdio-common/tst-printf-round.c (struct hex_test): New
29020         structure.
29021         (hex_tests): New variable.
29022         (test_hex_in_one_mode): New function.
29023         (do_test): Also run tests for hex float output.
29024
29025 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29026
29027         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29028         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29029         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29030         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29031         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29032         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29033         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29034         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29035
29036 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29037
29038         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29039         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29040         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29041         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29042
29043 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29044
29045         [BZ #14579]
29046         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29047         mode only.
29048         * elf/tst-rtld-load-self.sh: New test.
29049         * elf/Makefile: Run it.
29050
29051 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29052
29053         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29054         (tst-writev-ENV): Remove.
29055         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29056
29057 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29058
29059         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29060
29061 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29062
29063         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29064         unconditional.
29065         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29066         Likewise.
29067         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29068         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29069         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29070         Likewise.
29071
29072 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29073
29074         [BZ #14587]
29075         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29076         * config.make.in (have-cpp-asm-debuginfo): Removed.
29077         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29078         * configure: Regenerated.
29079
29080 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29081
29082         [BZ #5044]
29083         * stdio-common/printf_fp.c: Include <stdbool.h> and
29084         <rounding-mode.h>.
29085         (___printf_fp): Determine rounding using get_rounding_mode and
29086         round_away.
29087         * stdio-common/tst-printf-round.c: New file.
29088         * stdio-common/Makefile (tests): Add tst-printf-round.
29089         (link-libm): New variable.
29090         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29091
29092 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29093
29094         [BZ #14576]
29095         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29096         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29097         Likewise.
29098         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29099         Likewise.
29100
29101 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29102
29103         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29104         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29105         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29106         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29107
29108 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29109
29110         [BZ #14518]
29111         * include/rounding-mode.h: New file.
29112         * sysdeps/generic/get-rounding-mode.h: Likewise.
29113         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29114         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29115         (MAX_VALUE): New macro.
29116         (MIN_VALUE): Likewise.
29117         (overflow_value): New function.
29118         (underflow_value): Likewise.
29119         (round_and_return): Use overflow_value and underflow_value to
29120         determine return values in overflow and underflow cases.  Use
29121         round_away to determine rounding depending on rounding mode.
29122         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29123         determine return values in overflow and underflow cases.
29124         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29125         (struct test_results): New structure.
29126         (struct test): Use struct test_results to store expected results
29127         for all rounding modes.
29128         (TEST): Include expected results for all rounding modes.
29129         (test_in_one_mode): New function.
29130         (do_test): Use test_in_one_mode to compute and check results.
29131         Check results for all rounding modes.
29132         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29133         $(link-libm).
29134
29135 2012-12-09  Allan McRae  <allan@archlinux.org>
29136
29137         * sysdeps/i386/fpu/libm-test-ulps: Update
29138
29139 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29140
29141         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29142         (_G_int32_t): Likewise.
29143         (_G_uint16_t): Likewise.
29144         (_G_uint32_t): Likewise.
29145         (_G_HAVE_BOOL): Likewise.
29146         (_G_HAVE_ATEXIT): Likewise.
29147         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29148         (_G_HAVE_IO_FILE_OPEN): Likewise.
29149         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29150         (_G_int32_t): Likewise.
29151         (_G_uint16_t): Likewise.
29152         (_G_uint32_t): Likewise.
29153         (_G_HAVE_BOOL): Likewise.
29154         (_G_HAVE_ATEXIT): Likewise.
29155         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29156         (_G_HAVE_IO_FILE_OPEN): Likewise.
29157         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29158         (_G_int32_t): Likewise.
29159         (_G_uint16_t): Likewise.
29160         (_G_uint32_t): Likewise.
29161         (_G_HAVE_BOOL): Likewise.
29162         (_G_HAVE_ATEXIT): Likewise.
29163         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29164         (_G_HAVE_IO_FILE_OPEN): Likewise.
29165
29166 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29167
29168         * csu/libc-tls.c: Update copyright years.
29169
29170 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29171
29172         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29173         [!_G_USING_THUNKS]: Remove conditional code.
29174         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29175         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29176
29177         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29178         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29179         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29180         (_G_VTABLE_LABEL_PREFIX): Likewise.
29181         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29182         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29183         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29184         (_G_VTABLE_LABEL_PREFIX): Likewise.
29185         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29186         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29187         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29188         (_G_VTABLE_LABEL_PREFIX): Likewise.
29189         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29190
29191 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29192
29193         * libio/Makefile: Include ../Makeconfig before tests.
29194         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29195         only if $(build-shared) is yes.
29196
29197         * iconv/gconv_db.c: Update copyright years.
29198
29199 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29200
29201         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29202         unwind info if defined PIC. Fix special cases description.
29203         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29204
29205         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29206         DP_HI_MASK entry.
29207         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29208
29209 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29210
29211         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29212
29213         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29214         is NULL.
29215
29216         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29217         (LDLIBS-tst-chk4): This.
29218         (LDFLAGS-tst-chk5): Renamed to ...
29219         (LDLIBS-tst-chk5): This.
29220         (LDFLAGS-tst-chk6): Renamed to ...
29221         (LDLIBS-tst-chk6): This.
29222         (LDFLAGS-tst-lfschk4): Renamed to ...
29223         (LDLIBS-tst-lfschk4): This.
29224         (LDFLAGS-tst-lfschk5): Renamed to ...
29225         (LDLIBS-tst-lfschk5): This.
29226         (LDFLAGS-tst-lfschk6): Renamed to ...
29227         (LDLIBS-tst-lfschk6): This.
29228
29229         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29230         on $(common-objpfx)soversions.mk.
29231
29232 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29233
29234         [BZ #10014]
29235         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29236         example host name.
29237
29238 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29239
29240         * malloc/arena.c (arena_get_retry): New function that gets
29241         another arena for the caller to try its request on.
29242         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29243         current arena cannot fulfill the request.
29244         (__libc_memalign): Likewise.
29245         (__libc_memalign): Likewise.
29246         (__libc_pvalloc): Likewise.
29247         (__libc_calloc): Likewise.
29248
29249 2012-09-05  John Tobey  <john.tobey@gmail.com>
29250
29251         [BZ #13542]
29252         * manual/arith.texi (Operations on Complex): Fix description
29253         of carg branch cut.
29254
29255 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29256
29257         [BZ #10014]
29258         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29259         host name.
29260
29261         [BZ #10038]
29262         * manual/memory.texi (Memory): Make order of menu items match
29263         order of sections.
29264
29265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29266
29267         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29268         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29269         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29270
29271 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29272
29273         * csu/libc-tls.c (static_dtv): Renamed to ...
29274         (_dl_static_dtv): This.  Make it global.
29275         (_dl_initial_dtv): Removed.
29276         (__libc_setup_tls): Updated.
29277         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29278         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29279         DL_INITIAL_DTV.
29280
29281 2012-09-06  Petr Machata  <pmachata@redhat.com>
29282
29283         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29284         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29285         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29286         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29287
29288 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29289
29290         [BZ #14545]
29291         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29292         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29293         freeing dtv[-1].
29294
29295 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29296
29297         [BZ #14544]
29298         * Makeconfig (link-static-before-libc): Replace $(+prector)
29299         with $(+prectorT).
29300         (link-static-after-libc): Replace $(+postctor) with
29301         $(+postctorT).
29302         (link-bounded): Replace $(+prector)/$(+postctor) with
29303         $(+prectorT)/$(+postctorT).
29304         (+prectorT): New macro.
29305         (+postctorT): Likewise.
29306
29307 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29308
29309         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29310         (round_str): Handle values above the maximum for IBM long double
29311         as inexact.
29312         * stdlib/tst-strtod-round.c (tests): Regenerated.
29313
29314 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29315
29316         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29317         assembler flag.
29318         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29319         zarch_nohighgprs around the zarch optimized routines.
29320         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29321         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29322         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29323         for zarch.
29324
29325 2012-09-05  David S. Miller  <davem@davemloft.net>
29326
29327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29328
29329         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29330         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29331         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29332         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29333         entries.
29334
29335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29336
29337         * malloc/arena.c: Fold copyright years.
29338         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29339
29340 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29341
29342         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29343
29344 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29345
29346         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29347
29348 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29349
29350         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29351         change internal state upon failure.
29352
29353 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29354
29355         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29356         * malloc/memusage.c (mmap): Likewise.
29357         (mmap64, mremap): Likewise.  Adjust name in comment.
29358
29359 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29360
29361         * libio/fileops.c: Fix typos in comments.
29362         * libio/oldfileops.c: Likewise.
29363         * libio/wfileops.c: Likewise.
29364
29365 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29366
29367         [BZ #1349]
29368         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29369         (tst-malloc-usable-ENV): Set environment for test case.
29370         * malloc/hooks.c (malloc_check_get_size): New function to get
29371         requested size.
29372         * malloc/malloc.c (musable): Use malloc_check_get_size.
29373         * malloc/tst-malloc-usable.c: New test case.
29374
29375 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29376
29377         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29378
29379 2012-09-05  Allan McRae  <allan@archlinux.org>
29380
29381         [BZ #13966]
29382         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29383         determine header location.
29384         * configure: Regenerated.
29385
29386 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29387
29388         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29389         float format.
29390         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29391         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29392         format.
29393         (test): Regenerate.
29394
29395 2012-09-04  David S. Miller  <davem@davemloft.net>
29396
29397         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29398         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29399         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29400
29401 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29402
29403         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29404         failures.
29405
29406         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29407
29408 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29409
29410         [BZ #9914]
29411         * libio/iogetdelim.c: Include <limits.h>.
29412         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29413         + len + 1 would overflow.
29414
29415 2012-09-03  Andreas Jaeger  <aj@suse.de>
29416
29417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29418         * sysdeps/i386/fpu/libm-test-ulps: Update.
29419
29420 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29421
29422         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29423         Add s_sinf-sse2, s_conf-sse2.
29424
29425         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29426         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29427         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29428         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29429
29430         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29431         for using routine as __sinf_ia32.
29432         Use macro for function declaration and weak_alias.
29433         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29434         for using routine as __cosf_ia32.
29435         Use macro for function declaration and weak_alias.
29436
29437         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29438         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29439
29440         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29441         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29443
29444         * math/libm-test.inc (cos_test): Add more test cases.
29445         (sin_test): Likewise.
29446         (sincos_test): Likewise.
29447
29448 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29449
29450         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29451         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29452         hidden.
29453         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29454
29455 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29456
29457         [BZ #14538]
29458         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29459         first element of the GOT.
29460         (elf_machine_load_address): Return the difference between
29461         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29462
29463 2012-09-01  Allan McRae  <allan@archlinux.org>
29464
29465         [BZ #13412]
29466         * configure.in (AWK): Require gawk version 3.0 or later.
29467         * configure: Regenerated.
29468
29469 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29470
29471         * sysdeps/unix/sysv/linux/kernel-features.h
29472         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29474         [__NR_clock_getres]: Make code unconditional.
29475         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29476         (clock_getcpuclockid): Remove code left unreachable by removal of
29477         conditionals.
29478         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29479         code unconditional.
29480         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29481         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29482         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29483         Make code unconditional.
29484         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29485         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29486         * sysdeps/unix/sysv/linux/clock_settime.c
29487         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29488         conditional code.
29489         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29490         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29491
29492 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29493
29494         [BZ #14476]
29495         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29496         scripts/test-installation.pl.
29497
29498         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29499         and $ld_so_version if it is set.
29500
29501 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29502
29503         [BZ #14516]
29504         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29505         failure if reading from procfs failed.
29506         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29507
29508 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29509
29510         * sysdeps/unix/sysv/linux/kernel-features.h
29511         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29512         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29513         Remove conditional code.
29514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29515         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29516         Remove conditional code.
29517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29518         * sysdeps/unix/sysv/linux/i386/fxstat.c
29519         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29521         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29522         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29524         * sysdeps/unix/sysv/linux/i386/lxstat.c
29525         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29527         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29528         Remove conditional code.
29529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29530         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29531         Remove conditional code.
29532         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29533         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29534         <kernel-features.h>.
29535         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29536         Remove.
29537         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29538         Remove conditional code.
29539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29540         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29541         Remove conditional.
29542
29543 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29544
29545         [BZ #5400]
29546         * NEWS: Add fixed bug number.
29547
29548 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29549
29550         [BZ #14519]
29551         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29552         underflowing exponent in case of negative sign.
29553         * stdlib/tst-strtod-round-data: Add more tests.
29554         * stdlib/tst-strtod-round.c (tests): Regenerated.
29555
29556         [BZ #3479]
29557         * stdlib/strtod_l.c (NDIG): Remove.
29558         (HEXNDIG): Likewise.
29559         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29560         smallest representable value.
29561         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29562         lie within an exact representation of 1/2 ulp of the result.
29563         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29564         unconditionally.
29565         (TENS_P9_IDX): Define unconditionally.
29566         (TENS_P9_SIZE): Likewise.
29567         (TENS_P10_IDX): Likewise.
29568         (TENS_P10_SIZE): Likewise.
29569         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29570         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29571         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29572         entries for 10^2^13 and 10^2^14.
29573         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29574         (TENS_P13_IDX): Define.
29575         (TENS_P13_SIZE): Likewise.
29576         (TENS_P14_IDX): Likewise.
29577         (TENS_P14_SIZE): Likewise.
29578         (_fpioconst_pow10): Change array size to
29579         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29580         unconditional.
29581         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29582         1024]: Add entries for 10^2^13 and 10^2^14.
29583         [LAST_POW10 > _LAST_POW10]: Remove #error.
29584         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29585         (_fpioconst_pow10): Change array size to
29586         FPIOCONST_POW10_ARRAY_SIZE.
29587         * stdlib/gen-fpioconst.c: New file.
29588         * stdlib/gen-tst-strtod-round.c: Likewise.
29589         * stdlib/tst-strtod-round-data: Likewise.
29590         * stdlib/tst-strtod-round.c: Likewise.
29591         * stdlib/Makefile (tests): Add tst-strtod-round.
29592
29593         [BZ #14459]
29594         * stdlib/strtod_l.c: Include <stdint.h>.
29595         (NDEBUG): Do not define.
29596         (round_and_return): Change EXPONENT parameter to type intmax_t.
29597         Rearrange calculations to avoid internal overflow possibilities.
29598         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29599         Rearrange calculations to avoid internal overflow possibilities.
29600         Assert that number fits inside MPNSIZE limbs.
29601         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29602         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29603         calculations and add assertions to avoid internal overflow
29604         possibilities.  Add casts to avoid signed/unsigned operations.
29605         * stdlib/tst-strtod-overflow.c: New file.
29606         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29607
29608 2012-08-25  Marek Polacek  <polacek@redhat.com>
29609
29610         * time/time.h: Fix some typos in comments.
29611
29612 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29613
29614         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29615         * posix/tst-rfc3484-2.c: Likewise.
29616         * posix/tst-rfc3484-3.c: Likewise.
29617
29618 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29619
29620         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29621         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29622
29623 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29624
29625         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29626         #include of fxstatat64.c.
29627
29628 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29629
29630         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29631         * shadow/getspent_r.c: Likewise.
29632         * shadow/getspnam.c: Likewise.
29633         * shadow/getspnam_r.c: Likewise.
29634         * gshadow/getsgent.c: Likewise.
29635         * gshadow/getsgent_r.c: Likewise.
29636         * gshadow/getsgnam.c: Likewise.
29637         * gshadow/getsgnam_r.c: Likewise.
29638         * inet/getnetbyad.c: Likewise.
29639         * inet/getnetbyad_r.c: Likewise.
29640         * inet/getnetbynm.c: Likewise.
29641         * inet/getnetbynm_r.c: Likewise.
29642         * inet/getnetent.c: Likewise.
29643         * inet/getnetent_r.c: Likewise.
29644         * inet/getproto.c: Likewise.
29645         * inet/getproto_r.c: Likewise.
29646         * inet/getprtent.c: Likewise.
29647         * inet/getprtent_r.c: Likewise.
29648         * inet/getprtname.c: Likewise.
29649         * inet/getprtname_r.c: Likewise.
29650         * inet/getrpcbyname.c: Likewise.
29651         * inet/getrpcbyname_r.c: Likewise.
29652         * inet/getrpcbynumber.c: Likewise.
29653         * inet/getrpcbynumber_r.c: Likewise.
29654         * inet/getrpcent.c: Likewise.
29655         * inet/getrpcent_r.c: Likewise.
29656         * inet/getaliasent.c: Likewise.
29657         * inet/getaliasent_r.c: Likewise.
29658         * inet/getaliasname.c: Likewise.
29659         * inet/getaliasname_r.c: Likewise.
29660         * nscd/getgrgid_r.c: Likewise.
29661         * nscd/getgrnam_r.c: Likewise.
29662         * nscd/gethstbyad_r.c: Likewise.
29663         * nscd/gethstbynm3_r.c: Likewise.
29664         * nscd/getpwnam_r.c: Likewise.
29665         * nscd/getpwuid_r.c: Likewise.
29666         * nscd/getsrvbynm_r.c: Likewise.
29667         * nscd/getsrvbypt_r.c: Likewise.
29668         * nscd/gai.c: Likewise.
29669
29670         * configure.in (build_nscd): New substituted variable, set
29671         by --disable-build-nscd and defaults to $use_nscd.
29672         * configure: Regenerated.
29673         * config.make.in (build-nscd): New substituted variable.
29674         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29675         Change conditional to require [$(build-nscd) = yes] as well.
29676         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29677
29678         [BZ# 13696]
29679         * configure.in (use_nscd): New substituted variable, set by
29680         --disable-nscd.  If enabled, define USE_NSCD.
29681         * configure: Regenerated.
29682         * config.h.in: Add USE_NSCD.
29683         * config.make.in (use-nscd): New substituted variable.
29684         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29685         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29686         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29687         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29688         (CFLAGS-getgrnam_r.c): Likewise.
29689         (CFLAGS-initgroups.c): Likewise.
29690         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29691         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29692         Variables removed.
29693         * inet/getnetgrent_r.c
29694         (nscd_setnetgrent): New function, broken out of ...
29695         (setnetgrent): ... here.  Call it.
29696         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29697         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29698         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29699         * nscd/Makefile (routines, aux): Move definitions after include of
29700         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29701         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29702         Conditionalize on [USE_NSCD].
29703         (is_nscd, nscd_init_cb): Likewise.
29704         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29705         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29706         * nss/nss_db/db-init.c: Likewise.
29707         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29708         [USE_NSCD].
29709         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29710         (make_request): Use it.
29711         (cache_valid_p): New function.
29712         (__check_pf): Use it.
29713         * NEWS: Add item for --disable-nscd.
29714
29715 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29716
29717         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29718         to support sed >= 4.2.1-20-ga9bf076.
29719         * configure: Regenerated.
29720
29721 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29722
29723         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29724         Conditionalize whole body on [IREL].
29725
29726 2012-08-22  Jeff Law <law@redhat.com>
29727
29728         [BZ #14505]
29729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29730         if the family is PF_UNSPEC.
29731
29732 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29733
29734         * Makerules (lib-version): Rename from V.
29735         (install-lib-nosubdir): Change V to lib-version.
29736
29737 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29738
29739         [BZ #14252]
29740         * powerpc32/power6/wcschr.c: New file.
29741         * powerpc32/power6/wcscpy.c: New file.
29742         * powerpc32/power6/wcsrchr.c: New file.
29743         * powerpc64/power6/wcschr.c: New file.
29744         * powerpc64/power6/wcscpy.c: New file.
29745         * powerpc64/power6/wcsrchr.c: New file.
29746
29747 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29748
29749         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29750         (two_way_short_needle): Use it.
29751         * string/strstr.c (AVAILABLE1_USES_J): Define.
29752         * string/strcasestr.c: Likewise.
29753
29754         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29755         array references.
29756         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29757
29758         [BZ #11607]
29759         * NEWS: Add an entry.
29760         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29761         define their defaults.
29762         (two_way_short_needle): Detect end-of-string on-the-fly.
29763         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29764         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29765         * string/bug-strcasestr1.c: New test.
29766         * string/Makefile: Run it.
29767
29768 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29769
29770         [BZ #11607]
29771         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29772         the first character.
29773
29774 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29775
29776         * csu/elf-init.c (__libc_csu_irel): Function removed.
29777         * csu/libc-start.c (apply_irel): New function.
29778         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29779
29780 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29781
29782         * sysdeps/unix/sysv/linux/kernel-features.h
29783         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29784         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29785         <kernel-features.h>.
29786         [__NR_fadvise64_64]: Make code unconditional.
29787         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29788         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29789         !__NR_fadvise64_64)]: Likewise.
29790         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29791         !__NR_fadvise64_64))]: Likewise.
29792         [__NR_fadvise64]: Make code unconditional.
29793         [!__NR_fadvise64]: Remove conditional code.
29794         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29795         <kernel-features.h>.
29796         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29797         unconditional.
29798         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29799         conditional code.
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29801         not include <kernel-features.h>.
29802         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29803         unconditional.
29804         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29805         conditional code.
29806         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29807         include <kernel-features.h>.
29808         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29809         unconditional.
29810         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29811         conditional code.
29812
29813 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29814
29815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29816         slight instruction rearrangements per scrollpipe analysis.
29817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29818
29819 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29820
29821         * manual/syslog.texi (syslog; vsyslog, closelog):
29822         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29823         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29824
29825         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29826         DSOCAPS to match condition on defining it.
29827
29828 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29829
29830         * sysdeps/unix/sysv/linux/kernel-features.h
29831         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29833         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29834         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29836         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29837         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29839         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29840         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29841
29842         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29843         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29844
29845         * sysdeps/unix/sysv/linux/kernel-features.h
29846         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29847         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29848         unconditional.
29849         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29850         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29851         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29852         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29853         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29854         Make code unconditional.
29855         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29856         (__mmap64) [!__NR_mmap2]: Likewise.
29857         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29858         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29859         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29860         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29861         [__NR_mmap2]: Make code unconditional.
29862         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29863         (__mmap64) [!__NR_mmap2]: Likewise.
29864
29865 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29866
29867         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29868
29869 2012-08-18  Andreas Jaeger  <aj@suse.de>
29870
29871         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29872
29873 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29874
29875         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29876         * include/unistd.h (__have_sock_cloexec): Likewise.
29877         (__have_pipe2): Likewise.
29878         (__have_dup3): Likewise.
29879
29880 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29881
29882         [BZ #9685]
29883         * include/unistd.h (__have_pipe2): Change define into an extern int.
29884         (__have_dup3): Likewise.
29885         * socket/have_sock_cloexec.c: Include fcntl.h.
29886         (__have_pipe2): New variable.
29887         (__have_dup3): Likewise.
29888
29889 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29890
29891         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29892
29893 2012-08-17  Marek Polacek  <polacek@redhat.com>
29894
29895         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29896         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29897
29898 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29899
29900         * configure.in: Add AC_SUBST for sysheaders.
29901         * configure: Regenerated.
29902         * config.make.in (sysheaders): New substituted variable.
29903
29904         * sysdeps/unix/mkfifo.c: Moved ...
29905         * sysdeps/posix/mkfifo.c: ... here.
29906         * sysdeps/unix/mkfifoat.c: Moved ...
29907         * sysdeps/posix/mkfifoat.c: ... here.
29908
29909         * sysdeps/unix/utime.c: Moved ...
29910         * sysdeps/posix/utime.c: ... here.
29911
29912         * sysdeps/unix/time.c: Moved ...
29913         * sysdeps/posix/time.c: ... here.
29914         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29915         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29916
29917         * sysdeps/unix/nice.c: Moved ...
29918         * sysdeps/posix/nice.c: ... here.
29919
29920         * sysdeps/unix/alarm.c: Moved ...
29921         * sysdeps/posix/alarm.c: ... here.
29922
29923         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29924
29925 2012-08-17  Jeff Law <law@redhat.com>
29926
29927         * intl/Makefile (codeset_mo): New variable.
29928         ($(codeset_mo)): New target.
29929         (tst-codeset.out): Depend on that.  Remove explicit rule.
29930         (tst-gettext3.out, tst-gettext5.out): Likewise.
29931         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29932         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29933         * intl/tst-codeset.sh: Remove.
29934         * intl/tst-gettext3.sh: Likewise.
29935         * intl/tst-gettext5.sh: Likewise.
29936
29937 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29938
29939         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29940         * sysdeps/unix/syscalls.list: ... here.
29941
29942         * sysdeps/posix/getaddrinfo.c
29943         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29944         (gaiconf_init, gaiconf_reload): Use them.
29945         [!_STATBUF_ST_NSEC]
29946         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29947         Define using time_t rather than struct timespec.
29948
29949         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29950         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29951         Macros removed.
29952         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29953         [!NO_THREADS].
29954         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29955         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29956         Likewise.
29957
29958         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29959         __libc_cleanup_push argument.
29960
29961         * bits/param.h: New file.
29962         * misc/sys/param.h: New file.
29963         * include/sys/param.h: New file.
29964         * misc/Makefile (headers): Add bits/param.h.
29965         * sysdeps/generic/sys/param.h: File removed.
29966         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29967         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29968         * sysdeps/mach/hurd/bits/param.h: New file.
29969         * sysdeps/mach/hurd/sys/param.h: File removed.
29970
29971         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29972         last change.
29973
29974         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29975         [_IO_MTSAFE_IO].
29976         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29977         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29978         New macros.
29979
29980         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29981         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29982         rather than -D_IO_MTSAFE_IO conditionally.
29983         * stdio-common/Makefile (CPPFLAGS): Likewise.
29984         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29985         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29986         Use $(libio-mtsafe).
29987         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29988         of -D_IO_MTSAFE_IO.
29989         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29990         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29991         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29992         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29993         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29994         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29995         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29996         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29997         (CFLAGS-fread_u_chk.c): Likewise.
29998         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29999         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30000         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30001         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30002         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30003         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30004         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30005         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30006         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30007
30008         * libio/Makefile: Test [$(libc-reentrant) = yes]
30009         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30010
30011         * Makeconfig
30012         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30013         * sysdeps/pthread/configure: File removed.
30014         * sysdeps/pthread/Makeconfig: New file.
30015         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30016         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30017
30018 2012-08-16  Gary Benson  <gbenson@redhat.com>
30019
30020         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30021         unmapping the first object in a namespace.
30022
30023 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30024
30025         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30026         (__internal_setnetgrent): ... this.  Add internal_function to
30027         definition.  Add libc_hidden_def.
30028         (setnetgrent): Update caller.
30029         (internal_endnetgrent): Renamed to ...
30030         (__internal_endnetgrent): ... this.  Add internal_function to
30031         definition.  Add libc_hidden_def.
30032         (endnetgrent): Update caller.
30033         (internal_getnetgrent_r): Renamed to ...
30034         (__internal_getnetgrent_r): ... this.  Add internal_function to
30035         definition.  Add libc_hidden_def.
30036         (__getnetgrent_r): Update caller.
30037         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30038
30039 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30040
30041         * stdlib/longlong.h: Update from GCC.
30042
30043 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30044
30045         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30046         on _QL, which is set by umul_ppmm but never used.
30047         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30048         variables, which are set by GMP macros but never used.
30049         * stdio-common/_itowa.c (_itowa): Likewise.
30050         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30051         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30052
30053 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30054
30055         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30056         struct La_sh_regs is not constant.
30057         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30058         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30059         and struct La_sparc64_regs are not constant.
30060
30061 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30062
30063         * sysdeps/unix/sysv/linux/kernel-features.h
30064         (__ASSUME_POSIX_TIMERS): Remove.
30065         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30067         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30068         Make code unconditional.
30069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30070         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30071         Make code unconditional.
30072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30073         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30074         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30075         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30076         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30077         Make code unconditional.
30078         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30079         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30080         (__libc_missing_posix_timers): Remove.
30081
30082 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30083
30084         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30085         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30086
30087         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30088
30089         * elf/dl-sym.c: Include <stdlib.h>.
30090
30091         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30092         constants, which avoids warnings in 32-bit builds.
30093
30094         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30095         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30096
30097         * misc/lseek.c: File moved to ...
30098         * io/lseek.c: ... here.
30099
30100         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30101
30102         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30103         shifting LEN more than 31 bits at once.
30104
30105 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30106
30107         [BZ #14195]
30108         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30109         segmentation fault for a case of two empty input strings.
30110         * string/test-strncasecmp.c (check1): Renamed to...
30111         (bz12205): ...this.
30112         (bz14195): Add new testcase for two empty input strings and N > 0.
30113         (test_main): Call new testcase, adapt for renamed function.
30114
30115 2012-08-15  Andreas Jaeger  <aj@suse.de>
30116
30117         [BZ #14090]
30118         * crypt/md5test2.c: New test, based on test supplied by Serge
30119         Belyshev <belyshev@depni.sinp.msu.ru>.
30120         * crypt/Makefile (xtests): Add md5test-giant..
30121         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30122
30123 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30124
30125         [BZ #14090]
30126         * crypt/md5.c (md5_process_block): Don't assume the buffer
30127         length is less than 2**32.
30128         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30129         length is less than 2**64.
30130
30131 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30132
30133         * string/str-two-way.h: Include <sys/param.h>.
30134         (MAX): Macro removed.
30135
30136         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30137         Move #define and #undef of memmove to just before and after
30138         including <string.h>.
30139
30140         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30141         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30142         and after including <string.h>.  Move declarations of
30143         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30144         to before #include "string/memmove.c".
30145
30146         * include/dirent.h: Declare __getdirentries.
30147
30148         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30149         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30150
30151 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30152
30153         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30154         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30155         * sysdeps/i386/configure: Regenerated.
30156         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30157         STABS_CURRENT_FILE, and STABS_FUN.
30158         (END): Remove call to STABS_FUN_END.
30159         (STABS_CURRENT_FILE1): Delete.
30160         (STABS_CURRENT_FILE): Likewise.
30161         (STABS_FUN): Likewise.
30162         (STABS_FUN_END): Likewise.
30163         (STABS_FUN2): Likewise.
30164         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30165         * sysdeps/x86_64/configure: Regenerated.
30166
30167 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30168
30169         * elf/dl-open.c: Include <atomic.h>.
30170         * elf/dl-lookup.c: Likewise.
30171
30172 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30173
30174         * sysdeps/unix/sysv/linux/kernel-features.h
30175         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30176         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30177         unconditionally.
30178         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30179         unconditionally.
30180         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30181         condition on __ASSUME_CLONE_THREAD_FLAGS.
30182
30183 2012-08-14  Andreas Jaeger  <aj@suse.de>
30184
30185         * sysdeps/i386/fpu/libm-test-ulps: Update.
30186
30187 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30188
30189         * include/atomic.h (atomic_exchange_and_add): Split into ...
30190         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30191         New atomic macros.
30192
30193 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30194
30195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30196
30197 2012-08-13  Jeff Law <law@redhat.com>
30198
30199         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30200         null byte in the output string.
30201
30202 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30203
30204         * sysdeps/unix/sysv/linux/kernel-features.h
30205         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30206         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30207         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30208         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30209         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30210         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30211         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30212
30213 2012-08-09  Jeff Law <law@redhat.com>
30214
30215         [BZ #13939]
30216         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30217         When avoid_arena is set, don't retry in the that arena.  Pick the
30218         next one, whatever it might be.
30219         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30220         (arena_lock): Pass in new parameter to arena_get2.
30221         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30222         arena_get2.
30223         (__libc_malloc): Unify retrying after main arena failure with
30224         __libc_memalign version.
30225         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30226
30227 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30228
30229         [BZ #14166]
30230         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30231         to __redirect_strstr.
30232         (__strstr_sse42): Use typeof __redirect_strstr.
30233         (__strstr_ia32): Likewise.
30234         (__libc_strstr): New prototype.
30235         (strstr): Renamed to ...
30236         (__libc_strstr): This.
30237         (strstr): New strong alias of __libc_strstr.
30238         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30239         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30240         __redirect_time.
30241         Include <time.h>.
30242         (__libc_time): New prototype.
30243         (time_ifunc): Replace time with __libc_time.
30244         (time): New strong alias and hidden definition of __libc_time.
30245         (__GI_time): Remove strong alias.
30246         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30247         Include <stddef.h>.
30248         (memmove): Redefined to __redirect_memmove.
30249         (__memmove_sse2): Use typeof __redirect_memmove.
30250         (__memmove_ssse3): Likewise.
30251         (__memmove_ssse3_back): Likewise.
30252         (__libc_memmove): New prototype.
30253         (memmove): Renamed to ...
30254         (__libc_memmove): This.
30255         (memmove): New strong alias of __libc_memmove.
30256
30257 2012-08-08  Mark Salter  <msalter@redhat.com>
30258
30259         * elf/elf.h
30260         (R_MN10300_TLS_GD): Define.
30261         (R_MN10300_TLS_LD): Likewise.
30262         (R_MN10300_TLS_LDO): Likewise.
30263         (R_MN10300_TLS_GOTIE): Likewise.
30264         (R_MN10300_TLS_IE): Likewise.
30265         (R_MN10300_TLS_LE): Likewise.
30266         (R_MN10300_TLS_DTPMOD): Likewise.
30267         (R_MN10300_TLS_DTPOFF): Likewise.
30268         (R_MN10300_TLS_TPOFF): Likewise.
30269         (R_MN10300_SYM_DIFF): Likewise.
30270         (R_MN10300_ALIGN): Likewise.
30271         (R_MN10300_NUM): Update.
30272
30273 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30274
30275         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30276         Remove.
30277
30278 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30279
30280         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30281
30282         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30283         sysdeps/unix -> sysdeps/posix move.
30284         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30285
30286 2012-08-07      Allan McRae     <allan@archlinux.org>
30287
30288         [BZ #14303]
30289         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30290         (SUNOS_CPP): Likewise.
30291         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30292         not found.
30293         (open_input): Call CPP using execvp.
30294
30295 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30296
30297         * sysdeps/unix/sysv/linux/kernel-features.h
30298         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30299         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30300         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30301         (__ASSUME_WAITID_SYSCALL): Likewise.
30302         * sysdeps/unix/sysv/linux/dl-execstack.c
30303         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30304         code unconditional.
30305         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30306         conditional code.
30307         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30308         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30309         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30310         code.
30311         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30312         unconditional.
30313         [__ASSUME_WAITID_SYSCALL]: Likewise.
30314         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30315
30316 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30317
30318         * sysdeps/unix/closedir.c: Renamed to ...
30319         * sysdeps/posix/closedir.c: ... here.
30320         * sysdeps/unix/dirfd.c: Renamed to ...
30321         * sysdeps/posix/dirfd.c: ... here.
30322         * sysdeps/unix/dirstream.h: Renamed to ...
30323         * sysdeps/posix/dirstream.h: ... here.
30324         * sysdeps/unix/fdopendir.c: Renamed to ...
30325         * sysdeps/posix/fdopendir.c: ... here.
30326         * sysdeps/unix/opendir.c: Renamed to ...
30327         * sysdeps/posix/opendir.c: ... here.
30328         * sysdeps/unix/readdir.c: Renamed to ...
30329         * sysdeps/posix/readdir.c: ... here.
30330         * sysdeps/unix/readdir_r.c: Renamed to ...
30331         * sysdeps/posix/readdir_r.c: ... here.
30332         * sysdeps/unix/rewinddir.c: Renamed to ...
30333         * sysdeps/posix/rewinddir.c: ... here.
30334         * sysdeps/unix/seekdir.c: Renamed to ...
30335         * sysdeps/posix/seekdir.c: ... here.
30336         * sysdeps/unix/telldir.c: Renamed to ...
30337         * sysdeps/posix/telldir.c: ... here.
30338         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30339         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30340         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30341         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30342
30343         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30344         * bits/fcntl.h: ... here.
30345
30346         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30347         not 0.
30348         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30349         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30350         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30351         (struct flock): Move l_start, l_len to the beginning.
30352         Use __pid_t for l_pid.
30353         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30354         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30355         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30356         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30357         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30358         [__USE_LARGEFILE64] (struct flock64): New type.
30359         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30360
30361         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30362         * bits/dirent.h: ... here.
30363
30364         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30365         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30366
30367 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30368
30369         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30370         Change from 2.6.0 to 2.6.16.
30371         * sysdeps/unix/sysv/linux/configure: Regenerated.
30372         * sysdeps/unix/sysv/linux/kernel-features.h
30373         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30374         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30375         version.
30376         (__ASSUME_UTIMES): Likewise.
30377         (__ASSUME_CLONE_STOPPED): Remove.
30378         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30379         architectures, not kernel version.
30380         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30381         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30382         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30383         (__ASSUME_WAITID_SYSCALL): Likewise.
30384         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30385         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30386         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30387         refer to older versions.
30388
30389 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30390
30391         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30392         Define alphasort64 as an alias.
30393         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30394         Define versionsort64 as an alias.
30395         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30396         Define scandir64 as an alias.
30397         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30398         Define scandirat64 as an alias.
30399         * dirent/alphasort64.c (alphasort64):
30400         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30401         * dirent/versionsort64.c: Likewise.
30402         * dirent/scandir64.c: Likewise.
30403         * dirent/scandirat64.c: Likewise.
30404         * sysdeps/wordsize-64/alphasort.c: File removed.
30405         * sysdeps/wordsize-64/alphasort64.c: File removed.
30406         * sysdeps/wordsize-64/scandir.c: File removed.
30407         * sysdeps/wordsize-64/scandir64.c: File removed.
30408         * sysdeps/wordsize-64/scandirat.c: File removed.
30409         * sysdeps/wordsize-64/scandirat64.c: File removed.
30410         * sysdeps/wordsize-64/versionsort.c: File removed.
30411         * sysdeps/wordsize-64/versionsort64.c: File removed.
30412         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30413         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30414         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30415         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30416         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30417         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30418         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30419         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30420
30421         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30423         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30425         [defined __arch64__ || defined __sparcv9]
30426         (__INO_T_MATCHES_INO64_T): New macro.
30427         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30428         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30429         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30430         * sysdeps/unix/sysv/linux/bits/dirent.h
30431         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30432         (_DIRENT_MATCHES_DIRENT64): New macro.
30433
30434         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30435         Define lockf64 as an alias.
30436         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30437         Define fseeko64 as an alias.
30438         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30439         Define ftello64 as an alias.
30440         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30441         Define _IO_fgetpos64 and fgetpos64 as aliases.
30442         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30443         Define _IO_fsetpos64 and fsetpos64 as aliases.
30444         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30445         Conditionalize body on this.
30446         * libio/fseeko64.c: Likewise.
30447         * libio/ftello64.c: Likewise.
30448         * libio/iofgetpos64.c: Likewise.
30449         * libio/iofsetpos64.c: Likewise.
30450         * sysdeps/wordsize-64/lockf.c: File removed.
30451         * sysdeps/wordsize-64/lockf64.c: File removed.
30452         * sysdeps/wordsize-64/fseeko.c: File removed.
30453         * sysdeps/wordsize-64/fseeko64.c: File removed.
30454         * sysdeps/wordsize-64/ftello.c: File removed.
30455         * sysdeps/wordsize-64/ftello64.c: File removed.
30456         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30457         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30458         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30459         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30460         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30461         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30462         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30463         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30464         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30465         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30466         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30467         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30468         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30469         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30470
30471         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30472         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30473         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30474         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30475         [defined __arch64__ || defined __sparcv9]
30476         (__OFF_T_MATCHES_OFF64_T): New macro.
30477         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30478         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30480         (__OFF_T_MATCHES_OFF64_T): New macro.
30481
30482 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30483
30484         * stdlib/secure-getenv.c (__secure_getenv): Replace
30485         GLIBC_2_16 with GLIBC_2_17.
30486
30487 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30488
30489         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30490         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30491
30492 2012-08-03  David S. Miller  <davem@davemloft.net>
30493
30494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30495
30496 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30497
30498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30499         Remove.
30500         (__ASSUME_CORRECT_SI_PID): Likewise.
30501         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30502         (__ASSUME_TMPFS_NAME): Likewise.
30503         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30504         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30505         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30506         (HAVE_AUX_SECURE): Make definition unconditional.
30507         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30508         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30509
30510 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30511
30512         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30513         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30514         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30515         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30516         __eloop_threshold instead of SYMLOOP_MAX.
30517
30518         * sysdeps/generic/eloop-threshold.h: New file.
30519         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30520         of MAXSYMLINKS.
30521         * elf/chroot_canon.c (chroot_canon): Likewise.
30522
30523 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30524
30525         [BZ #13717]
30526         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30527         Change to 2.6.0 everywhere.
30528         * sysdeps/unix/sysv/linux/configure: Regenerated.
30529         * sysdeps/unix/sysv/linux/kernel-features.h
30530         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30531         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30532         kernel versions.
30533         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30534         (__ASSUME_FUTEX_REQUEUE): Remove.
30535         (__ASSUME_STATFS64): Define unconditionally.
30536         (__ASSUME_AT_SECURE): Likewise.
30537         (__ASSUME_CORRECT_SI_PID): Likewise.
30538         (__ASSUME_TGKILL): Define without depending on kernel version for
30539         i386.
30540         (__ASSUME_UTIMES): Likewise.
30541         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30542         kernel version.
30543         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30544         (__ASSUME_TMPFS_NAME): Likewise.
30545         * README: Update reference to Linux kernel versions.
30546
30547 2012-08-02  Marek Polacek  <polacek@redhat.com>
30548
30549         [BZ# 14150]
30550         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30551         libc_cv_asm_type_prefix with %.
30552         * configure: Regenerated.
30553         * include/libc-symbols.h: Remove comment about
30554         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30555         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30556         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30557         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30558         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30559         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30560         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30561         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30562         * elf/tst-unique2mod1.c: Likewise.
30563         * elf/tst-unique1mod2.c: Likewise.
30564         * elf/tst-unique1mod1.c: Likewise.
30565         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30566         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30567         Replace ASM_TYPE_DIRECTIVE with .type.
30568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30569         * sysdeps/i386/sysdep.h: Likewise.
30570         * sysdeps/x86_64/sysdep.h: Likewise.
30571         * sysdeps/sh/sysdep.h: Likewise.
30572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30573         Do not define ASM_TYPE_DIRECTIVE.
30574         * sysdeps/powerpc/sysdep.h: Likewise.
30575         * sysdeps/powerpc/powerpc32/sysdep.h:
30576         Replace ASM_TYPE_DIRECTIVE with .type.
30577         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30578         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30579         * sysdeps/i386/fpu/e_powf.S: Likewise.
30580         * sysdeps/i386/fpu/e_expl.S: Likewise.
30581         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30582         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30583         * sysdeps/i386/fpu/e_pow.S: Likewise.
30584         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30585         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30586         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30587         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30588         * sysdeps/i386/fpu/e_log2.S: Likewise.
30589         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30590         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30591         * sysdeps/i386/fpu/e_powl.S: Likewise.
30592         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30593         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30594         * sysdeps/i386/fpu/e_logl.S: Likewise.
30595         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30596         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30597         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30598         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30599         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30600         * sysdeps/i386/fpu/e_log.S: Likewise.
30601         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30602         * sysdeps/i386/fpu/e_logf.S: Likewise.
30603         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30604         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30605         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30606         * sysdeps/i386/fpu/e_log10.S: Likewise.
30607         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30608         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30609         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30610         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30611         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30612         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30613         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30614         * sysdeps/i386/i686/strtok.S: Likewise.
30615         * sysdeps/i386/i386-mcount.S: Likewise.
30616         * sysdeps/i386/strtok.S: Likewise.
30617         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30618         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30619         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30620         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30621         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30622         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30623         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30624         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30625         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30626         * sysdeps/x86_64/_mcount.S: Likewise.
30627         * sysdeps/x86_64/strtok.S: Likewise.
30628         * sysdeps/sh/_mcount.S: Likewise.
30629
30630 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30631
30632         * libio/iofopen.c: Include <fcntl.h>.
30633         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30634         (_IO_fopen64, fopen64): Define as aliases.
30635         * libio/iofopen64.c: Include <fcntl.h>.
30636         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30637         Conditionalize body on this.
30638         * sysdeps/wordsize-64/iofopen.c: File removed.
30639         * sysdeps/wordsize-64/iofopen64.c: File removed.
30640
30641 2012-08-01  Marek Polacek  <polacek@redhat.com>
30642
30643         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30644         Use dlfcn directly instead of a variable.
30645         (binfmt-subdir): Do not define.
30646         (dlfcn): Likewise.
30647
30648 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30649
30650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30651         Remove all definitions.
30652         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30653         <kernel-features.h>.
30654         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30655         (miss_F_GETOWN_EX): Remove all definitions.
30656         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30657         macro definition.
30658         [!__ASSUME_FCNTL64]: Remove conditional code.
30659         [__ASSUME_FCNTL64]: Make code unconditional.
30660         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30661         <kernel-features.h>.
30662         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30663         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30664         (lockf64) [__NR_fcntl64]: Make code unconditional.
30665         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30666
30667         * sysdeps/unix/sysv/linux/kernel-features.h
30668         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30669         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30670         Make code unconditional.
30671         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30672         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30674         [__NR_vfork]: Make code unconditional.
30675         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30676         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30678         [__NR_vfork]: Make code unconditional.
30679         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30680         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30681
30682 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30683
30684         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30685         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30686
30687         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30688         Define mkstemp64 as an alias.
30689         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30690         Define mkstemps64 as an alias.
30691         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30692         Define mkostemp64 as an alias.
30693         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30694         Define mkostemps64 as an alias.
30695         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30696         Conditionalize body on this.
30697         * misc/mkostemp64.c: Likewise.
30698         * misc/mkostemps64.c: Likewise.
30699         * misc/mkstemps64.c: Likewise.
30700         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30701         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30702         * sysdeps/wordsize-64/mkostemp.c: File removed.
30703         * sysdeps/wordsize-64/mkstemp.c: File removed.
30704         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30705         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30706         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30707         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30708
30709         [BZ #14138]
30710         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30711         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30712         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30713         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30714
30715         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30716         compat_symbol macros from <shlib-compat.h> rather than the underlying
30717         default_symbol_version and symbol_version macros, so that DEFAULT
30718         lines in shlib-versions are respected.
30719         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30720
30721 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30722
30723         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30724         Declare with warn_unused_result.
30725         (setgid, setregid, setegid, setresgid): Likewise.
30726         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30727         Likewise.
30728         * WUR-REPORT: Remove set*id functions.
30729
30730 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30731
30732         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30733
30734 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30735
30736         [BZ #10191]
30737         * include/sys/socket.h (__libc_accept, __libc_accept4):
30738         Add attribute_hidden.
30739         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30740
30741         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30742         use of PTR_MANGLE.
30743         * inet/getnetgrent_r.c (setup): Likewise.
30744
30745         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30746
30747 2012-07-31  David S. Miller  <davem@davemloft.net>
30748
30749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30750
30751 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30752
30753         [BZ #13629]
30754         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30755         value between 1.0 and 2.0 and smaller part has absolute value less
30756         than 1.0.
30757         * math/s_clog10.c (__clog10): Likewise.
30758         * math/s_clog10f.c (__clog10f): Likewise.
30759         * math/s_clog10l.c (__clog10l): Likewise.
30760         * math/s_clogf.c (__clogf): Likewise.
30761         * math/s_clogl.c (__clogl): Likewise.
30762         * math/libm-test.inc (clog_test): Add more tests.
30763         (clog10_test): Likewise.
30764         * sysdeps/i386/fpu/libm-test-ulps: Update.
30765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30766
30767 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30768
30769         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30770         Exit with zero in case no suitable GID is found, and write a
30771         message to standard error.
30772
30773 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30774
30775         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30776         rather than to 1.
30777         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30778         (MAXPATHLEN): Removed.
30779         (NOGROUP, NODEV): New macros.
30780         (setbit, clrbit, isset, isclr): New macros.
30781         (howmany, roundup, powerof2): New macros.
30782         (DEV_BSIZE): New macro.
30783
30784         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30785         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30786
30787         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30788         definition on [!__NO_LONG_DOUBLE_MATH].
30789
30790         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30791         PTR_MANGLE and PTR_DEMANGLE.
30792
30793         * socket/accept4.c (accept4): Rename to __libc_accept4.
30794         Define accept4 as a weak alias.
30795
30796         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30797         on [_DIRENT_HAVE_D_TYPE].
30798         * io/ftw.c (ftw_dir): Likewise.
30799
30800         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30801
30802         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30803
30804         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30805         Use the BSD numbers rather than the arbitrary ones we had.
30806         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30807         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30808         (SIGXCPU, SIGXFSZ): New macros.
30809         (_NSIG): Now 32.
30810
30811         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30812         initializer on [_LIBC_REENTRANT].
30813
30814         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30815         definitions inside [_POSIX_MAPPED_FILES].
30816
30817         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30818
30819         * dirent/opendir.c: Include <fcntl.h>.
30820
30821         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30822         (__libc_getspecific): Likewise.
30823         (__libc_key_create): Likewise.
30824
30825         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30826         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30827         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30828         (tmpfile64): Define as alias.
30829         * sysdeps/wordsize-64/tmpfile.c: File removed.
30830         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30831         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30832         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30833
30834         * stdio-common/vfscanf.c: Include <stdbool.h>.
30835         * nss/makedb.c: Likewise.
30836         * stdio-common/_i18n_number.h: Likewise.
30837         * argp/argp-help.c: Likewise.
30838         * posix/wordexp.c: Likewise.
30839         * sysdeps/posix/spawni.c: Likewise.
30840         * nss/nss_files/files-initgroups.c: Likewise.
30841         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30842         * nss/nss_files/files-initgroups.c: Likewise.
30843         * nss/nss_db/db-netgrp.c: Likewise.
30844         * nss/nss_db/db-initgroups.c: Likewise.
30845         * io/fchmodat.c: Include <sys/stat.h>.
30846
30847         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30848         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30849
30850         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30851         [HAVE_MMAP].
30852
30853         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30854         Add multiple inclusion protection.
30855
30856 2012-07-27  David S. Miller  <davem@davemloft.net>
30857
30858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30859
30860 2012-07-27  Gary Benson  <gbenson@redhat.com>
30861
30862         [BZ #14298]
30863         * elf/rtld.c: Include <stap-probe.h>.
30864         (dl_main): Added static probes "init_start" and "init_complete".
30865         * elf/dl-load.c: Include <stap-probe.h>.
30866         (lose): Take new parameter "nsid".
30867         Added static probe "map_failed".
30868         (_dl_map_object_from_fd): Pass namespace id to lose.
30869         Added static probe "map_start".
30870         (open_verify): Pass namespace id to lose.
30871         * elf/dl-open.c: Include <stap-probe.h>.
30872         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30873         and "reloc_complete".
30874         * elf/dl-close.c: Include <stap-probe.h>.
30875         (_dl_close_worker): Added static probes "unmap_start" and
30876         "unmap_complete".
30877         * elf/rtld-debugger-interface.txt: New file documenting the above.
30878
30879 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30880
30881         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30882         rather than a string variable.
30883         * sunrpc/rpc_main.c (h_output): Likewise.
30884         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30885
30886 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30887
30888         * inet/check_native.c: New file.
30889
30890 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30891
30892         [BZ #13629]
30893         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30894         if larger part has absolute value 1.0.
30895         * math/s_clog10.c (__clog10): Likewise.
30896         * math/s_clog10f.c (__clog10f): Likewise.
30897         * math/s_clog10l.c (__clog10l): Likewise.
30898         * math/s_clogf.c (__clogf): Likewise.
30899         * math/s_clogl.c (__clogl): Likewise.
30900         * math/libm-test.inc (clog_test): Add more tests.
30901         (clog10_test): Likewise.
30902         * sysdeps/i386/fpu/libm-test-ulps: Update.
30903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30904
30905         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30906         (pltexit): Likewise.
30907         (La_regs): Likewise.
30908         (La_retval): Likewise.
30909         (int_retval): Likewise.
30910         Update #error for removed macros to refer only to definitions in
30911         tst-audit.h.
30912         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30913         macro.
30914         (pltexit): Likewise.
30915         (La_regs): Likewise.
30916         (La_retval): Likewise.
30917         (int_retval): Likewise.
30918         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30919         macro.
30920         (pltexit): Likewise.
30921         (La_regs): Likewise.
30922         (La_retval): Likewise.
30923         (int_retval): Likewise.
30924         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30925         macro.
30926         (pltexit): Likewise.
30927         (La_regs): Likewise.
30928         (La_retval): Likewise.
30929         (int_retval): Likewise.
30930         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30931         macro.
30932         (pltexit): Likewise.
30933         (La_regs): Likewise.
30934         (La_retval): Likewise.
30935         (int_retval): Likewise.
30936         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30937         macro.
30938         (pltexit): Likewise.
30939         (La_regs): Likewise.
30940         (La_retval): Likewise.
30941         (int_retval): Likewise.
30942         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30943         macro.
30944         (pltexit): Likewise.
30945         (La_regs): Likewise.
30946         (La_retval): Likewise.
30947         (int_retval): Likewise.
30948         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30949         macro definitions in tst-audit.h.
30950         * sysdeps/i386/tst-audit.h: New file.
30951         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30952         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30953         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30954         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30955         * sysdeps/sh/tst-audit.h: Likewise.
30956         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30957         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30958         * sysdeps/x86_64/tst-audit.h: Likewise.
30959
30960 2012-07-26  Andreas Jaeger  <aj@suse.de>
30961
30962         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30963         ptrace.
30964
30965         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30966         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30967         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30968         PTRACE_O_MASK.
30969         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30970         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30971         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30972
30973         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30974         value.
30975
30976         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30977         _sigsys.
30978         (si_call_addr, si_syscall, si_arch): Define new macro.
30979         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30980         _sigsys.
30981         (si_call_addr, si_syscall, si_arch): Define new marcro.
30982         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30983         _sigsys.
30984         (si_call_addr, si_syscall, si_arch): Define new macro.
30985         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30986         _sigsys.
30987         (si_call_addr, si_syscall, si_arch): Define new macro.
30988
30989 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30990
30991         [BZ #13717]
30992         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30993         Change to 2.4.21 where previously 2.4.1.
30994         * sysdeps/unix/sysv/linux/configure: Regenerated.
30995         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30996         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30997         Linux kernel version.
30998         (__ASSUME_STD_AUXV): Remove.
30999         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31000         kernel version.
31001         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31002         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31003         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31004         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31005         (__ASSUME_NETLINK_SUPPORT): Likewise.
31006         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31007         (__no_netlink_support): Remove conditional definition.
31008         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31009         Remove.
31010         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31011         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31012         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31013         (if_nameindex_ioctl): Remove.
31014         (if_nameindex_netlink): Do not handle __no_netlink_support.
31015         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31016         code.
31017         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31018         Remove conditional code.
31019         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31020         code.
31021         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31022         unconditional.
31023         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31024         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31025         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31026         Remove.
31027         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31028         [!__ASSUME_STD_AUXV]: Remove conditional code.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31030         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31031         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31033         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31034         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31035         code.
31036         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31038         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31039         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31040         conditional code.
31041         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31043         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31044         code.
31045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31046         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31047         conditional code.
31048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31049         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31050         code unconditional.
31051         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31052         conditional code.
31053         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31054         unconditional.
31055         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31056         conditional code.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31058         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31059         unconditional.
31060         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31061         conditional code.
31062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31063         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31064         code unconditional.
31065         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31066         conditional code.
31067         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31068         unconditional.
31069         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31070         conditional code.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31072         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31073         code unconditional.
31074         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31075         conditional code.
31076         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31077         unconditional.
31078         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31079         conditional code.
31080
31081 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31082
31083         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31084         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31085         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31086         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31087         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31088         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31089         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31090         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31091         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31092         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31093         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31094         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31095         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31096         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31097         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31098         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31099         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31100         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31101         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31103         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31104         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31106
31107 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31108
31109         * Versions.def: Add GLIBC_2.17.
31110         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31111         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31112         Introduce __libc_secure_getenv.
31113         * stdlib/Versions (2.17): Add secure_getenv
31114         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31115         * stdlib/secure-getenv.c: Rename __secure_getenv to
31116         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31117         symbol __secure_getenv for GLIBC_2.0.
31118         * stdlib/tst-secure-getenv.c: New.
31119         * stdlib/Makefile (tests): Add testcase.
31120         * manual/startup.texi (Environment Access): Document
31121         secure_getenv.
31122         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31123         __libc_secure_getenv.
31124         * inet/ruserpass.c (ruserpass): Likewise.
31125         * malloc/mtrace.c (mtrace): Likewise.
31126         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31127         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31128         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31129         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31130         HAVE_SECURE_GETENV.
31131         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31132         __secure_getenv to __libc_secure_getenv.
31133         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31135         Likewise.
31136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31137         Likewise.
31138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31145
31146 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31147
31148         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31149         (struct La_i86_retval): Likewise.
31150         (struct La_x86_64_regs): Likewise.
31151         (struct La_x86_64_retval): Likewise.
31152         (struct La_x32_regs): Likewise.
31153         (struct La_x32_retval): Likewise.
31154         (struct La_ppc32_regs): Likewise.
31155         (struct La_ppc32_retval): Likewise.
31156         (struct La_ppc64_regs): Likewise.
31157         (struct La_ppc64_retval): Likewise.
31158         (struct La_sh_regs): Likewise.
31159         (struct La_sh_retval): Likewise.
31160         (struct La_s390_32_regs): Likewise.
31161         (struct La_s390_32_retval): Likewise.
31162         (struct La_s390_64_regs): Likewise.
31163         (struct La_s390_64_retval): Likewise.
31164         (struct La_sparc32_regs): Likewise.
31165         (struct La_sparc32_retval): Likewise.
31166         (struct La_sparc64_regs): Likewise.
31167         (struct La_sparc64_retval): Likewise.
31168         (struct audit_ifaces): Remove architecture-specific pltenter and
31169         pltexit members.
31170         * sysdeps/i386/ldsodefs.h: New file.
31171         * sysdeps/powerpc/ldsodefs.h: Likewise.
31172         * sysdeps/s390/ldsodefs.h: Likewise.
31173         * sysdeps/sh/ldsodefs.h: Likewise.
31174         * sysdeps/sparc/ldsodefs.h: Likewise.
31175         * sysdeps/x86_64/ldsodefs.h: Likewise.
31176
31177 2012-07-25  Marek Polacek  <polacek@redhat.com>
31178
31179         [BZ #6808]
31180         * math/libm-test.inc (yn_test): Add another test.
31181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31182         to ERANGE when the result is +-Inf.
31183         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31184         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31185         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31186         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31187
31188 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31189
31190         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31191         equal to 0.
31192         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31193         clock_t.
31194         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31195
31196 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31197
31198         * configure.in <sysdeps resolving>: Correct printing
31199         Implies_before.
31200         * configure: Regenerate.
31201
31202 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31203
31204         * math/w_ilogb.c: Include <limits.h>.
31205         * math/w_ilogbl.c: Likewise.
31206
31207 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31208
31209         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31210         va_copy.  Document allowing for unavailable va_copy only as
31211         pre-C99 compatibility.
31212         * manual/string.texi (Copying and Concatenation): Use va_copy
31213         instead of __va_copy in concat example.
31214
31215 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31216
31217         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31218         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31219         it if not null.
31220
31221         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31222         with O_NOLINK passed to __file_name_lookup.
31223
31224         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31225         with O_NOLINK passed to __file_name_lookup.
31226
31227         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31228         negative N or less than NGIDS.
31229
31230         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31231         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31232         enough.  Use memcpy instead of strncpy.
31233
31234 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31235
31236         * elf/Makefile (check-data): Remove.
31237         (localplt.data): New vpath directive.
31238         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31239         instead of $(check-data).
31240         * scripts/data/localplt-generic.data: Move to ...
31241         * sysdeps/generic/localplt.data: ... here.
31242         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31243         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31244         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31246         ... here.
31247         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31249         ... here.
31250         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31252         ... here.
31253         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31255         ... here.
31256         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31258         ... here.
31259         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31261         ... here.
31262
31263 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31264
31265         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31266         PPC32 and PPC64 files.
31267         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31268         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31269
31270 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31271
31272         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31273         __makecontext_ret to ...
31274         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31275         ... here and call exit if uc_link is NULL.  New file.
31276         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31277         __makecontext_ret.S.
31278         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31279         __makecontext_ret to ...
31280         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31281         ... here and call exit if uc_link is NULL.  New file.
31282         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31283         __makecontext_ret.S.
31284
31285 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31286
31287         * elf/elf.h (R_390_IRELATIVE): New definition.
31288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31289         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31290         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31291         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31292         (elf_machine_lazy_rel): Likewise.
31293         * sysdeps/s390/dl-irel.h: New file.
31294         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31295         * sysdeps/s390/s390-64/memset.S: New asm code.
31296         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31297         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31298         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31299         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31300         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31301         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31302         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31303         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31304         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31305         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31306         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31307         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31308         * sysdeps/s390/s390-32/memset.S: New asm code.
31309         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31310
31311 2012-07-17  Marek Polacek  <polacek@redhat.com>
31312
31313         [BZ #14349]
31314         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31315         * sysdeps/s390/s390-64/configure.in: Likewise.
31316         * sysdeps/sparc/configure.in: Likewise.
31317         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31318         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31319         * sysdeps/i386/configure.in: Likewise.
31320         * sysdeps/x86_64/configure.in: Likewise.
31321         * sysdeps/sh/configure.in: Likewise.
31322         * sysdeps/s390/s390-32/configure: Regenerated.
31323         * sysdeps/s390/s390-64/configure: Likewise.
31324         * sysdeps/x86_64/configure: Likewise.
31325         * sysdeps/sh/configure: Likewise.
31326         * sysdeps/powerpc/powerpc64/configure: Likewise.
31327         * sysdeps/powerpc/powerpc32/configure: Likewise.
31328         * sysdeps/sparc/configure: Likwise.
31329         * sysdeps/i386/configure: Likewise.
31330
31331         * elf/dl-open.c: Comment fixes.
31332
31333 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31334
31335         * Makefile [CXX] (check-data): Remove.
31336         [CXX] (c++-types.data): New vpath directive.
31337         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31338         vpath.  Do not allow for C++ type data being missing.
31339         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31340         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31341         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31342         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31343         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31344         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31345         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31347         ... here.
31348         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31350         ... here.
31351         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31353         ... here.
31354         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31356         ... here.
31357         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31359         ... here.
31360         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31362         ... here.
31363         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31365         ... here.
31366         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31368
31369         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31370         definitions to architecture-specific files.
31371         (TLS_IE): Likewise.
31372         (TLS_LD): Likewise.
31373         (TLS_GD): Likewise.
31374         * sysdeps/i386/tls-macros.h: New file.
31375         * sysdeps/powerpc/tls-macros.h: Likewise.
31376         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31377         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31378         * sysdeps/sh/tls-macros.h: Likewise.
31379         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31380         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31381         * sysdeps/x86_64/tls-macros.h: Likewise.
31382
31383 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31384
31385         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31386         zero value for regular exit case.
31387
31388         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31389         (__start_context): Preserve zero value for regular exit case.
31390
31391 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31392             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31393
31394         * manual/setjmp.texi (setcontext): Clarify normal process
31395         termination when uc_link is the null pointer.
31396         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31397         exit call.
31398
31399 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31400
31401         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31402         preprocessor.  Test for each exception mask separately.
31403
31404 2012-07-16  Andreas Jaeger  <aj@suse.de>
31405
31406         * po/ru.po: Update from translation team.
31407
31408 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31409
31410         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31411         equal to 0.
31412         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31413         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31414         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31415         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31416         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31417
31418 2012-07-13  Andreas Jaeger  <aj@suse.de>
31419
31420         * po/fr.po: Update from translation team.
31421
31422 2012-07-12  Marek Polacek  <polacek@redhat.com>
31423
31424         [BZ #14173]
31425         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31426         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31427         loop condition.
31428
31429 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31430
31431         [BZ #13717]
31432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31433         Change to 2.4.1 where previously 2.4.0.
31434         * sysdeps/unix/sysv/linux/configure: Regenerated.
31435         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31436         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31437         version.
31438         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31439         (__ASSUME_AT_CLKTCK): Remove.
31440         (__ASSUME_AT_PAGESIZE): Likewise.
31441         (__ASSUME_AT_XID): Likewise.
31442         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31443         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31444         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31445         unconditionally.
31446         (HAVE_AUX_PAGESIZE): Likewise.
31447         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31448         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31449         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31450
31451 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31452
31453         [BZ #14307]
31454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31455         the temporary buffer used to invoke __gethostbyname2_r,
31456         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31457         host_data / struct gaih_addrtuple.
31458         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31459         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31460         header file nss/nsswitch.h.
31461         * nss/nsswitch.h (global scope): Add definition of implementation
31462         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31463         resolv/nss_dns/dns-host.c).
31464
31465 2012-07-11  Andreas Jaeger  <aj@suse.de>
31466
31467         * po/fr.po: Update from translation team.
31468
31469         * po/sv.po: Update from translation team
31470         * po/fr.po: Another update from translation team.
31471
31472 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31473
31474         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31475         for subnormals or multiply small sinh result by itself.
31476         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31478
31479 2012-07-11  David S. Miller  <davem@davemloft.net>
31480
31481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31482
31483 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31484
31485         [BZ #14347]
31486         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31487         (INTERNAL_MARK): Shift it here.
31488
31489 2012-07-10  Marek Polacek  <polacek@redhat.com>
31490
31491         [BZ #14151]
31492         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31493         libc_cv_asm_global_directive with .globl.
31494         * configure: Regenerated.
31495         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31496         with .globl.
31497         * sysdeps/i386/configure: Regenerated.
31498         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31499         with .globl.
31500         * sysdeps/x86_64/configure: Regenerated.
31501         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31502         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31503         * elf/tst-unique2mod2.c: Likewise.
31504         * elf/tst-unique2mod1.c: Likewise.
31505         * elf/tst-unique1mod2.c: Likewise.
31506         * elf/tst-unique1mod1.c: Likewise.
31507         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31508         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31509         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31510         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31511         * sysdeps/mach/sysdep.h: Likewise.
31512         * sysdeps/i386/sysdep.h: Likewise.
31513         * sysdeps/i386/i386-mcount.S: Likewise.
31514         * sysdeps/x86_64/_mcount.S: Likewise.
31515         * sysdeps/x86_64/sysdep.h: Likewise.
31516         * sysdeps/sh/_mcount.S: Likewise.
31517         * sysdeps/sh/sysdep.h: Likewise.
31518         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31519         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31520         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31521         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31522         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31523         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31524         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31525         * locale/localeinfo.h: Likewise.
31526         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31527         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31528
31529 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31530
31531         [BZ #14336]
31532         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31533         system".
31534         * manual/message.texi (The Uniforum approach): Likewise.
31535         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31536         (glibc iconv Implementation): Likewise.
31537
31538 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31539
31540         [BZ #14337]
31541         * math/s_clog.c (__clog): Avoid scaling a value down where that
31542         could result in underflow.
31543         * math/s_clog10.c (__clog10): Likewise.
31544         * math/s_clog10f.c (__clog10f): Likewise.
31545         * math/s_clog10l.c (__clog10l): Likewise.
31546         * math/s_clogf.c (__clogf): Likewise.
31547         * math/s_clogl.c (__clogl): Likewise.
31548         * math/libm-test.inc (clog_test): Add more tests.
31549         (clog10_test): Likewise.
31550         * sysdeps/i386/fpu/libm-test-ulps: Update.
31551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31552
31553 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31554
31555         [BZ #14283]
31556         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31557         by 7 not 8 to examine high bit of fractional part.
31558
31559         [BZ #14042]
31560         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31561         for call to __mcount_internal.
31562         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31563         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31564         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31565
31566 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31567
31568         [BZ #14154]
31569         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31570         approximation for values within 0x1p-13f of an odd multiple of
31571         pi/4.
31572         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31573         exception.  Add more tests.
31574         * sysdeps/i386/fpu/libm-test-ulps: Update.
31575
31576         [BZ #6778]
31577         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31578         inputs and return -1 for them.  Do not check for +Inf in case not
31579         reachable for +Inf.
31580         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31581         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31582         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31583         and return -1 for them.  Do not check for +Inf in case not
31584         reachable for +Inf.
31585         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31586         define.
31587         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31588         and return -1 for them.  Do not check for +Inf in case not
31589         reachable for +Inf.
31590         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31591         spurious underflow.
31592         * sysdeps/i386/fpu/libm-test-ulps: Update.
31593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31594
31595 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31596
31597         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31598
31599 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31600
31601         [BZ #14157]
31602         [BZ #14331]
31603         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31604         could result in spurious underflow.  Scale down values above
31605         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31606         * math/s_csqrtf.c (__csqrtf): Likewise.
31607         * math/s_csqrtl.c (__csqrtl): Likewise.
31608         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31609         spurious underflow.
31610         * sysdeps/i386/fpu/libm-test-ulps: Update.
31611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31612
31613 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31614
31615         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31616         xopen-msg.sed.
31617         * catgets/xopen-msg.awk: New file.
31618         * catgets/xopen-msg.sed: Removed.
31619
31620         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31621         po2text.sed.
31622         * intl/po2test.awk: New file.
31623         * intl/po2test.sed: Removed.
31624
31625 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31626
31627         [BZ #14328]
31628         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31629         or multiply small sinh result by itself.
31630         * math/s_ctanf.c (__ctanf): Likewise.
31631         * math/s_ctanh.c (__ctanh): Likewise.
31632         * math/s_ctanhf.c (__ctanhf): Likewise.
31633         * math/s_ctanhl.c (__ctanhl): Likewise.
31634         * math/s_ctanl.c (__ctanl): Likewise.
31635         * math/libm-test.inc (ctan_test_tonearest): New function.
31636         (ctan_test_towardzero): Likewise.
31637         (ctan_test_downward): Likewise.
31638         (ctan_test_upward): Likewise.
31639         (ctanh_test_tonearest): Likewise.
31640         (ctanh_test_towardzero): Likewise.
31641         (ctanh_test_downward): Likewise.
31642         (ctanh_test_upward): Likewise.
31643         (main): Call these new functions.
31644         * sysdeps/i386/fpu/libm-test-ulps: Update.
31645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31646
31647 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31648
31649         * .gitignore: Delete /ports entry.
31650
31651 2012-07-03  Andreas Jaeger  <aj@suse.de>
31652
31653         * po/bg.po: Update from translation team.
31654         * po/cs.po: Likewise.
31655         * po/de.po: Likewise.
31656         * po/hr.po: Likewise.
31657         * po/nl.pl: Likewise.
31658         * po/pl.po: Likewise.
31659         * po/vi.po: Likewise.
31660
31661 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31662
31663         * Makeconfig [!+link] (+link-before-libc): New variable.
31664         [!+link] (+link-after-libc): Likewise.
31665         [!+link] (+link-tests): Likewise.
31666         [!+link] (+link): Define in terms of $(+link-before-libc) and
31667         $(+link-after-libc).
31668         [!+link-static] (+link-static-before-libc): New variable.
31669         [!+link-static] (+link-static-after-libc): Likewise.
31670         [!+link-static] (+link-static-tests): Likewise.
31671         [!+link-static] (+link-static): Define in terms of
31672         $(+link-static-before-libc) and $(+link-static-after-libc).
31673         [build-shared] (link-libc-before-gnulib): New variable.
31674         [build-shared] (link-libc-tests): Likewise.
31675         [build-shared] (link-libc): Define in terms of
31676         $(link-libc-before-gnulib).
31677         [!build-shared] (link-libc-tests): New variable.
31678         (link-libc-static-tests): New variable.
31679         [!gnulib] (gnulib-arch): New variable.
31680         [!gnulib] (gnulib-tests): Likewise.
31681         [!gnulib] (static-gnulib-arch): Likewise.
31682         [!gnulib] (static-gnulib-tests): Likewise.
31683         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31684         Define with "=" instead of ":=".
31685         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31686         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31687         * Rules (binaries-all-notests): New variable.
31688         (binaries-all-tests): Likewise.
31689         (binaries-static-notests): Likewise.
31690         (binaries-static-tests): Likewise.
31691         (binaries-all): Define using $(binaries-all-notests) and
31692         $(binaries-all-tests).
31693         (binaries-static): Define using $(binaries-static-notests) and
31694         $(binaries-static-tests).
31695         (binaries-shared-tests): New variable.
31696         (binaries-shared-notests): Likewise.
31697         (binaries-shared): Remove variable.
31698         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31699         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31700         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31701         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31702         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31703         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31704         * elf/Makefile (sln-modules): New variable.
31705         (extra-objs): Add $(sln-modules:=.o).
31706         (ldconfig-modules): Add static-stubs.
31707         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31708         * elf/static-stubs.c: New file.
31709
31710         [BZ #14283]
31711         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31712         by 7 not 8 to examine high bit of fractional part.  Use volatile
31713         variables when splitting into final array of floats if
31714         __FLT_EVAL_METHOD__ != 0.
31715         * math/libm-test.inc (cos_test): Add another test.
31716         (sin_test): Likewise.
31717         * sysdeps/i386/fpu/libm-test-ulps: Update.
31718
31719         [BZ #14273]
31720         * math/libm-test.inc (cosh_test): Add more tests.
31721
31722         * version.h (RELEASE): Set to "development".
31723         (VERSION): Set to "2.16.90".
31724
31725 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31726
31727         * NEWS: Update copyright. Remove last-updated date.
31728         Mention math library bug fixes and timezone data changes.
31729         * README: Mention GNU/Hurd, x32, and HPPA support status.
31730
31731 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31732
31733         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31734
31735 2012-06-27  Andreas Jaeger  <aj@suse.de>
31736
31737         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31738
31739 2012-06-25  Andreas Jaeger  <aj@suse.de>
31740
31741         * sysdeps/s390/fpu/libm-test-ulps: Update.
31742
31743 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31744             Thomas Schwinge  <thomas@codesourcery.com>
31745
31746         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31747         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31749         fanotify_mark.
31750
31751 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31752
31753         * sysdeps/mach/start.c: Remove file.
31754         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31755         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31756         * sysdeps/sh/init-first.c: Likewise.
31757
31758         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31759         registers for frame unwinding purposes, add CFI directives.
31760         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31761         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31762         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31763         Likewise.
31764
31765         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31766         __fortify_fail returning.
31767         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31768
31769         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31770         sysdeps/sh/____longjmp_chk.S.
31771         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31772         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31773         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31774         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31775
31776         * sysdeps/sh/abort-instr.h: New file.
31777         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31778         process in case exit returns.
31779
31780         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31781         initialize the GOT register before use.
31782
31783         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31784         calculation of ARGC > 4.
31785
31786         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31787         meaningful names to some local labels.
31788
31789 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31790             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31791
31792         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31793         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31794         (__arch_compare_and_exchange_val_16_acq): Likewise.
31795         (__arch_compare_and_exchange_val_32_acq): Likewise.
31796         (atomic_exchange_and_add): Fix gUSA sequence.
31797         (atomic_add): Likewise.
31798         (atomic_add_negative): Likewise.
31799         (atomic_add_zero): Likewise.
31800         (atomic_bit_test_set): Likewise.
31801
31802 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31803
31804         [BZ #13579]
31805         * include/link.h (struct link_map): Add l_free_initfini.
31806         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31807         l_initfini.
31808         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31809         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31810         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31811         set.
31812
31813 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31814
31815         * configure.in: Use AC_LANG_SOURCE.
31816         * configure: Regenerate.
31817
31818 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31819
31820         * configure.in (libc_cv_localstatedir): New substituted variable.
31821         * configure: Regenerated.
31822         * config.make.in (localstatedir): New variable, substituted from
31823         libc_cv_localstatedir.
31824         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31825         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31826         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31827         * sysdeps/gnu/configure: Regenerated.
31828
31829 2012-06-21  Jeff Law  <law@redhat.com>
31830
31831         [BZ #14277]
31832         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31833         free.  Simplify list management for _LIBC case.
31834
31835 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31836
31837         [BZ #14273]
31838         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31839         Clear sign bit of 64-bit integer value before comparing against
31840         overflow value.
31841
31842         * sysdeps/mach/configure: Regenerated.
31843
31844 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31845
31846         [BZ #14278]
31847         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31848
31849 2012-06-21  Jeff Law  <law@redhat.com>
31850
31851         [BZ #13882]
31852         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31853         uint16_t for elements in the "seen" array to avoid char overflows.
31854         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31855         * elf/dl-open.c (dl_open_worker): Likewise.
31856
31857 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31858
31859         * scripts/list-sources.sh: Scan PORTS for translations.
31860         * po/libc.pot: Regenerated.
31861
31862 2012-06-21  Andreas Jaeger  <aj@suse.de>
31863
31864         [BZ #12194]
31865         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31866         warning.
31867         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31868         * bits/byteswap-16.h (__bswap_16): Likewise.
31869         * bits/byteswap.h (__bswap_constant_16): Likewise.
31870
31871 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31872
31873         [BZ #14117]
31874         * sysdeps/i386/fpu_control.h: Removed.
31875         * sysdeps/x86_64/fpu_control.h: Moved to ...
31876         * sysdeps/x86/fpu_control.h: Here.
31877
31878         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31879         (_FPU_SETCW): Likewise.
31880
31881 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31882
31883         [BZ #14117]
31884         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31885         * sysdeps/x86/fpu/bits/mathinline.h: This.
31886         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31887
31888         [BZ #14050]
31889         [BZ #14117]
31890         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31891         functions if __x86_64__ is defined.
31892
31893 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31894
31895         * string/endian.h: Add !__ASSEMBLER__ condition for including
31896         conversion interfaces.
31897
31898 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31899
31900         [BZ #14241]
31901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31902         of ABS(x) in calculating zero to negative powers other than odd
31903         integers.
31904         * math/libm-test.inc (pow_test): Add more tests.
31905
31906 2012-06-15  Andreas Jaeger  <aj@suse.de>
31907
31908         * manual/contrib.texi (Contributors): Update entry of Liubov
31909         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31910         Machado Filho.
31911
31912 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31913
31914         * string/string.h: Add __wur to GNU version of strerror_r.
31915
31916 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31917
31918         [BZ #14229]
31919         * string/Makefile (tests): Add tst-strtok_r.
31920         * string/tst-strtok_r.c: New file.
31921         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31922         RAX_LP/RDX_LP on SAVE_PTR.
31923
31924 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31925
31926         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31927
31928 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31929
31930         * libm_test.inc (csqrt_test): Allow more spurious underflow
31931         exceptions.
31932         (j0_test): Likewise.
31933         (j1_test): Likewise.
31934         (y0_test): Likewise.
31935         (y1_test): Likewise.
31936
31937 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31938
31939         * po/Makefile (libc.pot): Use UTF-8 charset.
31940
31941 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31942
31943         [BZ #14210]
31944         Suppress sign-conversion warning from FD_SET.
31945         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31946         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31947         not unsigned long int.
31948         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31949
31950 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31951
31952         [BZ #14050]
31953         [BZ #14117]
31954         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31955         __extern_always_inline instead of __extern_inline.
31956         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31957         (__signbit): Likewise.
31958         (__signbitl): Support C++ namespace.
31959         (lrintf): New inline function.
31960         (lrint): Likewise.
31961         (llrintf): Likewise.
31962         (llrint): Likewise.
31963         (fmaxf): Likewise.
31964         (fmax): Likewise.
31965         (fminf): Likewise.
31966         (fmin): Likewise.
31967         (rint): Likewise.
31968         (rintf): Likewise.
31969         (ceil): Likewise.
31970         (ceilf): Likewise.
31971         (floor): Likewise.
31972         (floorf): Likewise.
31973         (nearbyint): Likewise.
31974         (nearbyintf): Likewise.
31975
31976 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31977
31978         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31979         non-default versions.
31980
31981 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31982
31983         [BZ #14218]
31984         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31985
31986 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31987
31988         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31989         (FE_UPWARD, FE_DOWNWARD): Don't define.
31990         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31991         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31992
31993         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31994         reading it.
31995         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31996         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31997
31998 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31999
32000         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32001         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32002         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32003         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32004
32005 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32006
32007         [BZ #14117]
32008         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32009         * sysdeps/i386/fpu/Implies: New file.
32010         * sysdeps/x86_64/fpu/Implies: Likewise.
32011         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32012         * sysdeps/x86/fpu/bits/fenv.h: This.
32013
32014         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32015         __SSE_MATH__.
32016
32017 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32018
32019         [BZ #14134]
32020         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32021         character 0xffff that matches the last element of the
32022         conversion table.
32023
32024 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32025
32026         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32027         fmodl commit.
32028
32029 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32030
32031         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32032         values higher than 25.6283.
32033
32034 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32035
32036         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32037         subnormal exponent extraction and add some __builtin_expect.
32038         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32039         Fix for subnormal mantissa calculation.
32040
32041 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32042
32043         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32044         cpu2 is -1 and errno is not ENOSYS.
32045
32046 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32047
32048         [BZ #14117]
32049         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32050         * sysdeps/x86/bits/string.h: This.
32051         * sysdeps/x86_64/bits/string.h: Removed.
32052
32053         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32054         if not compiling for x86-64, but compiling for >= i486.
32055
32056         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32057         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32058
32059         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32060         New macro from Linux kernel 3.4.0.
32061         (FP_XSTATE_MAGIC2): Likewise.
32062         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32063         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32064         (struct _fpx_sw_bytes): New struct.
32065         (struct _xsave_hdr): Likewise.
32066         (struct _ymmh_state): Likewise.
32067         (struct _xstate): Likewise.
32068
32069         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32070         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32071         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32072         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32073         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32074         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32075
32076         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32077         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32078         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32079         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32080         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32081         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32082
32083 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32084
32085         [BZ #13743]
32086         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32087         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32088         (sysdep_headers): Include sys/platform/ppc.h.
32089         * sysdeps/powerpc/test-gettimebase.c: Test for
32090         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32091         * manual/Makefile (appendices): Include platform.texi.
32092         * manual/contrib.texi (Contributors): Update @node pointers.
32093         * manual/maint.texi (Maintenance): Likewise.
32094         (Platform): New node.
32095         * manual/platform.texi: New file.  Document the new features.
32096
32097 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32098             Jakub Jelinek  <jakub@redhat.com>
32099
32100         [BZ #14188]
32101         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32102         where __builtin_expect is unavailable.
32103
32104 2012-06-03  David S. Miller  <davem@davemloft.net>
32105
32106         * stdlib/longlong.h: Updated from GCC.
32107
32108 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32109
32110         [BZ #14042]
32111         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32112         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32113         __mcount_internal.
32114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32115         (GLIBC_2.16): Likewise.
32116
32117 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32118
32119         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32120
32121 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32122
32123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32124         (default-abi): New variable.
32125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32126         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32127         variable.
32128         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32129         Likewise.
32130         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32131         Likewise.
32132         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32133         Likewise.
32134
32135         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32136         definition.  Document in comment.
32137
32138 2012-06-01  David S. Miller  <davem@davemloft.net>
32139
32140         * stdlib/longlong.h: Updated from GCC.
32141
32142 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32143
32144         [BZ #14117]
32145         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32146         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32147         sys/debugreg.h sys/io.h here.
32148         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32149         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32150         sys/io.h.
32151         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32152         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32153         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32154         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32155         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32156         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32157
32158         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32159         Define only if __x86_64__ is defined.
32160
32161 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32162
32163         [BZ #14048]
32164         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32165         Use int64_t for variable i.
32166         * math/libm-test.inc (fmod_test): Add more tests.
32167
32168         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32169         z computation is not scheduled after fetestexcept.
32170         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32171         Use math_force_eval instead of asm to ensure calculation scheduled
32172         before exception test.
32173         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32174         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32175
32176 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32177
32178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32179         computation is not scheduled after fetestexcept.
32180
32181 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32182
32183         [BZ #14117]
32184         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32185         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32186
32187 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32188
32189         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32190         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32191
32192 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32193
32194         [BZ #14117]
32195         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32196         <bits/wordsize.h>.
32197         (__WCHAR_MIN): Support __WORDSIZE == 64.
32198         (__WCHAR_MAX): Likewise.
32199
32200         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32201         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32202
32203         [BZ #14183]
32204         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32205         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32206
32207         [BZ #14117]
32208         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32209         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32210
32211         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32212         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32213
32214         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32215         Defined to 1 if __x86_64__ isn't defined.
32216         (_STAT_VER_LINUX_OLD): New.
32217         (st_atime): Remove duplicate.
32218         (st_mtime): Likewise.
32219         (st_ctime): Likewise.
32220
32221 2012-05-31  David S. Miller  <davem@davemloft.net>
32222
32223         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32224         entries.
32225
32226 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32227
32228         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32229         gen-libm-test.pl.
32230
32231         [BZ #14132]
32232         * elf/dl-reloc.c: Include <_itoa.h>.
32233         (_dl_reloc_bad_type): Remove use of INTUSE.
32234         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32235         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32236         * stdio-common/psiginfo.c (psiginfo): Likewise.
32237         * stdio-common/psignal.c (psignal): Likewise.
32238         * string/strsignal.c (strsignal): Likewise.
32239         * include/signal.h (_sys_siglist): Declare hidden proto.
32240         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32241         INTVARDEF with libc_hidden_data_def.
32242         * stdio-common/itoa-udigits.c: Likewise.
32243         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32244         (_itoa_lower_digits_internal): Remove declaration.
32245         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32246         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32247         (_sys_sigabbrev_internal): Remove aliases.
32248         (_sys_siglist): Define hidden alias.
32249
32250 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32251
32252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32253         bits/sysctl.h.
32254
32255 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32256
32257         [BZ #14117]
32258         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32259         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32260
32261         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32262         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32263         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32264         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32265         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32266         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32267
32268         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32269         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32270         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32271
32272         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32273         with __addr.
32274         (insw): Likewise.
32275         (insl): Likewise.
32276         (outsb): Likewise.
32277         (outsw): Likewise.
32278         (outsl): Likewise.
32279
32280         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32281         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32282         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32283
32284         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32285         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32286         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32287         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32288         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32289         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32290
32291         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32292         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32293
32294         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32295         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32296
32297         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32299         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32300
32301         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32302         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32303         to ...
32304         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32305
32306         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32307         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32308         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32309
32310         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32311         for x86-64.
32312         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32313
32314 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32315
32316         * math/math.h (M_El): Use two more decimal places.
32317         (M_LOG2El): Likewise.
32318         (M_LOG10El): Likewise.
32319         (M_LN2l): Likewise.
32320         (M_LN10l): Likewise.
32321         (M_PIl): Likewise.
32322         (M_PI_2l): Likewise.
32323         (M_PI_4l): Likewise.
32324         (M_1_PIl): Likewise.
32325         (M_2_PIl): Likewise.
32326         (M_2_SQRTPIl): Likewise.
32327         (M_SQRT2l): Likewise.
32328         (M_SQRT1_2l): Likewise.
32329
32330 2012-05-31  David S. Miller  <davem@davemloft.net>
32331
32332         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32333         values between float registers.
32334         * sysdeps/sparc/sparc64/memset.S: Likewise.
32335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32336
32337 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32338
32339         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32340         -D_FORTIFY_SOURCE=1.
32341         (CPPFLAGS-tst-longjmp_chk.c): Define.
32342         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32343         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32344         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32345         CFLAGS-tst-wchar-h.c.
32346
32347 2012-05-31  Marek Polacek  <polacek@redhat.com>
32348
32349         [BZ #14132]
32350         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32351         __endmntent_internal): Remove declaration.
32352         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32353         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32354         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32355
32356 2012-05-30  David S. Miller  <davem@davemloft.net>
32357
32358         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32359         (___Q_simulate_exceptions): Use real FP ops rather than writing
32360         into the %fsr.
32361         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32362         Likewise.
32363
32364 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32365
32366         [BZ #14117]
32367         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32368         * sysdeps/x86/bits/xtitypes.h: This.
32369
32370         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32371         * sysdeps/x86/bits/wordsize.h: This.
32372
32373         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32374         * sysdeps/x86/bits/huge_vall.h: This.
32375
32376         * sysdeps/i386/bits/select.h: Removed.
32377         * sysdeps/x86_64/bits/select.h: Renamed to ...
32378         * sysdeps/x86/bits/select.h: This.
32379
32380         * sysdeps/i386/bits/setjmp.h: Removed.
32381         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32382         * sysdeps/x86/bits/setjmp.h: This.
32383
32384         * sysdeps/i386/bits/mathdef.h: Removed.
32385         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32386         * sysdeps/x86/bits/mathdef.h: This.
32387
32388 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32389
32390         [BZ #14132]
32391         * include/sys/socket.h (__connect_internal)
32392         (__libc_sa_len_internal): Remove declaration.
32393         (__connect, __libc_sa_len): Declare hidden_proto.
32394         (SA_LEN): Remove use of INTUSE.
32395         * socket/connect.c: Add libc_hidden_def.
32396         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32397         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32398         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32399         alias.
32400         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32402         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32403         of adding _internal alias.
32404
32405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32406
32407         [BZ #14117]
32408         * sysdeps/i386/bits/link.h: Removed.
32409         * sysdeps/i386/bits/linkmap.h: Likewise.
32410         * sysdeps/x86_64/bits/link.h: Renamed to ...
32411         * sysdeps/x86/bits/link.h: This.
32412         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32413         * sysdeps/x86/bits/linkmap.h: This.
32414
32415         * sysdeps/i386/bits/endian.h: Removed.
32416         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32417         * sysdeps/x86/bits/endian.h: This.
32418
32419         * sysdeps/i386/bits/byteswap.h: Removed.
32420         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32421         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32422         * sysdeps/x86/bits/byteswap.h: This.
32423         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32424         * sysdeps/x86/bits/byteswap-16.h: This.
32425         * sysdeps/i386/Implies: Add x86.
32426         * sysdeps/x86_64/Implies: Likewise.
32427
32428 2012-05-30  David S. Miller  <davem@davemloft.net>
32429
32430         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32431         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32432         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32433         (FP_TRAPPING_EXCEPTIONS): Define.
32434         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32435         (FP_TRAPPING_EXCEPTIONS): Define.
32436         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32437         subnormals only when inexact has been signalled or underflow
32438         exceptions are enabled.
32439         (_FP_PACK_CANONICAL): Likewise.
32440
32441 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32442
32443         [BZ #14183]
32444         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32445         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32446
32447 2012-05-30  Richard Henderson  <rth@twiddle.net>
32448
32449         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32450         with #ifndef NOT_IN_libc.
32451
32452         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32453         marked to avoid plt entry.
32454
32455 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32456
32457         [BZ #14112]
32458         * Makeconfig (default-abi): New macro.
32459         (abi-includes): Likewise.
32460         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32461         $(abi-$(default-abi)-lib-soname) for soname if defined.
32462         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32463         abi-variants.
32464         * Makefile (installed-stubs): Likewise.
32465         * include/stubs-biarch.h: Removed.
32466         * scripts/lib-names.awk: Only handle one library at a time.
32467         * scripts/soversions.awk: Remove WORDSIZE support.
32468         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32469         entries.
32470         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32471         Removed.
32472         (syscall-list-default-condition): Likewise.
32473         (syscall-list-default-condition): Likewise.
32474         (syscall-list-includes): Likewise.
32475         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32476         syscall-list-* with abi-*.  Handle undefined abi-variants.
32477         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32478         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32479         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32480         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32481         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32482         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32483         Removed.
32484         (syscall-list-32-options): Likewise.
32485         (syscall-list-32-condition): Likewise.
32486         (syscall-list-64-options): Likewise.
32487         (syscall-list-64-condition): Likewise.
32488         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32489         macro.
32490         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32491         Renamed to ...
32492         (abi-*): This.
32493         (abi-64-ld-soname): New macro.
32494         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32495         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32496         Renamed to ...
32497         (abi-*): This.
32498         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32499         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32500
32501 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32502
32503         * sysdeps/unix/sysv/linux/kernel-features.h
32504         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32505         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32506         include <kernel-features.h>.
32507         [!__NR_ftruncate64]: Remove conditional code.
32508         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32509         [__NR_ftruncate64]: Make code unconditional.
32510         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32511         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32512         include <kernel-features.h>.
32513         [!__NR_ftruncate64]: Remove conditional code.
32514         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32515         [__NR_ftruncate64]: Make code unconditional.
32516         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32518         include <kernel-features.h>.
32519         [!__NR_ftruncate64]: Remove conditional code.
32520         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32521         [__NR_ftruncate64]: Make code unconditional.
32522         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32524         include <kernel-features.h>.
32525         [!__NR_ftruncate64]: Remove conditional code.
32526         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32527         [__NR_ftruncate64]: Make code unconditional.
32528         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32529
32530         * configure.in (libc_cv_fpie): Weaken to a compile test using
32531         LIBC_TRY_CC_OPTION.
32532         * configure: Regenerated.
32533
32534 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32535
32536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32540         Refreshed.
32541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32547         Refreshed.
32548
32549 2012-05-27  David S. Miller  <davem@davemloft.net>
32550
32551         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32552         (___Q_zero): New.
32553         (__Q_simulate_exceptions): Return void.  Change to simulate
32554         exceptions by writing into the %fsr.
32555         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32556         (__Qp_handle_exceptions): Likewise.
32557         (numbers): Delete.
32558         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32559         __Qp_handle_exceptions.
32560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32561         __Qp_handle_exceptions.
32562         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32563         as unused and give dummy FP_RND_NEAREST initializer.
32564         (FP_INHIBIT_RESULTS): Define.
32565         (___Q_simulate_exceptions): Update declaration.
32566         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32567         formatting.
32568         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32569         as unused and give dummy FP_RND_NEAREST initializer.
32570         (__Qp_handle_exceptions): Update declaration.
32571         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32572         formatting.
32573
32574 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32575
32576         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32577         the temporary FPU control word.
32578         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32579         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32580         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32581         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32582         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32583         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32584         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32585         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32586         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32587         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32588         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32589
32590 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32591
32592         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32593         fields.
32594
32595 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32596
32597         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32598         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32601         Likewise.
32602         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32603         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32604         Likewise.
32605
32606 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32607
32608         * po/h.po: Update from translation team.
32609
32610 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32611
32612         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32613
32614         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32615         handling of denormals.
32616         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32617         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32618         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32619         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32622         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32623         Likewise.
32624
32625 2012-05-26  Marek Polacek  <polacek@redhat.com>
32626
32627         [BZ #14152]
32628         * math/libm-test.inc (fma_test): Don't always expect underflow
32629         exception.
32630
32631 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32632
32633         [BZ #12416]
32634         * elf/tst-execstack.c: Include stackinfo.h.
32635         (do_test): Adjust test case to ensure that pthread_getattr_np
32636         behaviour remains the same after marking stack executable.
32637
32638 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32639
32640         * sysdeps/unix/sysv/linux/kernel-features.h
32641         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32642         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32643         kernel-features.h.
32644         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32645         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32646         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32647         kernel-features.h.
32648         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32649         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32650
32651 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32652
32653         * configure.in: Define the default includes to being none.
32654         * configure: Regenerated.
32655
32656 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32657
32658         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32659         * sysdeps/x86_64/setjmp.S: Likewise.
32660         * sysdeps/i386/bsd-setjmp.S: Likewise.
32661         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32662         * sysdeps/i386/setjmp.S: Likewise.
32663         * sysdeps/i386/__longjmp.S: Likewise.
32664         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32665         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32666
32667         * include/stap-probe.h: New file.
32668         * configure.in: Handle --enable-systemtap.
32669         * configure: Regenerated.
32670         * config.h.in (USE_STAP_PROBE): New #undef.
32671         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32672         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32673         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32674
32675 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32676
32677         [BZ #13717]
32678         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32679         to 2.4.0 where earlier.
32680         * sysdeps/unix/sysv/linux/configure: Regenerated.
32681         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32682         <kernel-features.h>.
32683         [__ASSUME_32BITUIDS]: Make code unconditional.
32684         [!__ASSUME_32BITUIDS]: Remove conditional code.
32685         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32686         <kernel-features.h>.
32687         [__ASSUME_32BITUIDS]: Make code unconditional.
32688         [!__ASSUME_32BITUIDS]: Remove conditional code.
32689         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32690         [__ASSUME_32BITUIDS]: Make code unconditional.
32691         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32692         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32693         <kernel-features.h>.
32694         [__ASSUME_32BITUIDS]: Make code unconditional.
32695         [!__ASSUME_32BITUIDS]: Remove conditional code.
32696         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32697         <kernel-features.h>.
32698         [__ASSUME_32BITUIDS]: Make code unconditional.
32699         [!__ASSUME_32BITUIDS]: Remove conditional code.
32700         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32701         <kernel-features.h>.
32702         [__ASSUME_32BITUIDS]: Make code unconditional.
32703         [!__ASSUME_32BITUIDS]: Remove conditional code.
32704         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32705         <kernel-features.h>.
32706         [__ASSUME_32BITUIDS]: Make code unconditional.
32707         [!__ASSUME_32BITUIDS]: Remove conditional code.
32708         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32709         <kernel-features.h>.
32710         [__ASSUME_32BITUIDS]: Make code unconditional.
32711         [!__ASSUME_32BITUIDS]: Remove conditional code.
32712         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32713         <kernel-features.h>.
32714         [__ASSUME_32BITUIDS]: Make code unconditional.
32715         [!__ASSUME_32BITUIDS]: Remove conditional code.
32716         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32717         <kernel-features.h>.
32718         [__ASSUME_32BITUIDS]: Make code unconditional.
32719         [!__ASSUME_32BITUIDS]: Remove conditional code.
32720         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32721         <kernel-features.h>.
32722         [__ASSUME_32BITUIDS]: Make code unconditional.
32723         [!__ASSUME_32BITUIDS]: Remove conditional code.
32724         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32725         <kernel-features.h>.
32726         [__ASSUME_32BITUIDS]: Make code unconditional.
32727         [!__ASSUME_32BITUIDS]: Remove conditional code.
32728         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32729         <kernel-features.h>.
32730         [__ASSUME_32BITUIDS]: Make code unconditional.
32731         [!__ASSUME_32BITUIDS]: Remove conditional code.
32732         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32733         <kernel-features.h>.
32734         [__NR_setresgid] (__setresgid): Do not declare.
32735         [__ASSUME_32BITUIDS]: Make code unconditional.
32736         [!__ASSUME_32BITUIDS]: Remove conditional code.
32737         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32738         <kernel-features.h>.
32739         [__NR_setresuid] (__setresuid): Do not declare.
32740         [__ASSUME_32BITUIDS]: Make code unconditional.
32741         [!__ASSUME_32BITUIDS]: Remove conditional code.
32742         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32743         <kernel-features.h>.
32744         [__ASSUME_32BITUIDS]: Make code unconditional.
32745         [!__ASSUME_32BITUIDS]: Remove conditional code.
32746         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32747         <kernel-features.h>.
32748         [__ASSUME_32BITUIDS]: Make code unconditional.
32749         [!__ASSUME_32BITUIDS]: Remove conditional code.
32750         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32751         <kernel-features.h>.
32752         [__ASSUME_32BITUIDS]: Make code unconditional.
32753         [!__ASSUME_32BITUIDS]: Remove conditional code.
32754         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32755         <kernel-features.h>.
32756         [__ASSUME_32BITUIDS]: Make code unconditional.
32757         [!__ASSUME_32BITUIDS]: Remove conditional code.
32758         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32759         <kernel-features.h>.
32760         [__ASSUME_32BITUIDS]: Make code unconditional.
32761         [!__ASSUME_32BITUIDS]: Remove conditional code.
32762         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32763         <kernel-features.h>.
32764         [__ASSUME_32BITUIDS]: Make code unconditional.
32765         [!__ASSUME_32BITUIDS]: Remove conditional code.
32766         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32767         <kernel-features.h>.
32768         [__ASSUME_32BITUIDS]: Make code unconditional.
32769         [!__ASSUME_32BITUIDS]: Remove conditional code.
32770         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32771         <kernel-features.h>.
32772         [__ASSUME_32BITUIDS]: Make code unconditional.
32773         [!__ASSUME_32BITUIDS]: Remove conditional code.
32774         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32775         <kernel-features.h>.
32776         [__ASSUME_32BITUIDS]: Make code unconditional.
32777         [!__ASSUME_32BITUIDS]: Remove conditional code.
32778         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32779         <kernel-features.h>.
32780         [__ASSUME_32BITUIDS]: Make code unconditional.
32781         [!__ASSUME_32BITUIDS]: Remove conditional code.
32782         * sysdeps/unix/sysv/linux/kernel-features.h
32783         (__ASSUME_SETRESUID_SYSCALL): Remove.
32784         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32785         (__ASSUME_32BITUIDS): Likewise.
32786         (__ASSUME_LDT_WORKS): Likewise.
32787         (__ASSUME_O_DIRECTORY): Likewise.
32788         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32789         architecture but not kernel version.
32790         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32791         (__ASSUME_MMAP2_SYSCALL): Likewise.
32792         (__ASSUME_STAT64_SYSCALL): Likewise.
32793         (__ASSUME_IPC64): Likewise.
32794         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32795         <kernel-features.h>.
32796         [__ASSUME_32BITUIDS]: Make code unconditional.
32797         [!__ASSUME_32BITUIDS]: Remove conditional code.
32798         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32799         <kernel-features.h>.
32800         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32801         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32802         132096]: Remove conditional code.
32803         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32805         <kernel-features.h>.
32806         [__ASSUME_32BITUIDS]: Make code unconditional.
32807         [!__ASSUME_32BITUIDS]: Remove conditional code.
32808         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32809         <kernel-features.h>.
32810         [__ASSUME_32BITUIDS]: Make code unconditional.
32811         [!__ASSUME_32BITUIDS]: Remove conditional code.
32812         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32813         <kernel-features.h>.
32814         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32815         unconditional.
32816         (__setresgid): Do not declare.
32817         [__ASSUME_32BITUIDS]: Make code unconditional.
32818         [!__ASSUME_32BITUIDS]: Remove conditional code.
32819         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32820         <kernel-features.h>.
32821         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32822         unconditional.
32823         (__setresuid): Do not declare.
32824         [__ASSUME_32BITUIDS]: Make code unconditional.
32825         [!__ASSUME_32BITUIDS]: Remove conditional code.
32826         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32827         <kernel-features.h>.
32828         [__ASSUME_32BITUIDS]: Make code unconditional.
32829         [!__ASSUME_32BITUIDS]: Remove conditional code.
32830         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32831         <kernel-features.h>.
32832         [__ASSUME_32BITUIDS]: Make code unconditional.
32833         [!__ASSUME_32BITUIDS]: Remove conditional code.
32834
32835 2012-05-25  Richard Henderson  <rth@twiddle.net>
32836
32837         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32838         dl_hwcap to ifunc resolver.
32839         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32840         elf_ifunc_invoke.
32841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32842         dl_hwcap to ifunc resolver.
32843         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32844
32845 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32846
32847         [BZ #14153]
32848         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32849         for |x| <= 2**-26, not 2**-57.
32850         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32851         exception.
32852
32853 2012-05-24  Jeff Law  <law@redhat.com>
32854
32855         * stdio-common/Makefile (tests): Add bug25.
32856         * stdio-common/bug25.c: New test.
32857
32858 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32859
32860         [BZ #13576]
32861         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32862         multiple of MALLOC_ALIGNMENT in size.
32863         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32864
32865 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32866
32867         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32868         Require >= 256.
32869         (FILENAME_MAX): Use macro-int-constant.
32870         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32871         (_IOFBF): Use macro-int-constant.
32872         (_IOLBF): Likewise.
32873         (_IONBF): Likewise.
32874         (SEEK_CUR): Likewise.
32875         (SEEK_END): Likewise.
32876         (SEEK_SET): Likewise.
32877         (TMP_MAX): Likewise.
32878         (EOF): Use macro-int-constant.  Require < 0.
32879         (NULL): Use macro-constant.  Require == 0.
32880         (stdin): Require type to be FILE *.
32881         (stdout): Likewise.
32882         (stderr): Likewise.
32883         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32884         macro-int-constant.
32885         (EXIT_SUCCESS): Likewise.
32886         (NULL): Use macro-constant.  Require == 0.
32887         (RAND_MAX): Use macro-int-constant.
32888         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32889         [C99-based standards] (strtof): Require function.
32890         [C99-based standards] (strtold): Likewise.
32891         [C99-based standards] (strtoll): Likewise.
32892         [C99-based standards] (strtoull): Likewise.
32893         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32894         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32895         [ISO || ISO99 || ISO11] (math.h): Likewise.
32896         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32897         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32899
32900 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32901
32902         [BZ #14132]
32903         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32904         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32905         * intl/dgettext.c (DCGETTEXT): Likewise.
32906         * intl/gettext.c (DCGETTEXT): Likewise.
32907         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32908         * posix/regex_internal.h (gettext): Likewise.
32909         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32910         Remove declaration.
32911         * include/argz.h (__argz_count_internal)
32912         (__argz_stringify_internal): Remove declaration.
32913         (__argz_count, __argz_stringify): Declare hidden proto.
32914         * intl/dcgettext.c: Remove use of INTDEF.
32915         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32916         * string/argz-stringify.c: Likewise.
32917         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32918         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32919         Declare hidden proto.
32920         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32921         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32922         Declare hidden proto.
32923         * include/stdio.h (__asprintf_internal): Don't declare.
32924         (__asprintf): Don't define as macro.  Declare hidden proto.
32925         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32926         (__fsetlocking): Declare hidden proto.
32927         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32928         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32929         hidden proto.
32930         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32931         (_IO_setlinebuf): Remove use of INTUSE.
32932         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32933         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32934         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32935         Remove declaration.
32936         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32937         (_IO_do_flush): Remove use of INTUSE.
32938         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32939         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32940         (_IO_adjust_column, _IO_least_wmarker)
32941         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32942         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32943         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32944         (_IO_default_doallocate, _IO_wdefault_doallocate)
32945         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32946         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32947         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32948         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32949         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32950         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32951         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32952         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32953         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32954         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32955         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32956         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32957         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32958         proto.
32959         (_IO_flush_all_internal, _IO_adjust_column_internal)
32960         (_IO_default_uflow_internal, _IO_default_finish_internal)
32961         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32962         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32963         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32964         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32965         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32966         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32967         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32968         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32969         (_IO_file_close_internal, _IO_file_close_it_internal)
32970         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32971         (_IO_file_init_internal, _IO_file_attach_internal)
32972         (_IO_file_fopen_internal, _IO_file_read_internal)
32973         (_IO_file_sync_internal, _IO_file_seek_internal)
32974         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32975         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32976         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32977         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32978         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32979         (_IO_list_all_internal, _IO_link_in_internal)
32980         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32981         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32982         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32983         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32984         (_IO_do_write_internal, _IO_padn_internal)
32985         (_IO_getline_info_internal, _IO_getline_internal)
32986         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32987         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32988         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32989         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32990         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32991         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32992         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32993         with libc_hidden_ver, remove use of INTUSE.
32994         * libio/genops.c: Likewise.
32995         * libio/freopen.c: Likewise.
32996         * libio/freopen64.c: Likewise.
32997         * libio/iofclose.c: Likewise.
32998         * libio/iofdopen.c: Likewise.
32999         * libio/iofflush.c: Likewise.
33000         * libio/iofflush_u.c: Likewise.
33001         * libio/iofgets.c: Likewise.
33002         * libio/iofgets_u.c: Likewise.
33003         * libio/iofopen.c: Likewise.
33004         * libio/iofopncook.c: Likewise.
33005         * libio/iofread.c: Likewise.
33006         * libio/iofread_u.c: Likewise.
33007         * libio/ioftell.c: Likewise.
33008         * libio/iofwrite.c: Likewise.
33009         * libio/iogetline.c: Likewise.
33010         * libio/iogets.c: Likewise.
33011         * libio/iogetwline.c: Likewise.
33012         * libio/iopadn.c: Likewise.
33013         * libio/iopopen.c: Likewise.
33014         * libio/ioseekoff.c: Likewise.
33015         * libio/ioseekpos.c: Likewise.
33016         * libio/iosetbuffer.c: Likewise.
33017         * libio/iosetvbuf.c: Likewise.
33018         * libio/ioungetc.c: Likewise.
33019         * libio/ioungetwc.c: Likewise.
33020         * libio/iovdprintf.c: Likewise.
33021         * libio/iovsprintf.c: Likewise.
33022         * libio/iovsscanf.c: Likewise.
33023         * libio/memstream.c: Likewise.
33024         * libio/obprintf.c: Likewise.
33025         * libio/oldfileops.c: Likewise.
33026         * libio/oldiofclose.c: Likewise.
33027         * libio/oldiofdopen.c: Likewise.
33028         * libio/oldiofopen.c: Likewise.
33029         * libio/oldiopopen.c: Likewise.
33030         * libio/oldstdfiles.c: Likewise.
33031         * libio/putc.c: Likewise.
33032         * libio/setbuf.c: Likewise.
33033         * libio/setlinebuf.c: Likewise.
33034         * libio/stdfiles.c: Likewise.
33035         * libio/strops.c: Likewise.
33036         * libio/vasprintf.c: Likewise.
33037         * libio/vscanf.c: Likewise.
33038         * libio/vsnprintf.c: Likewise.
33039         * libio/vswprintf.c: Likewise.
33040         * libio/wfiledoalloc.c: Likewise.
33041         * libio/wfileops.c: Likewise.
33042         * libio/wgenops.c: Likewise.
33043         * libio/wmemstream.c: Likewise.
33044         * libio/wstrops.c: Likewise.
33045         * libio/__fpurge.c: Likewise.
33046         * libio/__fsetlocking.c: Likewise.
33047         * assert/assert.c: Likewise.
33048         * debug/fgets_chk.c: Likewise.
33049         * debug/fgets_u_chk.c: Likewise.
33050         * debug/fread_chk.c: Likewise.
33051         * debug/fread_u_chk.c: Likewise.
33052         * debug/gets_chk.c: Likewise.
33053         * debug/obprintf_chk.c: Likewise.
33054         * debug/vasprintf_chk.c: Likewise.
33055         * debug/vdprintf_chk.c: Likewise.
33056         * debug/vsnprintf_chk.c: Likewise.
33057         * debug/vsprintf_chk.c: Likewise.
33058         * malloc/mtrace.c: Likewise.
33059         * misc/error.c: Likewise.
33060         * misc/syslog.c: Likewise.
33061         * stdio-common/asprintf.c: Likewise.
33062         * stdio-common/fxprintf.c: Likewise.
33063         * stdio-common/getw.c: Likewise.
33064         * stdio-common/isoc99_fscanf.c: Likewise.
33065         * stdio-common/isoc99_scanf.c: Likewise.
33066         * stdio-common/isoc99_vfscanf.c: Likewise.
33067         * stdio-common/isoc99_vscanf.c: Likewise.
33068         * stdio-common/isoc99_vsscanf.c: Likewise.
33069         * stdio-common/printf-prs.c: Likewise.
33070         * stdio-common/printf_fp.c: Likewise.
33071         * stdio-common/printf_fphex.c: Likewise.
33072         * stdio-common/printf_size.c: Likewise.
33073         * stdio-common/putw.c: Likewise.
33074         * stdio-common/scanf.c: Likewise.
33075         * stdio-common/sprintf.c: Likewise.
33076         * stdio-common/tmpfile.c: Likewise.
33077         * stdio-common/vfprintf.c: Likewise.
33078         * stdio-common/vfscanf.c: Likewise.
33079         * stdlib/strfmon_l.c: Likewise.
33080         * sunrpc/openchild.c: Likewise.
33081         * sunrpc/xdr_stdio.c: Likewise.
33082         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33083         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33084
33085 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33086
33087         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33088
33089         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33090         in the third column, to generate for the shared library an IFUNC
33091         that uses _dl_vdso_vsym.
33092         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33093         * Makeconfig (object-suffixes-noshared): New variable.
33094
33095         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33096         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33097         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33098         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33099
33100         [BZ #14132]
33101         * include/sys/time.h (__gettimeofday): Remove macro.
33102         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33103         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33104         Remove INTDEF.
33105         (__gettimeofday): Add libc_hidden_def.
33106         (gettimeofday): Add libc_hidden_weak.
33107         * sysdeps/mach/gettimeofday.c: Likewise.
33108         * sysdeps/posix/gettimeofday.c: Likewise.
33109         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33110         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33112         (__gettimeofday_internal): Remove strong_alias.
33113         (__gettimeofday): Add libc_hidden_def.
33114         (gettimeofday): Add libc_hidden_weak.
33115         * sysdeps/unix/syscalls.list (gettimeofday):
33116         Remove __gettimeofday_internal alias.
33117
33118 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33119             H.J. Lu  <hongjiu.lu@intel.com>
33120
33121         [BZ #12495]
33122         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33123         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33124         (largebin_index_32_big): New.
33125         (largebin_index): Use it for 16-byte alignment.
33126         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33127         correction with front_misalign.
33128
33129 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33130
33131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33133         Likewise.
33134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33135         Likewise.
33136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33137         Likewise.
33138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33139         Likewise.
33140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33141         Likewise.
33142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33143         Likewise.
33144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33145         Likewise.
33146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33147         Likewise.
33148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33149         Likewise.
33150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33151         Likewise.
33152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33153         Likewise.
33154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33155         Likewise.
33156
33157         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33158         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33159
33160 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33161
33162         [BZ #10846]
33163         [BZ #14036]
33164         * math/libm-test.inc (exp_test): Add test from bug 14036.
33165         (pow_test): Add test from bug 10846.
33166
33167         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33168         and other flags.
33169         (special_function): Do not include flags in test name.
33170         (parse_args): Likewise.
33171         * sysdeps/i386/fpu/libm-test-ulps: Update.
33172         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33173         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33176
33177         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33178         exceptions.
33179         * math/libm-test.inc ("Philosophy"): Update comment about
33180         exception testing.
33181         (UNDERFLOW_EXCEPTION): New macro.
33182         (UNDERFLOW_EXCEPTION_OK): Likewise.
33183         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33184         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33185         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33186         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33187         (INVALID_EXCEPTION_OK): Update value.
33188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33189         (OVERFLOW_EXCEPTION_OK): Likewise.
33190         (IGNORE_ZERO_INF_SIGN): Likewise.
33191         (test_exceptions): Handle underflow exceptions.
33192         (acos_test): Update for underflow exception expectations.
33193         (cexp_test): Likewise.
33194         (clog_test): Likewise.
33195         (clog10_test): Likewise.
33196         (csqrt_test): Likewise.
33197         (ctan_test): Likewise.
33198         (ctanh_test): Likewise.
33199         (exp_test): Likewise.
33200         (exp10_test): Likewise.
33201         (exp2_test): Likewise.
33202         (expm1_test): Likewise.
33203         (fma_test): Likewise.
33204         (j0_test): Likewise.
33205         (jn_test): Likewise.
33206         (nexttoward_test): Likewise.
33207         (pow_test): Likewise.
33208         (scalbn_test): Likewise.
33209         (scalbln_test): Likewise.
33210         (tan_test): Likewise.
33211         (y1_test): Likewise.
33212         * sysdeps/i386/fpu/libm-test-ulps: Update.
33213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33214
33215 2012-05-23  David S. Miller  <davem@davemloft.net>
33216
33217         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33218         (__libc_sigaction): Remove unused local variables.
33219
33220 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33221
33222         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33223
33224 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33225
33226         mktime: avoid signed integer overflow
33227         * time/mktime.c (__mktime_internal): Do not mishandle the case
33228         where diff == INT_MIN.
33229
33230         mktime: simplify computation of average
33231         * time/mktime.c (ranged_convert): Use new time_t_avg function
33232         instead of rolling our own (probably-slower) code.
33233
33234         mktime: do not assume signed right shift propagates sign bit
33235         * time/mktime.c (isdst_differ): New static function.
33236         (__mktime_internal): No need to normalize tm_isdst now.
33237         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33238         tm_isdst values.
33239
33240         mktime: merge another wrapv change from gnulib
33241         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33242         from some compilers.
33243
33244         mktime: remove incorrect attempt at unusual arithmetics
33245         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33246         The code didn't really work on such machines anyway.
33247         (TYPE_MINIMUM): Assume two's complement.
33248         (twos_complement_arithmetic): Verify that long_int and time_t
33249         are two's complement (or unsigned, in the latter case).
33250
33251         mktime: check signed shifts on long_int and time_t, too
33252         * time/mktime.c (SHR): Check that shifts work as desired
33253         on the types long_int and time_t too, as SHR is used on
33254         such types.
33255
33256         mktime: do not assume 'long' is wide enough
33257         * time/mktime.c (verify): Move decl up.
33258         (long_int): New type.
33259         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33260         to remove assumption in the code that 'long' is wide enough to
33261         store year values.  This assumption is not true on x32 and on
33262         some non-glibc platforms.
33263
33264         mktime: merge wrapv change from gnulib
33265         * time/mktime.c (WRAPV): New macro.
33266         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33267         (guess_time_tm, __mktime_internal): Do not assume that signed
33268         integer overflow wraps around; modern compilers generate code
33269         where this assumption is no longer valid.
33270
33271 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33272
33273         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33274         Replace "jmp L(pseudo_end)" with "ret".
33275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33276         Likewise.
33277
33278 2012-05-23  Andreas Jaeger  <aj@suse.de>
33279
33280         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33281         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33282
33283 2012-05-23  Andreas Jaeger  <aj@suse.de>
33284             Maximilian Attems  <max@stro.at>
33285
33286         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33287         New macros.
33288
33289 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33290
33291         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33292         code so that pseudo_end is just ret and the stack pointer is
33293         correct also for static library in error case.
33294
33295 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33296
33297         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33298         move to syscalls.list.
33299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33303
33304         * manual/install.texi (Running make install): Do not mention Linux
33305         kernel version for which pt_chown is not needed.
33306         (Linux): Do not mention problems with nscd with 2.0 kernels.
33307         * INSTALL: Regenerated.
33308
33309 2012-05-23  Andreas Jaeger  <aj@suse.de>
33310
33311         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33312         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33313         macro.
33314         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33315         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33316         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33318         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33319         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33320         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33321         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33322         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33323         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33324         * sysdeps/unix/sysv/linux/bits/in.h
33325         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33326
33327 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33328
33329         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33330         (PREPARE_VERSION): Just use assert instead, it will be elided
33331         under [NDEBUG] anyway.
33332
33333 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33334
33335         * sysdeps/unix/sysv/linux/Makefile: Include
33336         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33337         (sysdep_routines): Remove sysctl.
33338         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33339         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33340         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33341         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33342         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33343
33344 2012-05-22  Andreas Jaeger  <aj@suse.de>
33345
33346         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33347         that pseudo_end is just ret and the stack pointer is correct also
33348         for static library in error case.
33349
33350 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33351
33352         [BZ #14122]
33353         * nss/nsswitch.c (defconfig_entries): New variable.
33354         (__nss_database_lookup): Don't leak defconfig entries.
33355         (nss_parse_service_list): Don't leak on error paths.
33356         (free_database_entries): New function.
33357         (free_defconfig): New function.
33358         (free_mem): Move common code to free_database_entries.
33359
33360 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33361
33362         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33363         Add arch_prctl.
33364         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33365
33366         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33367         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33369         New macro.
33370         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33371         (INTERNAL_SYSCALL_TYPES): Likewise.
33372         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33373         (LOAD_REGS_TYPES_[1-6]): Likewise.
33374         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33375         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33376
33377 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33378
33379         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33380         copysignl for GLIBC_2_0.
33381         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33382         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33384         logbl for GLIBC_2_0.
33385         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33386         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33387
33388 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33389
33390         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33391         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33392
33393         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33394         Use "neg %eax".
33395
33396         * time/mktime.c: Update copyright years.
33397
33398 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33399
33400         mktime: merge comment-quoting-style change from gnulib
33401         * time/mktime.c: Quote 'like this' in comments.
33402         The GNU coding standards suggest that we no longer quote `like this',
33403         as "`" and "'" are typically rendered asymmetrically nowadays.
33404         The typical gnulib style is to quote 'like this' when quoting
33405         code, and "like this" when quoting English.
33406
33407         * time/mktime.c (compile-command): Add "-I.".
33408
33409         mktime: merge mktime-internal.h change from gnulib
33410         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33411
33412         mktime: merge time_r change from gnulib
33413         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33414
33415         mktime: merge DEBUG change from gnulib
33416         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33417         case system <time.h> has a #define.
33418
33419         mktime: merge <sys/types.h> change from gnulib
33420         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33421         since <time.t> is now guaranteed to define time_t.
33422
33423         mktime: merge HAVE_CONFIG_H change from gnulib
33424         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33425
33426 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33427
33428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33429         Use "neg %eax".
33430
33431         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33432         __rlim_t cast.
33433         (struct rusage): Use anonymous union to pad each field to
33434         __syscall_slong_t.
33435
33436 2012-05-21  David S. Miller  <davem@davemloft.net>
33437
33438         * Makefules (o-iterator): Remove .s cases.
33439         (compile-command.s): Delete.
33440         (COMPILE.s): Delete.
33441         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33442
33443 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33444
33445         * configure.in (libc_cv_predef_stack_protector): Only consider
33446         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33447         * configure: Regenerated.
33448
33449 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33450
33451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33452         New macro.  Use R*LP on int and pointer.
33453         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33454         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33455         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33456         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33457
33458         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33459         [__WORDSIZE_TIME64_COMPAT32] instead of
33460         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33461         (struct utmp): Likewise.
33462         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33463         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33464         Renamed to ...
33465         (__WORDSIZE_TIME64_COMPAT32): This.
33466         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33467         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33468         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33469         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33470         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33471         (__WORDSIZE_TIME64_COMPAT32): New macro.
33472
33473 2012-05-21  Andreas Jaeger  <aj@suse.de>
33474
33475         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33476         only if [SHARED]. Add prototype for __wcschr_ia32.
33477
33478 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33479
33480         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33481         of %rbp unmolested in the jmp_buf while mangling the low bits.
33482         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33483         unmolested high bits of %rbp while demangling the low bits.
33484         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33485
33486 2012-05-21  Andreas Jaeger  <aj@suse.de>
33487
33488         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33489         * sunrpc/svc_simple.c: Use it for registerrpc.
33490         * sunrpc/xcrypt.c: Use it for passwd2des.
33491
33492         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33493
33494 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33495
33496         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33497         Don't define if [__SYSCALL_WORDSIZE != 32].
33498         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33499         New macro.
33500
33501 2012-05-21  Bruno Haible  <bruno@clisp.org>
33502             Andreas Jaeger  <aj@suse.de>
33503
33504         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33505         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33506         inptr and inend for must_buffer_ch.
33507         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33508         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33509         * stdio-common/Makefile (tests): Remove bug15.
33510         (bug15-ENV): Remove macro.
33511         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33512         anymore.
33513
33514 2012-05-19  Andreas Jaeger  <aj@suse.de>
33515             Roland McGrath  <roland@hack.frob.com>
33516
33517         * manual/contrib.texi: Completely rewritten. It contains now an
33518         alphabetical list of contributors and their contributions.
33519
33520 2012-05-21  Richard Henderson  <rth@twiddle.net>
33521
33522         * misc/getauxval.c (__getauxval): Use unsigned long int.
33523         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33524         (getauxval): Use unsigned long int.
33525
33526 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33527
33528         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33529
33530 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33531
33532         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33533         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33534         __alignof__ (long double).
33535
33536 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33537
33538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33539
33540 2012-05-20  Richard Henderson  <rth@twiddle.net>
33541
33542         * misc/getauxval.c: New file.
33543         * misc/sys/auxv.h: New file.
33544         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33545         (routines): Add getauxval.
33546         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33547         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33548         * elf/dl-sysdep.c (_dl_auxv): Remove.
33549         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33550         * elf/dl-support.c (_dl_auxv): New variable.
33551         (_dl_aux_init): Initialize it.
33552         * manual/startup.texi (Auxiliary Vector): New node.
33553         * sysdeps/generic/bits/hwcap.h: New file.
33554         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33555         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33556         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33557         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33558         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33559         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33561         Update.
33562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33570
33571 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33572
33573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33574
33575 2012-05-19  David S. Miller  <davem@davemloft.net>
33576
33577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33578
33579 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33580
33581         [BZ #14123]
33582         * math/s_ccosh.c: Include <float.h>
33583         (__ccosh): Avoid internal overflow calculating sinh and cosh
33584         values before multiplying by sin and cos values.
33585         * math/s_ccoshf.c: Likewise.
33586         * math/s_ccoshl.c: Likewise.
33587         * math/s_csin.c: Likewise.
33588         * math/s_csinf.c: Likewise.
33589         * math/s_csinl.c: Likewise.
33590         * math/s_csinh.c: Likewise.
33591         * math/s_csinhf.c: Likewise.
33592         * math/s_csinhl.c: Likewise.
33593         * math/libm-test.inc (ccos_test): Add more tests.
33594         (ccosh_test): Likewise.
33595         (csin_test): Likewise.
33596         (csinh_test): Likewise.
33597         * sysdeps/i386/fpu/libm-test-ulps: Update.
33598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33599
33600 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33601
33602         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33603         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33604
33605         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33606
33607 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33608
33609         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33610         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33611         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33612         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33613         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33614         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33615         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33616         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33617         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33618         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33619         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33620         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33621         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33622         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33623         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33624         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33625         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33626         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33627         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33628         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33629         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33630         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33631         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33632         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33633         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33634         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33635         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33636         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33637         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33638         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33639         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33640
33641 2012-05-18  Andreas Jaeger  <aj@suse.de>
33642
33643         * csu/.gitignore: Delete.
33644
33645 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33646
33647         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33648         (timex): Use __syscall_slong_t.
33649
33650 2012-05-18  Andreas Jaeger  <aj@suse.de>
33651             Carlos O'Donell  <carlos_odonell@mentor.com>
33652
33653         * manual/install.texi (Configuring and compiling): Update
33654         description about files modified in the source directory.
33655         * INSTALL: Regenerated.
33656
33657 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33658
33659         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33660         value.  Use "or" to set return value to -1.
33661         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33662         negate return value.
33663
33664 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33665
33666         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33667         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33668         failure if the compiler has Graphite support disabled.
33669         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33670         Likewise.
33671         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33672         (CFLAGS-memmove.c): Likewise.
33673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33674         Likewise.
33675
33676 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33677
33678         * sysdeps/x86_64/x32/_itoa.h: New file.
33679
33680         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33681         getdents system call only if kernel and user dirents have the
33682         same d_ino and d_off.
33683
33684         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33685         LLONG_MAX != LONG_MAX.
33686         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33687         (_fitoa_word): Likewise.
33688
33689         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33690         years.
33691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33692         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33693         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33694
33695         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33696         include <bits/wordsize.h>.  Check __x86_64__ instead of
33697         __WORDSIZE.
33698         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33699         if __x86_64__ is defined.  Use anonymous union on fpstate.
33700
33701         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33702         anonymous union.
33703
33704 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33705
33706         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33707         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33709         Refer to _rtld_local_ro instead of _rtld_global_ro.
33710         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33711         Likewise.
33712         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33713         Likewise.
33714         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33715         Likewise.
33716         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33717         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33718         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33719
33720         * sysdeps/powerpc/powerpc32/dl-machine.c
33721         (__elf_machine_runtime_setup) [PROF]: Don't reference
33722         _dl_prof_resolve.
33723
33724 2012-05-18  Andreas Jaeger  <aj@suse.de>
33725
33726         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33727         function only available for GCCs before 3.4 since GCC 3.4
33728         introduced a builtin.
33729         (lrint): Likewise.
33730         (llrintf): Likewise.
33731         (llrint): Likewise.
33732         (fmaxf): Likewise.
33733         (fmax): Likewise.
33734         (fminf): Likewise.
33735         (fmin): Likewise.
33736         (rint): Likewise.
33737         (rintf): Likewise.
33738         (nearbyint): Likewise.
33739         (nearbyintf): Likewise.
33740         (ceil): Likewise.
33741         (ceilf): Likewise.
33742         (floor): Likewise.
33743         (floorf): Likewise.
33744
33745 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33746
33747         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33748         on both fields and cast pointer to __syscall_ulong_t.
33749
33750         * bits/types.h (__fsword_t): New type.
33751         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33752         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33754         (__FSWORD_T_TYPE): Likewise.
33755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33756         (__FSWORD_T_TYPE): Likewise.
33757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33758         (__FSWORD_T_TYPE): Likewise.
33759         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33760         (__FSWORD_T_TYPE): Likewise.
33761         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33762         __SWORD_TYPE with __fsword_t.
33763         (statfs64): Likewise.
33764
33765 2012-05-17  David S. Miller  <davem@davemloft.net>
33766
33767         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33768
33769 2012-05-17  Andreas Jaeger  <aj@suse.de>
33770
33771         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33772         warning.
33773
33774 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33775
33776         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33777
33778 2012-05-17  Andreas Jaeger  <aj@suse.de>
33779
33780         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33781         when it is used.
33782
33783 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33784
33785         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33786
33787 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33788
33789         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33790         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33791
33792 2012-05-17  Andreas Jaeger  <aj@suse.de>
33793             Carlos O'Donell  <carlos_odonell@mentor.com>
33794
33795         [BZ #14059]
33796         * sysdeps/x86_64/multiarch/init-arch.h
33797         (bit_YMM_Usable): Rename to...
33798         (bit_AVX_Usable): ... this.
33799         (bit_FMA4_Usable): New macro.
33800         (bit_XMM_state): New macro.
33801         (bit_YMM_state): New macro.
33802         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33803         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33804         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33805         (CPUID_OSXSAVE): New macro.
33806         (CPUID_AVX): New macro.
33807         (CPUID_FMA4): New macro.
33808         (index_YMM_Usable): Rename to...
33809         (index_AVX_Usable): ... this.
33810         (HAS_AVX): Use HAS_ARCH_FEATURE.
33811         (HAS_FMA4): Likewise.
33812         (HAS_YMM_USABLE): Remove.
33813         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33814         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33815         are present.
33816         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33817         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33818         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33819         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33820         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33821
33822 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33823
33824         * math/libm-test.c: Support platforms without multiple rounding modes.
33825         * math/bug-nextafter.c: Support platforms without FP exceptions.
33826         * math/bug-nexttoward.c: Likewise.
33827         * math/test-fenv.c: Likewise.
33828         * math/test-misc.c: Likewise.
33829         * stdlib/bug-getcontext.c: Likewise.
33830
33831 2012-05-17  Andreas Jaeger  <aj@suse.de>
33832
33833         * manual/examples/search.c (critter_cmp): Change signature to
33834         avoid warnings.
33835         * manual/string.texi (Collation Functions): Likewise.
33836
33837 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33838
33839         * bits/types.h: Fold copyright years.
33840         * bits/typesizes.h: Likewise.
33841         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33845         * time/time.h: Likewise.
33846
33847 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33848
33849         [BZ #208]
33850         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33851         in instead of returning them.  Return void.
33852         (__libc_mallinfo): Accumulate over all arenas.
33853         (__malloc_stats): Adjust for change in int_mallinfo interface.
33854
33855 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33856
33857         [BZ #10375]
33858         * configure.in (NM): Add AC_CHECK_TOOL for it.
33859         (libc_extra_cflags): New substituted variable.
33860         Check for -fstack-protector being used implicitly.
33861         * configure: Regenerated.
33862         * config.make.in (config-extra-cflags): New variable,
33863         gets @libc_extra_cflags@.
33864         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33865
33866         [BZ #10375]
33867         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33868         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33869         * configure: Regenerated.
33870         * config.make.in (CPPUNDEFS): New substituted variable.
33871         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33872         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33873         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33874
33875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33876
33877         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33878         (mq_attr): Use __syscall_slong_t.
33879
33880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33881
33882         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33883         Check __x86_64__ instead of __WORDSIZE.
33884         (_STAT_VER_LINUX): Likewise.
33885         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33886         __syscall_ulong_t and __syscall_slong_t.
33887         (stat64): Likewise.
33888
33889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33890
33891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33892
33893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33894
33895         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33896
33897 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33898
33899         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33900         __syscall_ulong_t.
33901
33902         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33903         include <bits/wordsize.h>.  Check __x86_64__ instead of
33904         __WORDSIZE.
33905         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33906         defined.
33907         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33908
33909         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33910         include <bits/wordsize.h>.  Check __x86_64__ instead of
33911         __WORDSIZE.
33912         (user_regs_struct): Use "__extension__ unsigned long long"
33913         instead of "unsigned long" if __x86_64__ is defined.
33914         (user): Likewise.  Pad after pointer field if __ILP32__ is
33915         defined.
33916
33917 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33918
33919         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33920         versions 5 to 9.
33921         * configure: Regenerated.
33922         * manual/install.texi (texinfo): Increase version requirement to
33923         4.5 or later.
33924         * INSTALL: Regenerated.
33925
33926         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33927
33928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33929
33930         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33931
33932         * sysdeps/x86_64/x32/ffs.c: New file.
33933
33934         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33935         __syscall_ulong_t.
33936         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33937         defined.  Use __syscall_ulong_t.
33938         (shminfo): Use __syscall_ulong_t.
33939         (shm_info): Likewise.
33940
33941         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33942         __syscall_ulong_t.
33943
33944         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33945         <bits/wordsize.h>.
33946         (msgqnum_t): Use __syscall_ulong_t.
33947         (msglen_t): Likewise.
33948         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33949         __syscall_ulong_t.
33950
33951         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33952         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33953
33954         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33955
33956         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33957         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33958
33959         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33960         __syscall_slong_t.
33961
33962         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33963         include <bits/wordsize.h>.  Check __x86_64__ instead of
33964         __WORDSIZE.
33965
33966         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33967         "unsigned long long int" if __x86_64__ is defined.
33968         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33969
33970         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33971         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33972         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33973
33974         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33975         <stdint.h>.
33976         (GET_PC): Cast to uintptr_t first.
33977         (GET_FRAME): Likewise.
33978         (GET_STACK): Likewise.
33979
33980         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33981         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33982         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33983         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33984         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33985         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33986         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33987         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33988         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33989         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33990         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33991         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33992         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33993         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33994         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33995         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33996         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33997         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33998         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33999         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34000         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34001         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34002         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34003         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34004         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34005         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34006         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34007         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34008         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34009
34010 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34011
34012         * Makerules (+depfiles): Also collect depfiles from .oS in
34013         $(extra-objs).
34014         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34015         .oS, $(libnldbl-routines)).
34016
34017         * Makerules (native-compile-mkdep-flags): Define.
34018         * sunrpc/Makefile (extra-objs): Add $(addprefix
34019         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34020         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34021         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34022         calling $(make-target-directory).
34023
34024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34025
34026         * bits/types.h (__snseconds_t): Removed.
34027         * time/time.h (struct timespec): Replace __snseconds_t with
34028         __syscall_slong_t.
34029         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34030         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34031         Likewise.
34032         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34033         (__SNSECONDS_T_TYPE): Likewise.
34034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34035         (__SNSECONDS_T_TYPE): Likewise.
34036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34037         (__SNSECONDS_T_TYPE): Likewise.
34038
34039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34040
34041         * sysdeps/mach/hurd/bits/typesizes.h
34042         (__SYSCALL_SLONG_TYPE): New macro.
34043         (__SYSCALL_ULONG_TYPE): Likewise.
34044
34045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34046
34047         * bits/types.h (__syscall_slong_t): New type.
34048         (__syscall_ulong_t): Likewise.
34049
34050         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34051         (__SYSCALL_ULONG_TYPE): Likewise.
34052         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34053         (__SYSCALL_SLONG_TYPE): Likewise.
34054         (__SYSCALL_ULONG_TYPE): Likewise.
34055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34056         (__SYSCALL_SLONG_TYPE): Likewise.
34057         (__SYSCALL_ULONG_TYPE): Likewise.
34058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34059         (__SYSCALL_SLONG_TYPE): Likewise.
34060         (__SYSCALL_ULONG_TYPE): Likewise.
34061
34062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34063
34064         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34065         Add sigaltstack-offsets.sym.
34066         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34067         <sigaltstack-offsets.h>.
34068         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34069         longjmp_msg pointer.
34070         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34071         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34072         signal stack.
34073         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34074
34075 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34076
34077         * elf/stackguard-macros.h: Remove file.
34078         * sysdeps/generic/stackguard-macros.h: New file.
34079         * sysdeps/i386/stackguard-macros.h: Likewise.
34080         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34081         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34082         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34083         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34084         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34085         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34086         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34087         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34088         <elf/stackguard-macros.h>.
34089
34090         [BZ #14109]
34091         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34092         __aligned__ in attribute.
34093         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34094         (gregset_t): Likewise.
34095
34096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34097
34098         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34099         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34100         * sysdeps/x86_64/x32/Implies-after: New file.
34101
34102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34103
34104         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34105         and access return value for _dl_profile_fixup.  Use R10_LP to
34106         load frame size.
34107
34108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34109
34110         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34111
34112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34113
34114         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34115         * sysdeps/x86_64/x32/sysdep.h: New file.
34116
34117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34118
34119         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34120         * sysdeps/x86_64/setjmp.S: Likewise.
34121
34122 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34123
34124         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34125         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34126         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34127         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34128         remove unused global constant.
34129
34130 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34131
34132         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34133         include of <not-cancel.h>.
34134
34135 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34136
34137         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34138
34139 2012-05-15  Jeff Law  <law@redhat.com>
34140             Andreas Jaeger  <aj@suse.de>
34141
34142         [BZ #13594]
34143         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34144         out from...
34145         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34146         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34147         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34148         code changing __hst_map_handle.map.
34149
34150 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34151
34152         * configure.in (sysnames): Look for Implies-before and Implies-after
34153         files.
34154         * configure: Regenerated.
34155
34156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34157
34158         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34159         8-byte data alignment with LP_SIZE alignment.
34160
34161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34162
34163         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34164         into R10_LP.
34165
34166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34167
34168         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34169
34170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34171
34172         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34173         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34174         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34175         Likewise.
34176         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34177
34178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34179
34180         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34181         (stackinfo_sub_sp): Likewise.
34182
34183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34184
34185         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34186         RAX_LP.
34187
34188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34189
34190         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34191         into R*_LP.
34192
34193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34194
34195         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34196         sizes into R*_LP.
34197
34198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34199
34200         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34201
34202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34203
34204         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34205         into R11_LP and load __x86_64_shared_cache_size_half into
34206         R8_LP.
34207
34208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34209
34210         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34211         R8_LP.
34212
34213 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34214
34215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34216         logb for POWER7.
34217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34218         logbf for POWER7.
34219         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34220         logbl for POWER7.
34221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34222         powerpc32/power7/fpu/s_logb.c via #include.
34223         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34224         powerpc32/power7/fpu/s_logbf.c via #include.
34225         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34226         powerpc32/power7/fpu/s_logbl.c via #include.
34227
34228 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34229
34230         * README.libm: Remove file.
34231
34232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34233
34234         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34235         count for x32.  Use R*_LP and omit operand-size suffix.
34236
34237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34238
34239         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34240         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34241         * sysdeps/x86_64/x32/shlib-versions: New file.
34242
34243 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34244
34245         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34246         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34247         Use _dl_fatal_printf instead.
34248
34249 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34250
34251         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34252         set if not set by the user.  Do not allow for being unset.
34253         * sysdeps/unix/sysv/linux/configure: Regenerated.
34254
34255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34256
34257         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34258         the `q' suffix from lea and replace .quad with ASM_ADDR.
34259
34260 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34261
34262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34263         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34264         instead of $17.
34265         (PTR_DEMANGLE): Likewise.
34266
34267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34268
34269         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34270         (LP_OP): Likewise.
34271         (ASM_ADDR): Likewise.
34272         (RAX_LP): Likewise.
34273         (RBP_LP): Likewise.
34274         (RBX_LP): Likewise.
34275         (RCX_LP): Likewise.
34276         (RDI_LP): Likewise.
34277         (RSI_LP): Likewise.
34278         (RSP_LP): Likewise.
34279         (R8_LP): Likewise.
34280         (R9_LP): Likewise.
34281         (R10_LP): Likewise.
34282         (R10_LP): Likewise.
34283         (R11_LP): Likewise.
34284         (R12_LP): Likewise.
34285         (R13_LP): Likewise.
34286         (R14_LP): Likewise.
34287         (R15_LP): Likewise.
34288
34289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34290
34291         * sysdeps/x86_64/x32/dl-machine.h: New file.
34292
34293 2012-05-14  Andreas Jaeger  <aj@suse.de>
34294
34295         * manual/Makefile (subdir): Remove export of subdir.
34296         (all): Remove target.
34297         (.PHONY): Remove all from list.
34298         (mkinstalldirs): Remove.
34299         (.PHONY): Remove installdirs from list.
34300         ($(inst_infodir)/libc.info): Use make-target-directory.
34301         (installdirs): Remove.
34302         (subdir_%): Remove.
34303         (glibc-targets): Remove.
34304         (lib): Remove.
34305         (stubs): Remove.
34306         ($(objpfx)stubs ../po/manual.pot): Remove.
34307         ($(objpfx)stamp%): Remove.
34308         (make-target-directory): Remove.
34309         (subdir_install): Remove.
34310         (routines): Remove.
34311         (aux): Remove.
34312         (sources): Remove.
34313         (objects): Remove.
34314         (headers): Remove.
34315
34316         [BZ #13750]
34317         * manual/.gitignore: Remove, it's not needed anymore.
34318         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34319         all files in it.
34320         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34321         directory.
34322         (texis): Renamed to $(objpfx)texis.
34323         (texis-path): New, contains path to generated files.
34324         (chapters.%): Use texis-path for complete path, add extra argument
34325         libc-texinfo.sh.
34326         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34327         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34328         (summary,texi, stamp-summary): Use complete path of
34329         files. Generate files in build dir.
34330         (dir-add.texi): Build in build dir.
34331         (libm-err.texi,stamp-libm-err): Likewise.
34332         (version.texi, stamp-version): Likewise.
34333         (.%c.texi): Likewise.
34334         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34335         (mostlyclean): Remove target.
34336         (realclean): Remove target.
34337         (generated): Add new variable with contents from mostlyclean and
34338         realclean, remove entries duplicated in common-mostlyclean, add
34339         stamp-libm-err and stamp-version.
34340         (generated-dirs): Add libc directory.
34341         ($(inst_infodir)/libc.info): Install files from build dir.
34342
34343         * manual/install.texi (Configuring and compiling): Adjust since
34344         the info files are not part of the tar ball anymore.
34345
34346 2012-05-14  Andreas Jaeger  <aj@suse.de>
34347
34348         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34349         variable.
34350
34351 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34352
34353         [BZ #13717]
34354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34355         to 2.2.0 where earlier.
34356         * sysdeps/unix/sysv/linux/configure: Regenerated.
34357         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34358         Remove conditional code.
34359         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34360         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34361         Remove conditional code.
34362         [!__NR_lchown]: Likewise.
34363         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34364         [__NR_lchown]: Likewise.
34365         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34366         comment referencing __ASSUME_LCHOWN_SYSCALL.
34367         * sysdeps/unix/sysv/linux/i386/sigaction.c
34368         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34369         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34370         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34371         Remove conditional code.
34372         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34373         (__protocol_available): Remove #if 0 code.
34374         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34375         conditional code.
34376         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34377         * sysdeps/unix/sysv/linux/kernel-features.h
34378         (__ASSUME_GETCWD_SYSCALL): Don't define.
34379         (__ASSUME_REALTIME_SIGNALS): Likewise.
34380         (__ASSUME_PREAD_SYSCALL): Likewise.
34381         (__ASSUME_PWRITE_SYSCALL): Likewise.
34382         (__ASSUME_POLL_SYSCALL): Likewise.
34383         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34384         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34385         non-SPARC.
34386         (__ASSUME_SIOCGIFNAME): Don't define.
34387         (__ASSUME_MSG_NOSIGNAL): Likewise.
34388         (__ASSUME_SENDFILE): Define unconditionally.
34389         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34390         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34391         conditional code.
34392         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34393         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34394         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34395         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34396         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34397         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34398         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34400         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34401         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34403         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34406         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34407         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34409         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34412         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34413         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34415         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34418         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34419         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34421         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34423         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34424         Remove conditional code.
34425         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34426         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34427         Remove conditional code.
34428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34429         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34430         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34431         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34432         Remove conditional code.
34433         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34434         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34435         Remove conditional code.
34436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34437         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34438         Remove conditional code.
34439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34440         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34441         Remove conditional code.
34442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34443         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34444         Remove conditional code.
34445         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34446         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34447         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34448         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34449         * sysdeps/unix/sysv/linux/sigaction.c
34450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34452         * sysdeps/unix/sysv/linux/sigpending.c
34453         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34454         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34455         * sysdeps/unix/sysv/linux/sigprocmask.c
34456         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34457         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34458         * sysdeps/unix/sysv/linux/sigsuspend.c
34459         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34460         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34461         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34462         (__libc_missing_rt_sigs): Remove.
34463         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34464         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34465         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34466         Remove conditional code.
34467         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34468         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34469         return 1.
34470         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34471         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34472         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34473         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34474
34475 2012-05-14  Andreas Jaeger  <aj@suse.de>
34476
34477         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34478         it's not used in glibc.
34479         (__coshm1): Likewise.
34480         (__acosh1p): Likewise.
34481         (__sgn): Likewise.
34482
34483         * manual/string.texi (Copying and Concatenation): Add missing
34484         variable in concat example.
34485         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34486
34487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34488
34489         [BZ #14103]
34490         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34491         __builtin_clzl with __builtin_clzll.
34492
34493 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34494
34495         [BZ #14104]
34496         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34497         libc_freeres_ptr.
34498
34499 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34500
34501         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34502         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34503         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34504         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34505
34506 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34507
34508         * NEWS: Update ia64 info.
34509
34510 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34511
34512         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34513         used as bcopy.
34514
34515 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34516
34517         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34518         * sysdeps/unix/syscalls.list (dup3): Likewise.
34519         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34520         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34521
34522 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34523
34524         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34525         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34526
34527 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34528
34529         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34530         thread pointer.
34531         (TLS_IE): Use mov/add instead of movq/addq to load thread
34532         pointer.
34533         (TLS_GD_PREFIX): New.
34534         (TLS_GD): Use it.
34535
34536 2012-05-11  David S. Miller  <davem@davemloft.net>
34537
34538         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34539         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34540         (_FPU_SETCW): Likewise.
34541
34542 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34543
34544         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34545         is 32-byte aligned.
34546
34547 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34548
34549         [BZ #11837]
34550         * iconvdata/gb18030.c: Update tables.
34551         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34552         characters specially.
34553         (BODY for TO_LOOP): Add encoding of missing ranges.
34554
34555 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34556
34557         [BZ #13673]
34558         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34559         * sysdeps/mach/hurd/dup3.c: Likewise.
34560         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34561         * sysdeps/powerpc/memmove.c:: Likewise.
34562
34563 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34564
34565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34566         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34567
34568 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34569
34570         * elf/elf.h (R_X86_64_RELATIVE64): New.
34571         (R_X86_64_NUM): Updated.
34572         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34573         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34574         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34575         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34576         tst-quad1pie tst-quad2pie
34577         (modules-names): Add tst-quadmod1 tst-quadmod2.
34578         ($(objpfx)tst-quad1): New dependency.
34579         ($(objpfx)tst-quad2): Likewise.
34580         ($(objpfx)tst-quad1pie): Likewise.
34581         ($(objpfx)tst-quad2pie): Likewise.
34582         * sysdeps/x86_64/tst-quad1.c: New file.
34583         * sysdeps/x86_64/tst-quad1pie.c: New file.
34584         * sysdeps/x86_64/tst-quad2.c: Likewise.
34585         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34586         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34587         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34588         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34589         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34590
34591 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34592
34593         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34594         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34595         * streams/stropts.h (t_scalar_t): Define type.
34596
34597         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34598         (_PATH_PRESERVE): Set to "/var/lib".
34599         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34600
34601         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34602         instead of int.
34603
34604         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34605         if __dir_mkfile succeeded.
34606
34607         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34608         checking for _hurd_dtablesize.  Unlock it right after having
34609         finished _hurd_dtable allocation.
34610
34611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34612
34613         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34614         * sysdeps/mach/hurd/configure: Regenerated.
34615         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34616         special-casing to...
34617         * sysdeps/gnu/configure.in: ... this new file.
34618         * sysdeps/unix/sysv/linux/configure: Regenerated.
34619         * sysdeps/gnu/configure: New generated file.
34620
34621         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34622         for Linux: use nsec instead of usec, as well as:
34623         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34624         members of type struct timespec.
34625         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34626         New macros.
34627         (struct stat64): Likewise.
34628         (_STATBUF_ST_NSEC): New macro.
34629         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34630
34631         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34632         __strtoul_internal rather than strtoul.
34633
34634 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34635
34636         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34637         and reject them.
34638
34639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34640
34641         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34642         which preserves existing values.
34643         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34644
34645 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34646
34647         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34648         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34649         greater than FD_SETSIZE.
34650
34651 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34652
34653         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34654         allocated, call __vm_protect to finish enabling the existing space, and
34655         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34656         allocate the remainder.
34657
34658 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34659
34660         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34661         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34662
34663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34664
34665         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34666         sysdeps/mach/hurd/readlink.c.
34667
34668         * posix/tst-sysconf.c (posix_options): Only use
34669         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34670         _POSIX_SYNCHRONIZED_IO when they are defined
34671         * sysdeps/mach/hurd/bits/posix_opt.h:
34672         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34673         (_XOPEN_REALTIME): Undefine macro.
34674         (_XOPEN_REALTIME_THREADS): Undefine macro.
34675         (_XOPEN_SHM): Undefine macro.
34676         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34677         macro to -1.
34678         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34679         macro to -1.
34680         (_POSIX_ASYNC_IO): Undefine macro.
34681         (_POSIX_PRIORITIZED_IO): Undefine macro.
34682         (_POSIX_SPIN_LOCKS): Define macro to -1.
34683
34684         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34685         SA_NODEFER, SA_RESETHAND.
34686         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34687         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34688         F_DUPFD_CLOEXEC.
34689
34690 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34691
34692         * elf/Makefile (pldd-modules): Define unconditionally.
34693
34694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34695
34696         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34697
34698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34699
34700         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34701         Return ENOENT when name is empty.
34702         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34703
34704 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34705
34706         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34707
34708         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34709
34710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34711
34712         Fix mlock in all cases except non-readable pages.
34713         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34714         instead of VM_PROT_ALL as parameter to __vm_wire function.
34715
34716         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34717         (__mkdir): When path is `/', just fail with EEXIST.
34718         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34719
34720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34721
34722         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34723         <sys/uio.h> (for writev).
34724         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34725         and <sys/param.h> (for MIN).
34726
34727 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34728
34729         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34730         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34731         if interrupted.
34732
34733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34734
34735         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34736         Depend on against $(link-rpcuserlibs).
34737
34738 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34739
34740         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34741         (__libc_stack_end): Do not use attribute_relro.
34742         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34743         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34744         to libthread-provided value.
34745         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34746         attribute_relro.
34747
34748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34749
34750         [BZ #3748]
34751         * bits/libc-lock.h (__libc_once_get): New macro.
34752         * sysdeps/mach/bits/libc-lock.h: Likewise.
34753         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34754         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34755         instead of using implementation details.
34756
34757         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34758         * libio/freopen.c: Likewise.
34759         * libio/freopen64.c: Likewise.
34760         * misc/syslog.c: Likewise.
34761         * nscd/connections.c: Likewise.
34762         * nscd/netgroupcache.c: Likewise.
34763         * sysdeps/posix/getcwd.c: Likewise.
34764
34765 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34766
34767         * math/w_ilogbf.c: Add #include <limits.h>.
34768
34769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34770
34771         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34772         path instead of returning without unlocking.
34773
34774         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34775         immediate-write ioctls.
34776         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34777
34778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34779
34780         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34781         __builtin_frame_address instead of making assumptions about the
34782         location of the return address relative to DATA.  Force early load of
34783         the return address.
34784         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34785         __builtin_frame_address.
34786
34787         dup3 for GNU Hurd.
34788         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34789         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34790         implement dup3 and do some further code clean-ups.
34791         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34792         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34793
34794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34795
34796         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34797
34798         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34799         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34800         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34801         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34802         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34803         d->port.lock.
34804
34805         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34806         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34807         when handler == SIG_ERR, not when handler != SIG_ERR.
34808
34809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34810
34811         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34812         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34813         definitions.
34814
34815         accept4 for GNU Hurd.
34816         * include/sys/socket.h (__libc_accept4): New prototype.
34817         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34818         to implement __libc_accept4.
34819         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34820         __libc_accept4.
34821         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34822
34823         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34824         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34825         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34826         signal-defines.sym.
34827
34828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34829
34830         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34831
34832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34833
34834         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34835         assertion on O_CLOEXEC flag.
34836         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34837         * hurd/intern-fd.c: Likewise.
34838         * hurd/port2fd.c: Likewise.
34839
34840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34841
34842         [BZ #3906]
34843         * bits/in.h (IPV6_PKTINFO): Define new macro.
34844         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34845
34846 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34847
34848         [BZ #13954]
34849         [BZ #13955]
34850         [BZ #13956]
34851         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34853         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34854         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34855         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34856         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34857         * math/libm-test.inc (logb_test) : Additional logb tests.
34858
34859 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34860             Andreas Jaeger  <aj@suse.de>
34861
34862         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34863         * configure: Regenerated.
34864         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34865         * config.make.in (link-obsolete-rpc): New substituted variable.
34866         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34867         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34868         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34869         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34870         so that libc.a contains the symbols.
34871         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34872         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34873         * sunrpc/auth_none.c: Likewise.
34874         * sunrpc/auth_unix.c: Likewise.
34875         * sunrpc/authdes_prot.c: Likewise.
34876         * sunrpc/authuxprot.c: Likewise.
34877         * sunrpc/clnt_gen.c: Likewise.
34878         * sunrpc/clnt_perr.c: Likewise.
34879         * sunrpc/clnt_raw.c: Likewise.
34880         * sunrpc/clnt_simp.c: Likewise.
34881         * sunrpc/clnt_tcp.c: Likewise.
34882         * sunrpc/clnt_udp.c: Likewise.
34883         * sunrpc/clnt_unix.c: Likewise.
34884         * sunrpc/des_crypt.c: Likewise.
34885         * sunrpc/des_soft.c: Likewise.
34886         * sunrpc/get_myaddr.c: Likewise.
34887         * sunrpc/key_call.c: Likewise.
34888         * sunrpc/key_prot.c: Likewise.
34889         * sunrpc/netname.c: Likewise.
34890         * sunrpc/pm_getmaps.c: Likewise.
34891         * sunrpc/pm_getport.c: Likewise.
34892         * sunrpc/pmap_clnt.c: Likewise.
34893         * sunrpc/pmap_prot.c: Likewise.
34894         * sunrpc/pmap_prot2.c: Likewise.
34895         * sunrpc/pmap_rmt.c: Likewise.
34896         * sunrpc/publickey.c: Likewise.
34897         * sunrpc/rpc_cmsg.c: Likewise.
34898         * sunrpc/rpc_common.c: Likewise.
34899         * sunrpc/rpc_dtable.c: Likewise.
34900         * sunrpc/rpc_prot.c: Likewise.
34901         * sunrpc/rpc_thread.c: Likewise.
34902         * sunrpc/rtime.c: Likewise.
34903         * sunrpc/svc.c: Likewise.
34904         * sunrpc/svc_auth.c: Likewise.
34905         * sunrpc/svc_raw.c: Likewise.
34906         * sunrpc/svc_run.c: Likewise.
34907         * sunrpc/svc_tcp.c: Likewise.
34908         * sunrpc/svc_udp.c: Likewise.
34909         * sunrpc/svc_unix.c: Likewise.
34910         * sunrpc/svcauth_des.c: Likewise.
34911         * sunrpc/xcrypt.c: Likewise.
34912         * sunrpc/xdr.c: Likewise.
34913         * sunrpc/xdr_array.c: Likewise.
34914         * sunrpc/xdr_float.c: Likewise.
34915         * sunrpc/xdr_intXX_t.c: Likewise.
34916         * sunrpc/xdr_mem.c: Likewise.
34917         * sunrpc/xdr_rec.c: Likewise.
34918         * sunrpc/xdr_ref.c: Likewise.
34919         * sunrpc/xdr_sizeof.c: Likewise.
34920         * sunrpc/xdr_stdio.c: Likewise.
34921
34922 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34923
34924         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34925         change.  Update copyright years.
34926
34927 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34928
34929         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34930
34931 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34932             Joseph Myers  <joseph@codesourcery.com>
34933             Paul Pluzhnikov  <ppluzhnikov@google.com>
34934
34935         [BZ #14012]
34936         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34937         requiring rpcgen.
34938         [cross-compiling] (extra-libs): Likewise.
34939         [cross-compiling] (extra-libs-others): Likewise.
34940         [cross-compiling] (librpcsvc-routines): Likewise.
34941         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34942         [cross-compiling] (omit-deps): Likewise.
34943         (sunrpc-CPPFLAGS): New variable.
34944         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34945         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34946         (cross-rpcgen-objs): New variable.
34947         (extra-objs): Append $(cross-rpcgen-objs).
34948         ($(cross-rpcgen-objs)): New rule.
34949         ($(objpfx)cross-rpcgen): Likewise.
34950         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34951         comment.
34952         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34953         ($(objpfx)x%.stmp): Likewise.
34954         * sunrpc/proto.h [IS_IN_build] (_): Define.
34955         [IS_IN_build] (_libc_intl_domainname): Likewise.
34956
34957 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34958
34959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34960         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34961         and R_X86_64_TPOFF64.
34962
34963 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34964
34965         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34966         sysdeps/unix/sysv/syscalls.list.
34967         (stime): Likewise.
34968         (utime): Likewise.
34969         * sysdeps/unix/sysv/syscalls.list: Remove file.
34970
34971 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34972
34973         [BZ #3440]
34974         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34975         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34976         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34977         (__LC_IDENTIFICATION): Make these macros useful in #if
34978         expressions, as required by C99.
34979
34980 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34981
34982         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34983         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34984         after this.
34985
34986 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34987
34988         * stdlib/longlong.h: Updated from GCC.
34989
34990 2012-05-09  Andreas Jaeger  <aj@suse.de>
34991
34992         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34993         default is first entry.
34994         (run_mode): Set type.
34995         (main): Remove informal message about syslog.
34996         (options): Fix typo.
34997
34998         [BZ #14053]
34999         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35000         to asm.
35001         (lrint): Likewise.
35002         (llrintf): Likewise.
35003         (llrint): Likewise.
35004         (rint): Likewise.
35005         (rintf): Likewise.
35006         (nearbyint): Likewise.
35007         (nearbyintf): Likewise.
35008
35009 2012-05-09  Andreas Jaeger  <aj@suse.de>
35010             Pedro Alves  <palves@redhat.com>
35011
35012         * nscd/nscd.c (run_mode): Use enum.
35013         (main): Cleanup coding style issue.
35014
35015 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35016             Andreas Jaeger  <aj@suse.de>
35017
35018         * nscd/nscd.c (go_background): Replaced with...
35019         (run_mode): ... this.
35020         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35021         (options): Add -F --foreground.
35022         (main): Implement it.
35023         (parse_opt): Parse it.
35024
35025 2012-05-09  Andreas Jaeger  <aj@suse.de>
35026
35027         [BZ #14083]
35028         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35029         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35030         -Wconversion warning.
35031         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35032         Likewise.
35033
35034 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35035
35036         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35037         == 0.
35038         (LC_ALL): Use macro-int-constant.
35039         (LC_COLLATE): Likewise.
35040         (LC_CTYPE): Likewise.
35041         (LC_MESSAGES): Likewise.
35042         (LC_MONETARY): Likewise.
35043         (LC_NUMERIC): Likewise.
35044         (LC_TIME): Likewise.
35045         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35046         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35048         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35049         Specify type.
35050         [C99-based standards] (float_t): Expect type.
35051         [C99-based standards] (double_t): Expect type.
35052         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35053         type.
35054         [C99-based standards] (HUGE_VALL): Likewise.
35055         [C99-based standards] (INFINITY): Likewise.
35056         [C99-based standards] (NAN): Likewise.
35057         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35058         [C99-based standards] (FP_NAN): Likewise.
35059         [C99-based standards] (FP_NORMAL): Likewise.
35060         [C99-based standards] (FP_SUBNORMAL): Likewise.
35061         [C99-based standards] (FP_ZERO): Likewise.
35062         [C99-based standards] (FP_FAST_FMA): Use
35063         optional-macro-int-constant.  Specify type.  Require == 1.
35064         [C99-based standards] (FP_FAST_FMAF): Likewise.
35065         [C99-based standards] (FP_FAST_FMAL): Likewise.
35066         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35067         [C99-based standards] (FP_ILOGBNAN): Likewise.
35068         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35069         Specify type.
35070         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35071         [C99-based standards] (math_errhandling): Specify type.
35072         [ISO99 || ISO11] (signgam): Do not allow.
35073         [non-C99-based standards] (copysignf): Do not allow.
35074         [non-C99-based standards] (exp2f): Likewise.
35075         [non-C99-based standards] (log2f): Likewise.
35076         [non-C99-based standards] (modff): Allow.
35077         [non-C99-based standards] (erff): Do not allow.
35078         [non-C99-based standards] (erfcf): Likewise.
35079         [non-C99-based standards] (gammaf): Likewise.
35080         [non-C99-based standards] (hypotf): Likewise.
35081         [non-C99-based standards] (j0f): Likewise.
35082         [non-C99-based standards] (j1f): Likewise.
35083         [non-C99-based standards] (jnf): Likewise.
35084         [non-C99-based standards] (lgammaf): Likewise.
35085         [non-C99-based standards] (tgammaf): Likewise.
35086         [non-C99-based standards] (y0f): Likewise.
35087         [non-C99-based standards] (y1f): Likewise.
35088         [non-C99-based standards] (ynf): Likewise.
35089         [non-C99-based standards] (isnanf): Likewise.
35090         [non-C99-based standards] (acoshf): Likewise.
35091         [non-C99-based standards] (asinhf): Likewise.
35092         [non-C99-based standards] (atanhf): Likewise.
35093         [non-C99-based standards] (cbrtf): Likewise.
35094         [non-C99-based standards] (expm1f): Likewise.
35095         [non-C99-based standards] (ilogbf): Likewise.
35096         [non-C99-based standards] (log1pf): Likewise.
35097         [non-C99-based standards] (logbf): Likewise.
35098         [non-C99-based standards] (nextafterf): Likewise.
35099         [non-C99-based standards] (remainderf): Likewise.
35100         [non-C99-based standards] (rintf): Likewise.
35101         [non-C99-based standards] (scalbf): Likewise.
35102         [non-C99-based standards] (copysignl): Likewise.
35103         [non-C99-based standards] (exp2l): Likewise.
35104         [non-C99-based standards] (log2l): Likewise.
35105         [non-C99-based standards] (modfl): Allow.
35106         [non-C99-based standards] (erfl): Do not allow.
35107         [non-C99-based standards] (erfcl): Likewise.
35108         [non-C99-based standards] (gammal): Likewise.
35109         [non-C99-based standards] (hypotl): Likewise.
35110         [non-C99-based standards] (j0l): Likewise.
35111         [non-C99-based standards] (j1l): Likewise.
35112         [non-C99-based standards] (jnl): Likewise.
35113         [non-C99-based standards] (lgammal): Likewise.
35114         [non-C99-based standards] (tgammal): Likewise.
35115         [non-C99-based standards] (y0l): Likewise.
35116         [non-C99-based standards] (y1l): Likewise.
35117         [non-C99-based standards] (ynl): Likewise.
35118         [non-C99-based standards] (isnanl): Likewise.
35119         [non-C99-based standards] (acoshl): Likewise.
35120         [non-C99-based standards] (asinhl): Likewise.
35121         [non-C99-based standards] (atanhl): Likewise.
35122         [non-C99-based standards] (cbrtl): Likewise.
35123         [non-C99-based standards] (expm1l): Likewise.
35124         [non-C99-based standards] (ilogbl): Likewise.
35125         [non-C99-based standards] (log1pl): Likewise.
35126         [non-C99-based standards] (logbl): Likewise.
35127         [non-C99-based standards] (nextafterl): Likewise.
35128         [non-C99-based standards] (remainderl): Likewise.
35129         [non-C99-based standards] (rintl): Likewise.
35130         [non-C99-based standards] (scalbl): Likewise.
35131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35132         [non-C99-based standards] (FP_*): Do not allow.
35133         [C99-based standards] (FP_*): Change to
35134         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35135         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35136         allow.
35137         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35138         (SIG_ERR): Likewise.
35139         [X/Open-based standards] (SIG_HOLD): Likewise.
35140         (SIG_IGN): Likewise.
35141         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35142         positive value.
35143         (SIGFPE): Likewise.
35144         (SIGILL): Likewise.
35145         (SIGINT): Likewise.
35146         (SIGSEGV): Likewise.
35147         (SIGTER): Likewise.
35148         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35149         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35150         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35151         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35152         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35153         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35154         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35155         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35156         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35157         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35158         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35159         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35160         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35161         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35162         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35163         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35164         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35165         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35166         [X/Open-based standards] (SIGTRAP): Likewise.
35167         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35168         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35169         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35170         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35171         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35172         allow.
35173
35174 2012-05-08  Ian Wienand  <ianw@vmware.com>
35175
35176         [BZ #14080]
35177         * time/tzset.c (__tzset_parse_tz): Update default rules for
35178         daylight time changes in the Energy Policy Act of 2005.
35179
35180 2012-05-09  Andreas Jaeger  <aj@suse.de>
35181
35182         [BZ #13983]
35183         * elf/ldconfig.c (parse_conf): Change string to make clear that
35184         ldconfig only issued a warning if ld.so.conf does not exist.
35185
35186 2012-05-08  David S. Miller  <davem@davemloft.net>
35187
35188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35189         movxtod instead of popping the value on the stack.
35190
35191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35192
35193 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35194
35195         * config.h.in: Add HAVE_ARM_PCS_VFP.
35196
35197 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35198
35199         [BZ #13979]
35200         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35201         checking but the checks are disabled for any reason.
35202
35203 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35204
35205         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35206         and ELF64_R_TYPE with ELFW(R_TYPE).
35207
35208 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35209
35210         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35211         (ulimit): Likewise.
35212
35213         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35214         (settimeofday): Likewise.
35215
35216 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35217
35218         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35219         a struct th_u2 inside the union, and move tu_block/tu_code into
35220         a new th_u3 union of tu_block/tu_code inside of that.  Move
35221         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35222         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35223         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35224         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35225         (th_stuff): Change to th_u1.tu_stuff.
35226         (th_data): Define.
35227         (th_msg): Change to th_u1.th_u2.tu_data.
35228
35229 2012-05-07  David S. Miller  <davem@davemloft.net>
35230
35231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35232
35233         [BZ #14074]
35234         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35235         (SETUP_PIC_REG): Use it.
35236         (SETUP_PIC_REG_LEAF): Use it.
35237
35238 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35239
35240         [BZ #13885]
35241         [BZ #13923]
35242         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35243         USE_AS_EXPM1L.
35244         (EXPL_FINITE): Likewise.
35245         (FLDLOG): Likewise.
35246         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35247         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35248         e_expl.S.
35249         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35250         USE_AS_EXPM1L.
35251         (EXPL_FINITE): Likewise.
35252         (FLDLOG): Likewise.
35253         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35254         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35255         e_expl.S.
35256         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35257         test of -max_value argument for long double.
35258         * sysdeps/i386/fpu/libm-test-ulps: Update.
35259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35260
35261 2012-05-06  David S. Miller  <davem@davemloft.net>
35262
35263         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35264         quad soft-float symbols whose references which are compiler
35265         generated.
35266         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35267
35268 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35269
35270         [BZ #13884]
35271         [BZ #13914]
35272         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35273         USE_AS_EXP10L.
35274         (EXPL_FINITE): Likewise.
35275         (FLDLOG): Likewise.
35276         (c0): Likewise.
35277         (c1): Likewise.
35278         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35279         Adjust comments for base varying.
35280         (__expl_finite): Change alias to EXPL_FINITE.
35281         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35282         e_expl.S.
35283         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35284         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35285         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35286         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35287         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35288         USE_AS_EXP10L.
35289         (EXPL_FINITE): Likewise.
35290         (FLDLOG): Likewise.
35291         (c0): Likewise.
35292         (c1): Likewise.
35293         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35294         Adjust comments for base varying.
35295         (__expl_finite): Change alias to EXPL_FINITE.
35296         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35297         tests for bugs.
35298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35299
35300         [BZ #14064]
35301         * math/libm-test.inc (check_float_internal): Correct ulp
35302         calculation for subnormal expected results.
35303
35304 2012-05-06  Andreas Jaeger  <aj@suse.de>
35305
35306         * Makeconfig (+math-flags): New, set to -frounding-math.
35307         (+cflags): Add +math-flags so that all of glibc gets compiled with
35308         it.
35309
35310         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35311
35312 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35313
35314         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35315         Disable one test.
35316
35317         [BZ #13787]
35318         [BZ #13922]
35319         [BZ #14036]
35320         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35321         (__ieee754_expl): Allow for and saturate large arguments.
35322         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35323         (u_threshold): Likewise.
35324         (__exp): Call __ieee754_exp before checking for overflow and
35325         underflow.
35326         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35327         (u_threshold): Likewise.
35328         (__expf): Call __ieee754_expf before checking for overflow and
35329         underflow.
35330         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35331         (u_threshold): Likewise.
35332         (__expl): Call __ieee754_expl before checking for overflow and
35333         underflow.
35334         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35335         (__ieee754_expl): Allow for and saturate large arguments.
35336         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35337         missing overflow exception on overflow.
35338         (expm1_test): Do not allow missing overflow exception on overflow.
35339
35340         * sysdeps/i386/fpu/e_expl.c: Move to ...
35341         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35342         rather than using inline asm.
35343         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35344         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35345         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35346
35347         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35348         (nice): Likewise.
35349         (poll): Likewise.
35350         (signal): Likewise.
35351         (time): Likewise.
35352         (times): Likewise.
35353
35354 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35355
35356         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35357         sysdeps/unix/common/syscalls.list.
35358         (fchmod): Likewise.
35359         (fchown): Likewise.
35360         (ftruncate): Likewise.
35361         (getrusage): Likewise.
35362         (gettimeofday): Likewise.
35363         (setpgid): Likewise.
35364         (setregid): Likewise.
35365         (setreuid): Likewise.
35366         (sigaction): Likewise.
35367         (truncate): Likewise.
35368         (vhangup): Likewise.
35369         * sysdeps/unix/common/syscalls.list: Remove file.
35370         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35371         * sysdeps/unix/sysv/linux/Implies: Likewise.
35372
35373 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35374
35375         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35377         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35378         Moved to ...
35379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35380         Here.
35381         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35382         to ...
35383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35384         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35385         to ...
35386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35387         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35388         to ...
35389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35390         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35391         to ...
35392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35393         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35394         to ...
35395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35396         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35397         to ...
35398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35399         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35400         to ...
35401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35402         Here.
35403         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35404         to ...
35405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35406         Here.
35407         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35408         to ...
35409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35410         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35411         Moved to ...
35412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35413         Here.
35414         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35415         to ...
35416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35417
35418 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35419
35420         * sysdeps/unix/common/bits/dirent.h: Remove file.
35421         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35422
35423         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35424         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35425         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35426         * sysdeps/unix/bsd/isatty.c: Likewise.
35427         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35428         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35429         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35430
35431 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35432
35433         [BZ #13563]
35434         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35435         long double comparison inaccuracies.
35436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35438
35439 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35440
35441         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35443
35444 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35445
35446         [BZ #14049]
35447         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35448         nonzero digits before rounding a hex value.
35449         * stdlib/tst-strtod.c (tests): Add another test.
35450
35451 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35452
35453         * sysdeps/s390/fpu/libm-test-ulps: Update.
35454
35455 2012-05-03  Andreas Jaeger  <aj@suse.de>
35456
35457         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35458         does not get optimized out.
35459         (malloc_opt_barrier): New.
35460
35461 2012-05-03  Andreas Jaeger  <aj@suse.de>
35462             Roland McGrath  <roland@hack.frob.com>
35463
35464         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35465         intermediate file deletion.
35466         (generated): Add .symlist files.
35467
35468 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35469
35470         [BZ #13775]
35471         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35472         Redirect under this condition.
35473         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35474         [__USE_GNU] (__dprintf_chk): Not under this condition.
35475         [__USE_GNU] (__vdprintf_chk): Likewise.
35476         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35477         under this condition.
35478         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35479         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35480         [__USE_XOPEN2K8] (vdprintf): Likewise.
35481         [__USE_GNU] (__dprintf_chk): Not under this condition.
35482         [__USE_GNU] (__vdprintf_chk): Likewise.
35483         [__USE_GNU] (dprintf): Likewise.
35484         [__USE_GNU] (vdprintf): Likewise.
35485
35486 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35487
35488         * elf/Makefile (common-generated): Set this instead of generated for
35489         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35490         $(all-built-dso)-derived lists.
35491
35492 2012-05-03  Andreas Jaeger  <aj@suse.de>
35493
35494         * sysdeps/i386/fpu/libm-test-ulps: Update.
35495
35496         * FAQ: Removed.
35497         * FAQ.in: Likewise.
35498         * scripts/gen-FAQ.pl: Likewise.
35499         * manual/install.texi (Installation): Point to online location of
35500         FAQ.
35501         * Makefile (files-for-dist): Remove FAQ.
35502         (FAQ): Remove.
35503
35504 2012-05-02  Allan McRae  <allan@archlinux.org>
35505
35506         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35507         (LDFLAGS-reldepmod5.so): Likewise.
35508         (LDFLAGS-reldep6mod1.so): Likewise.
35509         (LDFLAGS-reldep6mod4.so): Likewise.
35510         (LDFLAGS-reldep8mod3.so): Likewise.
35511         (LDFLAGS-unload4mod1.so): Likewise.
35512         (LDFLAGS-unload4mod2.so): Likewise.
35513         (LDFLAGS-tst-initorder): Likewise.
35514         (LDFLAGS-tst-initordera2.so): Likewise.
35515         (LDFLAGS-tst-initordera3.so): Likewise.
35516         (LDFLAGS-tst-initordera4.so): Likewise.
35517         (LDFLAGS-tst-initorderb2.so): Likewise.
35518         (LDFLAGS-noload): Likewise.
35519         (LDFLAGS-next): Likewise.
35520         (LDFLAGS-order2mod1.so): Likewise.
35521         (LDFLAGS-order2mod2.so): Likewise.
35522         (LDFLAGS-tst-initorder2): Likewise.
35523         (LDFLAGS-tst-initorder2a.so): Likewise.
35524         (LDFLAGS-tst-initorder2b.so): Likewise.
35525         (LDFLAGS-tst-initorder2c.so): Likewise.
35526         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35527
35528 2012-05-02  David S. Miller  <davem@davemloft.net>
35529
35530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35531
35532 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35533
35534         [BZ #14055]
35535         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35536
35537 2012-05-02  Andreas Jaeger  <aj@suse.de>
35538
35539         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35540         since we manipulate rounding mode.
35541         (CPPFLAGS-test-idouble.c): Likewise.
35542         (CPPFLAGS-test-ifloat.c): Likewise.
35543         (CFLAGS-test-ldouble.c): Likewise.
35544         (CFLAGS-test-double.c): Likewise.
35545         (CFLAGS-test-float.c): Likewise.
35546         (CFLAGS-test-misc.c): Likewise.
35547         (CFLAGS-test-test-fenv.c): Likewise.
35548
35549 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35550
35551         [BZ #2550]
35552         [BZ #2570]
35553         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35554         comparisons to determine direction to adjust input.
35555
35556 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35557
35558         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35559         output to the target.
35560
35561         * scripts/localplt.awk: New file.
35562         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35563         (check-localplt-CFLAGS): Variable removed.
35564         ($(all-built-dso:=.jmprel)): New static pattern rule.
35565         (generated): Add those targets.
35566         (localplt-built-dso): New variable.
35567         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35568
35569         * elf/check-localplt.c: File removed.
35570
35571         * scripts/check-execstack.awk: New file.
35572         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35573         (check-execstack-CFLAGS): Variable removed.
35574         ($(objpfx)check-execstack.h): Target removed.
35575         ($(objpfx)execstack-default): New target.
35576         (generated): Add that instead of check-execstack.h.
35577         ($(all-built-dso:=.phdr)): New static pattern rule.
35578         (generated): Add those targets.
35579         * elf/check-execstack.c: File removed.
35580
35581         * scripts/check-textrel.awk: New file.
35582         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35583         (check-textrel-CFLAGS): Variable removed.
35584         (all-built-dso): Use := to define.o
35585         ($(all-built-dso:=.dyn)): New static pattern rule.
35586         (generated): Add those targets.
35587         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35588         * config.make.in (READELF): New substituted variable.
35589         * elf/check-textrel.c: File removed.
35590
35591 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35592
35593         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35594         allow.
35595         * conform/data/ctype.h-data [C99-based standards] (isblank):
35596         Expect function.
35597         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35598         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35600         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35601         Specify type.  Require positive value.
35602         (EILSEQ): Likewise.
35603         (ERANGE): Likewise.
35604         [ISO || POSIX] (EILSEQ): Do not expect.
35605         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35606         Specify type.  Require positive value.
35607         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35608         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35609         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35610         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35611         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35612         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35613         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35614         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35615         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35616         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35617         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35618         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35619         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35620         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35621         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35622         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35623         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35624         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35625         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35626         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35627         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35628         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35629         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35630         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35631         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35632         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35633         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35634         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35635         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35636         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35637         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35638         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35639         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35640         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35641         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35642         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35643         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35644         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35645         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35646         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35647         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35648         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35649         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35650         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35651         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35652         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35653         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35654         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35655         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35656         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35657         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35658         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35659         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35660         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35661         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35662         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35663         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35664         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35665         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35666         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35667         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35668         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35669         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35670         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35671         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35672         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35673         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35674         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35675         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35676         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35677         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35678         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35679         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35680         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35681         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35682         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35683         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35684         Require >= 2.
35685         (FLT_ROUNDS): Expect as macro, not constant.
35686         (FLT_MANT_DIG): Use macro-int-constant.
35687         (DBL_MANT_DIG): Likewise.
35688         (LDBL_MANT_DIG): Likewise.
35689         (FLT_DIG): Likewise.
35690         (DBL_DIG): Likewise.
35691         (LDBL_DIG): Likewise.
35692         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35693         (DBL_MIN_EXP): Likewise.
35694         (LDBL_MIN_EXP): Likewise.
35695         (FLT_MAX_EXP): Use macro-int-constant.
35696         (DBL_MAX_EXP): Likewise.
35697         (LDBL_MAX_EXP): Likewise.
35698         (FLT_MAX_10_EXP): Likewise.
35699         (DBL_MAX_10_EXP): Likewise.
35700         (LDBL_MAX_10_EXP): Likewise.
35701         (FLT_MAX): Use macro-constant.
35702         (DBL_MAX): Likewise.
35703         (LDBL_MAX): Likewise.
35704         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35705         (DBL_EPSILON): Likewise.
35706         (LDBL_EPSILON): Likewise.
35707         (FLT_MIN): Likewise.
35708         (DBL_MIN): Likewise.
35709         (LDBL_MIN): Likewise.
35710         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35711         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35712         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35713         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35714         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35715         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35716         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35717         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35718         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35719         [ISO11] (FLT_TRUE_MIN): Likewise.
35720         [ISO11] (LDBL_TRUE_MIN): Likewise.
35721         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35722         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35723         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35724         (SCHAR_MAX): Likewise.
35725         (UCHAR_MAX): Likewise.
35726         (CHAR_MIN): Likewise.
35727         (CHAR_MAX): Likewise.
35728         (MB_LEN_MAX): Use macro-int-constant.
35729         (SHRT_MIN): Use macro-int-constant.  Specify type.
35730         (SHRT_MAX): Likewise.
35731         (USHRT_MAX): Likewise.
35732         (INT_MAX): Likewise.
35733         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35734         bound negative.
35735         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35736         bound with "U".
35737         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35738         bound with "L".
35739         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35740         bound negative.  Suffix upper bound with "L".
35741         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35742         bound with "UL".
35743         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35744         Specify type.
35745         [C99-based standards] (LLONG_MAX): Likewise.
35746         [C99-based standards] (ULLONG_MAX): Likewise.
35747         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35748         == 0.
35749         [ISO11] (max_align_t): Require type.
35750         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35751
35752         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35753         from $CFLAGS, without defining away __attribute__ calls.
35754         (checknamespace): Use $CFLAGS_namespace.
35755
35756         * conform/conformtest.pl (@keywords): Only include C99 keywords
35757         for standards based on C99 or C11.
35758
35759         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35760         Disable tests.
35761         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35762         UNIX98]: Likewise.
35763
35764         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35765         usability of symbols in #if.
35766
35767         * conform/conformtest.pl: If macro or constant types start
35768         "promoted:", expect the symbol to be of the following type
35769         promoted by the integer promotions.
35770
35771         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35772         in one place.  Also handle "macro-constant".
35773
35774         * conform/conformtest.pl: Only accept expected macro values with
35775         "==".  Parse all "macro" lines in one place.
35776         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35777
35778         * conform/conformtest.pl: Handle braced types on "constant" lines
35779         instead of handling "typed-constant".
35780         * conform/data/signal.h-data: Use "constant" instead of
35781         "typed-constant".
35782
35783         * conform/conformtest.pl: Handle "optional-" at start of lines in
35784         one place rather than duplicating several cases.  Handle each
35785         format of "macro" line with initial "optional-".
35786
35787         * conform/conformtest.pl: Only accept expected constant or
35788         optional-constant values with "==".  Parse all "constant" lines in
35789         one place.  Parse all "optional-constant" lines in one place.
35790         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35791         * conform/data/fmtmsg.h-data: Likewise.
35792         * conform/data/netinet/in.h-data: Likewise.
35793         * conform/data/tar.h-data: Likewise.
35794         * conform/data/limits.h-data: Use "==" form on "constant" and
35795         "optional-constant" lines.
35796
35797         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35798         Use -std=c99 for XOPEN2K.
35799         (@knownproblems): Remove.
35800         (newtoken): Don't check %isknown.
35801
35802         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35803         Do not expect macro.
35804         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35805         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35806         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35807         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35808         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35809         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35810         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35811         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35812         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35813         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35814         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35815         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35816         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35817         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35818         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35819         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35820         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35821         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35822         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35823         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35824         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35825         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35826         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35827         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35828         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35829         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35830         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35831         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35832         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35833         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35834         [XPG3] (acosh): Likewise.
35835         [XPG3] (asinh): Likewise.
35836         [XPG3] (atanh): Likewise.
35837         [XPG3] (cbrt): Likewise.
35838         [XPG3] (expm1): Likewise.
35839         [XPG3] (ilogb): Likewise.
35840         [XPG3] (log1p): Likewise.
35841         [XPG3] (logb): Likewise.
35842         [XPG3] (nextafter): Likewise.
35843         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35844         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35845         [XPG3] (remainder): Likewise.
35846         [XPG3] (rint): Likewise.
35847         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35848         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35849         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35850         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35851         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35852         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35853         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35854         [UNIX98 || XOPEN2K] (scalb): Expect.
35855         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35856         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35857         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35858         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35859         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35860         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35861         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35862         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35863         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35864         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35865         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35866         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35867         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35868         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35869         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35870         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35871         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35872         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35873         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35874         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35875         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35876         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35877         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35878         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35879         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35882         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35883         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35884         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35885         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35886         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35887         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35888         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35889         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35890         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35891         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35892         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35893         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35894         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35895         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35896         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35897         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35898         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35899         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35900         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35901         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35902         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35903         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35904         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35905         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35906         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35907         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35908         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35909         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35910         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35911         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35912         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35913         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35914         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35915         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35916         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35917         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35918         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35919         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35920         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35921         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35922         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35923         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35924         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35925         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35926         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35927         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35928         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35929         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35930         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35931         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35932         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35944         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35945         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35948         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35949         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35963         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35964         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35966         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35967         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35968         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35969         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35970         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35974         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35983         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35984         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35987         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35988         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35989         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35990         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35991         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35992
35993         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35994         _XOPEN_SOURCE_EXTENDED for XPG4.
35995
35996         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35997
35998         * Makeconfig (localtime): Remove variable.
35999         (inst_localtime-file): Likewise.
36000
36001 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36002
36003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36004         Update.
36005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36006         Update.
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36008         Update.
36009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36010         Update.
36011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36012         Update.
36013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36014         Update.
36015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36016         Update.
36017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36018         Update.
36019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36020         Update.
36021
36022 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36023
36024         [BZ #2550]
36025         [BZ #2570]
36026         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36027         comparisons to determine direction to adjust input.
36028         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36029         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36030         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36031         Likewise.
36032         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36033         Likewise.
36034         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36035         Likewise.
36036         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36037         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36038         Likewise.
36039         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36040         Likewise.
36041         * math/libm-test.inc (nexttoward_test): Add more tests.
36042
36043 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36044
36045         [BZ #14040]
36046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36047         in version GLIBC_2.1, not GLIBC_2.0.
36048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36049         Likewise.
36050
36051 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36052
36053         [BZ #13942]
36054         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36055         (1 - x) * (1 + x).
36056         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36057         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36058         * math/libm-test.inc (acos_test): Add more tests.
36059         (asin_test): Likewise.
36060         * sysdeps/i386/fpu/libm-test-ulps: Update.
36061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36062
36063         [BZ #14034]
36064         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36065         of square root.
36066         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36067         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36068         * math/libm-test.inc (acos_test_tonearest): New function.
36069         (acos_test_towardzero): Likewise.
36070         (acos_test_downward): Likewise.
36071         (acos_test_upward): Likewise.
36072         (asin_test_tonearest): Likewise.
36073         (asin_test_towardzero): Likewise.
36074         (asin_test_downward): Likewise.
36075         (asin_test_upward): Likewise.
36076         (main): Call the new functions.
36077         * sysdeps/i386/fpu/libm-test-ulps: Update.
36078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36079
36080         [BZ #13884]
36081         [BZ #13924]
36082         * math/e_exp10.c: Include <float.h>.
36083         (__ieee754_exp10): Handle underflow here rather than multiplying
36084         large negative argument by M_LN10.
36085         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36086         of __ieee754_expf.
36087         * math/e_exp10l.c: Include <float.h>.
36088         (__ieee754_exp10l): Handle underflow here rather than multiplying
36089         large negative argument by M_LN10l.
36090         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36091         spurious overflow exception on underflow.
36092
36093 2012-04-29  Marek Polacek  <polacek@redhat.com>
36094
36095         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36096         (__fortify_function): New macro.
36097         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36098         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36099         __extern_always_inline.
36100         * libio/bits/stdio2.h: Likewise.
36101         * libio/bits/stdio.h: Likewise.
36102         * string/string.h: Likewise.
36103         * string/bits/string3.h: Likewise.
36104         * include/stdio.h: Likewise.
36105         * stdlib/bits/stdlib.h: Likewise.
36106         * stdlib/stdlib.h: Likewise.
36107         * rt/bits/mqueue2.h: Likewise.
36108         * rt/mqueue.h: Likewise.
36109         * posix/bits/unistd.h: Likewise.
36110         * posix/unistd.h: Likewise.
36111         * io/bits/poll2.h: Likewise.
36112         * io/bits/fcntl2.h: Likewise.
36113         * io/fcntl.h: Likewise.
36114         * io/sys/poll.h: Likewise.
36115         * misc/bits/syslog.h: Likewise.
36116         * misc/bits/syslog-ldbl.h: Likewise.
36117         * misc/sys/syslog.h: Likewise.
36118         * socket/bits/socket2.h: Likewise.
36119         * socket/sys/socket.h: Likewise.
36120         * debug/tst-chk1.c: Likewise.
36121         * wcsmbs/bits/wchar2.h: Likewise.
36122         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36123         * wcsmbs/wchar.h: Likewise.
36124
36125 2012-04-29  Andreas Jaeger  <aj@suse.de>
36126
36127         * Makerules (tests): Remove enable-check-abi protection.
36128         (check-abi-warn): Remove.
36129         (check-abi-%): Remove check-abi-warn usage.
36130
36131         * configure.in: Remove check-abi configure option.
36132         * configure: Regenerated.
36133         * config.make.in (enable-check-abi): Remove.
36134
36135 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36136
36137         [BZ #14033]
36138         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36139         double functions to double *_finite functions.
36140
36141         [BZ #13941]
36142         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36143         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36144         LDBL_MIN_EXP.
36145         * stdio-common/Makefile (tests): Add tst-sprintf3.
36146         * stdio-common/tst-sprintf3.c: New file.
36147
36148         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36149         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36150
36151 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36152
36153         * conform/conformtest.pl: Remove duplicate typed-constant
36154         handling.
36155
36156 2012-04-28  David S. Miller  <davem@davemloft.net>
36157
36158         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36159         (check-abi-%): Remove AWK script prerequisite and explicit
36160         abilist directory.
36161         (check-abi): Rewrite to just diff the symlist with the abilist.
36162         (config-tls, config-abi-config): Delete, no longer used.
36163         (update-abi-%): Remove AWK script and explicit abilist directory.
36164         (update-abi): Rewrite to simply compare and conditionally copy the
36165         symlist and the sysdep abilist file.  Remove update-abi-config
36166         checks.
36167         * abilist/ld.abilist: Remove.
36168         * abilist/libBrokenLocale.abilist: Remove.
36169         * abilist/libanl.abilist: Remove.
36170         * abilist/libcrypt.abilist: Remove.
36171         * abilist/libdl.abilist: Remove.
36172         * abilist/librt.abilist: Remove.
36173         * abilist/libthread_db.abilist: Remove.
36174         * abilist/libutil.abilist: Remove.
36175         * scripts/extract-abilist.awk: Remove.
36176         * scripts/merge-abilist.awk: Remove.
36177         * sysdeps/generic/libcidn.abilist: New file.
36178         * sysdeps/generic/libnss_compat.abilist: New file.
36179         * sysdeps/generic/libnss_db.abilist: New file.
36180         * sysdeps/generic/libnss_dns.abilist: New file.
36181         * sysdeps/generic/libnss_files.abilist: New file.
36182         * sysdeps/generic/libnss_hesiod.abilist: New file.
36183         * sysdeps/generic/libnss_nis.abilist: New file.
36184         * sysdeps/generic/libnss_nisplus.abilist: New file.
36185         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36186         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36187         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36188         file.
36189         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36190         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36191         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36192         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36193         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36194         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36195         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36196         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36197         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36198         file.
36199         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36200         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36201         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36202         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36203         file.
36204         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36205         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36206         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36207         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36208         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36209         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36210         file.
36211         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36212         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36213         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36214         file.
36215         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36217         New file.
36218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36219         New file.
36220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36221         New file.
36222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36223         New file.
36224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36225         New file.
36226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36227         New file.
36228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36229         New file.
36230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36231         New file.
36232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36233         New file.
36234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36235         New file.
36236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36237         New file.
36238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36239         New file.
36240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36241         New file.
36242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36243         file.
36244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36245         New file.
36246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36247         New file.
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36249         file.
36250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36251         New file.
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36253         New file.
36254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36255         file.
36256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36257         New file.
36258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36259         New file.
36260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36261         New file.
36262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36263         New file.
36264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36265         New file.
36266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36267         New file.
36268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36270         file.
36271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36272         New file.
36273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36274         file.
36275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36276         file.
36277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36278         file.
36279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36280         file.
36281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36282         file.
36283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36284         New file.
36285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36286         file.
36287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36288         file.
36289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36290         New file.
36291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36292         file.
36293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36295         file.
36296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36297         New file.
36298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36299         file.
36300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36301         file.
36302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36303         file.
36304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36305         file.
36306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36307         file.
36308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36309         New file.
36310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36311         file.
36312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36313         file.
36314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36315         New file.
36316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36317         file.
36318         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36319         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36320         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36321         file.
36322         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36323         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36324         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36325         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36326         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36327         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36328         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36329         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36330         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36331         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36334         file.
36335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36336         New file.
36337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36338         file.
36339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36340         file.
36341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36342         file.
36343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36344         file.
36345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36346         file.
36347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36348         New file.
36349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36350         New file.
36351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36352         file.
36353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36354         New file.
36355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36356         file.
36357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36359         file.
36360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36361         New file.
36362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36363         file.
36364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36365         file.
36366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36367         file.
36368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36369         file.
36370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36371         file.
36372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36373         New file.
36374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36375         New file.
36376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36377         file.
36378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36379         New file.
36380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36381         file.
36382
36383 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36384
36385         * conform/conformtest.pl: Fix typo in handling typed-constant from
36386         allow-header.
36387
36388 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36389
36390         * README: Cut down references to pre-2.6 Linux kernels and
36391         Linuxthreads.  Update lists of configurations in libc and ports
36392         and sort alphabetically.  Say "or newer" with Linux kernel version
36393         requirements.
36394
36395         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36396
36397 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36398
36399         [BZ #887]
36400         * math/libm-test.inc (logb_test_downward): New test to expose
36401         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36402         rounding mode.
36403
36404 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36405
36406         [BZ #14027]
36407         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36408         to be done.
36409         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36410         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36411
36412 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36413
36414         * sysdeps/unix/i386/brk.S: Remove file.
36415         * sysdeps/unix/i386/dl-brk.S: Likewise.
36416         * sysdeps/unix/i386/pipe.S: Likewise.
36417         * sysdeps/unix/i386/sigreturn.S: Likewise.
36418         * sysdeps/unix/i386/syscall.S: Likewise.
36419         * sysdeps/unix/i386/vfork.S: Likewise.
36420         * sysdeps/unix/i386/wait.S: Likewise.
36421
36422         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36423         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36424
36425         * configure.in (arm*-none*): Do not allow without
36426         --enable-hacker-mode.
36427         (netbsd*): Remove case setting base_os.
36428         (386bsd*): Likewise.
36429         (freebsd*): Likewise.
36430         (bsdi*): Likewise.
36431         (osf*): Likewise.
36432         (sunos*): Likewise.
36433         (ultrix*): Likewise.
36434         (newsos*): Likewise.
36435         (dynix*): Likewise.
36436         (*bsd*): Likewise.
36437         (sysv*): Likewise.
36438         (isc*): Likewise.
36439         (esix*): Likewise.
36440         (sco*): Likewise.
36441         (minix*): Likewise.
36442         (irix4*): Likewise.
36443         (irix6*): Likewise.
36444         (solaris[2-9]*): Likewise.
36445         (none): Likewise.
36446         * configure: Regenerated.
36447
36448 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36449
36450         [BZ #11521]
36451         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36452         overflow or cancellation in calculating denominator.
36453         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36454         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36455         down expression to avoid unexpected rounding in newer GCCs.
36456         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36457
36458 2012-04-26  David S. Miller  <davem@davemloft.net>
36459
36460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36461         long-double compat symbols.
36462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36475
36476 2012-04-25  David S. Miller  <davem@davemloft.net>
36477
36478         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36479         HWCAP_* values only after the memory barriers have been defined.
36480         (atomic_full_barrier): Define.
36481         (atomic_read_barrier): Define.
36482         (atomic_write_barrier): Define.
36483
36484 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36485
36486         * shlib-versions: Add libgcc_s version information.
36487         * sysdeps/generic/libgcc_s.h: Remove.
36488         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36489         libgcc_s.h.
36490         * sysdeps/gnu/unwind-resume.c: Likewise.
36491         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36492
36493 2012-04-25  David S. Miller  <davem@davemloft.net>
36494
36495         * sysdeps/unix/sparc/brk.S: Delete.
36496         * sysdeps/unix/sparc/dl-brk.S: Delete.
36497         * sysdeps/unix/sparc/pipe.S: Delete.
36498         * sysdeps/unix/sparc/sysdep.S: Delete.
36499         * sysdeps/unix/sparc/sysdep.h: Delete.
36500         * sysdeps/unix/sparc/vfork.S: Delete.
36501         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36502         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36503         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36504         (ret_ERRVAL, r0, r1, MOVE): Define.
36505         (JUMPTARGET): Remove.
36506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36507         sysdeps/unix/sparc/sysdep.h
36508         (ENTRY, END): Remove.
36509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36510
36511 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36512
36513         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36514         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36515         -DIS_IN_build.
36516
36517         * timezone/README: Update upstream location and email address for
36518         tzcode and tzdata.
36519         * timezone/zdump.c: Update from tzcode 2012b.
36520         * timezone/zic.c: Likewise.
36521
36522         * configure.in (libc_cv_as_needed): Remove test.
36523         * configure: Regenerated.
36524         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36525         conditional definition.
36526         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36527         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36528         * config.make.in (have-as-needed): Remove variable.
36529
36530 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36531             Paul Pluzhnikov  <ppluzhnikov@google.com>
36532
36533         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36534         strings correctly.
36535
36536 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36537
36538         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36539         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36540         * sysdeps/sh/strlen.S: Likewise.
36541
36542 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36543
36544         * sysdeps/unix/fork.S: Remove file.
36545         * sysdeps/unix/i386/fork.S: Likewise.
36546         * sysdeps/unix/sparc/fork.S: Likewise.
36547
36548         * sysdeps/unix/system.c: Remove file.
36549         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36550
36551         * sysdeps/unix/getegid.S: Remove file.
36552         * sysdeps/unix/geteuid.S: Likewise.
36553
36554 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36555
36556         * scripts/check-localplt.awk: New file.
36557         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36558         of diff.
36559         * scripts/data/localplt-generic.data: Add a comment.
36560
36561         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36562         NODE when __dir_mkfile failed.
36563         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36564         Reported by Ludovic Courtès <ludo@gnu.org>.
36565
36566 2012-04-24  Andreas Jaeger  <aj@suse.de>
36567
36568         * Makerules (common-clean): Also remove gen-as-const-headers
36569         files.
36570
36571 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36572
36573         * Makerules (native-compile): Do not change working directory for
36574         build.  Use $(OUTPUT_OPTION) in command.
36575         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36576
36577 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36578
36579         [BZ #13886]
36580         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36581         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36582         * math/libm-test.inc (floor_test): Add more tests.
36583         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36584
36585 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36586
36587         * sysdeps/unix/getdents.c: Remove file.
36588         * sysdeps/unix/sysv/getdents.c: Likewise.
36589         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36590
36591         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36592         sysdeps/unix/mman/syscalls.list.
36593         (mmap): Likewise.
36594         (mprotect): Likewise.
36595         (msync): Likewise.
36596         (munmap): Likewise.
36597         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36598         * sysdeps/unix/mman/syscalls.list: Remove.
36599         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36600
36601         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36602         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36603         * configure: Regenerated.
36604         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36605         $(libgcc_s_suffix).
36606         * config.make.in (libgcc_s_suffix): Remove variable.
36607
36608 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36609
36610         * sysdeps/unix/sysv/gethostname.c: Move to ...
36611         * sysdeps/posix/gethostname.c: ... here.
36612
36613         * sysdeps/unix/execve.S: Remove file.
36614
36615         * sysdeps/unix/_exit.S: Remove file.
36616
36617 2012-04-23  Andreas Jaeger  <aj@suse.de>
36618
36619         [BZ #13739]
36620         * manual/Makefile: Remove make dist support, there's no
36621         need for a stand-alone documentation tar ball.
36622         (TEXI2DVI): Define always, it's not in Makeconfig.
36623         (dist): Removed.
36624         (tar-it): Removed.
36625         (edition): Removed.
36626         (glibc-doc-$(edition).tar): Removed
36627         (%.Z): Removed.
36628         (%.gz): Removed.
36629         (%.uu): Removed.
36630         (ETAGS): Remove, it's in Makeconfig.
36631         (move-if-change): Remove, it's in Makeconfig.
36632
36633 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36634
36635         [BZ #13970]
36636         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36637         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36638         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36639         (strtod_l, strtof_l, strtold_l): Remove __wur.
36640         It is not necessarily an error to ignore strtol's return value.
36641         One can reliably look at the stored endptr to decide whether
36642         the number had valid syntax.
36643
36644 2012-04-21  Andreas Jaeger  <aj@suse.de>
36645
36646         [BZ #13739]
36647         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36648
36649 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36650
36651         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36652         * sysdeps/unix/sysv/Versions: Remove file.
36653
36654 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36655
36656         [BZ #13927]
36657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36658
36659 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36660
36661         [BZ #7064]
36662         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36663         version from __vm86.
36664
36665 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36666
36667         * sysdeps/unix/common/lxstat.c: Remove file.
36668         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36669
36670         * sysdeps/unix/sysv/Makefile: Remove file.
36671
36672         * sysdeps/unix/sysv/direct.h: Remove file.
36673
36674         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36675         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36676         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36677         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36678         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36679         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36680         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36681
36682         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36683
36684         * sysdeps/unix/xmknod.c: Remove file.
36685         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36686
36687         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36688
36689         * sysdeps/unix/sysv/i386/time.S: Remove file.
36690
36691         * sysdeps/unix/fxstat.c: Remove file.
36692         * sysdeps/unix/xstat.c: Likewise.
36693         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36694
36695         * sysdeps/unix/sysv/sigaction.c: Remove file.
36696
36697         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36698         (sysdep_headers): Remove variable.
36699         [termio.h not in sysdep_headers] (generated): Likewise.
36700         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36701         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36702         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36703         * sysdeps/unix/sysv/tcflow.c: Likewise.
36704         * sysdeps/unix/sysv/tcflush.c: Likewise.
36705         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36706         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36707         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36708         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36709         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36710
36711         * sysdeps/unix/siglist.c: Remove file.
36712
36713         * sysdeps/unix/getppid.S: Remove file.
36714
36715         * sysdeps/unix/mkdir.c: Remove file.
36716         * sysdeps/unix/rmdir.c: Likewise.
36717
36718 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36719
36720         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36721         ERR_MAX value.
36722         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36723         errlist-compat value.
36724
36725 2012-04-18  David S. Miller  <davem@davemloft.net>
36726
36727         * sysdeps/generic/memcopy.h (reg_char): Delete.
36728         * debug/strcat_chk.c: Use char, not reg_char.
36729         * debug/strcpy_chk.c: Likewise.
36730         * debug/strncat_chk.c: Likewise.
36731         * debug/strncpy_chk.c: Likewise.
36732         * string/memchr.c: Likewise.
36733         * string/memrchr.c: Likewise.
36734         * string/rawmemchr.c: Likewise.
36735         * string/strcat.c: Likewise.
36736         * string/strchr.c: Likewise.
36737         * string/strchrnul.c: Likewise.
36738         * string/strcmp.c: Likewise.
36739         * string/strcpy.c: Likewise.
36740         * string/strncat.c: Likewise.
36741         * string/strncmp.c: Likewise.
36742         * string/strncpy.c: Likewise.
36743
36744 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36745
36746         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36747         __builtin_memcopy is called when src and dest ranges are known to not
36748         overlap.
36749
36750 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36751
36752         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36753         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36754         fwd_align_merge macro call.
36755         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36756         bwd_align_merge macro call.
36757         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36758
36759 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36760
36761         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36762         bwd_align_merge macros.
36763         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36764         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36765         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36766
36767 2012-04-18  David S. Miller  <davem@davemloft.net>
36768
36769         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36770
36771 2012-04-18  Andreas Jaeger  <aj@suse.de>
36772
36773         [BZ# 6794]
36774         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36775         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36776         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36777
36778         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36779         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36780         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36781
36782         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36783         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36784         Adjust for changed ldbl-128 files.
36785
36786         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36787         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36788         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36789
36790 2012-04-17  David S. Miller  <davem@davemloft.net>
36791
36792         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36793
36794 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36795
36796         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36797         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36798         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36799         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36800         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36801         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36802
36803 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36804
36805         [BZ #6794]
36806         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36807         * math/libm-test.inc: Add ilogb errno and exception tests.
36808         * math/w_ilogb.c: New file: ilogb wrapper.
36809         * math/w_ilogbf.c: New file: ilogbf wrapper.
36810         * math/w_ilogbl.c: New file: ilogbl wrapper.
36811         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36812         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36813         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36814         exception being thrown with 0.0 as argument.
36815         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36816         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36817         exception being thrown with 0.0 as argument.
36818         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36819         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36820         exception being thrown with 0.0 as argument.
36821         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36822         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36823         exception being thrown with 0.0 as argument.
36824         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36825         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36826         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36827         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36828         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36829         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36830         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36831         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36832         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36833
36834 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36835
36836         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36837         with altivec.
36838
36839 2012-04-16  Marek Polacek  <polacek@redhat.com>
36840
36841         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36842
36843 2012-04-16  Marek Polacek  <polacek@redhat.com>
36844
36845         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36846         operands of fdivp instruction.
36847
36848 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36849
36850         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36851         * elf/tst-auditmod3b.c: Likewise.
36852         * elf/tst-auditmod4b.c: Likewise.
36853         * elf/tst-auditmod5b.c: Likewise.
36854         * elf/tst-auditmod6b.c: Likewise.
36855         * elf/tst-auditmod6c.c: Likewise.
36856         * elf/tst-auditmod7b.c: Likewise.
36857         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36858         * sysdeps/x86_64/preconfigure.in: Likewise.
36859         * sysdeps/x86_64/preconfigure: Regenerated.
36860
36861 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36862
36863         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36864         __ILP32__.
36865
36866 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36867
36868         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36869         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36870
36871 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36872
36873         [BZ #13973]
36874         * locale/iso-639.def: Fix gl language name. Spotted by
36875         Yaron Shahrabani.
36876
36877 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36878
36879         [BZ #2074]
36880         * libio/libio.h (__io_write_fn): Update comment.
36881
36882 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36883
36884         [BZ #2074]
36885         * stdio.texi (Hook Functions): The user provided writer function
36886         is not allowed to return -1.
36887
36888 2012-04-11  David S. Miller  <davem@davemloft.net>
36889
36890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36891
36892 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36893
36894         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36895         Add a leading slash to rtkaio.
36896
36897 2012-04-11  Jim Meyering  <meyering@redhat.com>
36898
36899         [BZ #11959]
36900         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36901         It is not necessarily an error to ignore fwrite's return
36902         value.  One can reliably use ferror to test for errors after
36903         the fact.
36904
36905 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36906
36907         * bits/types.h (__snseconds_t): New type.
36908         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36909
36910         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36912         (__SNSECONDS_T_TYPE): Likewise.
36913         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36914         (__SNSECONDS_T_TYPE): Likewise.
36915         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36916         (__SNSECONDS_T_TYPE): Likewise.
36917
36918 2012-04-10  Andreas Jaeger  <aj@suse.de>
36919
36920         [BZ #2636]
36921         * manual/time.texi (Processor Time): Return type of times is
36922         elapsed real time since an arbitrary point in the past.
36923         (CPU Time): Move CLK_TCK from here...
36924         (Processor Time): ...to here.  Correct description.
36925         * manual/conf.texi (Constants for Sysconf): Correct description of
36926         _SC_CLK_TCK.
36927
36928 2012-04-10  David S. Miller  <davem@davemloft.net>
36929
36930         [BZ #13967]
36931         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36932         where the is a gap between DT_REL(A) and DT_JMPREL.
36933
36934 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36935
36936         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36937         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36938         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36939
36940 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36941
36942         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36943         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36944         (dl_main): Handle --inhibit-cache.
36945         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36946         _dl_inhibit_cache.
36947         * elf/dl-load.c (_dl_map_object): Use it.
36948         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36949
36950 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36951
36952         [BZ #13872]
36953         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36954         (__ieee754_powl): Saturate large exponents rather than testing for
36955         overflow of y*log2(x).
36956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36957         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36958         exceptions.
36959
36960         [BZ #11521]
36961         * math/s_ctan.c: Include <float.h>.
36962         (__ctan): Avoid internal overflow or cancellation in calculating
36963         denominator.
36964         * math/s_ctanf.c: Likewise.
36965         * math/s_ctanl.c: Likewise.
36966         * math/s_ctanh.c: Likewise.
36967         * math/s_ctanhf.c: Likewise.
36968         * math/s_ctanhl.c: Likewise.
36969         * math/libm-test.inc (ctan_test): Add more tests.
36970         (ctanh_test): Likewise.
36971         * sysdeps/i386/fpu/libm-test-ulps: Update.
36972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36973
36974 2012-04-09  Andreas Jaeger  <aj@suse.de>
36975
36976         [BZ #6894]
36977         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36978         is an optional BSD extension.
36979
36980         [BZ #10254]
36981         * manual/stdio.texi (Opening Streams): Document additional fopen
36982         parameters.
36983
36984 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36985
36986         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36987         %eax without telling the compiler.
36988
36989 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36990
36991         [BZ # 13963]
36992         * manual/install.texi: Use sourceware.org.
36993
36994 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36995
36996         [BZ #13873]
36997         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36998         (__ieee754_pow): Generate overflow and underflow using huge*huge
36999         and tiny*tiny rather than just returning constant infinity or zero
37000         for large exponents.
37001         * math/libm-test.inc (pow_test): Require overflow exceptions for
37002         applicable cases of large exponents.
37003
37004         [BZ #706]
37005         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37006         (__ieee754_pow): Use iterative multiplication algorithm only for
37007         integer exponents with absolute value below 1024.  Check for odd
37008         integer exponents when using algorithm for real exponents.
37009         * math/libm-test.inc (pow_test): Add more tests.
37010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37011
37012 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37013
37014         [BZ #13705]
37015         * math/libm-test.inc (exp_test): Do not allow overflow exception
37016         on underflow test.
37017
37018 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37019
37020         [BZ #13705]
37021         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37022         instead of __kernel_standard_f.
37023
37024 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37025
37026         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37027         * sysdeps/x86_64/memset_chk.S: Likewise.
37028
37029 2012-04-08  Andreas Jaeger  <aj@suse.de>
37030
37031         [BZ #10153]
37032         * manual/startup.texi (Environment Access): Describe return value
37033         for putenv and setenv.
37034
37035         [BZ #6895]
37036         * manual/filesys.texi (Directory Entries): Add description for
37037         DT_LNK.
37038
37039         [BZ #6890]
37040         * manual/filesys.texi (Directory Entries): Clarify that it's file
37041         system not operating system in the description of DT_UNKNOWN.
37042
37043         [BZ #6578]
37044         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37045
37046 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37047
37048         [BZ #6649]
37049         * manual/llio.texi (Opening and Closing Files): Add cross
37050         reference to explain mode argument.
37051
37052 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37053
37054         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37055         * sysdeps/x86_64/memset_chk.S: Likewise.
37056
37057 2012-04-07  David S. Miller  <davem@davemloft.net>
37058
37059         * elf/elf.h (R_SPARC_WDISP10): Define.
37060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37061         R_SPARC_SIZE32.
37062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37063         R_SPARC_SIZE64 and R_SPARC_H34.
37064
37065 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37066
37067         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37068         conditions and remove no longer applicable assertion.
37069
37070 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37071
37072         * bits/byteswap.h: Include <features.h>.
37073         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37074         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37075
37076 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37077
37078         * bits/byteswap.h (__bswap_16): Removed.
37079         Include <bits/byteswap-16.h> to get __bswap_16.
37080         * sysdeps/i386/bits/byteswap.h: Likewise.
37081         * sysdeps/s390/bits/byteswap.h: Likewise.
37082         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37083         * bits/byteswap-16.h: New file.
37084         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37085         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37086         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37087         * string/Makefile (headers): Add bits/byteswap-16.h.
37088
37089 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37090
37091         [BZ #13895]
37092         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37093         extra indirection.
37094         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37095         * nss/tst-nss-static.c: New.
37096
37097 2012-04-06  Robert Millan  <rmh@gnu.org>
37098
37099         [BZ #6486]
37100         * manual/llio.texi (File Position Primitive): lseek
37101         refers to WHENCE when it really means OFFSET.
37102
37103 2012-04-06  Andreas Jaeger  <aj@suse.de>
37104
37105         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37106         strncmp declarations.
37107
37108         * abilist/libc.abilist: Add __poll and __ppoll.
37109
37110 2012-04-05  David S. Miller  <davem@davemloft.net>
37111
37112         * scripts/check-local-headers.sh: Accept a host triplet in the
37113         path matched by the exclude regexp.
37114
37115         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37116         definition.
37117         * sysdeps/powerpc/powerpc32/dl-machine.h
37118         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37119         * sysdeps/s390/s390-32/dl-machine.h
37120         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37121         * sysdeps/sparc/sparc32/dl-machine.h
37122         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37123         * sysdeps/sparc/sparc64/dl-machine.h
37124         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37125
37126         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37127         lazy binding.
37128         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37129         undefined symbol errors.
37130
37131         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37132         DT_NEEDED entries.
37133
37134 2012-04-05  Michael Matz  <matz@suse.de>
37135
37136         [BZ #13592]
37137         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37138
37139 2012-04-05  Andreas Jaeger  <aj@suse.de>
37140
37141         [BZ #13908]
37142         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37143         comment.
37144
37145 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37146
37147         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37148         which ROUND is no valid rounding mode.
37149
37150 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37151
37152         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37153         read again.
37154         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37155
37156 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37157
37158         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37159         an exception using FPU order intentionally.
37160
37161 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37162
37163         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37164         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37165         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37166         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37167
37168 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37169
37170         [BZ #12340]
37171         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37172         EINVAL when BUFLEN is too smal.
37173
37174 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37175
37176         [BZ #13553]
37177         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37178         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37179
37180 2012-04-03  Andreas Jaeger  <aj@suse.de>
37181
37182         [BZ #13938]
37183         * manual/setjmp.texi (System V contexts): Fix sentence.
37184
37185         [BZ #13926]
37186         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37187         New macro for this case.
37188         [!__GNUC__] (__bswap_64): New inline function for this case.
37189         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37190         * bits/byteswap.h: Likewise.
37191         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37192         ull, guard with __GLIBC_HAVE_LONG_LONG.
37193
37194         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37195         __GLIBC_HAVE_LONG_LONG.
37196
37197         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37198         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37199
37200 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37201
37202         [BZ #13691]
37203         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37204         inptr and inend, rather than using last_ch.
37205
37206 2012-04-02  David S. Miller  <davem@davemloft.net>
37207
37208         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37209         * stdio-common/printf-parse.h (read_int): Change return type to
37210         'int', return -1 on INT_MAX overflow.
37211         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37212         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37213         overflows INT_MAX.  Check for overflow of in-format-string precision
37214         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37215         SIZE_MAX not INT_MAX for integer overflow test.
37216         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37217         skip the construct in the format string but do not record anything.
37218         * stdio-common/bug22.c: Adjust to test both width/prevision
37219         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37220         explicitly for proper errno values.
37221
37222 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37223
37224         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37225         CHAR_MAX.
37226         * string/test-strcmp.c [! WIDE]: Likewise.
37227         * time/tst-mktime2.c: Likewise for INT_MAX.
37228         * string/test-string.h: #include <sys/param.h> for MIN.
37229
37230         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37231         * sysdeps/i386/init-first.c (init): Likewise.
37232         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37233         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37234         * sysdeps/sh/init-first.c (init): Likewise.
37235
37236 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37237
37238         * po/ru.po: Update from translation team.
37239         * po/vi.po: Likewise.
37240
37241 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37242
37243         * resolv/nss_dns/dns-host.c: Merge copyright years.
37244
37245 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37246
37247         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37248         Optimize memcpy with prefetch if
37249         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37250         src, dst pointers have unequal 16 byte alignments.
37251
37252 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37253
37254         [BZ #13928]
37255         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37256         from a CNAME entry and return the minimum ttl for the query.
37257         (gaih_getanswer_slice): Likewise.
37258
37259 2012-03-30  Jeff Law  <law@redhat.com>
37260
37261         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37262         due to long keys.
37263         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37264         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37265
37266         * resolv/nss_dns/dns-host.c: Update copyright year.
37267
37268 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37269
37270         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37271         requests to save a system call.  Fix check that all bytes are sent.
37272
37273         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37274         comments for sendmmsg.
37275
37276 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37277
37278         [BZ #13691]
37279         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37280         with only 1 character between 0x0041 and 0x01b0.
37281         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37282         * wcsmbs/tst-mbsnrtowcs.c: New file.
37283
37284 2012-03-29  David S. Miller  <davem@davemloft.net>
37285
37286         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37287         small copies by hand.
37288
37289 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37290
37291         [BZ #13761]
37292         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37293         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37294         group memberships.
37295
37296 2012-03-28  David S. Miller  <davem@davemloft.net>
37297
37298         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37299         that branches into memcpy.
37300         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37301         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37302         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37303         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37305         bits.
37306         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37307         implementation too.
37308         * sysdeps/sparc/mempcpy.S: New file.
37309
37310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37311         the IFUNC routine in the libc case.
37312         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37313
37314         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37315         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37316         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37317         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37318         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37319         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37320         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37321         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37322
37323         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37324         loop to 256 bytes instead of 64 bytes and fix test signedness.
37325
37326         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37327         * sysdeps/sparc/sparc32/Makefile: rather than here...
37328         * sysdeps/sparc/sparc64/Makefile: and here.
37329
37330 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37331
37332         * malloc/mallocbug.c: Avoid warnings about unused variables.
37333
37334 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37335
37336         [BZ #13760]
37337         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37338         in the right place. Discard and retry query if response is
37339         larger than input buffer size.
37340
37341 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37342
37343         [BZ #369]
37344         [BZ #2678]
37345         [BZ #3866]
37346         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37347         x for large integer exponent.
37348         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37349         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37350         sign of result as needed afterwards.
37351         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37352         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37353         result for underflowing pow the same as for overflow.
37354         (__kernel_standard_l): Handle powl overflow and underflow here
37355         rather than calling __kernel_standard.
37356         * math/libm-test.inc (pow_test): Add more tests.
37357
37358         [BZ #3868]
37359         [BZ #13879]
37360         [BZ #13910]
37361         [BZ #13911]
37362         [BZ #13912]
37363         [BZ #13913]
37364         [BZ #13915]
37365         [BZ #13916]
37366         [BZ #13917]
37367         [BZ #13918]
37368         [BZ #13919]
37369         [BZ #13920]
37370         [BZ #13921]
37371         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37372         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37373         (__kernel_standard_l): New function.
37374         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37375         __kernel_standard.
37376         * math/w_acosl.c (__acosl): Likewise.
37377         * math/w_asinl.c (__asinl): Likewise.
37378         * math/w_atan2l.c (__atan2l): Likewise.
37379         * math/w_atanhl.c (__atanhl): Likewise.
37380         * math/w_coshl.c (__coshl): Likewise.
37381         * math/w_exp10l.c (__exp10l): Likewise.
37382         * math/w_exp2l.c (__exp2l): Likewise.
37383         * math/w_fmodl.c (__fmodl): Likewise.
37384         * math/w_hypotl.c (__hypotl): Likewise.
37385         * math/w_j0l.c (__j0l, __y0l): Likewise.
37386         * math/w_j1l.c (__j1l, __y1l): Likewise.
37387         * math/w_jnl.c (__jnl, __ynl): Likewise.
37388         * math/w_lgammal.c (__lgammal): Likewise.
37389         * math/w_log10l.c (__log10l): Likewise.
37390         * math/w_log2l.c (__log2l): Likewise.
37391         * math/w_logl.c (__logl): Likewise.
37392         * math/w_powl.c (__powl): Likewise.
37393         * math/w_remainderl.c (__remainderl): Likewise.
37394         * math/w_scalbl.c (sysv_scalbl): Likewise.
37395         * math/w_sinhl.c (__sinhl): Likewise.
37396         * math/w_sqrtl.c (__sqrtl): Likewise.
37397         * math/w_tgammal.c (__tgammal): Likewise.
37398         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37399         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37400         * math/libm-test.inc (acos_test): Add more tests.
37401         (acosh_test): Likewise.
37402         (asin_test): Likewise.
37403         (atanh_test): Likewise.
37404         (exp_test): Likewise.
37405         (exp10_test): Likewise.
37406         (exp2_test): Likewise.
37407         (expm1_test): Likewise.
37408         (lgamma_test): Likewise.
37409         (log_test): Likewise.
37410         (log10_test): Likewise.
37411         (log1p_test): Likewise.
37412         (log2_test): Likewise.
37413         (pow_test): Do not allow some spurious overflow exceptions.
37414         (sqrt_test): Add more tests.
37415         (tgamma_test): Likewise.
37416         (y0_test): Likewise.
37417         (y1_test): Likewise.
37418         (yn_test): Likewise.
37419
37420 2012-03-27  Anton Blanchard  <anton@samba.org>
37421
37422         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37423         MAP_HUGETLB.
37424         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37425         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37426         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37427
37428 2012-03-27  David S. Miller  <davem@davemloft.net>
37429
37430         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37431
37432         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37433         have-as-vis3 check.
37434
37435 2012-03-27  Andreas Jaeger  <aj@suse.de>
37436
37437         * sysdeps/x86_64/elf/configure.in: Moved to ...
37438         * sysdeps/x86_64/configure.in: ... here.
37439         * sysdeps/x86_64/elf/start.S: Moved to ...
37440         * sysdeps/x86_64/start.S: ... here.
37441         * sysdeps/x86_64/elf/configure: Delete.
37442
37443         * sysdeps/x86_64/configure.in: Merge contents from
37444         sysdeps/i386/configure.in (without i686 check).
37445
37446         * sysdeps/i386/elf/Versions: Merge into ...
37447         * sysdeps/i386/Versions: ... this.
37448         * sysdeps/i386/elf/Versions: Delete file.
37449         * sysdeps/i386/elf/start.S: Moved to ...
37450         * sysdeps/i386/start.S: ...here.
37451         * sysdeps/i386/elf/configure.in: Merge into...
37452         * sysdeps/i386/configure.in: ...here.
37453         * sysdeps/i386/elf/configure.in: Delete file.
37454         * sysdeps/i386/elf/configure: Delete file.
37455
37456         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37457         * debug/backtracesyms.c: ... here.
37458         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37459         * debug/backtracesymsfd.c: ... here.
37460         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37461         * sysdeps/generic/ifunc-sel.h: ... here.
37462
37463         * sysdeps/unix/i386/start.c: Delete file.
37464         * sysdeps/unix/sparc/start.c: Delete file.
37465         * sysdeps/unix/start.c: Delete file.
37466
37467         * sysdeps/sh/elf/configure.in: Moved to ...
37468         * sysdeps/sh/configure.in: ... here.
37469         * sysdeps/sh/elf/start.S: Moved to ...
37470         * sysdeps/sh/start.S: ... here.
37471         * sysdeps/sh/elf/configure: Delete file.
37472
37473         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37474         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37475         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37476         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37477         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37478         * sysdeps/powerpc/powerpc64/start.S: here.
37479         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37480         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37481         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37482         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37483         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37484
37485         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37486         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37487         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37488         * sysdeps/powerpc/powerpc32/start.S: ... here.
37489         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37490         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37491         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37492
37493         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37494         * sysdeps/powerpc/ifunc-sel.h: ... here.
37495         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37496         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37497
37498         * sysdeps/sparc/elf/configure.in: Moved to ...
37499         * sysdeps/sparc/configure.in: ... here.
37500         * sysdeps/sparc/elf/configure: Delete file.
37501         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37502         * sysdeps/sparc/sparc32/start.S: ... here.
37503         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37504         * sysdeps/sparc/sparc64/start.S: ... here.
37505         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37506         * sysdeps/sparc/sparc32/Makefile: ... this.
37507         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37508         * sysdeps/sparc/sparc64/Makefile: ... this.
37509
37510         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37511         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37512         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37513         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37514         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37515         * sysdeps/s390/s390-32/setjmp.S: ... here.
37516         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37517         * sysdeps/s390/s390-32/configure.in: ... here.
37518         * sysdeps/s390/s390-32/elf/configure: Delete file.
37519         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37520         * sysdeps/s390/s390-32/start.S: ... here.
37521
37522         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37523         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37524         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37525         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37526         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37527         * sysdeps/s390/s390-64/setjmp.S: ... here.
37528         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37529         * sysdeps/s390/s390-64/configure.in: ... here
37530         * sysdeps/s390/s390-64/elf/configure: Delete file.
37531         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37532         * sysdeps/s390/s390-64/start.S: ... here.
37533         * sysdeps/s390/s390-64/elf/configure: Delete.
37534
37535         * configure.in: Remove support for elf directories in sysdeps.
37536
37537         * configure: Regenerated.
37538         * sysdeps/i386/configure: Regenerated.
37539         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37540         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37541         * sysdeps/s390/s390-32/configure: Regenerated.
37542         * sysdeps/s390/s390-64/configure: Regenerated.
37543         * sysdeps/sh/configure: Regenerated.
37544         * sysdeps/sparc/configure: Regenerated.
37545         * sysdeps/x86_64/configure: Regenerated.
37546
37547 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37548
37549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37550
37551         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37552         denormal result into account.
37553
37554 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37555
37556         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37557         Reported by Allan McRae <allan@archlinux.org>.
37558
37559 2012-03-23  Jeff Law  <law@redhat.com>
37560
37561         * nss/getnssent.c (__nss_getent): Fix typo.
37562
37563 2012-03-23  David S. Miller  <davem@davemloft.net>
37564
37565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37566
37567 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37568
37569         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37570         to pad to uint64_t for each field.
37571         (dl_tls_index): Replace unsigned long with uint64_t.
37572
37573 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37574         Paul Pluzhnikov  <ppluzhnikov@google.com>
37575
37576         [BZ #6528]
37577         * grp/Makefile (otherlibs): Don't set it.
37578         * inet/Makefile (otherlibs): Likewise.
37579         * login/Makefile (otherlibs): Likewise.
37580         * nscd/Makefile (otherlibs): Likewise.
37581         * posix/Makefile (otherlibs): Likewise.
37582         * pwd/Makefile (otherlibs): Likewise.
37583         * rt/Makefile (otherlibs): Likewise.
37584         * sunrpc/Makefile (otherlibs): Likewise.
37585         * nss/Makefile (otherlibs): Likewise.
37586         Add libnss_files to routines and static-only-routines.
37587         ($(objpfx)getent): Remove rule.
37588         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37589         static-only-routines.
37590
37591 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37592
37593         [BZ #13892]
37594         * math/s_cexp.c: Include <float.h>.
37595         (__cexp): Handle exp result overflowing not necessarily
37596         overflowing both real and imaginary parts of result.
37597         * math/s_cexpf.c: Likewise.
37598         * math/s_cexpl.c: Likewise.
37599         * math/libm-test.inc (cexp_test): Add more tests.
37600         * sysdeps/i386/fpu/libm-test-ulps: Update.
37601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37602
37603 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37604
37605         * include/link.h (ELFW): New macro.
37606         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37607         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37608
37609 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37610
37611         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37612         with uint64_t.
37613
37614 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37615
37616         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37617         declaration.
37618         (struct La_x32_retval): Likewise.
37619
37620 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37621
37622         * sysdeps/x86_64/preconfigure.in: New file.
37623         * sysdeps/x86_64/preconfigure: New generated file.
37624
37625 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37626
37627         [BZ #13824]
37628         * math/e_exp2l.c: Include <float.h>.
37629         (__ieee754_exp2l): Handle overflow and underflow cases
37630         separately.  Only pass fractional part of argument to
37631         __ieee754_expl.
37632         * math/libm-test.inc (exp2_test): Add more tests.
37633
37634         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37635         negating x to take absolute value.
37636         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37637         Likewise.
37638         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37639         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37640         Likewise.
37641         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37642         computing low part if x was negated.
37643         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37644
37645 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37646
37647         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37648         la_x32_gnu_pltexit.
37649         (pltexit): Cast int_retval to ptrdiff_t.
37650         * elf/tst-auditmod3b.c: Likewise.
37651         * elf/tst-auditmod4b.c: Likewise.
37652         * elf/tst-auditmod5b.c: Likewise.
37653         * elf/tst-auditmod6b.c: Likewise.
37654         * elf/tst-auditmod6c.c: Likewise.
37655         * elf/tst-auditmod7b.c: Likewise.
37656
37657         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37658         and x32_gnu_pltexit.
37659
37660         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37661         __ELF_NATIVE_CLASS.
37662         (La_x32_regs): New macro.
37663         (La_x32_retval): Likewise.
37664         (la_x32_gnu_pltenter): New function prototype.
37665         (la_x32_gnu_pltexit): Likewise.
37666
37667 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37668
37669         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37670         exponent.
37671
37672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37673
37674         * configure.in (libc_cv_cc_nofma): Check for option to disable
37675         generation of FMA instructions.
37676         * configure: Regenerate.
37677         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37678         * sysdeps/ieee754/dbl-64/Makefile: New file.
37679         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37680         Remove brandred-fma4.
37681         (CFLAGS-brandred-fma4.c): Remove.
37682         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37683         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37684         define.
37685         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37686         define.
37687
37688 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37689
37690         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37691         LLONG_MAX != LONG_MAX.
37692         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37693         (_fitoa_word): Likewise.
37694         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37695         LLONG_MAX != LONG_MAX.
37696         * stdio-common/_itowa.h: Include <_itoa.h>.
37697         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37698         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37699         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37700         only if not defined.
37701         (_ITOA_WORD_TYPE): Likewise.
37702         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37703         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37704
37705 2012-03-21  David S. Miller  <davem@davemloft.net>
37706
37707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37708
37709 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37710
37711         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37712         of x86_64 when setting libc_cv_slibdir, libdir and
37713         libc_cv_localedir.
37714         * sysdeps/unix/sysv/linux/configure: Regenerated.
37715
37716 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37717
37718         * manual/lang.texi (Old Varargs): Remove section.
37719         (How Variadic): Update menu.
37720         (va_start): Do not mention varargs.h.
37721
37722 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37723             Joseph Myers  <joseph@codesourcery.com>
37724
37725         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37726         link test.
37727         * configure: Regenerated.
37728
37729 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37730
37731         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37732         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37733         conformtest.pl
37734
37735 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37736
37737         * NOTES: Remove.
37738         * Makefile (files-for-dist): Remove NOTES.
37739         (NOTES): Remove rule.
37740         * README: Don't refer to NOTES.
37741         * manual/creature.texi: Don't include macros.texi.
37742         * manual/intro.texi (creature.texi): Remove comment referring to
37743         NOTES.
37744
37745         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37746         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37747         * configure: Regenerated.
37748         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37749         LIBC_TRY_CC_OPTION.
37750         (libc_cv_as_i686): Likewise.
37751         (libc_cv_cc_avx): Likewise.
37752         (libc_cv_cc_sse2avx): Likewise.
37753         (libc_cv_cc_fma4): Likewise.
37754         (libc_cv_cc_novzeroupper): Likewise.
37755         * sysdeps/i386/configure: Regenerated.
37756
37757         [BZ #13883]
37758         * sysdeps/i386/fpu/s_cexp.S: Remove.
37759         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37760         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37761         * math/libm-test.inc (cexp_test): Add more tests.
37762         * sysdeps/i386/fpu/libm-test-ulps: Update.
37763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37764
37765 2012-03-21  Allan McRae  <allan@archlinux.org>
37766
37767         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37768
37769 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37770
37771         [BZ #13871]
37772         * math/w_exp2.c: Do not include <float.h>.
37773         (o_threshold, u_threshold): Remove.
37774         (__exp2): Calculate result before checking finiteness and calling
37775         __kernel_standard.
37776         * math/w_exp2f.c: Likewise.
37777         * math/w_exp2l.c: Likewise.
37778         * math/libm-test.inc (exp2_test): Require overflow exception for
37779         1e6 input.
37780
37781         [BZ #3866]
37782         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37783         range of signed 64-bit integers before using fistpll.  Remove
37784         checks for whether integers fit in mantissa bits.
37785         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37786         the range of signed 32-bit integers before using fistpl.  Remove
37787         checks for whether integers fit in mantissa bits.
37788         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37789         (__ieee754_powl): Test for y outside the range of signed 64-bit
37790         integers before using fistpll.  Reduce 64-bit values to 63-bit
37791         ones as needed.
37792         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37793         divide-by-zero is raised for zero to large negative powers.
37794         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37795         (__ieee754_powl): Test for y outside the range of signed 64-bit
37796         integers before using fistpll.  Reduce 64-bit values to 63-bit
37797         ones as needed.
37798         * math/libm-test.inc (pow_test): Add more tests.
37799
37800 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37801
37802         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37803         <stdio-common/_itoa.h>.
37804         * debug/segfault.c: Likewise.
37805         * elf/dl-cache.c: Likewise.
37806         * elf/dl-minimal.c: Likewise.
37807         * elf/dl-misc.c: Likewise.
37808         * elf/dl-sysdep.c: Likewise.
37809         * elf/dl-version.c: Likewise.
37810         * elf/rtld.c: Likewise.
37811         * hurd/hurdsock.c: Likewise.
37812         * hurd/lookup-retry.c: Likewise.
37813         * malloc/malloc.c: Likewise.
37814         * malloc/mtrace.c: Likewise.
37815         * nscd/nscd_getgr_r.c: Likewise.
37816         * nscd/nscd_getpw_r.c: Likewise.
37817         * nscd/nscd_getserv_r.c: Likewise.
37818         * posix/getopt_init.c: Likewise.
37819         * posix/wordexp.c: Likewise.
37820         * stdio-common/_itoa.c: Likewise.
37821         * stdio-common/printf_fphex.c: Likewise.
37822         * stdio-common/vfprintf.c: Likewise.
37823         * string/_strerror.c: Likewise.
37824         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37825         * sysdeps/i386/i686/hp-timing.h: Likewise.
37826         * sysdeps/mach/_strerror.c: Likewise.
37827         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37828         * sysdeps/mach/hurd/sethostid.c: Likewise.
37829         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37830         * sysdeps/mach/xpg-strerror.c: Likewise.
37831         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37832         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37833         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37834         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37835         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37836         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37837         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37838         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37839         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37840         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37841         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37842         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37843         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37844         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37845         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37846         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37847         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37848         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37849         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37850         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37851         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37852
37853         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37854
37855         * stdio-common/_itoa.h: Moved to ...
37856         * sysdeps/generic/_itoa.h: Here.
37857
37858         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37859
37860         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37861         instead of "_itoa.h" and "_itowa.h".
37862         * stdio-common/vfprintf.: Likewise.
37863
37864 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37865
37866         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37867         <bits/wordsize.h>.
37868         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37869         (__signbit): Likwise.
37870         (llrintf): Likwise.
37871         (llrint): Likwise.
37872
37873 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37874
37875         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37876         __WORDSIZE != 64.
37877
37878 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37879
37880         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37881         OVERFLOW_EXCEPTION_OK.
37882         * math/libm-test.inc ("Philosophy"): Update comment about
37883         exception testing.
37884         (OVERFLOW_EXCEPTION): Define.
37885         (OVERFLOW_EXCEPTION_OK): Likewise.
37886         (INVALID_EXCEPTION_OK): Renumber.
37887         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37888         (IGNORE_ZERO_INF_SIGN): Likewise.
37889         (test_exceptions): Handle FE_OVERFLOW.
37890         (exp10_test): Expect overflow exceptions.
37891         (exp2_test): Likewise.
37892         (expm1_test): Likewise.
37893         (nextafter_test): Likewise.
37894         (pow_test): Likewise.
37895         (scalbn_test): Likewise.
37896         (scalbln_test): Likewise.
37897
37898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37899
37900         * sysdeps/x86_64/bits/atomic.h
37901         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37902         64bit integer.
37903         (atomic_exchange_acq): Likewise.
37904         (__arch_exchange_and_add_body): Likewise.
37905         (__arch_add_body): Likewise.
37906         (atomic_add_negative): Likewise.
37907         (atomic_add_zero): Likewise.
37908
37909 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37910
37911         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37912         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37913
37914 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37915
37916         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37917         Check __x86_64__ instead of __WORDSIZE.
37918
37919 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37920
37921         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37922
37923 2012-03-19  David S. Miller  <davem@davemloft.net>
37924
37925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37926
37927         * sysdeps/sparc/fpu/fenv_private.h: New file.
37928         * sysdeps/sparc/fpu/math_private.h: Use it.
37929         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37930         Remove.
37931         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37932         (libc_feholdexcept_setroundl): Remove.
37933         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37934         Remove.
37935         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37936         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37937
37938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37939
37940         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37941         int64_t instead of long int.
37942         (INSERT_WORDS64): Likwise.
37943
37944 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37945
37946         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37947         _Unwind_GetCFA return to _Unwind_Ptr first.
37948
37949 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37950
37951         [BZ #13629]
37952         * math/s_clog.c: Include <float.h>.
37953         (__clog): Scale large or subnormal inputs.
37954         * math/s_clogf.c: Likewise.
37955         * math/s_clogl.c: Likewise.
37956         * math/s_clog10.c: Include <float.h>.
37957         (M_LOG10_2): Define.
37958         (__clog10): Scale large or subnormal inputs.
37959         * math/s_clog10f.c: Likewise.
37960         * math/s_clog10l.c: Likewise.
37961         * math/libm-test.inc (clog_test): Add more tests.
37962         (clog10_test): Likewise.
37963         * sysdeps/i386/fpu/libm-test-ulps: Update.
37964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37965
37966         [BZ #11451]
37967         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37968         x and y.
37969         * math/libm-test.inc (atan2_test): Add another test.
37970
37971         * Makerules (common-objdir-compile): Remove.
37972         * sysdeps/unix/Makefile (config-generated): Do not add
37973         $(unix-generated) to variable.
37974         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37975         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37976         Remove rule.
37977         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37978         Likewise.
37979         [generic bits/local_lim.h] (before-compile): Do not append to
37980         variable.
37981         [generic bits/local_lim.h] (common-generated): Likewise.
37982         [generic sys/param.h] (before-compile): Do not append to variable.
37983         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37984         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37985         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37986         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37987         include.
37988         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37989         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37990         [generic sys/param.h] ($(addprefix
37991         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37992         [generic sys/param.h] (common-generated): Do not append to
37993         variable.
37994         [generic sys/param.h] (sysdep_headers): Likewise.
37995         [generic bits/errno.h] (before-compile): Do not append to
37996         variable.
37997         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37998         rule.
37999         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38000         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38001         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38002         [generic bits/errno.h] (common-generated): Do not append to
38003         variable.
38004         [generic bits/ioctls.h] (before-compile): Do not append to
38005         variable.
38006         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38007         rule.
38008         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38009         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38010         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38011         rule.
38012         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38013         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38014         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38015         [generic bits/ioctls.h] (common-generated): Do not append to
38016         variable.
38017         [generic sys/syscall.h] (syscall.h): Remove variable.
38018         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38019         rule.
38020         [generic sys/syscall.h] (before-compile): Do not append to
38021         variable.
38022         [generic sys/syscall.h] (common-generated): Likewise.
38023         * sysdeps/unix/errnos-tmpl.c: Remove file.
38024         * sysdeps/unix/errnos.awk: Likewise.
38025         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38026         * sysdeps/unix/ioctls.awk: Likewise.
38027         * sysdeps/unix/mk-local_lim.c: Likewise.
38028         * sysdeps/unix/snarf-ioctls: Likewise.
38029
38030 2012-03-19  Richard Henderson  <rth@twiddle.net>
38031
38032         * sysdeps/i386/fpu/fenv_private.h: New file.
38033         * sysdeps/i386/fpu/math_private.h: Use it.
38034         (math_opt_barrier, math_force_eval): Remove.
38035         (libc_feholdexcept_setround_53bit): Remove.
38036         (libc_feupdateenv_53bit): Remove.
38037         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38038         (math_opt_barrier, math_force_eval): Remove.
38039         (libc_feholdexcept): Remove.
38040         (libc_feholdexcept_setround): Remove.
38041         (libc_fetestexcept, libc_fesetenv): Remove.
38042         (libc_feupdateenv_test): Remove.
38043         (libc_feupdateenv, libc_feholdsetround): Remove.
38044         (libc_feresetround): Remove.
38045
38046         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38047         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38048
38049         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38050         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38051         (libc_feupdateenv_testl): New.
38052         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38053         (libc_feupdateenv_testf): New.
38054         (libc_feupdateenv): Use libc_feupdateenv_test.
38055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38056         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38057
38058         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38059         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38060         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38061         (libc_feresetround_noex): New.
38062         (libc_feresetround_noexf): New.
38063         (libc_feresetround_noexl): New.
38064         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38065         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38066         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38067         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38068         SET_RESTORE_ROUND.
38069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38070         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38071         (__cos): Likewise.
38072         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38073         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38074         SET_RESTORE_ROUND_NOEX.
38075         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38076         SET_RESTORE_ROUND_NOEXF.
38077         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38078         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38079         (libc_feholdsetroundf): New.
38080         (libc_feresetround, libc_feresetroundf): New.
38081
38082         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38083         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38084         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38085
38086         * sysdeps/generic/math_private.h: Include <fenv.h>.
38087         (default_libc_feholdexcept): New.
38088         (default_libc_feholdexcept_setround): New.
38089         (default_libc_fesetenv, default_libc_feupdateenv): New.
38090         (libc_feholdexcept): Only define if undefined.
38091         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38092         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38093         (libc_feholdexcept_setroundl): Likewise.
38094         (libc_feholdexcept_setround_53bit): Likewise.
38095         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38096         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38097         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38098         (libc_feupdateenv_53bit): Likewise.
38099         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38100         (libc_feholdexcept): Convert from macro to inline function.
38101         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38102         (libc_fesetenv, libc_feupdateenv): Likewise.
38103
38104         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38105         not previously defined.
38106         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38107         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38108         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38109         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38110         * sysdeps/ieee754/flt-32/math_private.h: New file.
38111         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38112         math_private.h below SET_FLOAT_WORD.
38113         (__isnan, __isinf_ns, __finite): Remove.
38114         (__isnanf, __isinf_nsf, __finitef): Remove.
38115
38116 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38117
38118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38119
38120 2012-03-17  David S. Miller  <davem@davemloft.net>
38121
38122         [BZ #6471]
38123         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38124         for 2.16.
38125
38126 2012-03-16  David S. Miller  <davem@davemloft.net>
38127
38128         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38129         warnings.
38130
38131         [BZ #6471]
38132         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38133         properly.
38134         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38135         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38136         sysdep_routines when subdir is sysvipc.
38137         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38138         __getshmlba helper.
38139
38140         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38141
38142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38143
38144         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38145         [__LP64__].
38146
38147 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38148
38149         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38150         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38151         (__lround): Renamed to ...
38152         (__llround): This.  Replace long int with long long int.
38153         Define lround functions as aliases of llround functions.
38154         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38155
38156 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38157
38158         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38159         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38160         adresses to uintptr_t.  Replace "long int" and "unsigned long
38161         int" with "greg_t" on va_arg.
38162
38163 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38164
38165         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38166         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38167
38168         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38169         Move e_machine check before EI_CLASS check.  Handle x32
38170         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38171         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38172         SKIP_EM_IA_64 and include
38173         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38174
38175         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38176         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38177         (add_system_dir): New macro.
38178
38179         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38180         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38181
38182 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38183
38184         [BZ #2551]
38185         [BZ #2552]
38186         [BZ #2553]
38187         [BZ #2554]
38188         [BZ #2562]
38189         [BZ #2563]
38190         [BZ #2565]
38191         [BZ #2566]
38192         [BZ #2576]
38193         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38194         (y0): Likewise.
38195         * math/w_j0f.c (j0f): Likewise.
38196         (y0f): Likewise.
38197         * math/w_j0l.c (__j0l): Likewise.
38198         (__y0l): Likewise.
38199         * math/w_j1.c (j1): Likewise.
38200         (y1): Likewise.
38201         * math/w_j1f.c (j1f): Likewise.
38202         (y1f): Likewise.
38203         * math/w_j1l.c (__j1l): Likewise.
38204         (__y1l): Likewise.
38205         * math/w_jn.c (jn): Likewise.
38206         (yn): Likewise.
38207         * math/w_jnf.c (jnf): Likewise.
38208         (ynf): Likewise.
38209         * math/w_jnl.c (__jnl): Likewise.
38210         (__ynl): Likewise.
38211         * math/libm-test.inc (j0_test): Add more tests.
38212         (j1_test): Likewise.
38213         (jn_test): Likewise.  Add trailing semicolon to existing test.
38214         (y0_test): Likewise.
38215         (y1_test): Likewise.
38216         * sysdeps/i386/fpu/libm-test-ulps: Update.
38217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38218
38219         [BZ #13851]
38220         [BZ #13854]
38221         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38222         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38223         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38224         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38225         (__tanl): Set errno for infinite argument.
38226         * sysdeps/i386/fpu/mptan.c: Remove.
38227         * sysdeps/i386/fpu/s_tan.S: Likewise.
38228         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38229         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38230         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38231         * math/libm-test.inc (tan_test): Add more tests and enable more
38232         tests for double and long double.
38233         * sysdeps/i386/fpu/libm-test-ulps: Update.
38234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38235
38236 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38237
38238         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38239         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38240
38241 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38242
38243         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38244         * configure.in: Use it for both main tree and add-ons.
38245         * configure: Regenerated.
38246
38247 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38248
38249         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38250
38251 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38252
38253         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38254         in comment.
38255
38256         [BZ #13851]
38257         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38258         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38259         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38260         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38261         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38262         infinite argument.
38263         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38264         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38265         != 0 for prec == 2.
38266         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38267         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38268         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38269         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38270         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38271         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38272         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38273         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38274         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38275         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38276         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38277         * math/libm-test.inc (cos_test): Add more tests and enable more
38278         tests for long double.
38279         (sin_test): Likewise.
38280         (sincos_test): Likewise.
38281         * sysdeps/i386/fpu/libm-test-ulps: Update.
38282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38283
38284 2012-03-16  David S. Miller  <davem@davemloft.net>
38285
38286         * sysdeps/sparc/fpu/math_private.h: New file.
38287
38288 2012-03-15  David S. Miller  <davem@davemloft.net>
38289
38290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38291         file.
38292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38294         file.
38295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38301         sysdep routines.
38302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38303
38304         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38305         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38306
38307         * sysdeps/sparc/sparc-ifunc.h: New file.
38308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38309         sparc-ifunc.h
38310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38312         Likewise.
38313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38314         Likewise.
38315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38319         Likewise.
38320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38325         Likewise.
38326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38327         Likewise.
38328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38334         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38335         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38346         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38347         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38348         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38349         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38352
38353 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38354
38355         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38356         scaling.
38357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38358
38359 2012-03-15  Andreas Jaeger  <aj@suse.de>
38360
38361         [BZ #13852]
38362         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38363         ieee754/flt-32 implementation for sin, cos and sincos.
38364         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38365         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38366         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38367         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38368         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38369         ieee754/flt-32 implementation for tan.
38370
38371         * math/libm-test.inc (cos_test): Enable some large input tests for
38372         float as well
38373         (sin_test): Likewise.
38374         (sincos_test): Likewise.
38375         (tan_test): Add tests for large input.
38376
38377         * sysdeps/i386/fpu/libm-test-ulps: Update.
38378
38379 2012-03-15  Andreas Jaeger  <aj@suse.de>
38380
38381         [BZ #13658]
38382         * math/libm-test.inc (cos_test): Add more test cases.
38383         (sin_test): Likewise.
38384         (sincos_test): Likewise.
38385
38386 2012-03-15  Andreas Jaeger  <aj@suse.de>
38387
38388         [BZ #13837]
38389         * math/libm-test.inc (cos_test): Add a test case for large input
38390         value.
38391         (sin_test): Likewise.
38392         (sincos_test): Likewise.
38393
38394 2012-03-15  Andreas Jaeger  <aj@suse.de>
38395             Joseph Myers  <joseph@codesourcery.com>
38396
38397         [BZ #13658]
38398         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38399         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38400         * sysdeps/i386/fpu/branred.c: Likewise.
38401         * sysdeps/i386/fpu/dosincos.c: Likewise.
38402         * sysdeps/i386/fpu/mpa.c: Likewise.
38403         * sysdeps/i386/fpu/s_cos.S: Likewise.
38404         * sysdeps/i386/fpu/s_sin.S: Likewise.
38405         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38406         * sysdeps/i386/fpu/sincos32.c: Likewise.
38407
38408         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38409         Define.
38410         (libc_feupdateenv_53bit): Define.
38411         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38412         Define.
38413         (libc_feupdateenv_53bit): Define.
38414
38415         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38416         53 bit (without extend i386 double precision).
38417
38418         * math/libm-test.inc (sincos_test): Add tests for large input.
38419         (sin): Likewise.
38420         (cos): Likewise.
38421
38422         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38423
38424 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38425
38426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38427
38428 2012-03-15  David S. Miller  <davem@davemloft.net>
38429
38430         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38431         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38432         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38433         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38446         file.
38447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38449         file.
38450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38452         file.
38453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38455         file.
38456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38458         fmin/fmax sysdep routines.
38459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38460
38461 2012-03-14  David S. Miller  <davem@davemloft.net>
38462
38463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38467         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38468         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38469         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38470         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38483         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38485         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38486         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38487         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38488         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38489         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38490         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38491         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38492         routines.
38493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38494         file.
38495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38497         file.
38498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38500         file.
38501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38503         file.
38504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38506         file.
38507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38509         file.
38510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38511         file.
38512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38513         file.
38514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38515         file.
38516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38517         New file.
38518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38519         file.
38520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38521         file.
38522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38524         file.
38525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38527         file.
38528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38530         file.
38531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38533         VIS3 routines.
38534
38535         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38536         New file.
38537
38538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38539
38540         * sysdeps/sparc/configure.in: New file.
38541         * sysdeps/sparc/configure: Generate.
38542         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38543         * configure: Regenerate.
38544         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38545         * config.make.in (have-as-vis3): New.
38546         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38547         available use -Av9d instead of -Av9a.
38548         * sysdeps/sparc/sparc64/Makefile: Likewise.
38549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38551         New file.
38552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38553         file.
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38555         New file.
38556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38557         file.
38558         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38559         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38560         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38561         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38562         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38563
38564         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38565         fzeros/fnegs to load 0x80000000 into a float register instead of
38566         using the stack.
38567         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38568
38569 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38570
38571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38572         bits/syscall.h.
38573         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38574         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38575         ($(inst_includedir)/bits/syscall.h): Remove rule.
38576         ($(objpfx)bits/syscall.d): Include instead of
38577         $(objpfx)syscall-list.d.
38578         (generated): Change syscall-list.h and syscall-list.d to
38579         bits/syscall.h and bits/syscall.d.
38580
38581 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38582
38583         [BZ #13846]
38584         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38585
38586 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38587
38588         [BZ #13841]
38589         * math/s_csqrt.c: Include <float.h>.
38590         (__csqrt): Scale large or subnormal inputs.
38591         * math/s_csqrtf.c: Likewise.
38592         * math/s_csqrtl.c: Likewise.
38593         * math/libm-test.inc (csqrt_test): Add more tests.
38594         * sysdeps/i386/fpu/libm-test-ulps: Update.
38595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38596
38597         [BZ #13840]
38598         * math/libm-test.inc (hypot_test): Add more tests.
38599
38600 2012-03-13  David S. Miller  <davem@davemloft.net>
38601
38602         [BZ #13840]
38603         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38604         double-precision for the calculation instead of scaling.
38605
38606 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38607
38608         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38609         manipulate bits before adding and subtracting TWO52[sx].
38610         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38611         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38612         Likewise.
38613         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38614
38615 2012-03-13  David S. Miller  <davem@davemloft.net>
38616
38617         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38618         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38620         rtld-global-offsets.h
38621         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38622
38623         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38624         large parameters.
38625
38626         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38627
38628         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38629         'err' in the ifdef scope in which it is actually used.
38630
38631         * nss/nss_db/db-init.c: Include string.h
38632
38633 2012-03-12  David S. Miller  <davem@davemloft.net>
38634
38635         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38636         masking out of the most significant byte of random value used.
38637         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38638         Fix coding style in previous change.
38639
38640         * sysdeps/unix/sysv/linux/kernel-features.h
38641         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38642         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38643         expression.
38644         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38645         later.
38646
38647 2012-03-11  David S. Miller  <davem@davemloft.net>
38648
38649         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38650         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38651         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38652         for 'resultvar' otherwise things get truncated on 64-bit.
38653
38654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38655         Fix masking out of the most significant byte of random value used.
38656
38657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38658
38659 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38660
38661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38662
38663 2012-03-09  David S. Miller  <davem@davemloft.net>
38664
38665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38666         variables with appropriate CPP guards.
38667         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38668         from the frame pointer, not the stack pointer.  Correct layout
38669         comments.  Fix test on resulting framesize and the management of
38670         the outregs buffer for pltexit.  Preserve floating point return
38671         values across _dl_call_pltexit call.
38672         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38673         framesize and the management of the outregs buffer for pltexit.
38674         Preserve floating point return values across _dl_call_pltexit
38675         call.
38676         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38677         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38678         (la_sparc64_gnu_pltexit): New functions.
38679         (print_exit): Fix format string for return register value.
38680
38681 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38682
38683         * sunrpc/Makefile (others): Add rpcgen.
38684         ($(objpfx)rpcgen): Remove special build rule and dependency on
38685         libc.
38686         * sunrpc/rpcgen.c: New file.
38687
38688 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38689
38690         [BZ #13673]
38691         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38692         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38693         * sysdeps/i386/crti.S: Likewise.
38694         * sysdeps/i386/crtn.S: Likewise.
38695         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38696         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38697         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38698         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38699         * sysdeps/sh/crti.S: Likewise.
38700         * sysdeps/sh/crtn.S: Likewise.
38701         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38702
38703         [BZ #13673]
38704         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38705         with URL.
38706         * locale/programs/locfile-kw.gperf: Likewise.
38707         * locale/programs/charmap-kw.h: Regenerated.
38708         * locale/programs/locfile-kw.h: Likewise.
38709
38710         [BZ #13673]
38711         * intl/plural.y: Replace FSF snail mail address with URL.
38712         * intl/plural.c: Regenerated.
38713
38714 2012-03-09  Richard Henderson  <rth@twiddle.net>
38715
38716         * include/math_private.h: Remove file.
38717         * math/math_private.h: Move file ...
38718         * sysdeps/generic/math_private.h: ... here.
38719
38720         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38721         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38722         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38723
38724         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38725         and <math_private.h>.
38726         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38727         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38728         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38729         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38730         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38731         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38732         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38733         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38734         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38735         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38737         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38738         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38739         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38740         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38741         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38742         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38743         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38744         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38745         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38746         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38747         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38748         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38749         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38750         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38752         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38753         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38754         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38755         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38756         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38758         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38759         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38760         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38761         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38762         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38763         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38764         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38765         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38766         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38767         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38768         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38769         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38770         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38771         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38772         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38773         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38774         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38775         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38776         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38777         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38778         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38779         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38780         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38781         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38782         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38783         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38784         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38785         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38786         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38787         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38788         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38789         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38790         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38791         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38792         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38793         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38794         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38795         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38796         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38797         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38798         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38799         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38800         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38808         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38809         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38810         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38814         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38815         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38816         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38817         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38818         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38819         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38820         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38821         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38822         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38823         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38824         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38825         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38826         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38827         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38828         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38829         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38830         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38831         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38832         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38833         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38834         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38835         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38836         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38837         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38838         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38839         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38840         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38841         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38842         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38843         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38844         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38845         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38846         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38847         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38848         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38849         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38850         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38851         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38852         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38853         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38854         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38855         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38856         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38857         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38858         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38859         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38860         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38861         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38862         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38863         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38864         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38865         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38866         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38867         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38868         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38869         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38870         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38871         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38872         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38873         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38874         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38875         * sysdeps/ieee754/k_standard.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38921         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38979         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38980         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38981         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38982         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38983         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38985         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38986         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38988         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38990         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38991         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38995         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38996         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38997         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38998         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38999         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39001         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39002         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39003         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39004         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39006         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39008         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39016         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39017         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39018         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39022         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39024         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39025         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39026         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39035         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39036         * sysdeps/ieee754/s_lib_version.c: Likewise.
39037         * sysdeps/ieee754/s_matherr.c: Likewise.
39038         * sysdeps/ieee754/s_signgam.c: Likewise.
39039         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39040         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39041         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39042         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39043         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39044         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39045         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39046         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39047         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39048         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39049         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39050         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39051         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39052         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39053         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39054         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39055         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39056         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39057         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39058         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39059         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39060
39061 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39062
39063         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39064         * sunrpc/rpc_main.c: Likewise.
39065         * sunrpc/rpc_svcout.c: Likewise.
39066
39067 2012-03-09  David S. Miller  <davem@davemloft.net>
39068
39069         * include/math_private.h: New file.
39070
39071 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39072
39073         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39074         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39075         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39076         from <bits/socket_type.h>.
39077         (enum __socket_type): Don't define here.
39078         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39080         bits/socket_type.h.
39081
39082         [BZ #13566]
39083         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39084         checking __USE_GNU.
39085
39086         * Makerules ($(inst_includedir)/%.h): New rule.
39087         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39088         (install-others): Remove variable setting.
39089         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39090
39091 2012-03-08  Richard Henderson  <rth@twiddle.net>
39092
39093         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39094         from macro to inline function; merge with the
39095         !__LIBC_INTERNAL_MATH_INLINES version.
39096         (__ieee754_sqrtf): Likewise.
39097
39098         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39099         to inline function.
39100         (__rintf, __floor, __floorf): Likewise.
39101
39102         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39103         macro to inline function.
39104         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39105
39106         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39107         not <math/math_private.h>.
39108
39109 2012-03-08  David S. Miller  <davem@davemloft.net>
39110
39111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39112         copyright year.
39113         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39114
39115 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39116
39117         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39118         normalization.
39119         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39120         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39121
39122 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39123
39124         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39125         be defined individually, they must be defined as a block.  Define
39126         S for printing a string instead of hidint the different by using a
39127         macro for adding the 'l'.
39128         * stdio-common/tst-fphex-wide.c: Adjust.
39129
39130 2012-03-07  Marek Polacek  <polacek@redhat.com>
39131
39132         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39133
39134 2012-03-08  Marek Polacek  <polacek@redhat.com>
39135
39136         [BZ #13806]
39137         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39138         * stdio-common/tst-fphex.c: Define a few macros to make the
39139         test reusable.  Use them.
39140         * stdio-common/tst-fphex-wide.c: New file.
39141
39142 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39143
39144         [BZ #6911]
39145         * manual/macros.texi (gnusystems): New macro.
39146         (nongnusystems): Likewise.
39147         (gnulinuxhurdsystems): Likewise.
39148         (gnuhurdsystems): Likewise..
39149         (gnulinuxsystems): Likewise.
39150         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39151         variants of the GNU system, not "GNU system".
39152         * manual/conf.texi: Likewise.
39153         * manual/errno.texi: Likewise.  Update example of errno macro
39154         expansion.
39155         * manual/filesys.texi: Likewise.
39156         (getumask): Document as specific to GNU/Hurd.
39157         * manual/install.texi: Likewise.  Reword some references to
39158         GNU/Linux.
39159         * manual/intro.texi: Likewise.
39160         * manual/io.texi: Likewise.
39161         (File Name Portability): Detail which constraints are inapplicable
39162         to all GNU systems and which are only inapplicable to GNU/Hurd.
39163         * manual/job.texi: Likewise.
39164         * manual/llio.texi: Likewise.
39165         (O_NOCTTY): Document as present on GNU/Linux.
39166         * manual/maint.texi: Likewise.
39167         * manual/memory.texi: Likewise.
39168         * manual/pattern.texi: Likewise.
39169         * manual/pipe.texi: Likewise.
39170         * manual/process.texi: Likewise.
39171         * manual/resource.texi: Likewise.
39172         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39173         child on GNU/Hurd.
39174         * manual/setjmp.texi: Likewise.
39175         * manual/signal.texi: Likewise.
39176         * manual/startup.texi: Likewise.
39177         * manual/stdio.texi: Likewise.
39178         * manual/terminal.texi: Likewise.
39179         (ONLCR): Document as POSIX.
39180         (OXTABS): Document availability on GNU/Linux as XTABS.
39181         (ONOEOT): Document availability separately from other bits.
39182         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39183         * manual/time.texi: Likewise.
39184         * manual/users.texi: Likewise.
39185         * INSTALL: Regenerated.
39186         * sysdeps/gnu/errlist.c: Regenerated.
39187
39188         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39189         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39190         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39191         puts.
39192         * configure: Regenerated.
39193
39194 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39195
39196         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39197         default includes instead of AC_HEADER_CHECK.
39198         * sysdeps/i386/configure: Regenerated.
39199
39200         [BZ #10716]
39201         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39202         * math/s_cacoshf.c (__cacoshf): Likewise.
39203         * math/s_cacoshl.c (__cacoshl): Likewise.
39204         * math/s_casinh.c (__casinh): Set signs of result from argument.
39205         * math/s_casinhf.c (__casinhf): Likewise.
39206         * math/s_casinhl.c (__casinhl): Likewise.
39207         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39208         (casinh_test): Add more tests.
39209         * sysdeps/i386/fpu/libm-test-ulps: Update.
39210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39211
39212 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39213
39214         * po/zh_TW.po: Update from translation team.
39215
39216         * login/Makefile (distribute): Remove variable.
39217         * catgets/Makefile: Likewise.
39218         * mach/Makefile: Likewise.
39219         * malloc/Makefile: Likewise.
39220         * misc/Makefile: Likewise.
39221         * iconv/Makefile: Likewise.
39222         * nscd/Makefile: Likewise.
39223         * hurd/Makefile: Likewise.
39224         * manual/Makefile: Likewise.
39225         * locale/Makefile: Likewise.
39226         * intl/Makefile: Likewise.
39227         * conform/Makefile: Likewise.
39228         * nss/Makefile: Likewise.
39229         * time/Makefile: Likewise.
39230         * soft-fp/Makefile: Likewise.
39231         * dirent/Makefile: Likewise.
39232         * gmon/Makefile: Likewise.
39233         * po/Makefile: Likewise.
39234         * rt/Makefile: Likewise.
39235         * socket/Makefile: Likewise.
39236         * math/Makefile: Likewise.
39237         * signal/Makefile: Likewise.
39238         * debug/Makefile: Likewise.
39239         * elf/Makefile: Likewise.
39240         * timezone/Makefile: Likewise.
39241         * stdlib/Makefile: Likewise.
39242         * iconvdata/Makefile: Likewise.
39243         * sunrpc/Makefile: Likewise.
39244         * io/Makefile: Likewise.
39245         * argp/Makefile: Likewise.
39246         * inet/Makefile: Likewise.
39247         * hesiod/Makefile: Likewise.
39248         * grp/Makefile: Likewise.
39249         * csu/Makefile: Likewise.
39250         * wctype/Makefile: Likewise.
39251         * crypt/Makefile: Likewise.
39252         * libio/Makefile: Likewise.
39253         * string/Makefile: Likewise.
39254         * nis/Makefile: Likewise.
39255         * resolv/Makefile: Likewise.
39256         * stdio-common/Makefile: Likewise.
39257         * wcsmbs/Makefile: Likewise.
39258         * dlfcn/Makefile: Likewise.
39259         * posix/Makefile: Likewise.
39260
39261         [BZ #6959]
39262         * timezone/Makefile: Don't install timezone files, just the programs
39263         and scripts.
39264
39265 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39266
39267         * nss/databases.def: Add missing gshadow entry.
39268
39269         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39270
39271 2012-03-06  Marek Polacek  <polacek@redhat.com>
39272
39273         [BZ #13726]
39274         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39275         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39276         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39277         * stdio-common/tst-long-dbl-fphex.c: New file.
39278
39279 2012-03-06  David S. Miller  <davem@davemloft.net>
39280
39281         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39282         (set_obp_int): New function.
39283         (get_obp_int): New function.
39284         (__get_clockfreq_via_dev_openprom): Likewise.
39285         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39286         Avoid unused variable warnings on 'val' and use builtin_expect.
39287         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39288         __builtin_expect.
39289         (INLINE_CLONE_SYSCALL): Likewise.
39290
39291 2012-03-05  David S. Miller  <davem@davemloft.net>
39292
39293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39294
39295 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39296
39297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39298
39299         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39300         only for |x| >= 40.
39301         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39302
39303 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39304
39305         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39306         Replace gettimeofday with __vdso_gettimeofday.
39307
39308         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39309         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39310         __vdso_clock_gettime and __vdso_getcpu.
39311
39312         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39313         time with __vdso_time.
39314
39315 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39316
39317         * manual/lang.texi (size_t): Note types to which size_t may be
39318         equivalent with the GNU C Library, but do not describe when
39319         differences between them are significant.
39320
39321 2012-03-05  Andreas Jaeger  <aj@suse.de>
39322
39323         * sysdeps/i386/fpu/libm-test-ulps: Update.
39324
39325 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39326
39327         [BZ #3976]
39328         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39329         (__ieee754_pow): Save and restore rounding mode and use
39330         round-to-nearest for main computations.
39331         * math/libm-test.inc (pow_test_tonearest): New function.
39332         (pow_test_towardzero): Likewise.
39333         (pow_test_downward): Likewise.
39334         (pow_test_upward): Likewise.
39335         (main): Call the new functions.
39336         * sysdeps/i386/fpu/libm-test-ulps: Update.
39337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39338
39339         [BZ #3976]
39340         * math/libm-test.inc (cosh_test_tonearest): New function.
39341         (cosh_test_towardzero): Likewise.
39342         (cosh_test_downward): Likewise.
39343         (cosh_test_upward): Likewise.
39344         (sinh_test_tonearest): Likewise.
39345         (sinh_test_towardzero): Likewise.
39346         (sinh_test_downward): Likewise.
39347         (sinh_test_upward): Likewise.
39348         (main): Call the new functions.
39349         * sysdeps/i386/fpu/libm-test-ulps: Update.
39350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39351
39352 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39353
39354         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39355         default stack guard is set in last bytes.
39356         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39357
39358 2012-03-05  Kees Cook  <keescook@chromium.org>
39359
39360         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39361
39362         [BZ #13656]
39363         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39364         possibly allocate from heap instead of stack.
39365         * stdio-common/bug-vfprintf-nargs.c: New file.
39366         * stdio-common/Makefile (tests): Add nargs overflow test.
39367
39368 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39369
39370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39371
39372 2012-03-03  Marek Polacek  <polacek@redhat.com>
39373
39374         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39375         * math/math_private.h: Likewise.
39376         * stdlib/tst-strtod.c: Likewise.
39377         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39378         * sysdeps/x86_64/bits/atomic.h: Likewise.
39379
39380 2012-03-02  David S. Miller  <davem@davemloft.net>
39381
39382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39386         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39387         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39388         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39389         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39390
39391 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39392
39393         [BZ #13792]
39394         * manual/examples/README: New file, says the example source files
39395         can be used under GPL>=2.
39396         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39397         line containing just "*/".
39398         * manual/examples/add.c: Add copyright header (GPL>=2).
39399         * manual/examples/argp-ex1.c: Likewise.
39400         * manual/examples/argp-ex2.c: Likewise.
39401         * manual/examples/argp-ex3.c: Likewise.
39402         * manual/examples/argp-ex4.c: Likewise.
39403         * manual/examples/atexit.c: Likewise.
39404         * manual/examples/db.c: Likewise.
39405         * manual/examples/dir.c: Likewise.
39406         * manual/examples/dir2.c: Likewise.
39407         * manual/examples/execinfo.c: Likewise.
39408         * manual/examples/filecli.c: Likewise.
39409         * manual/examples/filesrv.c: Likewise.
39410         * manual/examples/fmtmsgexpl.c: Likewise.
39411         * manual/examples/genpass.c: Likewise.
39412         * manual/examples/inetcli.c: Likewise.
39413         * manual/examples/inetsrv.c: Likewise.
39414         * manual/examples/isockad.c: Likewise.
39415         * manual/examples/longopt.c: Likewise.
39416         * manual/examples/memopen.c: Likewise.
39417         * manual/examples/memstrm.c: Likewise.
39418         * manual/examples/mkfsock.c: Likewise.
39419         * manual/examples/mkisock.c: Likewise.
39420         * manual/examples/mygetpass.c: Likewise.
39421         * manual/examples/pipe.c: Likewise.
39422         * manual/examples/popen.c: Likewise.
39423         * manual/examples/rprintf.c: Likewise.
39424         * manual/examples/search.c: Likewise.
39425         * manual/examples/select.c: Likewise.
39426         * manual/examples/setjmp.c: Likewise.
39427         * manual/examples/sigh1.c: Likewise.
39428         * manual/examples/sigusr.c: Likewise.
39429         * manual/examples/stpcpy.c: Likewise.
39430         * manual/examples/strdupa.c: Likewise.
39431         * manual/examples/strftim.c: Likewise.
39432         * manual/examples/strncat.c: Likewise.
39433         * manual/examples/subopt.c: Likewise.
39434         * manual/examples/swapcontext.c: Likewise.
39435         * manual/examples/termios.c: Likewise.
39436         * manual/examples/testopt.c: Likewise.
39437         * manual/examples/testpass.c: Likewise.
39438         * manual/examples/timeval_subtract.c: Likewise.
39439
39440         [BZ #13792]
39441         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39442         function to ...
39443         * manual/timeval_subtract.c.texi: ... here, new file.
39444
39445 2012-03-02  David S. Miller  <davem@davemloft.net>
39446
39447         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39448
39449 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39450
39451         [BZ #3976]
39452         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39453         (__sin): Save and restore rounding mode and use round-to-nearest
39454         for all computations.
39455         (__cos): Save and restore rounding mode and use round-to-nearest
39456         for all computations.
39457         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39458         <fenv.h>.
39459         (tan): Save and restore rounding mode and use round-to-nearest for
39460         all computations.
39461         * math/libm-test.inc (cos_test_tonearest): New function.
39462         (cos_test_towardzero): Likewise.
39463         (cos_test_downward): Likewise.
39464         (cos_test_upward): Likewise.
39465         (sin_test_tonearest): Likewise.
39466         (sin_test_towardzero): Likewise.
39467         (sin_test_downward): Likewise.
39468         (sin_test_upward): Likewise.
39469         (tan_test_tonearest): Likewise.
39470         (tan_test_towardzero): Likewise.
39471         (tan_test_downward): Likewise.
39472         (tan_test_upward): Likewise.
39473         (main): Call the new functions.
39474         * sysdeps/i386/fpu/libm-test-ulps: Update.
39475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39476
39477         [BZ #10135]
39478         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39479         small n, then large n, before computing and testing k+n.
39480         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39482         Likewise.
39483         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39484         Likewise.
39485         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39486         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39487         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39488         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39489         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39490         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39491         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39492         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39493         * math/libm-test.inc (scalbn_test): Add more tests.
39494         (scalbln_test): Likewise.
39495
39496         * manual/filesys.texi (mode_t): Describe constraints on size and
39497         signedness, not exact equivalence to a particular type.
39498         (ino_t): Likewise.
39499         (ino64_t): Likewise.
39500         (dev_t): Likewise.
39501         (nlink_t): Likewise.
39502         (blkcnt_t): Likewise.
39503         (blkcnt64_t): Likewise.
39504         * manual/llio.texi (off_t): Likewise.
39505
39506         [BZ #3976]
39507         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39508         (__ieee754_exp): Save and restore rounding mode and use
39509         round-to-nearest for all computations.
39510         * math/libm-test.inc (exp_test_tonearest): New function.
39511         (exp_test_towardzero): Likewise.
39512         (exp_test_downward): Likewise.
39513         (exp_test_upward): Likewise.
39514         (main): Call the new functions.
39515         * sysdeps/i386/fpu/libm-test-ulps: Update.
39516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39517
39518 2012-03-01  Chris Demetriou  <cgd@google.com>
39519
39520         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39521         have predictable order.
39522
39523 2012-03-01  David S. Miller  <davem@davemloft.net>
39524
39525         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39526
39527         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39528         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39529         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39530         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39531
39532         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39533         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39534         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39536         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39537         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39538         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39539         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39540         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39541
39542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39543
39544         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39545         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39546         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39547
39548         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39549         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39550         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39551         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39552         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39553         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39554         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39555         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39556         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39557         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39558         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39559         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39561         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39562         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39563         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39564         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39565         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39566         * sysdeps/sparc/elf/configure: Regenerated.
39567
39568 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39569
39570         * configure.in (AS, LD): Require binutils 2.20 or later.
39571         * configure: Regenerated.
39572         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39573         as required minimum version.
39574         * INSTALL: Regenerated.
39575
39576         [BZ #2541]
39577         [BZ #4108]
39578         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39579         before squaring exponent.
39580         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39581         bottom long double and 27 bits of top long double before squaring
39582         exponent.
39583         * math/libm-test.inc (erfc_test): Add more tests.
39584         * sysdeps/i386/fpu/libm-test-ulps: Update.
39585         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39587
39588 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39589
39590         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39591         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39592         containing bit-fields.
39593         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39594         * soft-fp/single.h (_FP_UNION_S): Likewise.
39595         * soft-fp/double.h (_FP_UNION_D): Likewise.
39596
39597 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39598
39599         [BZ #13786]
39600         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39601         not include ../strcmp.S.
39602         [USE_AS_STRNCASECMP_L]: Likewise.
39603         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39604         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39605         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39606         (__strncasecmp_l_ia32): Define as alias to
39607         __strncasecmp_l_nonascii.
39608
39609         [BZ #5794]
39610         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39611         * sysdeps/i386/fpu/libm-test-ulps: Update.
39612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39613
39614         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39616
39617 2012-02-29  Jeff Law  <law@redhat.com>
39618
39619         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39620         out of bounds read.
39621
39622 2012-02-29  Marek Polacek  <polacek@redhat.com>
39623
39624         [BZ #13706]
39625         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39626         * elf/Makefile: Add rules to run tst-unused-dep.out.
39627
39628 2012-02-28  David S. Miller  <davem@davemloft.net>
39629
39630         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39631         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39632         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39633         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39634         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39635         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39636
39637 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39638
39639         * math/libm-test.inc (llround_test): Move one test from
39640         lround_test.  Use TEST_f_L in moved test.
39641         (lround_test): Move misplaced test to llround_test.  Add testcase
39642         from bug 2561.
39643
39644 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39645
39646         * sysdeps/x86_64/fpu/e_expf.S: New file.
39647         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39648
39649 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39650
39651         [BZ #13637]
39652         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39653         of remain_len that may cause incomplete multi-byte character and
39654         false match.
39655         * posix/bug-regex33.c: New file.
39656         * posix/Makefile (tests): Add bug-regex33.
39657
39658 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39659
39660         * manual/macros.texi: New file.
39661         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39662         * manual/libc.texinfo: Include macros.texi.
39663         * manual/creatute.texi: Likewise.
39664         * manual/install.texi: Likewise.
39665         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39666         @glibcadj{} in references to the GNU C Library.
39667         * manual/charset.texi: Likewise.
39668         * manual/conf.texi: Likewise.
39669         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39670         when not using those macros.
39671         * manual/creature.texi: Likewise.
39672         * manual/crypt.texi: Likewise.
39673         * manual/errno.texi: Likewise.
39674         * manual/filesys.texi: Likewise.
39675         * manual/header.texi: Likewise.
39676         * manual/install.texi: Likewise.
39677         * manual/intro.texi: Likewise.
39678         * manual/io.texi: Likewise.
39679         * manual/job.texi: Likewise.
39680         * manual/lang.texi: Likewise.
39681         * manual/libc.texiinfo: Likewise.
39682         * manual/llio.texi: Likewise.
39683         * manual/locale.texi: Likewise.
39684         * manual/maint.texi: Likewise.
39685         * manual/math.texi: Likewise.
39686         * manual/memory.texi: Likewise.
39687         * manual/message.texi: Likewise.
39688         * manual/nss.texi: Likewise.
39689         * manual/pattern.texi: Likewise.
39690         * manual/process.texi: Likewise.
39691         * manual/resource.texi: Likewise.
39692         * manual/search.texi: Likewise.
39693         * manual/setjmp.texi: Likewise.
39694         * manual/signal.texi: Likewise.
39695         * manual/socket.texi: Likewise.
39696         * manual/startup.texi: Likewise.
39697         * manual/stdio.texi: Likewise.
39698         * manual/string.texi: Likewise.
39699         * manual/sysinfo.texi: Likewise.
39700         * manual/syslog.texi: Likewise.
39701         * manual/terminal.texi: Likewise.
39702         * manual/time.texi: Likewise.
39703         * manual/users.texi: Likewise.
39704         * INSTALL: Regenerated.
39705         * NOTES: Regenerated.
39706         * sysdeps/gnu/errlist.c: Regenerated.
39707
39708 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39709
39710         * include/dirent.h: Include <dirstream.h> before
39711         <dirent/dirent.h>.
39712
39713 2012-02-28  David S. Miller  <davem@davemloft.net>
39714
39715         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39716         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39717         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39718         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39719
39720 2012-02-27  David S. Miller  <davem@davemloft.net>
39721
39722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39724         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39725         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39726
39727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39728         frame pointer instead of stack pointer relative arg slot.
39729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39730         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39731         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39732
39733 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39734
39735         [BZ #3992]
39736         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39737
39738 2012-02-27  David S. Miller  <davem@davemloft.net>
39739
39740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39744         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39745         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39746         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39747         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39748
39749 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39750
39751         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39752         later.  Allow versions 5-9.
39753         * configure: Regenerated.
39754         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39755         required minimum version and 4.6 as recommended version.  Do not
39756         mention bugs in GCC 2.7 and 2.8.
39757         * INSTALL: Regenerated.
39758
39759 2012-02-27  David S. Miller  <davem@davemloft.net>
39760
39761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39765         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39766         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39767         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39768         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39769
39770         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39771         manipulate bits before adding and subtracting TWO112[sx].
39772         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39773
39774 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39775
39776         [BZ #13775]
39777         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39778         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39779         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39780         being in POSIX, because they are in 1003.1-2008.
39781
39782         * rt/tst-aio.c: Include <fcntl.h>.
39783         * rt/tst-aio7.c: Likewise.
39784         * rt/tst-aio64.c: Likewise.
39785
39786         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39787
39788 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39789
39790         * manual/install.texi (--with-headers): Describe headers as
39791         interface headers, not private headers.
39792         (Specific advice for GNU/Linux systems): Describe use of headers
39793         from "make headers_install", not private headers from older
39794         kernels.
39795         * INSTALL: Regenerated.
39796         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39797         Change to 2.6.19.
39798         * sysdeps/unix/sysv/linux/configure: Regenerated.
39799
39800         * manual/llio.texi (fclean): Remove documentation.
39801
39802         * manual/Makefile (libc-texi-generated): New variable.  Include
39803         version.texi.
39804         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39805         $(libc-texi-generated), not duplicated list of files.
39806         (version.texi, stamp-version): New rules.
39807         (realclean): Remove $(libc-texi-generated), not individual files
39808         from that list.  Do not remove dir-add.texinfo.
39809         * manual/libc.texinfo: Comment out uses of edition numbers and
39810         references to printed manual.  Remove last-updated dates.
39811         (EDITION): Comment out.
39812         (ISBN): Likewise.
39813         (VERSION, UPDATED): Remove.
39814         (version.texi): Include.
39815
39816 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39817
39818         * sysdeps/posix/spawni.c: Include <signal.h>.
39819         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39820         * sysdeps/pthread/aio_fsync.c: Likewise.
39821
39822 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39823
39824         * conform/Makefile (tests): Run only when not cross-compiling and
39825         when fast-check is not defined.
39826
39827         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39828         * conform/data/limits.h-data: Fixes for POSIX2008.
39829         * conform/run-conformtest.sh: Run all tests.
39830         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39831         headers.
39832         * include/bits/dlfcn.h: Likewise.
39833         * include/langinfo.h: Likewise.
39834         * include/monetary.h: Likewise.
39835         * include/sys/poll.h: Likewise.
39836
39837         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39838         for __USE_GNU.
39839         * posix/spawn.h: Define __need_sigset_t.
39840         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39841         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39842         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39843         to get sigevent_t only.
39844         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39845         only for __USE_GNU.
39846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39847         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39848         process_vm_writev only for __USE_GNU.
39849         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39850
39851         * conform/Makefile: For now ignore errors from run-conformtest.
39852         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39853         POSIX to avoid namespace pollution.  Don't prepend headers.
39854         * conform/data/aio.h-data: Fixes for POSIX testing.
39855         * conform/data/fcntl.h-data: Likewise.
39856         * conform/data/glob.h-data: Likewise.
39857         * conform/data/grp.h-data: Likewise.
39858         * conform/data/pthread.h-data: Likewise.
39859         * conform/data/pwd.h-data: Likewise.
39860         * conform/data/signal.h-data: Likewise.
39861         * conform/data/spawn.h-data: Likewise.
39862         * conform/data/stdio.h-data: Likewise.
39863         * conform/data/stdlib.h-data: Likewise.
39864         * conform/data/stropts.h-data: Likewise.
39865         * conform/data/sys/mman.h-data: Likewise.
39866         * conform/data/sys/stat.h-data: Likewise.
39867         * conform/data/sys/types.h-data: Likewise.
39868         * conform/data/sys/wait.h-data: Likewise.
39869         * conform/data/time.h-data: Likewise.
39870         * conform/data/unistd.h-data: Likewise.
39871         * conform/data/utime.h-data: Likewise.
39872
39873         * io/sys/stat.h: fchmod was always in POSIX.
39874         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39875         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39876         * rt/aio.h: Define __need_timespec before including <time.h>.
39877         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39878         struct.  Add forward declaration of pthread_attr_t and use it in
39879         sigevent.
39880         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39881         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39882         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39883         always remove CLK_TCK definition.
39884
39885 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39886
39887         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39888
39889 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39890
39891         * conform/run-conformtest.sh: New file.
39892         * conform/Makefile: Run run-conformtest for tests.
39893         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39894         support.
39895
39896         * conform/data/uchar.h-data: New file.
39897         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39898         * conform/data/arpa/inet.h-data: Likewise.
39899         * conform/data/assert.h-data: Likewise.
39900         * conform/data/complex.h-data: Likewise.
39901         * conform/data/cpio.h-data: Likewise.
39902         * conform/data/ctype.h-data: Likewise.
39903         * conform/data/dirent.h-data: Likewise.
39904         * conform/data/dlfcn.h-data: Likewise.
39905         * conform/data/errno.h-data: Likewise.
39906         * conform/data/fcntl.h-data: Likewise.
39907         * conform/data/float.h-data: Likewise.
39908         * conform/data/fmtmsg.h-data: Likewise.
39909         * conform/data/fnmatch.h-data: Likewise.
39910         * conform/data/ftw.h-data: Likewise.
39911         * conform/data/glob.h-data: Likewise.
39912         * conform/data/grp.h-data: Likewise.
39913         * conform/data/iconv.h-data: Likewise.
39914         * conform/data/inttypes.h-data: Likewise.
39915         * conform/data/langinfo.h-data: Likewise.
39916         * conform/data/libgen.h-data: Likewise.
39917         * conform/data/limits.h-data: Likewise.
39918         * conform/data/locale.h-data: Likewise.
39919         * conform/data/math.h-data: Likewise.
39920         * conform/data/monetary.h-data: Likewise.
39921         * conform/data/mqueue.h-data: Likewise.
39922         * conform/data/ndbm.h-data: Likewise.
39923         * conform/data/net/if.h-data: Likewise.
39924         * conform/data/netdb.h-data: Likewise.
39925         * conform/data/netinet/in.h-data: Likewise.
39926         * conform/data/nl_types.h-data: Likewise.
39927         * conform/data/poll.h-data: Likewise.
39928         * conform/data/pthread.h-data: Likewise.
39929         * conform/data/pwd.h-data: Likewise.
39930         * conform/data/regex.h-data: Likewise.
39931         * conform/data/sched.h-data: Likewise.
39932         * conform/data/search.h-data: Likewise.
39933         * conform/data/semaphore.h-data: Likewise.
39934         * conform/data/setjmp.h-data: Likewise.
39935         * conform/data/signal.h-data: Likewise.
39936         * conform/data/spawn.h-data: Likewise.
39937         * conform/data/stdarg.h-data: Likewise.
39938         * conform/data/stdio.h-data: Likewise.
39939         * conform/data/stdlib.h-data: Likewise.
39940         * conform/data/string.h-data: Likewise.
39941         * conform/data/strings.h-data: Likewise.
39942         * conform/data/stropts.h-data: Likewise.
39943         * conform/data/sys/ipc.h-data: Likewise.
39944         * conform/data/sys/mman.h-data: Likewise.
39945         * conform/data/sys/msg.h-data: Likewise.
39946         * conform/data/sys/resource.h-data: Likewise.
39947         * conform/data/sys/select.h-data: Likewise.
39948         * conform/data/sys/sem.h-data: Likewise.
39949         * conform/data/sys/shm.h-data: Likewise.
39950         * conform/data/sys/socket.h-data: Likewise.
39951         * conform/data/sys/stat.h-data: Likewise.
39952         * conform/data/sys/statvfs.h-data: Likewise.
39953         * conform/data/sys/time.h-data: Likewise.
39954         * conform/data/sys/timeb.h-data: Likewise.
39955         * conform/data/sys/times.h-data: Likewise.
39956         * conform/data/sys/types.h-data: Likewise.
39957         * conform/data/sys/uio.h-data: Likewise.
39958         * conform/data/sys/un.h-data: Likewise.
39959         * conform/data/sys/utsname.h-data: Likewise.
39960         * conform/data/sys/wait.h-data: Likewise.
39961         * conform/data/syslog.h-data: Likewise.
39962         * conform/data/tar.h-data: Likewise.
39963         * conform/data/termios.h-data: Likewise.
39964         * conform/data/utime.h-data: Likewise.
39965         * conform/data/utmpx.h-data: Likewise.
39966         * conform/data/varargs.h-data: Likewise.
39967         * conform/data/wchar.h-data: Likewise.
39968         * conform/data/wctype.h-data: Likewise.
39969         * conform/data/wordexp.h-data: Likewise.
39970
39971         * include/stropts.h: New file.
39972         * include/uchar.h: New file.
39973         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39974         * include/assert.h: Likewise.
39975         * include/ctype.h: Likewise.
39976         * include/dirent.h: Likewise.
39977         * include/dlfcn.h: Likewise.
39978         * include/fcntl.h: Likewise.
39979         * include/fnmatch.h: Likewise.
39980         * include/glob.h: Likewise.
39981         * include/grp.h: Likewise.
39982         * include/libio.h: Likewise.
39983         * include/locale.h: Likewise.
39984         * include/math.h: Likewise.
39985         * include/net/if.h: Likewise.
39986         * include/netdb.h: Likewise.
39987         * include/netinet/in.h: Likewise.
39988         * include/pthread.h: Likewise.
39989         * include/pwd.h: Likewise.
39990         * include/regex.h: Likewise.
39991         * include/sched.h: Likewise.
39992         * include/search.h: Likewise.
39993         * include/setjmp.h: Likewise.
39994         * include/signal.h: Likewise.
39995         * include/stdio.h: Likewise.
39996         * include/stdlib.h: Likewise.
39997         * include/string.h: Likewise.
39998         * include/sys/cdefs.h: Likewise.
39999         * include/sys/mman.h: Likewise.
40000         * include/sys/msg.h: Likewise.
40001         * include/sys/resource.h: Likewise.
40002         * include/sys/select.h: Likewise.
40003         * include/sys/socket.h: Likewise.
40004         * include/sys/stat.h: Likewise.
40005         * include/sys/statvfs.h: Likewise.
40006         * include/sys/time.h: Likewise.
40007         * include/sys/times.h: Likewise.
40008         * include/sys/uio.h: Likewise.
40009         * include/sys/utsname.h: Likewise.
40010         * include/sys/wait.h: Likewise.
40011         * include/termios.h: Likewise.
40012         * include/time.h: Likewise.
40013         * include/ulimit.h: Likewise.
40014         * include/unistd.h: Likewise.
40015         * include/utime.h: Likewise.
40016         * include/wchar.h: Likewise.
40017         * include/wctype.h: Likewise.
40018         * include/wordexp.h: Likewise.
40019
40020         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40021
40022         * time/time.h: TIME_UTC must be a macro.
40023         Make timespec_get available for ISO C11 only as well.
40024
40025 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40026
40027         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40028         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40029
40030 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40031
40032         * configure.in: Use -o not -a in test for unsupported multi-arch.
40033
40034 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40035
40036         * manual/texinfo.tex: Update to version 2012-01-19.16.
40037
40038 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40039
40040         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40041
40042 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40043
40044         [BZ #13738]
40045         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40046         * manual/fdl-1.3.texi: New file.
40047         * manual/fdl-1.1.texi: File removed.
40048
40049         [BZ #13738]
40050         * manual/libc.texinfo (FDL_VERSION): New @set.
40051         Use it for mention of FDL in cover text.
40052         (Documentation License): Use it in @include file name.
40053
40054 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40055             Roland McGrath  <roland@hack.frob.com>
40056
40057         [BZ #5461]
40058         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40059         (not LONG_LONG_MAX and LONG_LONG_MIN.
40060         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40061         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40062         name.
40063         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40064
40065 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40066
40067         [BZ #2547]
40068         [BZ #11365]
40069         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40070         manipulate bits before adding and subtracting TWO23[sx].
40071         * math/libm-test.inc (nearbyint_test): Add more tests.
40072
40073 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40074
40075         [BZ #2548]
40076         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40077         bits before adding and subtracting TWO23[sx].
40078         * math/libm-test.inc (rint_test): Add more tests.
40079         (rint_test_tonearest): Likewise.
40080         (rint_test_towardzero): Likewise.
40081         (rint_test_downward): Likewise.
40082         (rint_test_upward: Likewise.
40083
40084 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40085
40086         [BZ #10110]
40087         * include/stdc-predef.h: New file.  Extracted from features.h.
40088         * include/features.h: Include stdc-predef.h.
40089         * Makefile (headers): Add stdc-predef.h.
40090         * CONFORMANCE (Compiler limitations): Update.
40091
40092 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40093
40094         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40095
40096 2012-02-21  David S. Miller  <davem@davemloft.net>
40097
40098         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40099         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40100
40101 2012-02-20  David S. Miller  <davem@davemloft.net>
40102
40103         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40104         using a normal save/restore sequence, rather than allocating a
40105         dummy stack frame just to store a frame pointer and restore.
40106         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40107
40108 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40109
40110         * manual/install.texi: Fix stray word in line-wrapped comment.
40111
40112 2012-02-20  David S. Miller  <davem@davemloft.net>
40113
40114         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40115         both binutils and gcc support GOTDATA.
40116
40117         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40118         "rd %pc" in the PIC register setup sequences.
40119
40120         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40121         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40122         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40123         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40124         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40125         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40126         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40127         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40129         (SYSCALL_ERROR_HANDLER): Likewise.
40130         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40131         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40133         (SYSCALL_ERROR_HANDLER): Likewise.
40134
40135         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40136         (HAVE_GCC_GOTDATA): New.
40137         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40138         relocation support in both binutils and gcc.
40139         * sysdeps/sparc/elf/configure: Regenerate.
40140
40141         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40142         * sysdeps/sparc/sparc32/elf/configure: Delete.
40143         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40144         * sysdeps/sparc/sparc64/elf/configure: Delete.
40145         * sysdeps/sparc/elf/configure.in: New file.
40146         * sysdeps/sparc/elf/configure: Generate.
40147
40148         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40149         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40150         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40151         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40152         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40153
40154 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40155
40156         * manual/install.texi: Do not mention specific glibc version
40157         numbers.
40158         * manual/libc.texinfo (VERSION, UPDATED): Update.
40159         (@copying): Use @copyright{} and range of years.
40160
40161 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40162
40163         [BZ #13695]
40164         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40165         [crti.S not in sysdirs] (generated): Do not append.
40166         [crti.S not in sysdirs] (omit-deps): Likewise.
40167         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40168         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40169         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40170         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40171         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40172         Likewise.
40173         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40174         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40175         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40176         * csu/defs.awk: Remove file.
40177         * sysdeps/generic/initfini.c: Likewise.
40178         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40179         variable.
40180         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40181         Likewise.
40182
40183 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40184
40185         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40186         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40187         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40188         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40189         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40190         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40191         <bits/epoll.h>.
40192         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40193         (__EPOLL_PACKED): Define to empty if not defined by
40194         <bits/epoll.h>.
40195         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40197         bits/epoll.h.
40198
40199 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40200
40201         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40202         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40203         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40204         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40205         <bits/timerfd.h>.
40206         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40208         bits/timerfd.h.
40209
40210 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40211
40212         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40213         in C locale.
40214         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40215         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40216         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40218
40219 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40220
40221         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40222         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40223
40224 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40225
40226         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40227         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40228         defined.
40229         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40230         Likewise.
40231         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40232         entry for 2.16.
40233
40234 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40235
40236         * math/w_acos.c: Use non-signaling floating-point comparisons.
40237         * math/w_acosf.c: Likewise.
40238         * math/w_acosh.c: Likewise.
40239         * math/w_acoshf.c: Likewise.
40240         * math/w_acoshl.c: Likewise.
40241         * math/w_acosl.c: Likewise.
40242         * math/w_asin.c: Likewise.
40243         * math/w_asinf.c: Likewise.
40244         * math/w_asinl.c: Likewise.
40245         * math/w_atanh.c: Likewise.
40246         * math/w_atanhf.c: Likewise.
40247         * math/w_atanhl.c: Likewise.
40248         * math/w_exp2.c: Likewise.
40249         * math/w_exp2f.c: Likewise.
40250         * math/w_exp2l.c: Likewise.
40251         * math/w_j0.c: Likewise.
40252         * math/w_j0f.c: Likewise.
40253         * math/w_j0l.c: Likewise.
40254         * math/w_j1.c: Likewise.
40255         * math/w_j1f.c: Likewise.
40256         * math/w_j1l.c: Likewise.
40257         * math/w_jn.c: Likewise.
40258         * math/w_jnf.c: Likewise.
40259         * math/w_log.c: Likewise.
40260         * math/w_log10.c: Likewise.
40261         * math/w_log10f.c: Likewise.
40262         * math/w_log10l.c: Likewise.
40263         * math/w_log2.c: Likewise.
40264         * math/w_log2f.c: Likewise.
40265         * math/w_log2l.c: Likewise.
40266         * math/w_logf.c: Likewise.
40267         * math/w_logl.c: Likewise.
40268         * math/w_sqrt.c: Likewise.
40269         * math/w_sqrtf.c: Likewise.
40270         * math/w_sqrtl.c: Likewise.
40271         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40272         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40273         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40274         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40275         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40276
40277 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40278
40279         [BZ #9739]
40280         * manual/string.texi (strnlen): Use correct parameter name in
40281         equivalent expression.
40282
40283 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40284
40285         [BZ #11174]
40286         * manual/users.texi (seteuid): Consistently use neweuid for
40287         argument name.
40288
40289 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40290
40291         [BZ #13704]
40292         * manual/nss.texi (Services in the NSS configuration): Correct
40293         list of services in example configuration file.
40294
40295 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40296
40297         [BZ #11322]
40298         * manual/arith.texi: Remove statements about negative zero
40299         behaving identically to zero.
40300
40301 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40302
40303         [BZ #5993]
40304         * manual/install.texi: Do not document upgrading from libc5.
40305
40306 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40307
40308         [BZ #4596]
40309         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40310
40311 2012-02-18  David S. Miller  <davem@davemloft.net>
40312
40313         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40314         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40315         %o7 across the call.
40316         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40317         instead.
40318         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40319         SETUP_PIC_REG_LEAF.
40320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40321         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40322         * sysdeps/sparc/crtn.S: Likewise.
40323
40324 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40325
40326         * aout/Makefile: Remove.
40327
40328 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40329
40330         [BZ #13058]
40331         * manual/examples/argp-ex1.c (main): Format definition in GNU
40332         style.
40333         * manual/examples/argp-ex2.c (main): Likewise.
40334         * manual/examples/argp-ex3.c (main): Likewise.
40335         * manual/examples/argp-ex4.c (main): Likewise.
40336         * manual/examples/longopt.c (main): Use new-style prototype
40337         definition.
40338         * manual/examples/strncat.c (main): Specify return type and use
40339         (void) for arguments.
40340         * manual/examples/subopt.c (main): Use char **argv argument.
40341
40342 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40343
40344         [BZ #5077]
40345         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40346         rounding modes.
40347
40348 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40349
40350         [BZ #6907]
40351         * manual/string.texi (strchr): Change when strchrnul is
40352         recommended.
40353
40354 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40355
40356         [BZ #174]
40357         * manual/locale.texi (setlocale): Document LOCPATH.
40358
40359 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40360
40361         [BZ #10210]
40362         * manual/process.texi (execle): Move @dots{} before last argument.
40363
40364 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40365
40366         [BZ #12047]
40367         * manual/charset.texi (Generic Charset Conversion): Fix typo
40368         (LC_TYPE -> LC_CTYPE).
40369
40370 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40371
40372         [BZ #5805]
40373         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40374         (scalbnf): Likewise.
40375         (scalbnl): Likewise.
40376         (scalbln): Likewise.
40377         (scalblnf): Likewise.
40378         (scalblnl): Likewise.
40379         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40380         (vwarnx): Likewise.
40381         (verr): Likewise.
40382         (verrx): Likewise.
40383         * manual/filesys.texi (telldir): Use braces around return type.
40384         * manual/llio.texi (mmap): Add space after comma.
40385         (mmap64): Likewise.
40386         * manual/math.texi (jn): Use @var{} on parameter names.
40387         (jnf): Likewise.
40388         (jnl): Likewise.
40389         (yn): Likewise.
40390         (ynf): Likewise.
40391         (ynl): Likewise.
40392         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40393         line.
40394         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40395         "...".
40396         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40397         (sched_get_priority_max): Likewise.
40398         * manual/signal.texi (sigvec): Add space after comma.
40399         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40400         names.
40401         (if_indextoname): Likewise.
40402         (if_freenameindex): Likewise.
40403         (sendto): Use ',' instead of '.' in prototype.
40404         * manual/startup.texi (syscall): Use @dots{} instead of literal
40405         "...".
40406         * manual/stdio.texi (__fpending): Separate initial words of
40407         paragraph from @deftypefun line.
40408         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40409         "...".
40410         (vsyslog): Use @var{} on parameter names.
40411         * manual/terminal.texi (stty): Use @var{} on parameter names.
40412         * manual/users.texi (getutmp): Use @var{} on parameter names.
40413         (getutmpx): Likewise.
40414
40415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40416
40417         [BZ #6884]
40418         * manual/stdio.texi (fopen): Fix typos in description of
40419         ",ccs=STRING".
40420
40421 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40422
40423         [BZ #4026]
40424         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40425         get clock_id definition.
40426
40427 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40428
40429         [BZ #4822]
40430         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40431         (madvise): Cast every argument to void on its own.
40432
40433 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40434
40435         [BZ #9902]
40436         * manual/startup.texi (Exit Status): Fix typo.
40437
40438 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40439
40440         [BZ #10140]
40441         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40442         * manual/examples/argp-ex2.c: Likewise.
40443         * manual/examples/argp-ex3.c: Likewise.
40444
40445 2012-02-16  Richard Henderson  <rth@redhat.com>
40446
40447         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40448         * sysdeps/s390/s390-32/initfini.c: Remove.
40449         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40450         * sysdeps/s390/s390-64/initfini.c: Remove.
40451
40452 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40453
40454         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40455         compiler output for sysdeps/generic/initfini.c.
40456         * sysdeps/sh/elf/initfini.c: Remove file.
40457
40458 2012-02-16  David S. Miller  <davem@davemloft.net>
40459
40460         [BZ #11494]
40461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40462
40463         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40464         * sysdeps/sparc/crti.S: New file.
40465         * sysdeps/sparc/crtn.S: New file.
40466         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40467         * sysdeps/sparc/sparc64/Makefile: Likewise.
40468
40469 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40470
40471         [BZ #3335]
40472         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40473
40474 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40475
40476         [BZ #4822]
40477         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40478
40479         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40480         (write, read, close): Likewise.
40481         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40482
40483 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40484
40485         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40486         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40487         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40488         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40489         <bits/signalfd.h>.
40490         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40491         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40492         bits/signalfd.h.
40493
40494 2012-02-14  Marek Polacek  <polacek@redhat.com>
40495
40496         * sysdeps/x86_64/crti.S: New file.
40497         * sysdeps/x86_64/crtn.S: New file.
40498         * sysdeps/x86_64/elf/initfini.c: Remove file.
40499
40500 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40501
40502         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40503         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40504         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40505         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40506         <bits/inotify.h>.
40507         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40509         bits/inotify.h.
40510
40511 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40512
40513         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40514         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40515         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40516         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40517         <bits/eventfd.h>.
40518         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40520         bits/eventfd.h.
40521
40522 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40523
40524         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40525         __feraiseexcept instead of feraiseexcept.
40526
40527         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40528         nanosleep invocations.
40529         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40530         strings, and add error checking for a nanosleep invocations.
40531
40532 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40533
40534         Replace FSF snail mail address with URLs, as per GNU coding standards.
40535         Most of the snail mail addresses were wrong anyway, and omitting
40536         them makes the source code easier to maintain.  Almost all of the
40537         changes are to license notices and to locale LC_IDENTIFICATION
40538         addresses, except for this one:
40539         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40540         not its snail mail address.
40541
40542 2012-02-09  Richard Henderson  <rth@twiddle.net>
40543
40544         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40545         of kernel-features.h.
40546
40547         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40548
40549 2012-02-08  Marek Polacek  <polacek@redhat.com>
40550
40551         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40552         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40553         * sysdeps/gnu/_G_config.h: Likewise.
40554         * sysdeps/generic/_G_config.h: Likewise.
40555
40556 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40557
40558         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40559         tests.
40560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40561
40562         * sysdeps/powerpc/powerpc32/crti.S: New file.
40563         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40564         * sysdeps/powerpc/powerpc64/crti.S: New file.
40565         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40566
40567         * Makeconfig (have-initfini): Don't set.
40568         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40569         * configure.in (nopic_initfini): Don't substitute.
40570         * config.h.in (HAVE_INITFINI): Don't #undef.
40571         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40572         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40573
40574 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40575
40576         Support crti.S and crtn.S provided directly by architectures.
40577         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40578         [crti.S in sysdirs] (omit-deps): Likewise.
40579         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40580         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40581         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40582         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40583         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40584         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40585         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40586         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40587         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40588         compiler output for sysdeps/generic/initfini.c.
40589         * sysdeps/i386/elf/Makefile: Remove file.
40590         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40591
40592 2012-02-07  Marek Polacek  <polacek@redhat.com>
40593
40594         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40595         * sysdeps/gnu/_G_config.h: Likewise.
40596         * sysdeps/mach/hurd/_G_config.h: Likewise.
40597
40598 2012-02-07  Marek Polacek  <polacek@redhat.com>
40599
40600         * math/Makefile (tests): Add tst-CMPLX2.
40601         * math/tst-CMPLX2.c: New file.
40602
40603 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40604
40605         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40606
40607         * math/libm-test.inc (jn_test): Add missing L suffix.
40608
40609 2012-02-06  Marek Polacek  <polacek@redhat.com>
40610
40611         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40612         * sysdeps/i386/fpu/e_powf.S: Likewise.
40613         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40614         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40615         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40616         * sysdeps/i386/fpu/e_pow.S: Likewise.
40617         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40618         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40619         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40620         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40621         * sysdeps/i386/fpu/e_log2.S: Likewise.
40622         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40623         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40624         * sysdeps/i386/fpu/e_powl.S: Likewise.
40625         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40626         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40627         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40628         * sysdeps/i386/fpu/e_logl.S: Likewise.
40629         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40630         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40631         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40632         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40633         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40634         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40635         * sysdeps/i386/fpu/e_log.S: Likewise.
40636         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40637         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40638         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40639         * sysdeps/i386/fpu/e_logf.S: Likewise.
40640         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40641         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40642         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40643         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40644         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40645         * sysdeps/i386/fpu/e_log10.S: Likewise.
40646         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40647         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40648         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40649         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40650         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40651         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40652         * sysdeps/i386/asm-syntax.h: Likewise.
40653         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40654         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40655         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40656         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40657         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40658         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40659         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40660         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40661         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40662         * sysdeps/powerpc/sysdep.h: Likewise.
40663         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40664         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40665
40666 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40667
40668         [BZ #411]
40669         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40670
40671 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40672
40673         * sysdeps/i386/sysdep.h: Include <features.h>.
40674         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40675         version.
40676
40677 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40678
40679         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40680         Define.
40681         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40682         LOAD_PIC_REG_STR.
40683
40684 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40685
40686         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40687         (SETUP_PIC_REG): Use GET_PC_THUNK.
40688         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40689         macro.
40690
40691 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40692
40693         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40694         for non-PIC compilation.
40695         (SETUP_PIC_REG): Add .p2align directive.
40696         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40697         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40698         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40699         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40700         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40701         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40702         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40703         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40704         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40705         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40706         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40707         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40708         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40709         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40710         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40711         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40712         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40713         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40714         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40715         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40716         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40717         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40718         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40719         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40720         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40722         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40723         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40724         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40725         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40726         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40727         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40728         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40729         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40730         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40731         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40732         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40733         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40734         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40735         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40736         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40737
40738 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40739
40740         * math/tst-CMPLX.c: Include <stdio.h>.
40741
40742 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40743
40744         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40745         float.
40746         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40747         * sysdeps/sparc/bits/mathdef.h: Likewise.
40748
40749 2012-01-31  Marek Polacek  <polacek@redhat.com>
40750
40751         * libio/libio.h: Don't define _PARAMS.
40752         * locale/programs/config.h: Don't define PARAMS.
40753         * stdlib/strtol_l.c: Likewise.
40754         (__strtol_l): Remove PARAMS from the prototype.
40755
40756 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40757
40758         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40759         names.  Just use the correct names.  Remove unnecessary wrapper
40760         functions.
40761         * malloc/arena.c: Likewise.
40762         * malloc/hooks.c: Likewise.
40763
40764         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40765         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40766         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40767
40768 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40769
40770         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40771         into tail calls.
40772         (update_get_addr): New function.
40773         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40774         GET_ADDR_MODULE parameter.
40775
40776 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40777
40778         * crypt/cert.c: Remove __STDC__ conditionals.
40779         * crypt/crypt-entry.c: Likewise.
40780         * crypt/crypt_util.c: Likewise.
40781         * libio/filedoalloc.c: Likewise.
40782         * libio/fileops.c: Likewise.
40783         * libio/genops.c: Likewise.
40784         * libio/iofclose.c: Likewise.
40785         * libio/iofdopen.c: Likewise.
40786         * libio/iofopen.c: Likewise.
40787         * libio/iofopen64.c: Likewise.
40788         * libio/iogetdelim.c: Likewise.
40789         * libio/iopopen.c: Likewise.
40790         * libio/obprintf.c: Likewise.
40791         * libio/oldfileops.c: Likewise.
40792         * libio/oldiofclose.c: Likewise.
40793         * libio/oldiofdopen.c: Likewise.
40794         * libio/oldiofopen.c: Likewise.
40795         * libio/oldiopopen.c: Likewise.
40796         * libio/wfiledoalloc.c: Likewise.
40797         * libio/wgenops.c: Likewise.
40798         * locale/programs/xmalloc.c: Likewise.
40799         * misc/syslog.c: Likewise.
40800         * stdio-common/xbug.c: Likewise.
40801         * string/memchr.c: Likewise.
40802         * string/memcmp.c: Likewise.
40803         * string/memrchr.c: Likewise.
40804         * string/rawmemchr.c: Likewise.
40805         * sysdeps/posix/getcwd.c: Likewise.
40806         * time/strftime_l.c: Likewise.
40807
40808 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40809
40810         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40811         * config.make.in (config-cflags-sse2avx): Define.
40812         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40813         Fix typo.
40814
40815 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40816
40817         * scripts/config.guess: Update from upstream config git repository.
40818         * scripts/config.sub: Likewise.
40819
40820 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40821
40822         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40823         (EM_NUM): Update.
40824         (R_TILEPRO_*, R_TILEGX_*): New macros.
40825
40826         * scripts/firstversions.awk: Fix bug in version range handling.
40827
40828         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40829
40830         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40831
40832         * include/sys/epoll.h: New file.
40833         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40834         libc_hidden_def.
40835
40836 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40837
40838         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40839         Avoid unnecessary __WORDSIZE == 64 test.
40840         (fmaxf): Use VEX format if possible.
40841         (fmax): Likewise.
40842         (fminf): Likewise.
40843         (fmin): Likewise.
40844
40845         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40846         * math/math_private.h: Remove libc_fegetround* and
40847         libc_fesetround*.
40848         * sysdeps/i386/configure.in: Check for -msse2avx.
40849         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40850         also if SSE2AVX is defined.
40851         Remove libc_fegetround* and libc_fesetround*.
40852         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40853         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40854         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40855         of HAS_YMM_USABLE.
40856         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40857         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40858         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40859         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40860         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40861
40862         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40863
40864 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40865
40866         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40867         size is not set.
40868         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40869
40870 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40871
40872         [BZ #13618]
40873         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40874         relocation.
40875         * Makeconfig (libm): Define.
40876         * elf/Makefile: Add rules to build and run tst-relsort1.
40877         * elf/tst-relsort1.c: New file.
40878         * elf/tst-relsort1mod1.c: New file.
40879         * elf/tst-relsort1mod2.c: New file.
40880
40881 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40882
40883         * math/s_ldexp.c: Remove __STDC__ conditionals.
40884         * math/s_ldexpf.c: Likewise.
40885         * math/s_ldexpl.c: Likewise.
40886         * math/s_nextafter.c: Likewise.
40887         * math/s_nexttowardf.c: Likewise.
40888         * math/s_significand.c: Likewise.
40889         * math/s_significandf.c: Likewise.
40890         * math/s_significandl.c: Likewise.
40891         * math/w_jnl.c: Likewise.
40892         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40893         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40894         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40895         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40896         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40907         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40909         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40911         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40912         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40913         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40914         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40915         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40916         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40917         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40918         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40919         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40920         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40921         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40922         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40923         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40924         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40925         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40926         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40927         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40928         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40929         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40930         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40931         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40932         * sysdeps/ieee754/k_standard.c: Likewise.
40933         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40934         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40935         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40936         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40937         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40938         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40939         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40940         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40941         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40942         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40943         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40944         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40945         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40946         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40947         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40948         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40951         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40952         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40954         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40956         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40960         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40964         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40969         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40981         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40982         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40984         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40986         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40987         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40988         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40989         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40990         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40994         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40999         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41000         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41001         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41002         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41003         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41004         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41005         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41006         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41007         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41008         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41012         * sysdeps/ieee754/s_matherr.c: Likewise.
41013         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41014         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41015         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41016         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41017
41018 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41019
41020         * crypt/md5.h: Remove __STDC__ conditionals.
41021         * libio/libioP.h: Likewise.
41022         * locale/programs/config.h: Likewise.
41023         * sysdeps/generic/sysdep.h: Likewise.
41024         * sysdeps/i386/asm-syntax.h: Likewise.
41025         * sysdeps/s390/asm-syntax.h: Likewise.
41026         * sysdeps/unix/sysdep.h: Likewise.
41027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41029
41030 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41031
41032         * libio/libio.h: Remove __STDC__ conditionals.
41033         * malloc/obstack.h: Likewise.
41034         * math/complex.h: Likewise.
41035         * math/math.h: Likewise.
41036         * sysdeps/generic/_G_config.h: Likewise.
41037         * sysdeps/gnu/_G_config.h: Likewise.
41038         * sysdeps/mach/hurd/_G_config.h: Likewise.
41039         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41040         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41041         * sysdeps/sparc/bits/mathdef.h: Likewise.
41042
41043 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41044
41045         [BZ #13583]
41046         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41047         Clean up HAS_* macros.
41048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41049         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41050         possible.
41051         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41052         HAS_AVX.
41053         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41054         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41055         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41056         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41057         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41058
41059 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41060
41061         * elf/tst-unique3.cc (gets): Remove declaration.
41062         * elf/tst-unique3lib.cc (gets): Likewise.
41063         * elf/tst-unique3lib2.cc (gets): Likewise.
41064         * elf/tst-unique4.cc (gets): Likewise.
41065
41066 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41067
41068         * include/stdio.h: Add C++ protection.  Add gets declarations and
41069         definitions.
41070         * debug/tst-chk1.c: Don't declare gets here.
41071         * stdio-common/tst-gets.c: Likewise.
41072
41073 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41074
41075         * posix/glob: Remove directory.
41076
41077 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41078
41079         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41080
41081 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41082
41083         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41084         of the non-standard EPFNOSUPPORT.
41085
41086 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41087
41088         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41089         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41090         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41091
41092 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41093
41094         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41095
41096 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41097
41098         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41099         transient errors.
41100         * nscd/grpcache.c (cache_addgr): Likewise.
41101         * nscd/hstcache.c (cache_addhst): Likewise.
41102         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41103         * nscd/pwdcache.c (cache_addpw): Likewise.
41104         * nscd/servicescache.c (cache_addserv): Likewise.
41105
41106 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41107
41108         * malloc/malloc.c: Various cleanups.
41109         * malloc/hooks.c: Likewise.
41110
41111         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41112         * stdlib/bug-fmtmsg1.c: New file.
41113
41114         * stdlib/fmtmsg.c (init): Add missing unlock.
41115         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41116
41117 2012-01-12  Marek Polacek  <polacek@redhat.com>
41118
41119         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41120         and _GNU_SOURCE.
41121
41122 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41123
41124         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41125         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41126         macro to ensure uniqueness of label name.
41127         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41128         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41129
41130 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41131
41132         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41133
41134         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41135         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41136         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41138
41139 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41140
41141         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41142
41143         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41144         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41145         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41146
41147         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41148
41149         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41150         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41151         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41153
41154         * math/bits/math-finite.h: Add ldexp support.
41155
41156 2012-01-10  Marek Polacek  <polacek@redhat.com>
41157
41158         * locale/programs/localedef.h (show_archive_content): Add noreturn
41159         attribute.
41160
41161 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41162
41163         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41164
41165 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41166
41167         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41168
41169         * io/Makefile (headers): Add bits/poll2.h.
41170
41171 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41172
41173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41174         typo #include statement.
41175
41176 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41177
41178         * include/sys/cdefs.h: Define __attribute_alloc_size.
41179         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41180         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41181         * elf/pldd.c: Likewise.
41182         * iconv/iconv_charmap.c: Likewise.
41183         * iconv/iconvconfig.c: Likewise.
41184         * iconv/strtab.c: Likewise.
41185         * locale/programs/locale.c: Likewise.
41186         * locale/programs/localedef.h: Likewise.
41187         * locale/programs/simple-hash.c: Likewise.
41188         * nscd/nscd.h: Likewise.
41189         * nss/makedb.c: Likewise.
41190         * sysdeps/generic/ldconfig.h: Likewise.
41191         * locale/programs/localedef.c: Remove xmalloc prototype.
41192         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41193
41194 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41195
41196         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41197         appropriate.
41198
41199 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41200
41201         * math/Makefile (tests): Add tst-CMPLX.
41202         * math/tst-CMPLX.c: New file.
41203
41204         * math/complex.h (CMPLXL): Fix typo.
41205
41206         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41207         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41208         GLIBC_2.16.
41209         * debug/tst-chk1.c: Add poll and ppoll tests.
41210         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41211         * include/sys/poll.h: Add hidden proto for ppoll.
41212         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41213         * sysdeps/mach/hurd/ppoll.c: Likewise.
41214         * io/ppoll.c: Likewise.
41215         * debug/poll_chk.c: New file.
41216         * debug/ppoll_chk.c: New file.
41217         * include/bits/poll2.h: New file.
41218         * io/bits/poll2.h: New file.
41219
41220         [BZ #1350]
41221         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41222
41223         * configure.in: static is always set to yes.  Remove.
41224         * config.make.in: Don't set build-static.
41225         * Makeconfig: Remove use of build-static.
41226         * dlfcn/Makefile: Likewise.
41227         * elf/Makefile: Likewise.
41228         * math/Makefile: Likewise.
41229         * misc/Makefile: Likewise.
41230         * nptl/Makefile: Likewise.
41231         * sysdeps/mach/hurd/Makefile: Likewise.
41232
41233         * configure.in: PWD_P is not used anymore.
41234         * config.make.in: Remove PWD_P entry.
41235
41236         * configure.in: Remove last remnants of RANLIB.
41237         No need to check for signed size_t anymore.
41238         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41239         and IA-64.
41240         Remove __builtin_expect test because we require at least gcc 3.4.
41241         * aclocal.m4: Likewise.
41242
41243         * wcsmbs/mbrtoc16.c: Implement using towc function.
41244         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41245         * wcsmbs/wcsmbsload.c: Likewise.
41246         * iconv/gconv_simple.c: Likewise.
41247         * iconv/gconv_int.h: Likewise.
41248         * iconv/gconv_builtin.h: Likewise.
41249         * iconv/iconv_prog.c: Remove CHAR16 handling.
41250
41251         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41252
41253         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41254
41255         * configure.in: Remove --with-elf and --enable-bounded options.
41256         Dont set base_machine for ia64.  More non-ELF conditions removed.
41257         Remove testing and setting of leading underscore information.
41258         * config.make.in (build-bounded): Set to no.
41259         * config.h.in: Remove NO_UNDERSCORES entry.
41260         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41261         them.
41262         * csu/start.c: Remove !NO_UNDERSCORE code.
41263         * locale/localeinfo.h: Likewise.
41264         * sysdeps/generic/machine-gmon.h: Likewise.
41265         * sysdeps/generic/sysdep.h: Likewise.
41266         * sysdeps/i386/sysdep.h: Likewise.
41267         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41268         * sysdeps/mach/sysdep.h: Likewise.
41269         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41271         * sysdeps/sh/sysdep.h: Likewise.
41272         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41273         * sysdeps/unix/i386/sysdep.S: Likewise.
41274         * sysdeps/unix/sparc/start.c: Likewise.
41275         * sysdeps/unix/sparc/sysdep.S: Likewise.
41276         * sysdeps/unix/sparc/sysdep.h: Likewise.
41277         * sysdeps/unix/start.c: Likewise.
41278         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41279         * sysdeps/x86_64/sysdep.h: Likewise.
41280
41281 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41282
41283         [BZ #13553]
41284         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41285         for non-gcc.
41286         * argp/argp-fmtstream.h: Use const instead __const.
41287         * argp/argp.h: Likewise.
41288         * assert/assert.h: Likewise.
41289         * bits/fenv.h: Likewise.
41290         * bits/sched.h: Likewise.
41291         * bits/sigset.h: Likewise.
41292         * bits/sigthread.h: Likewise.
41293         * catgets/nl_types.h: Likewise.
41294         * conform/data/pthread.h-data: Likewise.
41295         * crypt/crypt-private.h: Likewise.
41296         * crypt/crypt.h: Likewise.
41297         * crypt/crypt_util.c: Likewise.
41298         * ctype/ctype.h: Likewise.
41299         * debug/execinfo.h: Likewise.
41300         * debug/mbsnrtowcs_chk.c: Likewise.
41301         * debug/mbsrtowcs_chk.c: Likewise.
41302         * debug/wcsnrtombs_chk.c: Likewise.
41303         * debug/wcsrtombs_chk.c: Likewise.
41304         * debug/wcstombs_chk.c: Likewise.
41305         * dirent/dirent.h: Likewise.
41306         * dlfcn/dlfcn.h: Likewise.
41307         * elf/neededtest4.c: Likewise.
41308         * grp/grp.h: Likewise.
41309         * gshadow/gshadow.h: Likewise.
41310         * iconv/gconv.h: Likewise.
41311         * iconv/gconv_int.h: Likewise.
41312         * iconv/gconv_simple.c: Likewise.
41313         * iconv/iconv.h: Likewise.
41314         * iconv/loop.c: Likewise.
41315         * iconv/skeleton.c: Likewise.
41316         * include/aio.h: Likewise.
41317         * include/aliases.h: Likewise.
41318         * include/argz.h: Likewise.
41319         * include/arpa/inet.h: Likewise.
41320         * include/assert.h: Likewise.
41321         * include/dirent.h: Likewise.
41322         * include/dlfcn.h: Likewise.
41323         * include/execinfo.h: Likewise.
41324         * include/fcntl.h: Likewise.
41325         * include/fenv.h: Likewise.
41326         * include/glob.h: Likewise.
41327         * include/grp.h: Likewise.
41328         * include/libintl.h: Likewise.
41329         * include/mntent.h: Likewise.
41330         * include/netdb.h: Likewise.
41331         * include/pwd.h: Likewise.
41332         * include/rpc/netdb.h: Likewise.
41333         * include/sched.h: Likewise.
41334         * include/search.h: Likewise.
41335         * include/shadow.h: Likewise.
41336         * include/signal.h: Likewise.
41337         * include/stdio.h: Likewise.
41338         * include/stdlib.h: Likewise.
41339         * include/string.h: Likewise.
41340         * include/sys/socket.h: Likewise.
41341         * include/sys/stat.h: Likewise.
41342         * include/sys/statfs.h: Likewise.
41343         * include/sys/statvfs.h: Likewise.
41344         * include/sys/syslog.h: Likewise.
41345         * include/sys/time.h: Likewise.
41346         * include/sys/uio.h: Likewise.
41347         * include/time.h: Likewise.
41348         * include/unistd.h: Likewise.
41349         * include/utmp.h: Likewise.
41350         * include/wchar.h: Likewise.
41351         * include/wctype.h: Likewise.
41352         * inet/aliases.h: Likewise.
41353         * inet/arpa/inet.h: Likewise.
41354         * inet/netinet/ether.h: Likewise.
41355         * inet/netinet/in.h: Likewise.
41356         * intl/libintl.h: Likewise.
41357         * io/bits/fcntl2.h: Likewise.
41358         * io/fcntl.h: Likewise.
41359         * io/ftw.h: Likewise.
41360         * io/sys/poll.h: Likewise.
41361         * io/sys/stat.h: Likewise.
41362         * io/sys/statfs.h: Likewise.
41363         * io/sys/statvfs.h: Likewise.
41364         * io/utime.h: Likewise.
41365         * libio/bits/stdio.h: Likewise.
41366         * libio/bits/stdio2.h: Likewise.
41367         * libio/libio.h: Likewise.
41368         * libio/libioP.h: Likewise.
41369         * libio/stdio.h: Likewise.
41370         * locale/lc-ctype.c: Likewise.
41371         * locale/locale.h: Likewise.
41372         * login/utmp.h: Likewise.
41373         * malloc/arena.c: Likewise.
41374         * malloc/malloc.c: Likewise.
41375         * malloc/malloc.h: Likewise.
41376         * malloc/mcheck.c: Likewise.
41377         * malloc/mtrace.c: Likewise.
41378         * math/bits/mathcalls.h: Likewise.
41379         * math/fenv.h: Likewise.
41380         * math/math_private.h: Likewise.
41381         * misc/bits/error.h: Likewise.
41382         * misc/bits/syslog.h: Likewise.
41383         * misc/err.h: Likewise.
41384         * misc/error.h: Likewise.
41385         * misc/fstab.h: Likewise.
41386         * misc/mntent.h: Likewise.
41387         * misc/regexp.h: Likewise.
41388         * misc/search.h: Likewise.
41389         * misc/sgtty.h: Likewise.
41390         * misc/sys/mman.h: Likewise.
41391         * misc/sys/syslog.h: Likewise.
41392         * misc/sys/uio.h: Likewise.
41393         * misc/sys/xattr.h: Likewise.
41394         * misc/ttyent.h: Likewise.
41395         * nis/rpcsvc/ypclnt.h: Likewise.
41396         * nss/nss.h: Likewise.
41397         * posix/bits/unistd.h: Likewise.
41398         * posix/fnmatch.h: Likewise.
41399         * posix/glob.h: Likewise.
41400         * posix/sched.h: Likewise.
41401         * posix/spawn.h: Likewise.
41402         * posix/sys/wait.h: Likewise.
41403         * posix/unistd.h: Likewise.
41404         * posix/wordexp.h: Likewise.
41405         * pwd/pwd.h: Likewise.
41406         * resolv/netdb.h: Likewise.
41407         * resource/sys/resource.h: Likewise.
41408         * rt/aio.h: Likewise.
41409         * rt/bits/mqueue2.h: Likewise.
41410         * rt/mqueue.h: Likewise.
41411         * shadow/shadow.h: Likewise.
41412         * signal/signal.h: Likewise.
41413         * socket/send.c: Likewise.
41414         * socket/sendto.c: Likewise.
41415         * socket/sys/socket.h: Likewise.
41416         * stdio-common/printf.h: Likewise.
41417         * stdlib/bits/stdlib.h: Likewise.
41418         * stdlib/fmtmsg.h: Likewise.
41419         * stdlib/monetary.h: Likewise.
41420         * stdlib/stdlib.h: Likewise.
41421         * stdlib/ucontext.h: Likewise.
41422         * streams/stropts.h: Likewise.
41423         * string/argz.h: Likewise.
41424         * string/bits/string2.h: Likewise.
41425         * string/string.h: Likewise.
41426         * string/strings.h: Likewise.
41427         * sunrpc/rpc/auth.h: Likewise.
41428         * sunrpc/rpc/auth_des.h: Likewise.
41429         * sunrpc/rpc/clnt.h: Likewise.
41430         * sunrpc/rpc/netdb.h: Likewise.
41431         * sunrpc/rpc/pmap_clnt.h: Likewise.
41432         * sunrpc/rpc/xdr.h: Likewise.
41433         * sysdeps/generic/inttypes.h: Likewise.
41434         * sysdeps/generic/net/if.h: Likewise.
41435         * sysdeps/generic/sys/swap.h: Likewise.
41436         * sysdeps/gnu/net/if.h: Likewise.
41437         * sysdeps/gnu/utmpx.h: Likewise.
41438         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41439         * sysdeps/i386/i486/bits/string.h: Likewise.
41440         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41441         * sysdeps/s390/bits/string.h: Likewise.
41442         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41443         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41444         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41445         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41446         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41447         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41448         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41449         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41450         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41451         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41452         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41453         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41454         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41455         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41456         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41457         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41458         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41459         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41460         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41461         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41462         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41463         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41464         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41465         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41466         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41467         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41468         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41469         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41470         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41471         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41472         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41473         * sysvipc/sys/ipc.h: Likewise.
41474         * sysvipc/sys/msg.h: Likewise.
41475         * sysvipc/sys/sem.h: Likewise.
41476         * sysvipc/sys/shm.h: Likewise.
41477         * termios/termios.h: Likewise.
41478         * time/sys/time.h: Likewise.
41479         * time/time.h: Likewise.
41480         * wcsmbs/bits/wchar2.h: Likewise.
41481         * wcsmbs/uchar.h: Likewise.
41482         * wcsmbs/wchar.h: Likewise.
41483         * wctype/wctype.h: Likewise.
41484
41485         [BZ #13551]
41486         * Makeconfig: Remove all but ELF support including AIX support.
41487         * Makerules: Likewise.
41488         * config.h.in: Likewise.
41489         * config.make.in: Likewise.
41490         * configure: Likewise.
41491         * configure.in: Likewise.
41492         * csu/Makefile: Likewise.
41493         * csu/version.c: Likewise.
41494         * debug/Makefile: Likewise.
41495         * dlfcn/Makefile: Likewise.
41496         * elf/Makefile: Likewise.
41497         * extra-lib.mk: Likewise.
41498         * iconv/Makefile: Likewise.
41499         * include/libc-symbols.h: Likewise.
41500         * include/shlib-compat.h: Likewise.
41501         * resolv/Makefile: Likewise.
41502         * resolv/res_libc.c: Likewise.
41503         * rt/Makefile: Likewise.
41504         * sysdeps/i386/asm-syntax.h: Likewise.
41505         * sysdeps/i386/sysdep.h: Likewise.
41506         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41507         * sysdeps/mach/sysdep.h: Likewise.
41508         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41509         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41510         * sysdeps/s390/asm-syntax.h: Likewise.
41511         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41512         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41513         * sysdeps/sh/sysdep.h: Likewise.
41514         * sysdeps/unix/sparc/sysdep.h: Likewise.
41515         * sysdeps/wordsize-32/divdi3.c: Likewise.
41516         * sysdeps/x86_64/sysdep.h: Likewise.
41517
41518         * argp/Versions: Remove _argp_unlock_xxx.
41519
41520         [BZ #13559]
41521         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41522         * abilist/libBrokenLocale.abilist: Likewise.
41523         * abilist/libanl.abilist: Likewise.
41524         * abilist/libc.abilist: Likewise.
41525         * abilist/libcrypt.abilist: Likewise.
41526         * abilist/libdl.abilist: Likewise.
41527         * abilist/libm.abilist: Likewise.
41528         * abilist/libnsl.abilist: Likewise.
41529         * abilist/libpthread.abilist: Likewise.
41530         * abilist/libresolv.abilist: Likewise.
41531         * abilist/librt.abilist: Likewise.
41532         * abilist/libthread_db.abilist: Likewise.
41533         * abilist/libutil.abilist: Likewise.
41534         * abilist/libnss_db.abilist: New file.
41535
41536         * scripts/abilist.awk: Add support for indirect functions.
41537
41538         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41539
41540         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41541
41542         * shlib-versions: Remove entries for ports architectures.
41543
41544         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41545         files in ports.
41546         * elf/stackguard-macros.h: Remove support for IA-64.
41547         * elf/tst-auditmod1.c: Likewise.
41548         * sysdeps/generic/ldsodefs.h: Likewise.
41549
41550         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41551         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41552         configure files.
41553
41554         [BZ #13552]
41555         * configure.in: Remove --enable-omitfp support.
41556         * FAQ.in: Adjust.
41557         * config.make.in: Likewise.
41558         * Makeconfig: Likewise.
41559         * manual/install.texi: Likewise.
41560
41561         In case anyone cares, the IA-64 architecture could move to ports.
41562         * sysdeps/ia64/*: Removed.
41563         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41564         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41565
41566         [BZ #13555]
41567         * configure.in: Remove entries for unsupported architectures.
41568
41569         [BZ #13533]
41570         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41571         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41572         routines.
41573         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41574         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41575         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41576         fall back to using wcrtomb.
41577         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41578         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41579         renaming.
41580         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41581         * wcsmbs/tst-c16c32-1.c: New file.
41582
41583         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41584         local variable.
41585
41586         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41587
41588         * elf/tst-unique3.cc: Add explicit declaration of gets.
41589         * elf/tst-unique3lib.cc: Likewise.
41590         * elf/tst-unique3lib2.cc: Likewise.
41591         * elf/tst-unique4.cc: Likewise.
41592
41593         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41594
41595 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41596
41597         [BZ #13566]
41598         * assert/assert.h (static_assert): Don't define for C++.
41599         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41600         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41601
41602 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41603
41604         * iconv/loop.c (single loop): Fix assertion in storing of
41605         remaining bytes.
41606
41607         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41608
41609 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41610
41611         * posix/getconf.c: Update copyright year.
41612         * nss/getent.c: Likewise.
41613         * nss/makedb.c: Likewise.
41614         * iconv/iconvconfig.c: Likewise.
41615         * iconv/iconv_prog.c: Likewise.
41616         * elf/ldconfig.c: Likewise.
41617         * elf/pldd.c: Likewise.
41618         * elf/sotruss.ksh: Likewise.
41619         * catgets/gencat.c: Likewise.
41620         * csu/version.c: Likewise.
41621         * elf/ldd.bash.in: Likewise.
41622         * elf/sprof.c (print_version): Likewise.
41623         * locale/programs/locale.c: Likewise.
41624         * locale/programs/localedef.c: Likewise.
41625         * login/programs/pt_chown.c: Likewise.
41626         * nscd/nscd.c (print_version): Likewise.
41627         * debug/xtrace.sh: Likewise.
41628         * malloc/memusage.sh: Likewise.
41629         * malloc/mtrace.pl: Likewise.
41630         * debug/catchsegv.sh: Likewise.
41631
41632 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41633
41634         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41635         pure attribute.
41636
41637 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41638
41639         [BZ #13533]
41640         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41641         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41642         transformations.
41643         * iconv/gconv_int.h: Likewise.
41644         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41645         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41646         from libc for GLIBC_2.16.
41647         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41648         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41649         * wcsmbs/uchar.h: Really define mbstate_t.
41650         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41651         * wcsmbs/c16rtomb.c: New file.
41652         * wcsmbs/mbrtoc16.c: New file.
41653         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41654         for C/POSIX locale.
41655         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41656         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41657
41658         * wcsmbs/wchar.h: Add missing __restrict.
41659
41660 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41661
41662         [BZ #13532]
41663         * time/Makefile (routines): Add timespec_get.
41664         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41665         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41666         timespec for ISO C11.
41667         * time/timespec_get.c: New file.
41668         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41669         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41670
41671         [BZ #13531]
41672         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41673         * stdlib/stdlib.h: Declare aligned_alloc.
41674         * Versions.def: Add GLIBC_2.16 for libc.
41675         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41676
41677         [BZ 13527]
41678         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41679         ISO C11.
41680
41681         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41682         code.
41683
41684         [BZ #13528]
41685         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41686
41687         [BZ #13529]
41688         * assert/assert.h (static_assert): Define.
41689
41690         * version.h: Update for 2.16 development version.
41691
41692         [BZ #13526]
41693         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41694         _ISOC11_SOURCE.
41695
41696         * version.h (RELEASE): Bump for 2.15 release.
41697         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41698
41699         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41700         Patch by Marek Polacek <mpolacek@redhat.com>.
41701
41702         * bits/byteswap.h: Protect long long constants with __extension__.
41703         * sysdeps/i386/bits/byteswap.h: Likewise.
41704         * sysdeps/ia64/bits/byteswap.h: Likewise.
41705         * sysdeps/s390/bits/byteswap.h: Likewise.
41706         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41707
41708 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41709
41710         [BZ #13540]
41711         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41712         destination buffer.
41713         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41714
41715 2011-12-23  Marek Polacek  <polacek@redhat.com>
41716
41717         * elf/dl-addr.c (determine_info): Add inline keyword.
41718         * elf/tst-auditmod4b.c (check_avx): Likewise.
41719         * elf/tst-auditmod6b.c (check_avx): Likewise.
41720         * elf/tst-auditmod6c.c (check_avx): Likewise.
41721         * elf/tst-auditmod7b.c (check_avx): Likewise.
41722
41723 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41724
41725         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41726         !__SSE_MATH__.
41727
41728 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41729
41730         [BZ #13540]
41731         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41732         processing for last bytes.
41733
41734 2011-08-06  Bruno Haible  <bruno@clisp.org>
41735
41736         [BZ #13061]
41737         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41738         U+0385, not to U+1FEE.
41739
41740         [BZ #13062]
41741         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41742         entry for U+00A5 U+0301.
41743
41744 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41745
41746         [BZ #13166]
41747         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41748         buffer for the output is too small.
41749
41750         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41751         optimization.
41752
41753         [BZ #13185]
41754         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41755         SSE flags if possible.
41756
41757 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41758
41759         [BZ #13540]
41760         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41761         processing for last bytes.
41762
41763 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41764
41765         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41766         (syscall-list-default-options, syscall-list-default-condition)
41767         (syscall-list-includes): Define.
41768         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41769         list of ABIs and options and #if conditions for each ABI.  Do not
41770         handle common syscalls between ABIs specially.
41771         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41772         Remove.
41773         (syscall-list-variants, syscall-list-32bit-options)
41774         (syscall-list-32bit-condition, syscall-list-64bit-options)
41775         (syscall-list-64bit-condition): Define.
41776         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41777         (syscall-list-variants, syscall-list-32bit-options)
41778         (syscall-list-32bit-condition, syscall-list-64bit-options)
41779         (syscall-list-64bit-condition): Define.
41780         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41781         Remove.
41782         (syscall-list-variants, syscall-list-32bit-options)
41783         (syscall-list-32bit-condition, syscall-list-64bit-options)
41784         (syscall-list-64bit-condition): Define.
41785         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41786         Remove.
41787         (syscall-list-variants, syscall-list-32bit-options)
41788         (syscall-list-32bit-condition, syscall-list-64bit-options)
41789         (syscall-list-64bit-condition): Define.
41790
41791 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41792
41793         * locale/iso-639.def: Add brx entry.
41794
41795         [BZ #13328]
41796         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41797         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41798
41799         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41800         __feraiseexcept_renamed.
41801
41802 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41803
41804         [BZ #13538]
41805         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41806         EPOLLET with unsigned values.
41807         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41808         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41809
41810         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41811         to large cancellation.
41812         * math/s_cacoshf.c: Likewise.
41813         * math/s_cacoshl.c: Likewise.
41814
41815 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41816
41817         [BZ #13305]
41818         [BZ #12786]
41819         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41820         * math/s_cacoshf.c: Likewise.
41821         * math/s_cacoshl.c: Likewise.
41822
41823 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41824
41825         [BZ #13439]
41826         * iconv/gconv.h: Define __GCONV_SWAP.
41827         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41828         * iconvdata/utf-16.c: Likewise.
41829         * iconvdata/utf-32.c: Likewise.
41830
41831 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41832
41833         [BZ #13524]
41834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41835         numerator after shifting it by one limb.
41836
41837 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41838
41839         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41840         under [__USE_EXTERN_INLINES].
41841
41842 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41843
41844         [BZ #13446]
41845         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41846
41847 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41848
41849         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41850         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41851         optimized code.
41852         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41853         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41854         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41855         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41856         for strncasecmp/strncasecmp_l compilation.
41857         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41858         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41859
41860 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41861
41862         [BZ #13484]
41863         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41864         of __asm__.
41865
41866 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41867
41868         [BZ #13506]
41869         * time/tzfile.c (__tzfile_read): Check values from file header.
41870
41871 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41872
41873         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41874         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41875         * powerpc/powerpc32/dl-start.S: Likewise.
41876         * powerpc/powerpc32/elf/start.S: Likewise.
41877         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41878         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41879         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41880         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41881         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41882         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41883         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41884         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41885         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41886         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41887         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41888         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41889         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41890         * powerpc/powerpc32/memset.S: Likewise.
41891         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41892         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41893         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41894         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41895         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41896         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41897         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41898         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41899         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41900         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41901         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41902         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41903         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41904
41905 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41906
41907         * math/libm-test.inc: Added more nearbyint tests.
41908         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41910         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41912
41913 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41914
41915         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41916         FD_CLOEXEC.
41917
41918 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41919
41920         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41921         Add wcscpy-ssse3 wcscpy-c.
41922         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41923         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41924         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41925         * sysdeps/x86_64/wcschr.S: New file.
41926         * sysdeps/x86_64/wcsrchr.S: New file.
41927         * string/test-strcmp.c: Remove checking of wcscmp function for
41928         wrong alignments.
41929         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41930         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41931         wcsrchr-sse2 wcsrchr-c.
41932         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41933         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41934         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41935         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41936         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41937         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41938         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41939         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41940         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41941         * wcsmbc/wcschr.c (WCSCHR): New macro.
41942
41943 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41944
41945         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41946         * wcsmbs/test-wcsrchr.c: New file.
41947         * string/test-strrchr.c: Add wcsrchr support.
41948         (WIDE): New macro.
41949         * wcsmbs/test-wcscpy.c: New file.
41950         * string/test-strcpy.c: Add wcscpy support.
41951         (WIDE): New macro.
41952
41953 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41954
41955         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41956         the inner loop.
41957
41958 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41959
41960         [BZ #13472]
41961         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41962
41963 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41964
41965         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41966         Minor optimizations.
41967
41968         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41969         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41970         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41971
41972 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41973
41974         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41975         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41976         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41977         for gcc to avoid warnings.
41978         * inet/Makefile (tests): Add tst-checks.
41979         * inet/tst-checks.c: New file.
41980
41981         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41982         warning.
41983
41984         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41985         __wmemcmp_sse2.
41986
41987         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41988         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41989
41990         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41991
41992 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41993
41994         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41995         problem.
41996
41997         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41998
41999 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42000
42001         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42002         conditional on GCC version.
42003         (__arch_compare_and_exchange_val_8_acq)
42004         (__arch_compare_and_exchange_val_16_acq)
42005         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42006         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42007         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42008
42009 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42010
42011         * sysdeps/sh/backtrace.c: New file.
42012
42013 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42014
42015         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42016         parenthesis.
42017
42018 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42019
42020         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42021         falling back to utime.
42022
42023 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42024
42025         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42026         expectations for float.
42027
42028 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42029
42030         * locale/weight.h (findidx): Add parameter len.
42031         * locale/weightwc.h (findidx): Likewise.
42032         * posix/fnmatch_loop.c (FCT): Adjust caller.
42033         * posix/regcomp.c (build_equiv_class): Likewise.
42034         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42035         * posix/regexec.c (check_node_accept_bytes): Likewise.
42036         * string/strcoll_l.c (STRCOLL): Likewise.
42037         * string/strxfrm_l.c (STRXFRM): Likewise.
42038
42039 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42040
42041         * Makefile.in: Remove CVSOPT handling.
42042         * configure.in: Remove use of AC_REVISION.
42043         * iconvdata/Makefile (distribute): No need to filter out CVS.
42044         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42045         handling.
42046
42047 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42048
42049         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42050         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42051         [USE_AS_STRNCASECMP_L]: Likewise.
42052         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42053         NO_TLS_DIRECT_SEG_REFS.
42054         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42055         Fix argument offsets for non-PIC.
42056         [USE_AS_STRNCASECMP_L]: Likewise.
42057         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42058         NO_TLS_DIRECT_SEG_REFS.
42059
42060 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42061
42062         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42063         O_CLOEXEC.
42064         * locale/loadlocale.c (_nl_load_locale): Likewise.
42065
42066 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42067
42068         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42069         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42070         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42071         (SYSCALL_GETTIME): Set errno on error.
42072
42073         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42074         count references to noai6ai_cached.
42075
42076 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42077
42078         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42079
42080         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42081         FD_CLOEXEC for /proc/self/maps.
42082
42083         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42084         FD_CLOEXEC for /proc/meminfo.
42085
42086         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42087         gai.conf.
42088
42089         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42090         FD_CLOEXEC for given file.
42091
42092         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42093
42094         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42095         FD_CLOEXEC for /etc/hosts.
42096         (_gethtent): Likewise.
42097
42098         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42099
42100         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42101         cancellation and set FD_CLOEXEC for /etc/netgroup.
42102
42103         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42104         reading /etc/publickey.
42105
42106         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42107         allow cancellation when reading /etc/group.
42108
42109         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42110         cancellation.
42111         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42112
42113         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42114         when using data file.
42115
42116         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42117
42118         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42119         (write_nis_obj): Use "c" and "e" in fopen.
42120
42121         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42122
42123         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42124
42125         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42126
42127         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42128
42129         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42130         locale.alias.
42131
42132         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42133
42134         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42135
42136         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42137
42138         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42139         file parsing and set FD_CLOEXEC.
42140
42141 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42142
42143         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42144
42145 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42146
42147         * malloc/arena.c (arena_get2): Don't call reused_arena when
42148         _int_new_arena failed.
42149
42150 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42151
42152         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42153         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42154         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42155         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42156         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42157         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42158         to compile strcasecmp and strncasecmp.
42159         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42160         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42161
42162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42163
42164 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42165
42166         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42167         locale-defines.sym to gen-as-const-headers.
42168         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42169         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42171         to compile strcasecmp and strncasecmp.
42172         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42173         strcasecmp_l and strncasecmp_l.
42174         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42175         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42176         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42177         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42178         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42179         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42180         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42181         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42182         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42183         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42184         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42185
42186 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42187
42188         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42189         result of SYSDEP_GETTIME_CPU to retval.
42190         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42191         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42192
42193         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42194         variable.
42195
42196         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42197         mantissa words.
42198         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42199
42200         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42201         from unused variable.
42202
42203         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42204         DWARF definitions.
42205         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42206         for assembling.
42207
42208         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42209         over namespaces.
42210
42211         * sunrpc/rpc_prot.c (rejected): Fix case value.
42212
42213         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42214         unsigned long long int to avoid warnings in shift.
42215
42216         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42217         of use of trans.
42218         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42219         variable tmp.
42220
42221         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42222         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42223         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42224
42225         * nis/nis_table.c (nis_list): Use variable of correct type for
42226         result of __follow_path call.
42227
42228 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42229
42230         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42231         of math functions ceil, trunc, floor, round, and sqrt, when
42232         avaliable on the platform.
42233         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42234         name clash.
42235         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42236         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42237         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42238
42239 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42240
42241         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42242         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42243
42244 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42245
42246         * include/unistd.h: Fix __readlink return type.
42247         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42248
42249 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42250
42251         * stdlib/ucontext.h: Undo last change for makecontext.
42252
42253 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42254
42255         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42256
42257         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42258         * setjmp/setjmp.h: Mark functions as non-leaf.
42259         * setjmp/bits/setjmp2.h: Likewise.
42260         * stdlib/ucontext.h: Likewise.
42261
42262 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42263
42264         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42265         (reused_arena): Don't check arena limit.
42266         (arena_get2): Atomically check arena limit.
42267
42268 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42269
42270         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42271         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42272
42273         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42274         instructions.
42275
42276 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42277
42278         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42279         handler when locking.
42280
42281         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42282         Fix size of allocated buffer.
42283
42284 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42285
42286         [BZ #10103]
42287         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42288         declarations for long double functions.
42289         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42290
42291         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42292
42293 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42294
42295         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42296         installed.
42297
42298         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42299         is disabled.
42300
42301 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42302
42303         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42304
42305 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42306
42307         * include/alloca.h (stackinfo_alloca_round): Define.
42308         (extend_alloca): Use it.
42309         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42310         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42311         here.
42312
42313         * scripts/check-local-headers.sh: Ignore libaudit.h.
42314
42315         * nscd/Makefile (extra-objs): Make recursively expanded.
42316
42317 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42318
42319         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42320         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42321
42322         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42323         * posix/tst-rfc3484-2.c: Likewise.
42324         * posix/tst-rfc3484-3.c: Likewise.
42325
42326         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42327         process_vm_writev.
42328         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42329         process_vm_writev.
42330         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42331         process_vm_writev from libc using GLIBC_2.15 version.
42332
42333         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42334
42335 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42336
42337         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42338         stack usage.
42339
42340 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42341
42342         [BZ #13367]
42343         * nss/getent.c (initgroups_keys): Show error message in case no group
42344         names are given.
42345
42346         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42347         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42348         __bump_nl_timestamp.
42349         * nscd/connections (nscd_init): When host database is served open
42350         netlink socket and request notification about configuration changes.
42351         (main_loop_poll): Track netlink file descriptor and bump timestamp
42352         in case data becomes available.
42353         (main_loop_epoll): Likewise.
42354         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42355         (database_pers_head): Add extra_data fileds.
42356         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42357         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42358         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42359         Adjust caller.
42360         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42361         in6ai data, call __free_in6ai.
42362         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42363         Add -DHAVE_NETLINK.
42364         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42365         interface information.  Reuse previous data if netlink timestamp
42366         is not changed.
42367         (__bump_nl_timestamp): New function.
42368         (__free_in6ai): New function.
42369
42370 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42371
42372         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42373         close_not_cancel_no_status here.
42374         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42375
42376 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42377
42378         [BZ #13276]
42379         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42380         return value.
42381
42382         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42383         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42384         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42385
42386 2011-07-03  Andreas Jaeger  <aj@suse.de>
42387
42388         [BZ #10709]
42389         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42390         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42391         * math/libm-test.inc (sin_test): Add test case.
42392
42393 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42394
42395         [BZ #13337]
42396         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42397         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42398
42399         * elf/chroot_canon.c (chroot_canon): Cleanups.
42400
42401         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42402
42403         [BZ #13335]
42404         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42405         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42406
42407         * string/test-strchr.c: Make usable for strchrnul testing.
42408         * string/test-strchrnul.c: New file.
42409         * string/Makefile (strop-tests): Add strchrnul.
42410
42411         * po/it.po: Update from translation team.
42412         * po/es.po: Likewise.
42413
42414 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42415
42416         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42417         the three constants needed as parameters.  Drop the others.
42418         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42419         __m128i_strloadu_tolower.
42420         Create and initialize variable zero and use it in all the places
42421         where _mm_setzero_si128 was used.
42422
42423         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42424         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42425         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42426         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42427         anymore.
42428         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42429         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42430         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42431         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42432         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42433         __mpranred, __mptan.
42434         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42435         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42436         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42437         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42438         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42439         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42440         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42441         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42442         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42443
42444 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42445
42446         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42447         redefine if SHARED.
42448         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42449
42450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42451         wide char related routines to wcsmbs subdir.
42452
42453 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42454
42455         [BZ #13344]
42456         * misc/sys/cdefs.h (__THROWNL): Define.
42457         * posix/unistd.h: Use __THREADNL instead of __THREAD
42458         for memory synchronization functions.
42459
42460 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42461
42462         [BZ #13349]
42463         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42464         doesn't exist.
42465         * manual/stdio.texi (Obstack Streams): Node removed.
42466
42467 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42468
42469         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42470         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42471         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42472
42473         * math/math_private.h (math_force_eval): Allow non-addressable
42474         arguments.
42475         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42476
42477 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42478
42479         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42480         file is not needed.
42481
42482         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42483         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42484         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42485         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42486         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42487         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42488         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42489         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42490         Add AVX variants.
42491         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42492         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42493         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42494         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42495         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42496         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42497         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42498         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42499         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42500         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42501         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42502         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42503         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42504         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42505         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42506         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42507         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42508         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42509         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42510
42511         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42512         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42513
42514         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42515         place.  Use VEX encoding when compiling for AVX.
42516
42517 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42518
42519         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42520         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42521
42522         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42523
42524 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42525
42526         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42527         useless if() expression.
42528         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42529         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42530         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42531         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42532         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42533         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42534         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42535         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42536         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42537         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42538         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42539         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42540         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42541         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42542         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42543         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42544         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42545         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42546         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42547
42548         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42549
42550 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42551
42552         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42553         condition.
42554         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42555
42556 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42557
42558         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42559         .text section.  Avoid duplicate constants.
42560         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42565         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42570         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42571         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42572         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42574         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42575         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42576         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42577         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42578         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42580         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42581         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42582         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42583         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42584         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42585         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42586         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42587         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42588         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42589         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42590         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42591         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42592         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42593         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42594         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42595         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42596         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42597         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42598         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42599         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42600         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42601         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42602         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42603         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42604         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42605
42606 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42607
42608         * sysdeps/x86_64/dla.h: Move to ...
42609         * sysdeps/x86_64/fpu/dla.h: ...here.
42610         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42611         situations.  Use __builtin_fma only for gcc 4.6 and up.
42612
42613         * config.make.in: Add have-mfma4 entry.
42614         * configure.in: Substitute libc_cv_cc_fma4.
42615         * math/Makefile (dbl-only-routines): Add sincostab.
42616         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42617         Use __sincostab not sincos.
42618         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42619         name is a macro.
42620         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42624         using __copysign.
42625         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42626         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42627         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42628         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42629         and __inv.
42630         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42631         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42632         __copysign.
42633         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42634         define aliases when function name is a macro.
42635         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42636         sysdeps/ieee754/dbl-64/sincos.tbl.
42637         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42638         fma4-enabled routines.
42639         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42640         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42641         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42642         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42643         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42644         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42646         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42648         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42649         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42650         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42651         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42652         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42653         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42654         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42655         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42656         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42657         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42658         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42659         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42660         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42661         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42662         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42663         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42664         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42665         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42666         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42667         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42668         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42669
42670         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42671         rename.
42672         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42673         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42675         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42676         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42678         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42680
42681 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42682
42683         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42684
42685 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42686
42687         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42688
42689         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42690         prediction.
42691         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42692
42693         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42694         Remove unused variable magic_bits.
42695         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42696
42697         * string/strnlen.c: Define and use STRNLEN macro.
42698         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42699         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42700         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42701         * wcsmbs/wcslen.c: Define and use WCSLEN.
42702         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42703         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42704         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42705         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42706         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42707         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42708         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42709
42710 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42711
42712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42713         strnlen-sse2-no-bsf.
42714         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42715         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42716         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42717         Add strnlen support.
42718         (USE_AS_STRNLEN): New macro.
42719         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42720         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42721         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42722         * sysdeps/x86_64/wcslen.S: New file.
42723
42724 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42725
42726         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42727         XMM-moves are used for copying on small sizes.
42728
42729 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42730
42731         * wcsmbs/Makefile (strop-tests): Add wcschr.
42732         * wcsmbs/test-wcschr.c: New file.
42733         * string/test-strchr.c: Update.
42734         Add wcschr support.
42735         (WIDE): New macro.
42736
42737 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42738
42739         * wcsmbs/Makefile (strop-tests): Add wcslen.
42740         * wcsmbs/test-wcslen.c: New file.
42741         * string/test-strlen.c: Update.
42742         Add wcslen support.
42743         (WIDE): New macro.
42744
42745 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42746
42747         * po/it.po: Update from translation team.
42748
42749 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42750
42751         * sysdeps/x86_64/wcscmp.S: Update.
42752         Fix wrong comparison semantics.
42753         wcscmp shall use signed comparison not unsigned.
42754         Don't use substraction to avoid overflow bug.
42755         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42756         * wcsmbc/wcscmp.c: Likewise.
42757         * string/test-strcmp.c: Likewise.
42758         Add new tests to check cases with negative values.
42759
42760 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42761
42762         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42763         * sysdeps/x86_64/dla.h: ...here.  New file.
42764         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42766         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42769         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42770         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42773
42774 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42775
42776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42777         __ynl_finite aliases.
42778
42779 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42780
42781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42782
42783         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42784         define DLA_FMA.
42785         [DLA_FMA] (EMULV): Use DLA_FMA.
42786         [DLA_FMA] (MUL12): Use EMULV.
42787         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42788         that are not needed.
42789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42790         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42791         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42792         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42793         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42795         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42796
42797 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42798
42799         * math/s_nan.c: Undef __nan.
42800         * math/s_nanf.c: Undef __nanf.
42801         * math/s_nanl.c: Undef __nanl.
42802         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42803         "math_private.h".
42804
42805 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42806
42807         * math/s_catan.c: Add branch predictions.
42808         * math/s_catanf.c: Likewise.
42809         * math/s_catanh.c: Likewise.
42810         * math/s_catanhf.c: Likewise.
42811         * math/s_catanhl.c: Likewise.
42812         * math/s_catanl.c: Likewise.
42813         * math/s_cexp.c: Likewise.
42814         * math/s_cexpf.c: Likewise.
42815         * math/s_cexpl.c: Likewise.
42816         * math/s_clog.c: Likewise.
42817         * math/s_clog10.c: Likewise.
42818         * math/s_clog10f.c: Likewise.
42819         * math/s_clog10l.c: Likewise.
42820         * math/s_clogf.c: Likewise.
42821         * math/s_clogl.c: Likewise.
42822         * math/s_csqrt.c: Likewise.
42823         * math/s_csqrtf.c: Likewise.
42824         * math/s_csqrtl.c: Likewise.
42825         * math/s_ctanf.c: Likewise.
42826         * math/s_ctanh.c: Likewise.
42827         * math/s_ctanhf.c: Likewise.
42828         * math/s_ctanhl.c: Likewise.
42829         * math/s_ctanl.c: Likewise.
42830
42831         * math/math_private.h: Define __nan, __nanf, __nanl.
42832         * math/s_cacosh.c: Include <math_private.h>.
42833         * math/s_cacoshl.c: Likewise.
42834         * math/s_casinh.c: Likewise.
42835         * math/s_casinhf.c: Likewise.
42836         * math/s_casinhl.c: Likewise.
42837         * math/s_ccos.c: Rely entire on ccosh.
42838         * math/s_ccosf.c: Rely entire on ccoshf.
42839         * math/s_ccosl.c: Rely entirely on ccoshl.
42840         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42841         Remove tests for FE_INVALID.
42842         * math/s_ccoshf.c: Likewise.
42843         * math/s_ccoshl.c: Likewise.
42844         * math/s_csin.c: Likewise.
42845         * math/s_csinf.c: Likewise.
42846         * math/s_csinh.c Likewise.
42847         * math/s_csinhf.c: Likewise.
42848         * math/s_csinhl.c: Likewise.
42849         * math/s_csinl.c: Likewise.
42850         * math/s_ctan.c: Likewise.
42851         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42852         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42853         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42854
42855 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42856
42857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42858         compilation problems.
42859
42860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42861         __builtin_expect.
42862
42863 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42864
42865         * sysdeps/i386/configure.in: Test for -mfma4 option.
42866         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42867         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42868         COMMON_CPUID_INDEX_80000001.
42869         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42870         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42871         use it if FMA3 is not supported.
42872         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42873
42874         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42875         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42876
42877 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42878
42879         [BZ #12892]
42880         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42881         it would create a cycle with a link time dependency.
42882
42883 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42884
42885         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42886         instruction.
42887         * string/Makefile (strop-tests): Add rawmemchr.
42888         * string/test-rawmemchr.c: New file.
42889
42890         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42891         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42892         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42893         when compiling str{,n}casecmp and when AVX is available.  Hook up
42894         new optimized code in initializers.
42895
42896 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42897
42898         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42899         __feraiseexcept instead of feraiseexcept.
42900
42901 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42902
42903         * math/math_private.h: Define defaults for libc_fetestexcept and
42904         libc_feupdateenv.
42905         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42906         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42907         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42908         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42909         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42910         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42911         libc_fetestexcept and libc_feupdateenv.
42912
42913         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42914         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42915         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42916         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42917         libc_feholdexcept_setround.
42918
42919         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42920         Add s_nearbyint-c and s_nearbyintf-c.
42921         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42922         nearbyintf inlines.
42923         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42924         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42925         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42926         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42927
42928         * math/math_private.h: Define defaults for libc_fegetround,
42929         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42930         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42931         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42932         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42933         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42934         standard functions.
42935         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42936         Remove comments and hacks for old compiler versions.
42937         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42938         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42939         libc_feholdexceptl.
42940
42941 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42942
42943         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42944         (__feraiseexcept_renamed): Add __NTH.
42945         (feraiseexcept): Add __NTH.  Rename local variables to fix
42946         namespace violations.
42947
42948 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42949
42950         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42951
42952         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42953
42954         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42955         recently added interfaces.
42956         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42957
42958         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42959         about macro parameter expansion.
42960
42961         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42962         __NO_MATH_INLINES is defined.  Cleanups.
42963
42964         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42965         and __floorf is target has SSE4.1.
42966         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42967         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42968         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42969         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42970
42971         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42972         name.
42973         (floorf): Likewise.
42974
42975         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42976
42977 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42978
42979         * misc/sys/cdefs.h: Fix last change.
42980
42981         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42982         database lookup.
42983
42984 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42985
42986         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42987
42988         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42989         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42990         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42991         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42992         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42993         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42994         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42995         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42996         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42997         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42998         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42999         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43000         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43001         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43002         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43003         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43004         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43005         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43006         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43007         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43008         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43009         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43010
43011         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43012         ceil, ceilf, floor, floorf.
43013
43014         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43015         Perform IRELATIVE relocations last.
43016
43017         * elf/do-rel.h: Add another parameter nrelative, replacing the
43018         local variable with the same name.  Change name of the function
43019         to end in Rel or Rela (uppercase).
43020         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43021         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43022         elf_dynamic_do_##reloc function.
43023
43024 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43025
43026         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43027         is sufficient, at least on modern CPUs.
43028
43029         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43030
43031         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43032         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43033
43034         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43035         __expl_finite.
43036         * math/bits/math-finite.h: Add entries for exp.
43037         * math/e_expl.c: Add __*_finite alias.
43038         * sysdeps/i386/fpu/e_exp.S: Likewise.
43039         * sysdeps/i386/fpu/e_expf.S: Likewise.
43040         * sysdeps/i386/fpu/e_expl.c: Likewise.
43041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43042         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43043         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43045         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43046         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43047         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43048
43049         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43050         is sufficient, at least on modern CPUs.
43051
43052         * ctype/ctype-info.c (__ctype_init): Define.
43053         * include/ctype.h (__ctype_init): Declare.
43054         (__ctype_b_loc): The variable is always initialized.
43055         (__ctype_toupper_loc): Likewise.
43056         (__ctype_tolower_loc): Likewise.
43057         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43058         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43059
43060 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43061
43062         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43063
43064         * configure.in: Also look in $cxxmachine/include for C++ system
43065         headers.
43066
43067 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43068
43069         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43070         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43071         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43072         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43073         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43074         (USE_AS_WMEMCMP): New macro.
43075         Fixing indents.
43076         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43077         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43078         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43079         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43080         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43081         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43082         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43083         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43084         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43085         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43086         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43087         (USE_AS_WMEMCMP): New macro.
43088         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43089         * sysdeps/string/test-memcmp.c: Update.
43090         Fix simple_wmemcmp.
43091         Add new tests.
43092         * wcsmbs/wmemcmp.c: Update.
43093         (WMEMCMP): New macro.
43094         Fix overflow bug.
43095
43096 2011-10-12  Andreas Jaeger  <aj@suse.de>
43097
43098         [BZ #13268]
43099         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43100
43101 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43102
43103         * libio/iofwide.c (do_length): Avoid warning.
43104
43105         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43106
43107 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43108
43109         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43110
43111         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43112         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43113         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43114         * sysdeps/i386/i686/fpu/e_log.S: New file.
43115         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43116         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43117
43118         * ctype/ctype.h: Add support for inlined isXXX functions when
43119         compiling C++ code.
43120
43121 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43122
43123         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43124
43125         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43126
43127 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43128
43129         [BZ #13291]
43130         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43131
43132 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43133
43134         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43135         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43136         feraiseexcept.
43137
43138         * sysdeps/x86_64/memrchr.S: Check for zero size.
43139
43140         * string/stratcliff.c: Add memrchr tests.
43141
43142 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43143
43144         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43145         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43146         rawmemchr-sse2 rawmemchr-sse2-bsf.
43147         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43148         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43149         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43150         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43151         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43152         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43153         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43154         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43155         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43156         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43157         * string/memrchr.c (MEMRCHR): New macro.
43158
43159 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43160
43161         Add integration with gcc's -ffinite-math-only and optimize wrapper
43162         functions in libm.
43163         * Versions.def: Define GLIBC_2.15 version for libm.
43164         * math/Makefile (headers): Add bits/math-finite.h.
43165         * math/bits/math-finite.h: New file.
43166         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43167         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43168         * math/e_acoshl.c: Add __*_finite alias.
43169         * math/e_acosl.c: Likewise.
43170         * math/e_asinl.c: Likewise.
43171         * math/e_atan2l.c: Likewise.
43172         * math/e_atanhl.c: Likewise.
43173         * math/e_coshl.c: Likewise.
43174         * math/e_exp10.c: Likewise.
43175         * math/e_exp10f.c: Likewise.
43176         * math/e_exp10l.c: Likewise.
43177         * math/e_exp2l.c: Likewise.
43178         * math/e_fmodl.c: Likewise.
43179         * math/e_gammal_r.c: Likewise.
43180         * math/e_hypotl.c: Likewise.
43181         * math/e_j0l.c: Likewise.
43182         * math/e_j1l.c: Likewise.
43183         * math/e_jnl.c: Likewise.
43184         * math/e_lgammal_r.c: Likewise.
43185         * math/e_log10l.c: Likewise.
43186         * math/e_log2l.c: Likewise.
43187         * math/e_logl.c: Likewise.
43188         * math/e_powl.c: Likewise.
43189         * math/e_sinhl.c: Likewise.
43190         * math/e_sqrtl.c: Likewise.
43191         * math/e_scalb.c: Completely rewritten and optimized.
43192         * math/e_scalbf.c: Likewise.
43193         * math/e_scalbl.c: Likewise.
43194         * math/w_acos.c: Likewise.
43195         * math/w_acosf.c: Likewise.
43196         * math/w_acosl.c: Likewise.
43197         * math/w_acosh.c: Likewise.
43198         * math/w_acoshf.c: Likewise.
43199         * math/w_acoshl.c: Likewise.
43200         * math/w_asin.c: Likewise.
43201         * math/w_asinf.c: Likewise.
43202         * math/w_asinl.c: Likewise.
43203         * math/w_atan2.c: Likewise.
43204         * math/w_atan2f.c: Likewise.
43205         * math/w_atan2l.c: Likewise.
43206         * math/w_atanh.c: Likewise.
43207         * math/w_atanhf.c: Likewise.
43208         * math/w_atanhl.c: Likewise.
43209         * math/w_exp10.c: Likewise.
43210         * math/w_exp10f.c: Likewise.
43211         * math/w_exp10l.c: Likewise.
43212         * math/w_fmod.c: Likewise.
43213         * math/w_fmodf.c: Likewise.
43214         * math/w_fmodl.c: Likewise.
43215         * math/w_j0.c: Likewise.
43216         * math/w_j0f.c: Likewise.
43217         * math/w_j0l.c: Likewise.
43218         * math/w_j1.c: Likewise.
43219         * math/w_j1f.c: Likewise.
43220         * math/w_j1l.c: Likewise.
43221         * math/w_jn.c: Likewise.
43222         * math/w_jnf.c: Likewise.
43223         * math/w_log.c: Likewise.
43224         * math/w_logf.c: Likewise.
43225         * math/w_logl.c: Likewise.
43226         * math/w_log10.c: Likewise.
43227         * math/w_log10f.c: Likewise.
43228         * math/w_log10l.c: Likewise.
43229         * math/w_log2.c: Likewise.
43230         * math/w_log2f.c: Likewise.
43231         * math/w_log2l.c: Likewise.
43232         * math/w_pow.c: Likewise.
43233         * math/w_powf.c: Likewise.
43234         * math/w_powl.c: Likewise.
43235         * math/w_remainder.c: Likewise.
43236         * math/w_remainderf.c: Likewise.
43237         * math/w_remainderl.c: Likewise.
43238         * math/w_scalb.c: Likewise.
43239         * math/w_scalbf.c: Likewise.
43240         * math/w_scalbl.c: Likewise.
43241         * math/w_sqrt.c: Likewise.
43242         * math/w_sqrtf.c: Likewise.
43243         * math/w_sqrtl.c: Likewise.
43244         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43245         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43246         used.
43247         * math/math_private.h: Declare __kernel_standard_f.
43248         * math/w_cosh.c: Remove cruft and optimize a bit.
43249         * math/w_coshf.c: Likewise.
43250         * math/w_coshl.c: Likewise.
43251         * math/w_exp2.c: Likewise.
43252         * math/w_exp2f.c: Likewise.
43253         * math/w_exp2l.c: Likewise.
43254         * math/w_hypot.c: Likewise.
43255         * math/w_hypotf.c: Likewise.
43256         * math/w_hypotl.c: Likewise.
43257         * math/w_lgamma.c: Likewise.
43258         * math/w_lgamma_r.c: Likewise.
43259         * math/w_lgammaf.c: Likewise.
43260         * math/w_lgammaf_r.c: Likewise.
43261         * math/w_lgammal.c: Likewise.
43262         * math/w_lgammal_r.c: Likewise.
43263         * math/w_sinh.c: Likewise.
43264         * math/w_sinhf.c: Likewise.
43265         * math/w_sinhl.c: Likewise.
43266         * math/w_tgamma.c: Likewise.
43267         * math/w_tgammaf.c: Likewise.
43268         * math/w_tgammal.c: Likewise.
43269         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43270         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43271         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43272         Minor optimizations.  Pretty printing.  Remove cruft.
43273         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43274         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43275         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43276         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43277         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43278         * sysdeps/i386/fpu/e_asin.S: Likewise.
43279         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43280         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43281         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43282         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43283         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43284         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43285         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43286         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43287         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43288         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43289         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43290         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43291         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43292         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43293         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43294         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43295         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43296         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43297         * sysdeps/i386/fpu/e_log.S: Likewise.
43298         * sysdeps/i386/fpu/e_log10.S: Likewise.
43299         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43300         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43301         * sysdeps/i386/fpu/e_log2.S: Likewise.
43302         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43303         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43304         * sysdeps/i386/fpu/e_logf.S: Likewise.
43305         * sysdeps/i386/fpu/e_logl.S: Likewise.
43306         * sysdeps/i386/fpu/e_pow.S: Likewise.
43307         * sysdeps/i386/fpu/e_powf.S: Likewise.
43308         * sysdeps/i386/fpu/e_powl.S: Likewise.
43309         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43310         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43311         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43312         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43313         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43314         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43315         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43316         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43317         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43318         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43319         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43320         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43321         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43322         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43323         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43324         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43325         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43326         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43327         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43328         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43329         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43331         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43332         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43333         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43334         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43335         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43336         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43337         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43338         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43339         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43340         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43341         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43342         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43343         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43344         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43345         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43346         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43347         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43348         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43349         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43350         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43351         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43352         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43353         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43354         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43355         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43356         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43357         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43358         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43359         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43360         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43361         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43362         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43363         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43364         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43365         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43366         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43367         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43368         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43369         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43370         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43371         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43372         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43373         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43374         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43375         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43376         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43377         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43378         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43382         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43385         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43386         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43387         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43388         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43389         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43390         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43392         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43393         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43394         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43395         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43396         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43397         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43398         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43399         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43400         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43401         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43402         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43403         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43404         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43405         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43406         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43407         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43408         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43409         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43410         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43411         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43412         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43413         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43414         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43415         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43416         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43417         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43418         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43419         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43420         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43421         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43422         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43423         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43424         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43425         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43426         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43427         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43428         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43429         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43430         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43431         (__isnanf): Likewise.
43432         (__isinf_ns): Likewise.
43433         (__isinf_nsf): Likewise.
43434         (__finite): Likewise.
43435         (__finitef): Likewise.
43436         (__ieee754_sqrt): Define as macro.
43437         (__ieee754_sqrtf): Define as macro.
43438         (__ieee754_sqrtl): Define as macro.
43439         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43440         inlined copy.
43441         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43442         __FINITE_MATH_ONLY__ consistent.
43443         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43444
43445 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43446
43447         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43448         of rawmemchr.
43449
43450         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43451
43452 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43453
43454         * po/ja.po: Update from translation team.
43455
43456 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43457
43458         * locale/programs/locarchive.c (prepare_address_space): New function.
43459         (create_archive, enlarge_archive, open_archive): Use it.
43460
43461         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43462         inside [SHARED], where it is used.
43463
43464         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43465
43466         * nss/getent.c (netgroup_keys): Remove unused variable.
43467         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43468
43469 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43470
43471         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43472         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43474         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43475         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43476         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43477         * math/Makefile (libm-calls): Add s_isinf_ns.
43478         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43479         * math/multc3.c: Likewise.
43480         * math/s_casin.c: Likewise.
43481         * math/s_casinf.c: Likewise.
43482         * math/s_casinl.c: Likewise.
43483         * math/s_ccos.c: Likewise.
43484         * math/s_ccosf.c: Likewise.
43485         * math/s_ccosl.c: Likewise.
43486         * math/s_ctan.c: Likewise.
43487         * math/s_ctanf.c: Likewise.
43488         * math/s_ctanh.c: Likewise.
43489         * math/s_ctanhf.c: Likewise.
43490         * math/s_ctanhl.c: Likewise.
43491         * math/s_ctanl.c: Likewise.
43492         * math/w_fmod.c: Likewise.
43493         * math/w_fmodf.c: Likewise.
43494         * math/w_fmodl.c: Likewise.
43495         * math/w_remainder.c: Likewise.
43496         * math/w_remainderf.c: Likewise.
43497         * math/w_remainderl.c: Likewise.
43498         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43499         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43500         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43501         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43502         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43503         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43504         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43505         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43506
43507         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43508         of the number.
43509         * stdio-common/printf_fphex.c: Likewise.
43510         * stdio-common/printf_size.c: Likewise.
43511
43512         * math/e_exp10.c: Include math_private.h using <...> not "...".
43513         * math/e_exp10f.c: Likewise.
43514         * math/e_exp10l.c: Likewise.
43515         * math/e_exp2l.c: Likewise.
43516         * math/e_j0l.c: Likewise.
43517         * math/e_j1l.c: Likewise.
43518         * math/e_jnl.c: Likewise.
43519         * math/e_lgammal_r.c: Likewise.
43520         * math/e_rem_pio2l.c: Likewise.
43521         * math/e_scalb.c: Likewise.
43522         * math/e_scalbf.c: Likewise.
43523         * math/e_scalbl.c: Likewise.
43524         * math/k_cosl.c: Likewise.
43525         * math/k_sinl.c: Likewise.
43526         * math/k_tanl.c: Likewise.
43527         * math/s_cacoshf.c: Likewise.
43528         * math/s_catan.c: Likewise.
43529         * math/s_catanf.c: Likewise.
43530         * math/s_catanh.c: Likewise.
43531         * math/s_catanhf.c: Likewise.
43532         * math/s_catanhl.c: Likewise.
43533         * math/s_catanl.c: Likewise.
43534         * math/s_ccosh.c: Likewise.
43535         * math/s_ccoshf.c: Likewise.
43536         * math/s_ccoshl.c: Likewise.
43537         * math/s_cexp.c: Likewise.
43538         * math/s_cexpf.c: Likewise.
43539         * math/s_cexpl.c: Likewise.
43540         * math/s_clog.c: Likewise.
43541         * math/s_clog10.c: Likewise.
43542         * math/s_clog10f.c: Likewise.
43543         * math/s_clog10l.c: Likewise.
43544         * math/s_clogf.c: Likewise.
43545         * math/s_clogl.c: Likewise.
43546         * math/s_csin.c: Likewise.
43547         * math/s_csinf.c: Likewise.
43548         * math/s_csinh.c: Likewise.
43549         * math/s_csinhf.c: Likewise.
43550         * math/s_csinhl.c: Likewise.
43551         * math/s_csinl.c: Likewise.
43552         * math/s_csqrt.c: Likewise.
43553         * math/s_csqrtf.c: Likewise.
43554         * math/s_csqrtl.c: Likewise.
43555         * math/s_ctan.c: Likewise.
43556         * math/s_ctanf.c: Likewise.
43557         * math/s_ctanh.c: Likewise.
43558         * math/s_ctanhf.c: Likewise.
43559         * math/s_ctanhl.c: Likewise.
43560         * math/s_ctanl.c: Likewise.
43561         * math/s_ldexp.c: Likewise.
43562         * math/s_ldexpf.c: Likewise.
43563         * math/s_ldexpl.c: Likewise.
43564         * math/s_significand.c: Likewise.
43565         * math/s_significandf.c: Likewise.
43566         * math/s_significandl.c: Likewise.
43567         * math/w_acos.c: Likewise.
43568         * math/w_acosf.c: Likewise.
43569         * math/w_acosh.c: Likewise.
43570         * math/w_acoshf.c: Likewise.
43571         * math/w_acoshl.c: Likewise.
43572         * math/w_acosl.c: Likewise.
43573         * math/w_asin.c: Likewise.
43574         * math/w_asinf.c: Likewise.
43575         * math/w_asinl.c: Likewise.
43576         * math/w_atan2.c: Likewise.
43577         * math/w_atan2f.c: Likewise.
43578         * math/w_atan2l.c: Likewise.
43579         * math/w_atanh.c: Likewise.
43580         * math/w_atanhf.c: Likewise.
43581         * math/w_atanhl.c: Likewise.
43582         * math/w_cosh.c: Likewise.
43583         * math/w_coshf.c: Likewise.
43584         * math/w_coshl.c: Likewise.
43585         * math/w_dremf.c: Likewise.
43586         * math/w_exp10.c: Likewise.
43587         * math/w_exp10f.c: Likewise.
43588         * math/w_exp10l.c: Likewise.
43589         * math/w_exp2.c: Likewise.
43590         * math/w_exp2f.c: Likewise.
43591         * math/w_fmod.c: Likewise.
43592         * math/w_fmodf.c: Likewise.
43593         * math/w_fmodl.c: Likewise.
43594         * math/w_hypot.c: Likewise.
43595         * math/w_hypotf.c: Likewise.
43596         * math/w_hypotl.c: Likewise.
43597         * math/w_j0.c: Likewise.
43598         * math/w_j0f.c: Likewise.
43599         * math/w_j0l.c: Likewise.
43600         * math/w_j1.c: Likewise.
43601         * math/w_j1f.c: Likewise.
43602         * math/w_j1l.c: Likewise.
43603         * math/w_jn.c: Likewise.
43604         * math/w_jnf.c: Likewise.
43605         * math/w_jnl.c: Likewise.
43606         * math/w_lgamma.c: Likewise.
43607         * math/w_lgamma_r.c: Likewise.
43608         * math/w_lgammaf.c: Likewise.
43609         * math/w_lgammaf_r.c: Likewise.
43610         * math/w_lgammal.c: Likewise.
43611         * math/w_lgammal_r.c: Likewise.
43612         * math/w_log.c: Likewise.
43613         * math/w_log10.c: Likewise.
43614         * math/w_log10f.c: Likewise.
43615         * math/w_log10l.c: Likewise.
43616         * math/w_log2.c: Likewise.
43617         * math/w_log2f.c: Likewise.
43618         * math/w_log2l.c: Likewise.
43619         * math/w_logf.c: Likewise.
43620         * math/w_logl.c: Likewise.
43621         * math/w_pow.c: Likewise.
43622         * math/w_powf.c: Likewise.
43623         * math/w_powl.c: Likewise.
43624         * math/w_remainder.c: Likewise.
43625         * math/w_remainderf.c: Likewise.
43626         * math/w_remainderl.c: Likewise.
43627         * math/w_scalb.c: Likewise.
43628         * math/w_scalbf.c: Likewise.
43629         * math/w_scalbl.c: Likewise.
43630         * math/w_sinh.c: Likewise.
43631         * math/w_sinhf.c: Likewise.
43632         * math/w_sinhl.c: Likewise.
43633         * math/w_sqrt.c: Likewise.
43634         * math/w_sqrtf.c: Likewise.
43635         * math/w_sqrtl.c: Likewise.
43636         * math/w_tgamma.c: Likewise.
43637         * math/w_tgammaf.c: Likewise.
43638         * math/w_tgammal.c: Likewise.
43639
43640         * po/ja.po: Update from translation team.
43641
43642 2011-09-29  Andreas Jaeger  <aj@suse.de>
43643
43644         [BZ #13179]
43645         * sunrpc/netname.c (netname2host): Fix logic.
43646
43647         [BZ #6779]
43648         [BZ #6783]
43649         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43650         correctly.
43651         * math/w_remainder.c (__remainder): Likewise.
43652         * math/w_remainderf.c (__remainderf): Likewise.
43653         * math/libm-test.inc (remainder_test): Add test cases.
43654
43655 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43656
43657         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43658         sdiv_qrnnd.
43659
43660 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43661
43662         * string/test-memcmp.c: Avoid unncessary #defines.
43663         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43664
43665 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43666
43667         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43668         Use new sse2 version for core i3 - i7 as it's faster
43669         than sse42 version.
43670         (bit_Prefer_PMINUB_for_stringop): New.
43671         * sysdeps/x86_64/rawmemchr.S: Update.
43672         Replace with faster SSE2 version.
43673         * sysdeps/x86_64/memrchr.S: New file.
43674         * sysdeps/x86_64/memchr.S: Update.
43675         Replace with faster SSE2 version.
43676
43677 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43678
43679         * elf/dl-load.c (lose): Add cast to avoid warning.
43680
43681 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43682
43683         * po/ca.po: Update from translation team.
43684
43685         * inet/getnetgrent_r.c: Hook up nscd.
43686         * nscd/Makefile (routines): Add nscd_netgroup.
43687         (nscd-modules): Add netgroupcache.
43688         (CFLAGS-netgroupcache.c): Define.
43689         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43690         (cache_search): Add const to second parameter.
43691         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43692         INNETGR.
43693         (dbs): Add netgrdb entry.
43694         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43695         (verify_persistent_db): Handle netgrdb.
43696         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43697         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43698         GETFDNETGR.
43699         (netgroup_response_header): Define.
43700         (innetgroup_response_header): Define.
43701         (datahead): Add netgroup_response_header and innetgroup_response_header
43702         elements.
43703         * nscd/nscd.conf: Add entries for netgroup cache.
43704         * nscd/nscd.h (dbtype): Add netgrdb.
43705         (_PATH_NSCD_NETGROUP_DB): Define.
43706         (netgroup_iov_disabled): Declare.
43707         (xmalloc, xcalloc, xrealloc): Move declarations here.
43708         (cache_search): Adjust prototype.
43709         Add netgroup-related prototypes.
43710         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43711         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43712         (__nscd_innetgr): Declare.
43713         * nscd/selinux.c (perms): Use access_vector_t as element type and
43714         add netgroup-related initializers.
43715         * nscd/netgroupcache.c: New file.
43716         * nscd/nscd_netgroup.c: New file.
43717         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43718         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43719         For four parameters use innetgr.
43720         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43721         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43722         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43723         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43724
43725         * nscd/connections.c (register_traced_file): Don't register file
43726         for disabled databases.
43727
43728 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43729
43730         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43731
43732         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43733         from tree and freeing node.
43734
43735 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43736
43737         * nss/nsswitch.c (__nss_database_lookup): Handle
43738         nss_parse_service_list out of memory case.
43739
43740 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43741
43742         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43743         out of memory case.
43744
43745 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43746
43747         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43748         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43749         pass it down.
43750         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43751         elf_machine_rela, elf_machine_lazy_rel.
43752         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43753         (ELF_DYNAMIC_DO_REL): Likewise.
43754         (ELF_DYNAMIC_DO_RELA): Likewise.
43755         (ELF_DYNAMIC_RELOCATE): Likewise.
43756         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43757         to ELF_DYNAMIC_DO_REL.
43758         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43759         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43760         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43761         elf_machine_rela.
43762         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43763         skip_ifunc, don't call ifunc function if non-zero.
43764         (elf_machine_rela): Likewise.
43765         (elf_machine_lazy_rel): Likewise.
43766         (elf_machine_lazy_rela): Likewise.
43767         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43768         (elf_machine_lazy_rel): Likewise.
43769         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43770         Likewise.
43771         (elf_machine_lazy_rel): Likewise.
43772         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43773         Likewise.
43774         (elf_machine_lazy_rel): Likewise.
43775         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43776         (elf_machine_lazy_rel): Likewise.
43777         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43778         (elf_machine_lazy_rel): Likewise.
43779         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43780         (elf_machine_lazy_rel): Likewise.
43781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43782         (elf_machine_lazy_rel): Likewise.
43783         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43784         (elf_machine_lazy_rel): Likewise.
43785         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43786         (elf_machine_lazy_rel): Likewise.
43787
43788 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43789
43790         * nss/nss_files/files-init.c (_nss_files_init): Use static
43791         initialization for all the *_traced_file variables.
43792
43793 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43794
43795         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43796
43797 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43798
43799         [BZ #13226]
43800         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43801
43802 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43803
43804         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43805         Reread the line before reparsing it.
43806
43807 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43808
43809         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43810
43811 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43812             Maxim Kuvyrkov  <maxim@codesourcery.com>
43813             Joseph Myers  <joseph@codesourcery.com>
43814
43815         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43816         if needed for __stack_chk_guard.
43817
43818 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43819
43820         * sysdeps/posix/spawni.c (script_execute): Always define it.
43821         It will be optimized away if unused.
43822         (maybe_script_execute): New function.
43823         (__spawni): Call it.
43824
43825         * Makerules: Don't include tls.make.
43826         (config-tls): Always set to thread.
43827         * tls.make.c: File removed.
43828
43829 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43830
43831         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43832         * config.make.in (CPPFLAGS-config): New substituted variable.
43833
43834 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43835
43836         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43837
43838         [BZ #13192]
43839         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43840         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43841
43842 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43843
43844         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43845         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43846         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43847         (CALL_FAIL): Likewise.
43848         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43849         (CALL_FAIL): Macro removed.
43850         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43851
43852 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43853
43854         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43855         for __FINITE_MATH_ONLY__ == 1.
43856
43857 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43858
43859         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43860         __ieee754_sqrt instead of sqrt.
43861         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43862         __ieee754_sqrtf instead of sqrtf.
43863         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43864         __floorf instead of floorf.
43865         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43866         __floorf, __truncf instead of floorf, truncf.
43867
43868 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43869
43870         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43871
43872         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43873         __extern_always_inline.
43874         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43875         32-bit.
43876
43877 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43878
43879         * elf/rtld.c (dl_main): Also relocate in dependency order when
43880         doing symbol dependency testing.
43881
43882 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43883
43884         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43885         Always define `refsym'.
43886
43887 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43888
43889         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43890         (__FD_ELT): Renamed from __FDELT.
43891         * misc/bits/select2.h (__FD_ELT): Likewise.
43892         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43893         __FD_MASK instead of __FDELT, __FDMASK.
43894         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43895         Likewise.
43896         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43897         Likewise.
43898
43899         * elf/Makefile (gen-ldd): Fix pattern.
43900
43901         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43902         (init_tls): Likewise.
43903
43904 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43905
43906         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43907
43908 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43909
43910         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43911         `struct cmsghdr *' instead of `void *'.
43912         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43913         Likewise.
43914
43915 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43916
43917         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43918         if non-absolute.
43919         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43920         ldd_rewrite_script.
43921
43922 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43923
43924         * configure.in: Remove --with-tls option.
43925         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43926         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43927         out in case it is missing.
43928         * sysdeps/ia64/elf/configure.in: Likewise.
43929         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43930         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43931         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43932         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43933         * sysdeps/sh/elf/configure.in: Likewise.
43934         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43935         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43936         * sysdeps/x86_64/elf/configure.in: Likewise.
43937         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43938         * sysdeps/mach/hurd/tls.h: Likewise.
43939
43940         [BZ #13067]
43941         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43942
43943         [BZ #13090]
43944         * configure.in: Fix use of AC_INIT.
43945
43946         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43947
43948 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43949
43950         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43951         __set_errno.
43952         * malloc/hooks.c: Likewise.
43953
43954         [BZ #11929]
43955         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43956         variables statically.
43957         (narenas): Initialize.
43958         (list_lock): Initialize.
43959         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43960         initializtion of main_arena and list_lock.  Small cleanups.
43961         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43962         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43963         Add initializers to main_arena and mp_.
43964         (malloc_state): Remove pagesize member.  Change all users to use
43965         GLRO(dl_pagesize).
43966
43967         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43968         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43969         is always initialized.
43970
43971         * malloc/malloc.c: Removed unused configurations and dead code.
43972         * malloc/arena.c: Likewise.
43973         * malloc/hooks.c: Likewise.
43974         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43975
43976         * include/tls.h: Removed.  USE___THREAD must always be defined.
43977         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43978         * elf/dl-libc.c: Likewise.
43979         * elf/dl-tsd.c: Likewise.
43980         * include/errno.h: Likewise.
43981         * include/netdb.h: Likewise.
43982         * include/resolv.h: Likewise.
43983         * inet/herrno-loc.c: Likewise.
43984         * inet/herrno.c: Likewise.
43985         * malloc/arena.c: Likewise.
43986         * malloc/hooks.c: Likewise.
43987         * malloc/malloc.c: Likewise.
43988         * resolv/res-state.c: Likewise.
43989         * resolv/res_libc.c: Likewise.
43990         * sysdeps/i386/dl-machine.h: Likewise.
43991         * sysdeps/ia64/dl-machine.h: Likewise.
43992         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43993         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43994         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43995         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43996         * sysdeps/sh/dl-machine.h: Likewise.
43997         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43998         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43999         * sysdeps/unix/i386/sysdep.S: Likewise.
44000         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44001         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44006         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44008         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44010         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44011         * sysdeps/x86_64/dl-machine.h: Likewise.
44012         * tls.make.c: Likewise.
44013
44014         * configure.in: Remove --with-__thread option.  Make tests for
44015         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44016         tls_model attribute fail if no support is available.  Remove
44017         USE_IN_LIBIO.
44018         * Makeconfig: Adjust for dropped configure option.  All features are
44019         now mandatory.
44020         * Makerules: Likewise.
44021         * Versions.def: Likewise.
44022         * argp/argp-fmtstream.c: Likewise.
44023         * argp/argp-fmtstream.h: Likewise.
44024         * argp/argp-help.c: Likewise.
44025         * assert/assert.c: Likewise.
44026         * config.h.in: Likewise.
44027         * config.make.in: Likewise.
44028         * configure: Likewise.
44029         * configure.in: Likewise.
44030         * csu/Versions: Likewise.
44031         * csu/init.c: Likewise.
44032         * elf/tst-audit2.c: Likewise.
44033         * elf/tst-tls10.c: Likewise.
44034         * elf/tst-tls10.h: Likewise.
44035         * elf/tst-tls11.c: Likewise.
44036         * elf/tst-tls12.c: Likewise.
44037         * elf/tst-tls14.c: Likewise.
44038         * elf/tst-tlsmod11.c: Likewise.
44039         * elf/tst-tlsmod12.c: Likewise.
44040         * elf/tst-tlsmod13.c: Likewise.
44041         * elf/tst-tlsmod13a.c: Likewise.
44042         * elf/tst-tlsmod14a.c: Likewise.
44043         * elf/tst-tlsmod15b.c: Likewise.
44044         * elf/tst-tlsmod16a.c: Likewise.
44045         * elf/tst-tlsmod16b.c: Likewise.
44046         * elf/tst-tlsmod7.c: Likewise.
44047         * elf/tst-tlsmod8.c: Likewise.
44048         * elf/tst-tlsmod9.c: Likewise.
44049         * gmon/gmon.c: Likewise.
44050         * grp/fgetgrent_r.c: Likewise.
44051         * grp/putgrent.c: Likewise.
44052         * hurd/fopenport.c: Likewise.
44053         * include/libc-symbols.h: Likewise.
44054         * include/tls.h: Likewise.
44055         * intl/gettextP.h: Likewise.
44056         * intl/loadinfo.h: Likewise.
44057         * locale/global-locale.c: Likewise.
44058         * locale/localeinfo.h: Likewise.
44059         * mach/devstream.c: Likewise.
44060         * malloc/arena.c: Likewise.
44061         * malloc/set-freeres.c: Likewise.
44062         * misc/err.c: Likewise.
44063         * misc/getttyent.c: Likewise.
44064         * misc/mntent_r.c: Likewise.
44065         * posix/getopt.c: Likewise.
44066         * posix/wordexp.c: Likewise.
44067         * pwd/fgetpwent_r.c: Likewise.
44068         * resolv/Versions: Likewise.
44069         * resolv/res_hconf.c: Likewise.
44070         * shadow/fgetspent_r.c: Likewise.
44071         * shadow/putspent.c: Likewise.
44072         * stdio-common/printf_fphex.c: Likewise.
44073         * stdio-common/tmpfile.c: Likewise.
44074         * stdlib/abort.c: Likewise.
44075         * stdlib/fmtmsg.c: Likewise.
44076         * sunrpc/auth_unix.c: Likewise.
44077         * sunrpc/clnt_perr.c: Likewise.
44078         * sunrpc/clnt_tcp.c: Likewise.
44079         * sunrpc/clnt_udp.c: Likewise.
44080         * sunrpc/clnt_unix.c: Likewise.
44081         * sunrpc/openchild.c: Likewise.
44082         * sunrpc/svc_simple.c: Likewise.
44083         * sunrpc/svc_tcp.c: Likewise.
44084         * sunrpc/svc_udp.c: Likewise.
44085         * sunrpc/svc_unix.c: Likewise.
44086         * sunrpc/xdr.c: Likewise.
44087         * sunrpc/xdr_array.c: Likewise.
44088         * sunrpc/xdr_rec.c: Likewise.
44089         * sunrpc/xdr_ref.c: Likewise.
44090         * sunrpc/xdr_stdio.c: Likewise.
44091
44092 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44093
44094         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44095
44096 2011-07-03  Andreas Jaeger  <aj@suse.de>
44097
44098         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44099         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44100         regenerate with gen-libm-tests.pl.
44101
44102 2010-05-12  Petr Baudis  <pasky@suse.cz>
44103
44104         [BZ #11589]
44105         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44106         around j0() zero points by switching to j1().
44107         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44108         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44109         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44110         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44111
44112 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44113
44114         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44115         instead of 0.
44116         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44117         instead of 0.
44118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44119         Patch in part by Pavel Roskin <proski@gnu.org>.
44120
44121         [BZ #13138]
44122         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44123         realloc.
44124         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44125         Free memory block if necessary.
44126
44127         [BZ #12847]
44128         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44129         be NULL.  Don't lock in this case.
44130
44131 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44132
44133         * elf/elf.h (ELFOSABI_GNU): New macro.
44134         (ELFOSABI_LINUX): Define to that.
44135
44136 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44137
44138         * string/strncat.c (strncat): Undef the symbol in case it has been
44139         defined in bits/string.h.
44140
44141 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44142
44143         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44144
44145         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44146         link map.
44147
44148 2011-08-17  Andreas Jaeger  <aj@suse.de>
44149
44150         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44151
44152 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44153             Ian Lance Taylor  <iant@google.com>
44154
44155         * math/libm-test.inc (lround_test): New testcase.
44156         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44157
44158 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44159
44160         * Makefile: Remove support for automatic cvs check-ins.
44161         * Makerules: Likewise.
44162         * config.make.in: Likewise.
44163         * configure.in: Likewise.
44164         * intl/Makefile: Likewise.
44165         * locale/Makefile: Likewise.
44166         * po/Makefile: Likewise.
44167         * posix/Makefile: Likewise.
44168         * sysdeps/gnu/Makefile: Likewise.
44169         * sysdeps/mach/hurd/Makefile: Likewise.
44170         * sysdeps/sparc/sparc32/Makefile: Likewise.
44171
44172         [BZ #13118]
44173         * posix/Makefile (bug-regex32-ENV): Define.
44174         Patch by John Stanley <jpsinthemix@verizon.net>.
44175
44176         * misc/Makefile (headers): Add bits/select2.h.
44177         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44178         * misc/bits/select2.h: New file.
44179         * include/bits/select2.h: New file.
44180         * debug/Makefile (routines): Add fdelt_chk.
44181         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44182         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44183         FD_ISSET.
44184         * debug/fdelt_chk.c: New file.
44185
44186         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44187         * wcsmbs/test-wmemcmp.c: Likewise.
44188         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44189         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44190
44191 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44192
44193         * string/Makefile (strop-tests): Add memcmp.
44194         * string/test-wmemcmp.c: New file.
44195         * string/test-memcmp.c: Add wmemcmp support.
44196
44197 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44198
44199         [BZ #13153]
44200         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44201         2011-07-19 change.
44202
44203         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44204         garbage value in a __mach_port_mod_refs call in the cases of the
44205         task-self and thread-self ports.
44206
44207 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44208
44209         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44210
44211 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44212
44213         * elf/dl-load.c (lose): Check for non-null L.
44214
44215 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44216
44217         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44218
44219         * elf/dl-libc.c (dlerror_run): Pass back error code from
44220         dl_catch_error.
44221
44222         [BZ #13123]
44223         * elf/dl-load.c (lose): Free l_origin if it is valid.
44224
44225         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44226         names.
44227         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44228         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44229         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44230         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44231         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44232         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44233
44234 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44235
44236         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44237         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44238         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44239         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44240         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44241         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44242         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44243         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44244         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44245         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44246
44247 2011-08-15  Alan Modra  <amodra@gmail.com>
44248
44249         [BZ #13092]
44250         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44251         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44252         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44253         ppc_mcount to static-only-routines.
44254         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44255         __mcount_internal.
44256         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44257         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44258
44259 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44260
44261         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44262         for finite and infinity parameters.
44263
44264 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44265
44266         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44267         and add nop instructions for throughput optimization.
44268         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44269
44270 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44271
44272         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44273         aligned copy for power7 with vector-scalar instructions.
44274         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44275
44276 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44277
44278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44279         AVX check.
44280
44281 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44282
44283         [BZ #13144]
44284         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44285         last change.
44286
44287 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44288
44289         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44290         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44291         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44293         clock_gettime.
44294
44295 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44296
44297         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44298         Forgot to demangle the pointer.
44299
44300         * sysdeps/i386/sysdep.h: Define atom_text_section.
44301         * sysdeps/x86_64/sysdep.h: Likewise.
44302         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44303         section with atom_text_section.
44304         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44305         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44306         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44307         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44308         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44309
44310         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44311         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44312         already be defined.  Change to take two parameters and don't assign
44313         result to variable.  Adjust all users.
44314         Define INTERNAL_GETTIME if not already defined.
44315         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44316         call.
44317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44318         HAVE_CLOCK_GETTIME_VSYSCALL.
44319         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44320
44321         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44322         gettimeofday vsyscall, just use time.
44323
44324 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44325
44326         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44327         <errno.h>.
44328
44329 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44330
44331         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44332         syscall on x86-64.
44333         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44334         syscall.
44335         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44336         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44337         syscall if possible.
44338
44339 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44340
44341         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44342         e_ident.  Don't pass to find_mapsXX.
44343         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44344
44345 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44346
44347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44348         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44349         * sysdeps/x86_64/multiarch/strchr.S: Update.
44350         Check bit_slow_BSF bit.
44351         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44352         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44353         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44354
44355 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44356
44357         [BZ #13134]
44358         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44359         before glibc 2.15.
44360         (tryshell): Define.
44361         (__spawni): Change last parameter to be flag.  Test
44362         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44363         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44364         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44365         * posix/spawni.c: Likewise.
44366         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44367         * posix/spawnp.c: Likewise.  Change normal version to use
44368         SPAWN_XFLAGS_USE_PATH.
44369         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44370         SPAWN_XFLAGS_TRY_SHELL.
44371
44372         [BZ #13150]
44373         * posix/glob.h: Remove gcc 1.x support.
44374
44375         [BZ #13068]
44376         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44377
44378 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44379
44380         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44381         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44382         strrchr-sse2-bsf
44383         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44384         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44385         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44386         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44387         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44388         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44389
44390 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44391
44392         * sysdeps/x86_64/wcscmp.S: New file.
44393
44394         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44395         wcscmp-c wcscmp-sse2
44396         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44397         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44398         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44399         * wcsmbs/wcscmp.c: Allow renaming.
44400
44401 2011-09-05  David S. Miller  <davem@davemloft.net>
44402
44403         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44404         stack slot, rather than the struct return pointer slot.
44405         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44406         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44408         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44409
44410 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44411
44412         * po/ja.po: Update from translation team.
44413
44414         [BZ #13144]
44415         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44416         kernel in 64-bit binaries.
44417
44418 2011-09-01  David S. Miller  <davem@davemloft.net>
44419
44420         * elf/elf.h (HWCAP_SPARC_*): Move to..
44421         * sysdeps/sparc/sysdep.h: this new file and add new values.
44422         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44423         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44424         _DL_HWCAP_COUNT to 24.
44425         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44426         entries.
44427         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44428         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44429         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44431         instead of magic constants.
44432         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44433
44434 2011-08-31  David S. Miller  <davem@davemloft.net>
44435
44436         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44438         Reimplement to do errno handling inline.
44439         (SYSCALL_ERROR_HANDLER): New macro.
44440         (__SYSCALL_STRING): Do not do errno handling in asm.
44441         (__CLONE_SYSCALL_STRING): Delete.
44442         (__INTERNAL_SYSCALL_STRING): Delete.
44443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44444         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44445         (PSEUDO): Reimplement to do errno handling inline.
44446         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44447         (SYSCALL_ERROR_HANDLER): New macro.
44448         (__SYSCALL_STRING): Do not do errno handling in asm.
44449         (__CLONE_SYSCALL_STRING): Delete.
44450         (__INTERNAL_SYSCALL_STRING): Delete.
44451         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44452         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44453         i386.
44454         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44455         (inline_syscall*): Add 'err' argument.
44456         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44457         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44458         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44459         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44460
44461         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44462         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44463
44464 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44465
44466         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44467
44468 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44469
44470         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44471         directive.
44472
44473 2011-08-24  David S. Miller  <davem@davemloft.net>
44474
44475         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44476
44477 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44478
44479         * elf/Makefile: Add rules to build and run unload8 test.
44480         * elf/unload8.c: New file.
44481         * elf/unload8mod1.c: New file.
44482         * elf/unload8mod1x.c: New file.
44483         * elf/unload8mod2.c: New file.
44484         * elf/unload8mod3.c: New file.
44485
44486         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44487         it wasn't used.
44488
44489 2011-08-23  David S. Miller  <davem@davemloft.net>
44490
44491         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44492         subtract stack bias.
44493         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44494         %sp not %fp in calculations.
44495         (_JMPBUF_UNWINDS_ADJ): Likewise.
44496
44497         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44498         (aio_suspend): Call it to force an exception region around the
44499         AIO_MISC_WAIT() invocation.
44500
44501 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44502
44503         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44504         backslash.
44505
44506 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44507
44508         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44509         protection macro.
44510         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44511         and <dl-machine.h>.
44512         (Elf64_FuncDesc): Remove.
44513
44514 2011-08-22  David S. Miller  <davem@davemloft.net>
44515
44516         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44517         sigaltstack check, add missing cfi directives.
44518         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44519         missing cfi directives, and sigaltstack handling.
44520
44521 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44522
44523         [BZ #11724]
44524         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44525         object is seen twice.
44526         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44527
44528         * elf/Makefile (distribute): Add tst-initorder2.c.
44529         (tests): Add tst-initorder2.
44530         (modules-names): Add tst-initorder2a tst-initorder2b
44531         tst-initorder2c tst-initorder2d.  Add rules to build them.
44532         ($(objpfx)tst-initorder2.out): New rule.
44533         * elf/tst-initorder2.c: New file.
44534         * elf/tst-initorder2.exp: New file.
44535
44536 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44537
44538         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44539
44540         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44541         dependencies back to end of function.
44542
44543         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44544         $(elfobjdir)/ld.so.
44545
44546 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44547
44548         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44549         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44550         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44551         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44552         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44553         of __vdso_gettimeofday.
44554         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44555         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44556         attribute_hidden.
44557         (_libc_vdso_platform_setup): Remove initialization of
44558         __vdso_gettimeofday and __vdso_time.
44559
44560 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44561
44562         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44563         and fgetc_unlocked.
44564         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44565         getc_unlocked.
44566
44567         * elf/dl-open.c (add_to_global): Report additions to the global scope
44568         for LD_DEBUG=scopes.
44569         (dl_open_worker): Also print scope of newly loaded dependencies.
44570         (_dl_show_scope): Indicate if there is no scope.
44571
44572         [BZ #13114]
44573         * stdio-common/Makefile (tests): Add bug24.
44574         * stdio-common/bug24.c: New file.
44575
44576 2011-08-19  Andreas Jaeger  <aj@suse.de>
44577
44578         [BZ #13114]
44579         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44580         non-existant file when using close-on-exec mode.
44581
44582 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44583
44584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44585         the very first instruction.
44586
44587         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44588         the CFI state in the end.
44589         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44590         inclusion of dl-trampoline.h.
44591         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44592
44593 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44594
44595         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44596         expectations for long double.
44597
44598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44599         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44600
44601 2011-08-14  David S. Miller  <davem@davemloft.net>
44602
44603         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44604         artificual limit depends upon the system page size.
44605
44606 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44607
44608         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44609         * resolv/Makefile: Define CFLAGS-libresolv.
44610
44611 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44612
44613         * nss/makedb.c (compute_tables): Make variables used in nested
44614         function static.
44615
44616 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44617
44618         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44619         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44620         if buffer was too small.
44621
44622         * elf/pldd.c (main): Attach to all threads in the process.
44623         Rewrite /proc handling to use *at functions.
44624
44625 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44626
44627         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44628         specifies first scope to show.
44629         (dl_open_worker): Update callers.  Move printing scope of new
44630         object to before the relocation.
44631         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44632         * sysdeps/generic/ldsodefs.h: Update declaration.
44633
44634         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44635         string for the scope number.
44636
44637 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44638
44639         * nscd/servicescache.c (cache_addserv): Make sure written is always
44640         initialized.
44641
44642 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44643
44644         * sysdeps/i386/i486/bits/atomic.h
44645         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44646         statement expression, so as to suppress "set but not used" warning.
44647         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44648
44649         * string/strncat.c (STRNCAT): Use prototype definition.
44650
44651         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44652         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44653         -Iprograms here.
44654         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44655         (localedef-modules): Add localedef.
44656         (locale-modules): Add locale.
44657
44658         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44659         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44660         to avoid a warning.
44661
44662 2011-08-14  David S. Miller  <davem@davemloft.net>
44663
44664         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44665         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44666
44667 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44668
44669         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44670         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44671         * elf/rtld.c (dl_main): Set l_name of vDSO.
44672         Call _dl_show_scope when DL_DEBUG_SCOPES.
44673         (process_dl_debug): Recognize scopes flag and also set it for all.
44674         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44675         Declare _dl_show_scope.
44676
44677         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44678         (do_dlopen): Pass caller_dlopen to dl_open.
44679         (__libc_dlopen_mode): Initialize caller_dlopen.
44680
44681         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44682         of libc.  Make tolower call locale-independent.  Optimize a bit by
44683         using isdigit instead of isalnum.
44684         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44685
44686 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44687
44688         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44689         was a dependency or dynamically loaded.
44690
44691 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44692
44693         * intl/l10nflist.c: Allow architecture-specific pop function.
44694         * sysdeps/x86_64/l10nflist.c: New file.
44695
44696         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44697         classification.
44698
44699 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44700
44701         * include/dirent.h: Add libc_hidden_proto for scandirat and
44702         scandirat64.  Don't declare __scandirat64.
44703         * dirent/scandirat.c: Add libc_hidden_def.
44704         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44705         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44706
44707 2011-08-10  David S. Miller  <davem@davemloft.net>
44708
44709         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44710         enum.
44711         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44712         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44713         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44714
44715 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44716
44717         * Versions.def [libc]: Add GLIBC_2.15.
44718         * dirent/Makefile (routines): Add scandirat and scandirat64.
44719         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44720         GLIBC_2.15.
44721         * dirent/dirent.h: Declare scandirat and scandirat64.
44722         * dirent/scandirat.c: New file.
44723         * dirent/scandirat64.c: New file.
44724         * sysdeps/wordsize-64/scandirat.c: New file.
44725         * sysdeps/wordsize-64/scandirat64.c: New file.
44726         * dirent/opendir.c: Define opendirat.
44727         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44728         using scandirat.
44729         * dirent/scandir64.c: Adjust for scandir.c change.
44730         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44731         __scandirat64, and __scandir_cancel_handler.
44732         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44733         additional parameter and use openat instead of open (outside of ld.so).
44734         Add new __opendir as wrapper around __opendirat.
44735         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44736         here without requiring old scandirat implementation.
44737
44738 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44739
44740         * dirent/scandir.c (cancel_handler): Renamed to
44741         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44742         defined.  Adjust users.
44743         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44744         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44745
44746 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44747
44748         * string/test-string.h (IMPL): Use __STRING to expand name and then
44749         stringify it.
44750
44751         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44752         of cleanups.
44753
44754 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44755
44756         * string/Makefile: Update.
44757         (strop-tests): Append strncat.
44758         * string/test-wcscmp.c: New file.
44759         New comprehensive test for wcscmp.
44760         * string/test-strcmp.c: Update.
44761         (WIDE): New define.
44762
44763 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44764
44765         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44766         line.
44767
44768 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44769
44770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44771         encoding to ACE if AI_IDN.
44772
44773 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44774
44775         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44776         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44777
44778 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44779
44780         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44781         Fix overflow bug in strncat.
44782         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44783
44784         * string/test-strncat.c: Update.
44785         Add new tests for checking overflow bugs.
44786
44787 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44788
44789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44790         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44791         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44792         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44793         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44794         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44795         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44796         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44797         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44798
44799         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44800         (USE_AS_STRCAT): Define.
44801         Add strcat and strncat support.
44802         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44803
44804 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44805
44806         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44807         __n bigger than INT_MAX+1.
44808         (__strncmp_g): Likewise.
44809
44810 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44811
44812         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44813         * libio/stido.h: Likewise.
44814
44815         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44816         (AF_NFC): Define.
44817         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44818         (AF_NFC): Define.
44819
44820         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44821         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44822         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44823         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44824         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44825
44826         [BZ #13021]
44827         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44828         installed.
44829
44830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44831         typo.
44832         (_dl_x86_64_save_sse): Likewise.
44833
44834 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44835
44836         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44837         OSXSAVE.
44838         (_dl_x86_64_save_sse): Likewise.
44839
44840         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44841
44842         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44843
44844 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44845
44846         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44847         change.
44848         (_dl_x86_64_save_sse): Use correct AVX check.
44849
44850 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44851
44852         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44853         bug in strncpy/strncat.
44854         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44855
44856 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44857
44858         * string/tester.c (test_strcat): Add tests for different alignments
44859         of source and destination.
44860         (test_strncat): Likewise.
44861
44862 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44863
44864         [BZ #12852]
44865         * posix/glob.c (glob): Check passed in values before using them in
44866         expressions to avoid some overflows.
44867         (glob_in_dir): Likewise.
44868
44869         [BZ #13007]
44870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44871         check for AVX enablement so that we don't crash with old kernels and
44872         new hardware.
44873         * elf/tst-audit4.c: Add same checks here.
44874         * elf/tst-audit6.c: Likewise.
44875
44876         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44877
44878 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44879
44880         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44881
44882 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44883
44884         * po/cs.po: Update from translation team.
44885         * po/bg.po: Likewise.
44886
44887 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44888
44889         * misc/sys/cdefs.h: Add support for const attribute.
44890         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44891         to gnu_dev_{major,minor,makedev} functions.
44892
44893 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44894
44895         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44896
44897 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44898
44899         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44900         strlen results.
44901
44902 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44903
44904         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44905         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44906         register in order to avoid conflicts with the soft frame pointer
44907         being held in r11 when necessary.
44908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44909         (INTERNAL_VSYSCALL_NCS): Likewise.
44910
44911 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44912
44913         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44914         * elf/dl-fini.c (_dl_fini): Adjust caller.
44915         * elf/dl-close.c (_dl_close_worker): Likewise.
44916         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44917
44918 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44919
44920         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44921         "aux_cache->nlibs < 0".
44922
44923         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44924         in the reload-count case.
44925
44926 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44927
44928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44929         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44930         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44931         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44932         * sysdeps/x86_64/multiarch/strcat.S: New file.
44933         * sysdeps/x86_64/multiarch/strncat.S: New file.
44934         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44935         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44936         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44937         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44938         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44939         (USE_AS_STRCAT): Define.
44940         Add strcat and strncat support.
44941         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44942         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44943         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44944         * string/strncat.c: Update.
44945         (USE_AS_STRNCAT): Define.
44946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44947         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44948         and i7.
44949         * sysdeps/x86_64/multiarch/init-arch.h
44950         (bit_Prefer_PMINUB_for_stringop): New.
44951         (index_Prefer_PMINUB_for_stringop): Likewise.
44952         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44953         bit_Prefer_PMINUB_for_stringop.
44954
44955 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44956
44957         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44958         buffer64.
44959         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44960         of casting of buffer.
44961         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44962         buffer32 and buffer64.
44963         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44964         writes instead of casting of buffer.
44965         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44966         buffer32.
44967         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44968         casting of buffer.
44969
44970 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44971
44972         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44973
44974 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44975
44976         * nscd/nscd.c (termination_handler): Don't do anything for a database
44977         if it has not yet been initialized.
44978
44979 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44980
44981         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44982
44983 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44984
44985         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44986
44987 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44988
44989         * po/nl.po: Update from translation team.
44990         * po/sv.po: Likewise.
44991
44992 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44993
44994         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44995         now disallowed by GCC.
44996
44997         * configure.in (use-default-link): Default to yes if a test -shared
44998         link meets our qualifications.
44999         * configure: Regenerated.
45000
45001         * config.make.in (output-format): New variable.
45002         * configure.in: Check for ld --print-output-format support.
45003         * configure: Regenerated.
45004         * Makerules ($(common-objpfx)format.lds)
45005         [$(output-format) != unknown]: Just use $(output-format),
45006         instead of the linker-script munging.
45007
45008 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45009
45010         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45011         of $(common-objpfx)shlib.lds.
45012         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45013
45014         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45015         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45016
45017         * configure.in (-z relro check): Adjust test code to add a large
45018         writable data section after it.
45019         * configure: Regenerated.
45020
45021 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45022
45023         * configure.in (-z relro check): Fix test code to make the variable
45024         truly const.
45025         * configure: Regenerated.
45026
45027 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45028
45029         * nscd/nscd.h (struct traced_file): Define.
45030         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45031         elements.  Add traced_files.
45032         (inotify_fd): Declare.
45033         (register_traced_file): Declare.
45034         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45035         (inotify_fd): Export.
45036         (resolv_conf_descr): Remove.
45037         (nscd_init): Move inotify descriptor creation to main.
45038         Don't register files for notification here.
45039         (register_traced_file): New function.
45040         (invalidate_cache): Don't use reset_res to determine whether to call
45041         res_init, go through the list of registered files.
45042         (main_loop_poll): The inotify descriptors are now stored in the
45043         structures for the traced files.
45044         (main_loop_epoll): Likewise
45045         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45046         to __nss_disable_nscd.
45047         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45048         for a database anymore.  Check the records for all the registered
45049         files instead.
45050         * nss/Makefile (libnss_files-routines): Add files-init.
45051         (libnss_db-routines): Add db-init.
45052         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45053         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45054         * nss/nss_db/db-init.c: New file.
45055         * nss/nss_files/files-init.c: New file.
45056         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45057         __nss_lookup_function.
45058         (__nss_lookup_function): Call nss_load_library.
45059         (nss_load_all_libraries): New function.
45060         (__nss_disable_nscd): Take parameter with callback function for files
45061         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45062         used for the cached services.
45063         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45064         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45065         options for features to all the files in nscd.
45066
45067         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45068
45069 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45070
45071         * csu/elf-init.c (__libc_csu_init): Comment typo.
45072
45073 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45074
45075         * po/pl.po: Update from translation team.
45076         * po/ja.po: Likewise.
45077         * po/ru.po: Likewise.
45078         * po/ko.po: Likewise.
45079         * po/fr.po: Likewise.
45080
45081 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45082
45083         * configure.in (.ctors/.dtors header and trailer check):
45084         Use an empirical test on a built program.
45085         * configure: Regenerated.
45086
45087         * configure.in (-z relro check): Use an empirical test on a built DSO.
45088         Detect, but do not require, on ia64.
45089         * configure: Regenerated.
45090
45091         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45092         Update tests that use readelf to use $READELF instead.
45093         * configure: Regenerated.
45094
45095 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45096
45097         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45098         if the result is not used.
45099
45100 2011-07-05  Andreas Jaeger  <aj@suse.de>
45101
45102         [BZ#9696]
45103         * stdlib/tst-strtod.c: Add testcase.
45104
45105 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45106
45107         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45108         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45109         The latter has a higher limit.  Take additional parameter to pass to
45110         the new function.
45111         (__pathconf): Pass file to __statfs_link_max.
45112         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45113         __statfs_link_max.
45114         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45115         __statfs_link_max.
45116
45117         [BZ #12868]
45118         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45119         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45120         Handle Lustre.
45121         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45122         (__statfs_filesize_max): Likewise.
45123         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45124
45125 2011-07-05  Andreas Jaeger  <aj@suse.de>
45126
45127         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45128
45129 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45130
45131         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45132         `status' variable.
45133         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45134         Likewise.
45135
45136 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45137
45138         * Makefile (strop-tests): Add strncat.
45139         * string/test-strncat.c: New file.
45140
45141 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45142
45143         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45144
45145 2011-06-21  Andreas Jaeger  <aj@suse.de>
45146
45147         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45148         Copy rule from iconvdata/Makefile.
45149
45150 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45151
45152         [BZ #12922]
45153         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45154         but no long options are defined, just return 'W'.
45155
45156 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45157
45158         [BZ #9696]
45159         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45160
45161 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45162
45163         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45164         netgroups to read.
45165         (innetgr): Likewise.
45166
45167 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45168
45169         * config.make.in (install_root): Default to $(DESTDIR).
45170
45171 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45172
45173         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45174
45175 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45176
45177         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45178
45179         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45180         containing directory rather than embedding absolute directory names.
45181
45182         * scripts/check-local-headers.sh: Rewritten using awk.
45183         Match by word, not by line.  Print error messages for matches.
45184         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45185
45186         * Makerules [shlib-lds-flags empty]:
45187         ($(common-objpfx)libc_pic.opts): New target.
45188         ($(common-objpfx)libc_pic.os.clean): New target.
45189         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45190
45191         * config.make.in (OBJCOPY): New variable.
45192         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45193         * configure: Regenerated.
45194
45195         * config.make.in (use-default-link): New variable.
45196         * configure.in (use_default_link): Grok --with-default-link to set it.
45197         * configure: Regenerated.
45198         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45199         (shlib-lds, shlib-lds-flags): Define to empty.
45200
45201         * Makerules (shlib-lds): New variable.
45202         (shlib-lds-flags): New variable.
45203         (build-shlib, build-moduile, build-module-asneeded): Use it.
45204         ($(common-objpfx)libc.so): Use $(shlib-lds).
45205         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45206         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45207
45208         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45209         DT_FLAGS/DT_FLAGS_1 with zero flags.
45210
45211         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45212         linker script munging.
45213
45214 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45215
45216         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45217         as 128-bit value.
45218         * crypt/sha512.c (sha512_process_block): Perform total addition using
45219         128-bit if possible.
45220         (__sha512_finish_ctx): Likewise.
45221         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45222         as 64-bit value.
45223         * crypt/sha256.c (SWAP64): Define.
45224         (sha256_process_block): Perform total addition using 64-bit if
45225         possible.
45226         (__sha256_finish_ctx): Likewise.
45227
45228 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45229
45230         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45231         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45232         * nscd/hstcache.c (cache_addhst): Likewise.
45233         * nscd/grpcache.c (cache_addgr): Likewise.
45234         * nscd/aicache.c (addhstaiX): Likewise
45235         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45236
45237 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45238
45239         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45240         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45241         * nscd/hstcache.c (cache_addhst): Likewise.
45242         * nscd/grpcache.c (cache_addgr): Likewise.
45243         * nscd/aicache.c (addhstaiX): Likewise
45244
45245 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45246
45247         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45248         domain only when needed.
45249
45250 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45251
45252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45253         is always restored.
45254
45255 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45256
45257         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45258         are re-adding the entry.
45259         * nscd/servicescache.c (cache_addserv): Likewise.
45260
45261 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45262
45263         * sysdeps/generic/dl-irel.h: fix protection against multiple
45264         inclusions.
45265         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45266
45267 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45268
45269         [BZ #12935]
45270         * malloc/memusage.sh: Fix quoting in message.
45271         * debug/xtrace.sh: Likewise.
45272
45273         * configure.in: Remove support for --experimental-malloc option, make
45274         it the default.
45275         * config.make.in: Likewise.
45276         * malloc/Makefile: Likewise.
45277
45278 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45279
45280         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45281         two-byte characters.
45282
45283 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45284
45285         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45286         AC_CACHE_CHECK invocation.
45287         * configure: Regenerated.
45288
45289         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45290
45291 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45292
45293         [BZ #12350]
45294         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45295         bit from old_res_options.
45296
45297         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45298
45299         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45300         value type for setfct.
45301
45302 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45303
45304         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45305         __gettimeofday instead of gettimeofday.
45306
45307 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45308
45309         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45310
45311 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45312
45313         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45314
45315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45316         info.
45317
45318 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45319
45320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45321         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45322         strcpy-sse2-unaligned strncpy-sse2-unaligned
45323         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45324         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45325         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45326         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45327         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45328         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45329         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45330         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45331         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45332         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45333         (STRCPY): Support SSE2 and SSSE3 versions.
45334
45335 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45336
45337         [BZ #12874]
45338         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45339         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45340         kernels which artificially limit size of requests.
45341
45342 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45343
45344         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45345         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45346         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45347         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45348         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45349         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45350         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45351         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45352         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45353         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45354         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45355         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45356         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45357         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45358         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45360         Enable unaligned load optimization for Intel Core i3, i5 and i7
45361         processors.
45362         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45363         Define.
45364         (index_Fast_Unaligned_Load): Define.
45365         (HAS_FAST_UNALIGNED_LOAD): Define.
45366
45367 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45368
45369         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45370
45371 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45372
45373         [BZ #12907]
45374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45375         until it is clear that the information is realy needed.
45376         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45377
45378 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45379
45380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45381
45382 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45383
45384         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45385         /sys/devices/system/cpu/online if it is usable.
45386
45387         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45388         reading the information from the /proc filesystem to once a second.
45389
45390 2011-06-21  Andreas Jaeger  <aj@suse.de>
45391
45392         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45393         NULL after inclusion of kernel headers.
45394
45395 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45396
45397         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45398         calls to internal_setent.
45399
45400         [BZ #12885]
45401         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45402         addresses using gethostbyname4_r ignore IPv4 addresses.
45403
45404         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45405         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45406
45407         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45408
45409 2011-06-20  David S. Miller  <davem@davemloft.net>
45410
45411         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45412         inclusions.
45413         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45414
45415         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45416         (elf_irel): Use it.
45417         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45418         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45419         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45420         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45421         * sysdeps/x86_64/dl-irel.h: Likewise.
45422
45423         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45424         * elf/dl-sym.c: Likewise.
45425
45426 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45427
45428         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45429         need to dereference resplen2.
45430
45431 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45432
45433         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45434
45435 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45436
45437         * Makeconfig: Define vardbdir and inst_vardbdir.
45438         * nss/Makefile: Add rules to install db-Makefile.
45439
45440         * nss/nss_db/db-XXX.c: Cleanup.
45441
45442         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45443         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45444         GLIBC_PRIVATE.
45445         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45446         * nss/makedb.c: Implement -g option to specify that value strings
45447         are generated and should not be added to table iterated over for
45448         get*ent calls.
45449         * nss/nss_db/db-initgroups.c: New file.
45450
45451         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45452         interface.
45453
45454         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45455         (internal_getgrouplist): Adjust to name change.
45456         Update use_initgroups_entry if this is not the first call.
45457         * nss/databases.def: Add initgroups entry.
45458
45459         * nss/makedb.c (compute_tables): Check result of multiple hash table
45460         sizes to minimize maximum chain length.
45461
45462 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45463
45464         * Versions.def: Add entry for libnss_db.
45465         * shlib-versions: Likewise.
45466         * nss/Makefile: Add rules to build libnss_db.
45467         * nss/Versions: Add libnss_db information.  Organize libnss_files
45468         entries better.
45469         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45470         makedb progra.  Some minor improvements to generate smaller files.
45471         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45472         here from...
45473         * nss/makedb.c: ...here.
45474         Improve database format to be smaller and require less memory at
45475         runtime.
45476         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45477         db anymore.
45478         * nss/nss_db/db-netgrp.c: Likewise.
45479         * nss/nss_db/db-open.c: Likewise.
45480         * nss/nss_files/flies-XXX.x: Adjust comments.
45481         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45482         * nss/nss_files/files-grp.c: Likewise.
45483         * nss/nss_files/files-hosts.c: Likewise.
45484         * nss/nss_files/files-network.c: Likewise.
45485         * nss/nss_files/files-proto.c: Likewise.
45486         * nss/nss_files/files-pwd.c: Likewise.
45487         * nss/nss_files/files-rpc.c: Likewise.
45488         * nss/nss_files/files-service.c: Likewise.
45489         * nss/nss_files/files-sgrp.c: Likewise.
45490         * nss/nss_files/files-spwd.c: Likewise.
45491         * nss/nss_db/db-alias.c: Removed.
45492         * nss/nss_db/dummy-db.h: Removed.
45493
45494 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45495
45496         * nss/makedb.c: Rewritten to not use database library.
45497         * nss/Makefile: Update to build new makedb program.
45498
45499 2011-06-14  Andreas Jaeger  <aj@suse.de>
45500
45501         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45502         memset declaration.
45503
45504 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45505
45506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45507         tmpbuf.
45508
45509 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45510
45511         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45512         * elf/Makefile ($(objpfx)ld.so): Likewise.
45513
45514         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45515         Don't list ld.so twice in dependencies.
45516
45517         * posix/bug-regex31.c: Include <stdlib.h>.
45518
45519         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45520
45521         * nis/nss_compat/compat-spwd.c
45522         (getspent_next_nss_netgr): Remove unused variable.
45523         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45524
45525         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45526         nonmembers" output to use the right array.
45527
45528         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45529
45530         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45531
45532         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45533         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45534         * catgets/gencat.c (read_input_file): Likewise.
45535         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45536
45537         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45538         variable definition inside #if's controlling its use.
45539
45540         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45541
45542         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45543
45544         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45545
45546         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45547         unreachable code.
45548
45549         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45550
45551         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45552         * configure: Regenerated.
45553
45554         * Makerules: Revert last change.
45555         * elf/Makefile: Likewise.
45556
45557 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45558
45559         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45560         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45561         (reloc-link): Likewise.
45562
45563 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45564
45565         * elf/Makefile: Add rules to build pldd.
45566         * elf/pldd.c: New file.
45567         * elf/pldd-xx.c: New file.
45568
45569 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45570
45571         * version.h: Update for 2.15 development version.
45572
45573 2011-06-07  David S. Miller  <davem@davemloft.net>
45574
45575         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45576         ifuncs.
45577         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45578         elf_machine_lazy_rel): Likewise.
45579         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45580         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45581         elf_machine_lazy_rel): Likewise.
45582         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45583         dl_hwcap via passed in argument.
45584         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45585         Likewise.
45586
45587 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45588
45589         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45590
45591 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45592
45593         [BZ #12849]
45594         * manual/fdl-1.1.texi: New file, verbatim from:
45595         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45596         * manual/lgpl-2.1.texi: New file, verbatim from:
45597         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45598         * manual/Makefile (licenses): New variable, list those new file names.
45599         (texis): Use it.
45600         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45601
45602         * manual/fdl.texi: File removed.
45603         * manual/lesser.texi: File removed.
45604         * manual/libc.texinfo (Copying, Documentation License):
45605         Use new @include file names, put @appendix directive before @include.
45606
45607 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45608
45609         [BZ #12841]
45610         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45611         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45612         (mq_open): Add __NTH.
45613
45614 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45615
45616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45617         Assume Intel Core i3/i5/i7 processor if AVX is available.
45618
45619 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45620
45621         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45622         typo.
45623
45624 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45625
45626         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45627         memory.  Use alloca_account.  Fix memory leak when retrying.
45628
45629 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45630
45631         * version.h (RELEASE): Bump for 2.14 release.
45632         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45633
45634         * config.make.in (RANLIB): Remove entry.
45635
45636 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45637
45638         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45639         (libc.pot): Work around missing support for .ksh extension in xgettext.
45640
45641         [BZ #12684]
45642         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45643         if both request failed.
45644         (send_dg): In case of server errors clear resplen or *resplen2.
45645
45646         [BZ #12454]
45647         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45648         when there are multiple maps.
45649         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45650         (_dl_fini): Remove test here.
45651
45652         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45653
45654 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45655
45656         [BZ #12350]
45657         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45658         bit from old_res_options.
45659         (gaih_inet): Likewise.
45660
45661         [BZ #11099]
45662         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45663         as signed.
45664
45665         * resolv/res_init.c (res_setoptions): Make the code more compact.
45666
45667         [BZ #11558]
45668         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45669         set RES_USEVC.
45670
45671         [BZ #11634]
45672         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45673
45674         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45675
45676         [BZ #11781]
45677         * malloc/malloc.h: Declare malloc hook variables as volatile.
45678
45679         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45680         in last patch.
45681
45682         [BZ #11799]
45683         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45684         raise in the comment.
45685         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45687         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45688
45689 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45690
45691         [BZ #12811]
45692         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45693         grow the buffers more if it already has to be sufficient.
45694         (build_wcs_upper_buffer): Likewise.
45695         * posix/regexec.c (check_matching): Likewise.
45696         (clean_state_log_if_needed): Likewise.
45697         (extend_buffers): Don't enlarge buffers beyond size of the input
45698         buffer.
45699         Patches mostly by Emil Wojak <emil@wojak.eu>.
45700         * posix/bug-regex32.c: New file.
45701         * posix/Makefile (tests): Add bug-regex32.
45702
45703         * locale/findlocale.c (_nl_find_locale): Return right away if
45704         _nl_explode_name failed.
45705         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45706
45707         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45708
45709         * debug/xtrace.sh: Unify messages.
45710         * malloc/memusage.sh: Likewise.
45711
45712         [BZ #12813]
45713         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45714         time symbol from vDSO.  Substitute with vsyscall if not available.
45715         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45716         __vdso_time.
45717
45718         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45719         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45720         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45721         Add sendmmsg and internal_sendmmsg.
45722         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45723         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45724         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45725
45726         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45727         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45728         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45729
45730 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45731
45732         [BZ #12813]
45733         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45734         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45735         available.
45736         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45737         __vdso_getcpu.
45738
45739         [BZ #12814]
45740         * iconvdata/Makefile (tests): Add bug-iconv9.
45741         * iconvdata/bug-iconv9.c: New file.
45742
45743 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45744
45745         [BZ #12814]
45746         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45747
45748 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45749
45750         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45751         (struct user_regs_struct): Change intcs field back to cs.
45752
45753 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45754
45755         * po/ja.po: Update from translation team.
45756
45757 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45758
45759         [BZ #12795]
45760         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45761         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45762
45763 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45764
45765         * stdlib/longlong.h: Update from GCC.
45766
45767 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45768
45769         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45770         parameter name.
45771         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45772         Add parameter name.
45773         (__sysconf): Pass it down.
45774
45775 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45776
45777         [BZ #12671]
45778         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45779         some situations.
45780         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45781         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45782         add in in __libc_use_alloca calls.  Adjust callers.
45783         (glob): Use malloc in some situations.
45784
45785         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45786         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45787         pltexit.
45788
45789 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45790
45791         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45792         and CLOCK_BOOTTIME_ALARM.
45793
45794         [BZ #12782]
45795         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45796         is returned.
45797
45798         * string/_strerror.c (__strerror_r): Print negative errors as signed
45799         numbers.
45800
45801         [BZ #12777]
45802         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45803         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45804         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45805
45806         * configure.in: Fix typo in redirection and correct removal of test
45807         files in two cases.
45808
45809         [BZ #12788]
45810         * locale/setlocale.c (new_composite_name): Fix test to check for
45811         identical name of all categories.
45812
45813         [BZ #12792]
45814         * libio/filedoalloc.c (local_isatty): New function.
45815         (_IO_file_doallocate): Use local_isatty.
45816         * stdio-common/perror.c (perror): In case a new stream is used
45817         forward the stream error.
45818         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45819         error flag.
45820
45821 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45822
45823         [BZ #11869]
45824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45825         alloca.
45826         * include/alloca.h (extend_alloca_account): Define.
45827
45828         [BZ #11857]
45829         * posix/regex.h: Fix comments with documentation of user-accessible
45830         fields after compilation and describe correct free'ing of pattern
45831         after re_compile_pattern.
45832         Patch by Reuben Thomas <rrt@sc3d.org>.
45833
45834 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45835
45836         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45837         and -mno-altivec to prevent the compiler from using Altivec and/or
45838         VSX instructions when the corresponding registers are not available.
45839
45840 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45841
45842         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45843
45844 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45845
45846         * libio/freopen.c (freopen): Use __dup2, not dup2.
45847         * libio/freopen64.c (freopen64): Likewise.
45848
45849 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45850
45851         [BZ #12775]
45852         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45853         * math/Makefile (tests): Add test-powl.
45854         (CFLAGS-test-powl.c): Define.
45855         * math/test-powl.c: New file.
45856
45857 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45858
45859         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45860
45861 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45862
45863         [BZ #11837]
45864         * iconvdata/gb18030.c: Update to GB18020-2005.
45865
45866 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45867
45868         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45869         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45870         Patch by Aharon Robbins <arnold@skeeve.com>.
45871
45872         [BZ #11892]
45873         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45874         on the stack.
45875
45876         [BZ #11895]
45877         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45878         through underflows.
45879
45880         [BZ #12766]
45881         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45882         point to strings before performing equality test for error_one_per_line
45883         mode.
45884
45885         [BZ #11697]
45886         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45887
45888         [BZ #11820]
45889         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45890         (struct user_fpregs_struct): Avoid __uint*_t types.
45891
45892         [BZ #6420]
45893         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45894         symbol info.  Use it instead of calling _dl_addr locally.
45895         (lock_and_info): New function.
45896         (tr_freehook): Call lock_and_info and pass symbol info as additional
45897         parameter to tr_where.
45898         (tr_mallochook): Likewise.
45899         (tr_reallochook): Likewise.
45900         (tr_memalignhook): Likewise.
45901
45902         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45903         used and couldn't be at all thread-safe.
45904
45905 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45906
45907         * libio/freopen.c (freopen): Don't close old file descriptor
45908         before the new one is opened.  Instead dup the new file descriptor
45909         to the old one after the new stream is created.
45910         * libio/freopen64.c (freopen64): Likewise.
45911         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45912         * libio/fileops.c (_IO_new_file_close_it): Handle new
45913         _IO_FLAGS2_NOCLOSE flag.
45914         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45915         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45916         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45917         _IO_FLAGS2_NOCLOSE flag.
45918         * include/unistd.h: Add hidden_proto for dup3.
45919         Define __have_dup3.
45920         * io/dup3.c: Define hidden symbol.
45921         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45922
45923         [BZ #7101]
45924         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45925         when an incomplete long option is used.
45926         * posix/tst-getopt_long1.c: New file.
45927         * posix/Makefile (tests): Add tst-getopt_long1.
45928
45929         [BZ #10138]
45930         * scripts/config.guess: Update from autoconf-2.68.
45931         * scripts/config.sub: Likewise.
45932
45933         [BZ #10157]
45934         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45935         tests into ...
45936         (has_cpuclock): ...this.  New function.
45937         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45938         macro here based on has_cpuclock code.
45939
45940         [BZ #10149]
45941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45942         First byte (not low byte) is now always NUL.
45943         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45944
45945         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45946         Use non-cancelable interfaces.
45947
45948         [BZ #9809]
45949         * locale/iso-639.def: Add entry for Sorani.
45950
45951         [BZ #11901]
45952         * include/stdlib.h: Move include protection to the right place.
45953         Define abort_msg_s.  Declare __abort_msg with it.
45954         * stdlib/abort.c (__abort_msg): Adjust type.
45955         * assert/assert.c (__assert_fail_base): New function.  Majority
45956         of code from __assert_fail.  Allocate memory for __abort_msg with
45957         mmap.
45958         (__assert_fail): Now call __assert_fail_base.
45959         * assert/assert-perr.c: Remove bulk of implementation.  Use
45960         __assert_fail_base.
45961         * include/assert.hL Declare __assert_fail_base.
45962         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45963         mmap.
45964         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45965
45966 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45967
45968         [BZ #11952]
45969         [BZ #12453]
45970         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45971         until all modules are registered in the DTV.
45972         * elf/Makefile: Add rules to build and run tst-tls19.
45973         * elf/tst-tls19.c: New file.
45974         * elf/tst-tls19mod1.c: New file.
45975         * elf/tst-tls19mod2.c: New file.
45976         * elf/tst-tls19mod3.c: New file.
45977         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45978
45979         [BZ #12083]
45980         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45981         correctly.
45982
45983         [BZ #12601]
45984         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45985         two-byte sequence errors.
45986         * iconvdata/Makefile (tests): Add bug-iconv8.
45987         * iconvdata/bug-iconv8.c: New file.
45988
45989         [BZ #12626]
45990         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45991         buf2 definition.
45992
45993         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45994
45995         [BZ #12432]
45996         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45997         (dummy_getcfa): New function.
45998         (init): Get _Unwind_GetCFA address, use dummy if not found.
45999         (backtrace_helper): In recursion check, also check whether CFA changes.
46000         (__backtrace): Completely initialize arg.
46001
46002         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46003         storing incomplete byte sequence in state object.  Avoid testing for
46004         guaranteed too small input if we know there is enough data available.
46005
46006 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46007
46008         * Makeconfig (+link-pie): Indent.
46009         * Rules (binaries-pie): Define if $(have-fpie) and
46010         $(build-shared).
46011         (binaries-shared): Also filter out $(binaries-pie).
46012         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46013         * nscd/Makefile (others-pie): Add nscd.
46014         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46015         ($(objpfx)nscd): Remove command override.
46016         * login/Makefile (others-pie): Add pt_chown.
46017         ($(objpfx)pt_chown): Remove command override.
46018         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46019         remove command overrides.
46020
46021 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46022
46023         * libio/tst_putwc.c: Fix error messages.
46024
46025         [BZ #12724]
46026         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46027         currently writing and seek to current position when not.
46028         * libio/Makefile (tests): Add bug-fclose1.
46029         * libio/bug-fclose1.c: New file.
46030
46031 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46032
46033         [BZ #12511]
46034         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46035         don't set DF_1_NODELETE here.
46036         (do_lookup_x): When entering new entry test for copy relocation
46037         and if necessary set DF_1_NODELETE flag.
46038         * elf/tst-unique4.cc: New file.
46039         * elf/tst-unique4.h: New file.
46040         * elf/tst-unique4lib.cc: New file.
46041         * elf/Makefile: Add rules to build and run tst-unique4.
46042         Patch by Piotr Bury <pbury@goahead.com>.
46043
46044 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46045
46046         [BZ #12052]
46047         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46048
46049         [BZ #12625]
46050         * misc/mntent_r.c (addmntent): Flush the stream after the output
46051
46052         [BZ #12393]
46053         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46054         (is_trusted_path_normalize): Skip initial colon.  Append slash
46055         to empty buffer.  Duplicate is_trusted_path code but allow
46056         constructed patch to be prefix.
46057         (is_dst): Allow $ORIGIN followed by /.
46058         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46059         Correct testing of result of is_trusted_path_normalize
46060         (decompose_rpath): Fix warning.
46061
46062 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46063
46064         [BZ #11257]
46065         * grp/initgroups.c (internal_getgrouplist): When we found the service
46066         list through the initgroups entry in nsswitch.conf do not always
46067         continue on a successful lookup.  Don't always use the
46068         __nss_group_database value if it is set.
46069         * nss/nsswitch.conf (initgroups): Change action for successful db
46070         lookup to continue for compatibility.
46071
46072 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46073
46074         [BZ #11532]
46075         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46076         and CP774 modules.
46077         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46078         and CP774 modules.
46079         * iconvdata/tst-tables.sh: Likewise.
46080         * iconvdata/cp770.c: New file.
46081         * iconvdata/cp771.c: New file.
46082         * iconvdata/cp772.c: New file.
46083         * iconvdata/cp773.c: New file.
46084         * iconvdata/cp774.c: New file.
46085         * iconvdata/testdata/CP770: New file.
46086         * iconvdata/testdata/CP770..UTF8: New file.
46087         * iconvdata/testdata/CP771: New file.
46088         * iconvdata/testdata/CP771..UTF8: New file.
46089         * iconvdata/testdata/CP772: New file.
46090         * iconvdata/testdata/CP772..UTF8: New file.
46091         * iconvdata/testdata/CP773: New file.
46092         * iconvdata/testdata/CP773..UTF8: New file.
46093         * iconvdata/testdata/CP774: New file.
46094         * iconvdata/testdata/CP774..UTF8: New file.
46095
46096         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46097         END CHARMAP line.
46098         * iconvdata/gen-8bit-gap.sh: Likewise.
46099         * iconvdata/gen-8bit.sh: Likewise.
46100
46101         * locale/iso-639.def: Add ary entry.
46102
46103         [BZ #11258]
46104         * locale/C-translit.h.in: Add U20A1 transliteration.
46105
46106         [BZ #12178]
46107         * locale/iso-639.def: Add wae entry.
46108         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46109
46110         [BZ #12545]
46111         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46112         for n.
46113
46114         [BZ #12711]
46115         * locale/C-translit.h.in: Add entry for U20B9.
46116         Patch by pravin.d.s@gmail.com.
46117
46118 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46119
46120         [BZ #12713]
46121         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46122         ENAMETOOLONG use generic getcwd.
46123         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46124         in rtld.  Use *stat64.
46125         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46126         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46127         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46128         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46129         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46130         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46131         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46132         __fstatat64 macros.
46133         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46134         * dirent/rewinddir.c: Add libc_hidden_def.
46135         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46136         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46137
46138         * include/dirent.h (__alloc_dir): Add flags parameter.
46139         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46140         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46141         __alloc_dir.
46142         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46143         from fdopendir if O_CLOEXEC is already set.
46144
46145 2011-03-15  Alan Modra  <amodra@gmail.com>
46146
46147         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46148         l_tls_firstbyte_offset non-zero.  Save padding offset in
46149         l_tls_firstbyte_offset for later use.
46150         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46151         freeing static tls block.
46152
46153 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46154
46155         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46156         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46157         being defined by the kernel headers.
46158
46159 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46160
46161         [BZ #12734]
46162         * resolv/resolv.h: Define RES_NOTLDQUERY.
46163         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46164         no-tld-query and set RES_NOTLDQUERY.
46165         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46166         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46167         modern BIND to search name as TLD unless forbidden.
46168
46169 2011-05-07  Petr Baudis  <pasky@suse.cz>
46170             Ulrich Drepper  <drepper@gmail.com>
46171
46172         [BZ #12393]
46173         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46174         (is_trusted_path): ...to here.
46175         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46176         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46177         using is_trusted_path_normalize() in setuid scripts.
46178
46179 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46180
46181         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46182         __BEGIN/__END_DECLS.
46183
46184 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46185
46186         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46187         NSS_STATUS_NOTFOUND if no record was found.
46188
46189 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46190
46191         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46192         (headers-not-in-tirpc): Remove rpc/netdb.h
46193         * resolv/netdb.h: Revert last change.
46194
46195 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46196
46197         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46198         circular dependency between libgcc.a and libc.a.
46199
46200 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46201
46202         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46203         * nis/Makefile: Don't install rpcsvc/*.
46204         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46205         instead of <rpc/types.h>.
46206         (MAXHOSTNAMELEN): Define.
46207
46208 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46209
46210         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46211
46212 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46213
46214         [BZ #12714]
46215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46216         gethostbyname4_r when IPv6 results are possible.
46217
46218 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46219
46220         [BZ #12723]
46221         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46222         _PC_PIPE_BUF handling.
46223
46224 2011-04-30  Bruno Haible  <bruno@clisp.org>
46225
46226         [BZ #12717]
46227         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46228         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46229         to 'int'.
46230         * inet/getnameinfo.c (getnameinfo): Likewise.
46231
46232 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46233
46234         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46235         to groups setting in database lookup.
46236         * nss/nsswitch.conf: Add initgroups entry.
46237
46238 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46239
46240         [BZ #12685]
46241         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46242         mode string.
46243         Patch by Eric Blake <eblake@redhat.com>.
46244
46245 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46246
46247         * sunrpc/Makefile (need-export-routines): Add svc_run.
46248         (routines): Remove svc_run.
46249         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46250         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46251         * sunrpc/svc_run.c (svc_run): Likewise.
46252         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46253
46254 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46255
46256         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46257         problem in reallocation in last patch.
46258
46259 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46260
46261         * sunrpc/Makefile: Move inclusion of Rules.
46262
46263 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46264
46265         * nss/nss_files/files-initgroups.c: New file.
46266         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46267         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46268         _nss_files_initgroups_dyn.
46269
46270 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46271
46272         * elf/elf.h (R_ARM_IRELATIVE): Define.
46273
46274 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46275
46276         * po/ru.po: Update from translation team.
46277
46278 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46279
46280         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46281         dependencies.
46282
46283 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46284
46285         [BZ #12653]
46286         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46287         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46288         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46289         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46290         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46291
46292 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46293
46294         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46295         differing bytes.
46296         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46298         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46299
46300 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46301
46302         [BZ #12420]
46303         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46304         storing it.
46305         * stdlib/bug-getcontext.c: New file.
46306         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46307
46308 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46309
46310         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46311         instructions into .machine "z9-109".
46312         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46313         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46314
46315 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46316
46317         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46318         between environment variables and auxiliary vector.
46319
46320 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46321
46322         * Makefile: Add rules to build linkobj/libc.so.
46323         * include/libc-symbols.h: Define libc_hidden_nolink.
46324         * include/rpc/auth.h: Mark functions which are to be hidden.
46325         * include/rpc/auth_des.h: Likewise.
46326         * include/rpc/auth_unix.h: Likewise.
46327         * include/rpc/clnt.h: Likewise.
46328         * include/rpc/des_crypt.h: Likewise.
46329         * include/rpc/key_prot.h: Likewise.
46330         * include/rpc/pmap_clnt.h: Likewise.
46331         * include/rpc/pmap_prot.h: Likewise.
46332         * include/rpc/pmap_rmt.h: Likewise.
46333         * include/rpc/rpc_msg.h: Likewise.
46334         * include/rpc/svc.h: Likewise.
46335         * include/rpc/svc_auth.h: Likewise.
46336         * include/rpc/xdr.h: Likewise.
46337         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46338         * nss/Makefile: Likewise.
46339         * sunrpc/Makefile: Don't install headers.  Build library with normal
46340         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46341         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46342         for the compat linking library.  Remove use of INTDEF/INTUSE.
46343         * sunrpc/auth_none.c: Likewise.
46344         * sunrpc/auth_unix.c: Likewise.
46345         * sunrpc/authdes_prot.c: Likewise.
46346         * sunrpc/authuxprot.c: Likewise.
46347         * sunrpc/clnt_gen.c: Likewise.
46348         * sunrpc/clnt_perr.c: Likewise.
46349         * sunrpc/clnt_raw.c: Likewise.
46350         * sunrpc/clnt_simp.c: Likewise.
46351         * sunrpc/clnt_tcp.c: Likewise.
46352         * sunrpc/clnt_udp.c: Likewise.
46353         * sunrpc/clnt_unix.c: Likewise.
46354         * sunrpc/des_crypt.c: Likewise.
46355         * sunrpc/des_soft.c: Likewise.
46356         * sunrpc/get_myaddr.c: Likewise.
46357         * sunrpc/key_call.c: Likewise.
46358         * sunrpc/key_prot.c: Likewise.
46359         * sunrpc/netname.c: Likewise.
46360         * sunrpc/pm_getmaps.c: Likewise.
46361         * sunrpc/pm_getport.c: Likewise.
46362         * sunrpc/pmap_clnt.c: Likewise.
46363         * sunrpc/pmap_prot.c: Likewise.
46364         * sunrpc/pmap_prot2.c: Likewise.
46365         * sunrpc/pmap_rmt.c: Likewise.
46366         * sunrpc/publickey.c: Likewise.
46367         * sunrpc/rpc_cmsg.c: Likewise.
46368         * sunrpc/rpc_common.c: Likewise.
46369         * sunrpc/rpc_dtable.c: Likewise.
46370         * sunrpc/rpc_prot.c: Likewise.
46371         * sunrpc/rpc_thread.c: Likewise.
46372         * sunrpc/rtime.c: Likewise.
46373         * sunrpc/svc.c: Likewise.
46374         * sunrpc/svc_auth.c: Likewise.
46375         * sunrpc/svc_authux.c: Likewise.
46376         * sunrpc/svc_raw.c: Likewise.
46377         * sunrpc/svc_run.c: Likewise.
46378         * sunrpc/svc_simple.c: Likewise.
46379         * sunrpc/svc_tcp.c: Likewise.
46380         * sunrpc/svc_udp.c: Likewise.
46381         * sunrpc/svc_unix.c: Likewise.
46382         * sunrpc/svcauth_des.c: Likewise.
46383         * sunrpc/xcrypt.c: Likewise.
46384         * sunrpc/xdr.c: Likewise.
46385         * sunrpc/xdr_array.c: Likewise.
46386         * sunrpc/xdr_float.c: Likewise.
46387         * sunrpc/xdr_intXX_t.c: Likewise.
46388         * sunrpc/xdr_mem.c: Likewise.
46389         * sunrpc/xdr_rec.c: Likewise.
46390         * sunrpc/xdr_ref.c: Likewise.
46391         * sunrpc/xdr_sizeof.c: Likewise.
46392         * sunrpc/xdr_stdio.c: Likewise.
46393
46394 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46395
46396         [BZ #12650]
46397         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46398         * sysdeps/ia64/dl-tls.h: Likewise.
46399         * sysdeps/powerpc/dl-tls.h: Likewise.
46400         * sysdeps/s390/dl-tls.h: Likewise.
46401         * sysdeps/sh/dl-tls.h: Likewise.
46402         * sysdeps/sparc/dl-tls.h: Likewise.
46403         * sysdeps/x86_64/dl-tls.h: Likewise.
46404         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46405
46406 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46407
46408         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46409         rpath element also skip the following colon.
46410         (expand_dynamic_string_token): Add is_path parameter and pass
46411         down to DL_DST_REQUIRED and _dl_dst_substitute.
46412         (decompose_rpath): Call expand_dynamic_string_token with
46413         non-zero is_path.  Ignore empty rpaths.
46414         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46415         with zero is_path.
46416
46417 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46418
46419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46420         Make cancelable.
46421
46422 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46423
46424         [BZ #12655]
46425         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46426         Patch by Filipe David Manana <fdmanana@apache.org>.
46427
46428 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46429
46430         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46431         Maintain aligned stack.
46432         (CHECK_RSP): Remove unused macro.
46433
46434 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46435
46436         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46437         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46438
46439 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46440
46441         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46442
46443         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46444
46445 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46446
46447         [BZ #12518]
46448         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46449         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46450         * sysdeps/x86_64/memmove.c: New file.
46451         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46452         (memcpy): Renamed to ...
46453         (__new_memcpy): This.
46454         (memcpy): Provide GLIBC_2_14 memcpy.
46455         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46456         (memcpy): Provide GLIBC_2_2_5 memcpy.
46457
46458 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46459
46460         [BZ #12631]
46461         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46462
46463 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46464
46465         * misc/syncfs.c: New file.
46466         * misc/Makefile (routines): Add syncfs.
46467         * posix/unistd.h: Declare syncfs.
46468         * sysdeps/unix/syscalls.list: Add syncfs.
46469
46470 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46471
46472         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46473         open_by_handle_at.
46474         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46475         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46477         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46479         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46480         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46481
46482 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46483
46484         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46485         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46486         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46487         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46488         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46490         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46491
46492         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46493         sync_file_range.c with -fexceptions.
46494         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46495         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46496         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46497         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46498         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46499         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46500         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46501         sync_file_range as cancellation point
46502         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46503         now a wrapper around __call_sync_file_range with cancellation handling.
46504         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46505         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46506         function name to __call_sync_file_range.
46507         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46508         Add call_sync_file_range.
46509
46510 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46511
46512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46513         bits/timex.h.
46514
46515 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46516
46517         * iconv/iconv.h: Fix typo in comment.
46518         * io/fcntl.h: Likewise.
46519         * libio/stdio.h: Likewise.
46520         * posix/spawn.h: Likewise.
46521         * posix/unistd.h: Likewise.
46522         * stdlib/stdlib.h: Likewise.
46523         * time/time.h: Likewise.
46524         * wcsmbs/wchar.h: Likewise.
46525
46526         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46527         open_by_handle): Add.
46528         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46529         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46530         Augment a few comments.
46531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46533         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46535         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46536         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46537         open_by_handle.
46538
46539         * io/fcntl.h (AT_EMPTY_PATH): Define.
46540
46541 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46542
46543         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46544         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46545         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46546         to...
46547         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46548         * Versions.def: Add GLIBC_2.14.
46549         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46550         Export.
46551
46552 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46553
46554         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46555         round counter.
46556         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46557
46558 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46559
46560         [BZ #12597]
46561         * string/test-strncmp.c (do_page_test): New function.
46562         (check2): Likewise.
46563         (test_main): Call check2.
46564         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46565
46566 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46567
46568         [BZ #12587]
46569         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46570         Handle cache information in CPU leaf 4.
46571         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46572
46573 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46574
46575         [BZ #12583]
46576         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46577         character representation.
46578         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46579
46580 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46581
46582         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46583         END(__isnan) to END(__isnanf) to match function entry point/label
46584         EALIGN(__isnanf,...).
46585
46586 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46587
46588         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46589
46590 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46591
46592         [BZ #12510]
46593         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46594         copy from the symbol referenced in the relocation to initialize the
46595         used variable.
46596         Patch by Piotr Bury <pbury@goahead.com>.
46597         * elf/Makefile: Add rules to build and tst-unique3.
46598         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46599         * elf/tst-unique3.cc: New file.
46600         * elf/tst-unique3.h: New file.
46601         * elf/tst-unique3lib.cc: New file.
46602         * elf/tst-unique3lib2.cc: New file.
46603
46604         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46605
46606 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46607
46608         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46609         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46610         to _start.
46611
46612 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46613
46614         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46615         to-be-loaded object along a path to loader is ld.so.
46616
46617 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46618             Ulrich Drepper  <drepper@gmail.com>
46619
46620         * sysdeps/x86_64/memset.S: After aligning destination, code
46621         branches to different locations depending on the value of
46622         misalignment, when multiarch is enabled. Fix this.
46623
46624 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46625
46626         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46627         Set _x86_64_preferred_memory_instruction for AMD processsors.
46628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46629         Set bit_Prefer_SSE_for_memop for AMD processors.
46630
46631 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46632
46633         * libio/fmemopen.c (fmemopen): Optimize a bit.
46634
46635 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46636
46637         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46638
46639 2011-03-03  Roland McGrath  <roland@redhat.com>
46640
46641         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46642
46643 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46644
46645         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46646         __bzero_ultra1 instead of __memset_ultra1.
46647
46648 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46649             Ulrich Drepper  <drepper@gmail.com>
46650
46651         [BZ #12509]
46652         * include/link.h (struct link_map): Add l_orig_initfini.
46653         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46654         returning unsuccessfully.
46655         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46656         close of a file loaded at startup, restore the original l_initfini
46657         list.
46658         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46659         list, store the pointer.
46660         * elf/Makefile ($(objpfx)noload-mem): New rule.
46661         (noload-ENV): Define.
46662         (tests): Add $(objpfx)noload-mem.
46663         * elf/noload.c: Include <memcheck.h>.
46664         (main): Call mtrace.  Close all opened handles.
46665
46666 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46667
46668         [BZ #12454]
46669         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46670         dependencies are missing.
46671
46672 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46673
46674         Fix __if_freereq crash: Unlike the generic version which uses free,
46675         Hurd needs munmap.
46676         * sysdeps/mach/hurd/ifreq.h: New file.
46677
46678 2011-01-27  Petr Baudis  <pasky@suse.cz>
46679             Ulrich Drepper  <drepper@gmail.com>
46680
46681         [BZ 12445]#
46682         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46683         to extend_alloca().
46684         * stdio-common/bug23.c: New file.
46685         * stdio-common/Makefile (tests): Add bug23.
46686
46687 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46688             Ulrich Drepper  <drepper@gmail.com>
46689
46690         [BZ #12489]
46691         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46692         before performing relro protection.  At old place add assertion
46693         to make sure nothing changed.
46694
46695 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46696             Glauber de Oliveira Costa  <glommer@gmail.com>
46697
46698         * elf/elf.h: Add new ARM TLS relocs.
46699
46700 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46701
46702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46703         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46704         cast from r3.
46705         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46706         'tests' variable.
46707         * sysdeps/wordsize-64/tst-writev.c: New file.
46708
46709 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46710
46711         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46712         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46713         insns in _dl_start to prevent a TOC reference before relocs are
46714         resolved.
46715
46716 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46717
46718         [BZ #12469]
46719         * Makeconfig: Remove RANLIB definition.
46720         * Makerules: Don't use RANLIB.
46721         * aclocal.m4: Remove ranlib test.
46722         * configure.in: No need to check for ranlib.
46723         * elf/rtld-Rules: Don't use RANLIB.
46724
46725 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46726
46727         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46728         protection macro.
46729         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46730         inclusion protection macro.
46731
46732         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46733         SIGRTMIN and SIGRTMAX and print information in that case only when
46734         SIGRTMIN is defined.
46735
46736 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46737
46738         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46739         arginfo fn returning -1.
46740
46741         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46742         and thousands string is zero terminated.
46743
46744 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46745
46746         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46747         sysdeps/unix/sysv/linux/bits/socket.h.
46748
46749 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46750
46751         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46752         (__CPU_COUNT): Remove old macros.
46753         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46754         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46755         (__CPU_ALLOC, __CPU_FREE): Add macros.
46756         (__sched_cpualloc, __sched_cpufree): Add declarations.
46757
46758 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46759
46760         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46761         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46762         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46763         (readdhstai): Return value of addhstaiX call.
46764         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46765         (addgrbyX): Return value returned by cache_addgr.
46766         (readdgrbyname): Return value returned by addgrbyX.
46767         (readdgrbygid): Likewise.
46768         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46769         (addpwbyX): Return value returned by cache_addpw.
46770         (readdpwbyname): Return value returned by addhstbyX.
46771         (readdpwbyuid): Likewise.
46772         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46773         (addservbyX): Return value returned by cache_addserv.
46774         (readdservbyname): Return value returned by addservbyX:
46775         (readdservbyport): Likewise.
46776         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46777         (addhstbyX): Return value returned by cache_addhst.
46778         (readdhstbyname): Return value returned by addhstbyX.
46779         (readdhstbyaddr): Likewise.
46780         (readdhstbynamev6): Likewise.
46781         (readdhstbyaddrv6): Likewise.
46782         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46783         (readdinitgroups): Return value returned by addinitgroupsX.
46784         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46785         (prune_cache): Keep track of timeout value of re-added entries.
46786         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46787         * nscd/nscd.h: Adjust prototypes of readd* functions.
46788
46789 2011-02-04  Roland McGrath  <roland@redhat.com>
46790
46791         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46792         (nis_stats): Likewise.
46793         * nis/nis_modify.c (nis_modify): Likewise.
46794         * nis/nis_remove.c (nis_remove): Likewise.
46795         * nis/nis_add.c (nis_add): Likewise.
46796
46797         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46798
46799         * posix/fnmatch_loop.c: Add some consts.
46800
46801         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46802
46803 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46804
46805         [BZ #12460]
46806         * config.make.in (config-cflags-novzeroupper): Define.
46807         * configure.in: Substitute libc_cv_cc_novzeroupper.
46808         * elf/Makefile (AVX-CFLAGS): Define.
46809         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46810         (CFLAGS-tst-auditmod4a.c): Likewise.
46811         (CFLAGS-tst-auditmod4b.c): Likewise.
46812         (CFLAGS-tst-auditmod6b.c): Likewise.
46813         (CFLAGS-tst-auditmod6c.c): Likewise.
46814         (CFLAGS-tst-auditmod7b.c): Likewise.
46815         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46816
46817 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46818
46819         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46820         function to the callback.
46821         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46822
46823 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46824
46825         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46826         of errno.
46827
46828 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46829
46830         [BZ #11724]
46831         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46832         of constructors.
46833         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46834         of destructors.
46835         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46836
46837         [BZ #11724]
46838         * elf/Makefile: Add rules to build and run new test.
46839         * elf/tst-initorder.c: New file.
46840         * elf/tst-initorder.exp: New file.
46841         * elf/tst-initordera1.c: New file.
46842         * elf/tst-initordera2.c: New file.
46843         * elf/tst-initordera3.c: New file.
46844         * elf/tst-initordera4.c: New file.
46845         * elf/tst-initorderb1.c: New file.
46846         * elf/tst-initorderb2.c: New file.
46847         * elf/tst-order-a1.c: New file.
46848         * elf/tst-order-a2.c: New file.
46849         * elf/tst-order-a3.c: New file.
46850         * elf/tst-order-a4.c: New file.
46851         * elf/tst-order-b1.c: New file.
46852         * elf/tst-order-b2.c: New file.
46853         * elf/tst-order-main.c: New file.
46854         New test case by George Gensure <werkt0@gmail.com>.
46855
46856 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46857
46858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46859         decoding ACE if AI_CANONIDN.
46860
46861 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46862
46863         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46864
46865 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46866
46867         * version.h (RELEASE): Bump for 2.13 release.
46868         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46869
46870         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46871
46872         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46873         MADV_NOHUGEPAGE.
46874         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46875         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46876         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46877         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46879         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46880
46881         * posix/getconf.c: Update copyright year.
46882         * catgets/gencat.c: Likewise.
46883         * csu/version.c: Likewise.
46884         * debug/catchsegv.sh: Likewise.
46885         * debug/xtrace.sh: Likewise.
46886         * elf/ldconfig.c: Likewise.
46887         * elf/ldd.bash.in: Likewise.
46888         * elf/sprof.c (print_version): Likewise.
46889         * iconv/iconv_prog.c: Likewise.
46890         * iconv/iconvconfig.c: Likewise.
46891         * locale/programs/locale.c: Likewise.
46892         * locale/programs/localedef.c: Likewise.
46893         * malloc/memusage.sh: Likewise.
46894         * malloc/mtrace.pl: Likewise.
46895         * nscd/nscd.c (print_version): Likewise.
46896         * nss/getent.c: Likewise.
46897
46898         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46899         PF_CAIF, and PF_ALG.
46900         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46901
46902 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46903
46904         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46905         (modules-names): Use them.
46906         (ifunc-test-modules, ifunc-pie-tests): Define.
46907         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46908         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46909         (test-extras): Likewise.
46910         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46911         $(compile-command.c).
46912         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46913         (all-built-dso): Define.
46914         (check-textrel.out, check-execstack.out): Depend on it.
46915
46916         * configure.in: Don't override --enable-multi-arch.
46917
46918 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46919
46920         [BZ #6812]
46921         * nscd/hstcache.c (tryagain): Define.
46922         (cache_addhst): Return tryagain not notfound for temporary errors.
46923         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46924         failed.
46925
46926 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46927
46928         [BZ #10563]
46929         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46930         to make the syscall.
46931         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46932
46933         [BZ #12378]
46934         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46935         and fall back to matching as normal character if the string ends before
46936         the matching ']' is found.  This is what POSIX requires.
46937         * posix/testfnm.c: Adjust test result.
46938         * posix/globtest.sh: Adjust test result.  Add new test.
46939         * posix/tst-fnmatch.input: Likewise.
46940         * posix/tst-fnmatch2.c: Add new test.
46941
46942 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46943
46944         * elf/Makefile (check-execstack): Revert last change.  Depend on
46945         check-execstack.h.
46946         (check-execstack.h): New target.
46947         (generated): Add check-execstack.h.
46948         * elf/check-execstack.c: Include "check-execstack.h".
46949         (main): Revert last change.
46950         (handle_file): Return zero if GNU_STACK is absent and
46951         DEFAULT_STACK_PERMS doesn't include PF_X.
46952
46953 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46954
46955         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46956         in child fails because the descriptor is already closed.
46957         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46958         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46959         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46960
46961         [BZ #12397]
46962         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46963         syscall.
46964
46965         [BZ #10484]
46966         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46967         temporary buffer used to handle multi lookups locally.
46968         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46969
46970 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46971
46972         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46973         loader is ld.so.
46974
46975 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46976
46977         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46978         alignment for SSE2.
46979
46980 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46981
46982         [BZ #12394]
46983         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46984         characters.  When rounding increased number of integer digits recompute
46985         number of groups.
46986         * stdio-common/tst-grouping.c: New file.
46987         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46988
46989 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46990
46991         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46992         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46993
46994         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46995         void.
46996         * bits/select.h: Likewise.
46997
46998 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46999
47000         * po/ja.po: Update from translation team.
47001
47002 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47003
47004         [BZ #11155]
47005         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47006         implementation just like for lxstat, fxstatat, et al.
47007
47008 2010-12-27  Jim Meyering  <meyering@redhat.com>
47009
47010         [BZ #12348]
47011         * posix/regexec.c (build_trtable): Return failure indication upon
47012         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47013
47014 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47015
47016         [BZ #12201]
47017         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47018         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47019         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47020         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47021
47022         [BZ #12207]
47023         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47024
47025         [BZ #12204]
47026         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47027         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47028
47029 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47030
47031         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47032         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47033         script has SORT_BY_INIT_PRIORITY.
47034         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47035         NO_CTORS_DTORS_SECTIONS is defined.
47036         * elf/soinit.c: Likewise.
47037         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47038         NO_CTORS_DTORS_SECTIONS is defined.
47039         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47040         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47041         * sysdeps/sh/init-first.c: Likewise.
47042         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47043
47044 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47045
47046         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47047         always use the slow path.
47048
47049 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47050
47051         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47052         similar rule which adds the sysdep directories to the header search in
47053         order to pick up the correct platform stackinfo.h.
47054         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47055         perform test if it is, otherwise return successfully without testing.
47056         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47057         DEFAULT_STACK_PERMS define in stackinfo.h.
47058         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47059         defined in stackinfo.h.
47060         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47061         DEFAULT_STACK_PERMS defined in stackinfo.h.
47062         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47063         * sysdeps/ia64/stackinfo.h: Likewise.
47064         * sysdeps/s390/stackinfo.h: Likewise.
47065         * sysdeps/sh/stackinfo.h: Likewise.
47066         * sysdeps/sparc/stackinfo.h: Likewise.
47067         * sysdeps/x86_64/stackinfo.h: Likewise.
47068         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47069         PF_X for powerpc64.  Retain PF_X for powerpc32.
47070
47071 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47072
47073         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47074         accurately.
47075         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47076         GETDENTS_64BIT_ALIGNED.
47077
47078 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47079
47080         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47081
47082 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47083
47084         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47085         _GNU_SOURCE.
47086
47087         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47088         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47089         Remove __restrict.
47090         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47091         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47092
47093 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47094
47095         [BZ #11655]
47096         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47097         are initialized.
47098
47099 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47100
47101         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47102
47103 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47104
47105         * po/it.po: Update from translation team.
47106
47107 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47108
47109         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47110         unused codes.
47111
47112 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47113
47114         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47115
47116 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47117
47118         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47119         specially.
47120         (gaih_getanswer_slice): Likewise.
47121
47122 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47123
47124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47125
47126 2010-05-31  Petr Baudis  <pasky@suse.cz>
47127
47128         [BZ #11149]
47129         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47130         silently even in the chroot mode.
47131
47132 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47133
47134         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47135         last patch a bit.  Pretty printing
47136
47137 2010-05-31  Petr Baudis <pasky@suse.cz>
47138
47139         [BZ #10085]
47140         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47141         initialization of skip_initgroups_dyn.
47142
47143 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47144
47145         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47146         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47147
47148 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47149
47150         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47151
47152 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47153
47154         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47155         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47156         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47157         ($(objpfx)tst-fnmatch-mem): New rule.
47158         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47159         * posix/tst-fnmatch.c (main): Call mtrace.
47160
47161 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47162
47163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47164         Support Intel processor model 6 and model 0x2c.
47165
47166 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47167
47168         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47169           signed comparison.
47170
47171 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47172
47173         [BZ #12205]
47174         * string/test-strncasecmp.c (check_result): New function.
47175         (do_one_test): Use it.
47176         (check1): New function.
47177         (test_main): Use it.
47178         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47179         Support strcasecmp and strncasecmp.
47180
47181 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47182
47183         [BZ #12194]
47184         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47185         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47186
47187 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47188
47189         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47190         IFUNC support.
47191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47192         memset-x86-64.
47193         * sysdeps/x86_64/multiarch/bzero.S: New file.
47194         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47195         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47196         * sysdeps/x86_64/multiarch/memset.S: New file.
47197         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47199         Set bit_Prefer_SSE_for_memop for Intel processors.
47200         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47201         Define.
47202         (index_Prefer_SSE_for_memop): Define.
47203         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47204
47205 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47206
47207         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47208         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47209
47210 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47211
47212         [BZ #12191]
47213         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47214         (__x86_64_raw_data_cache_size_half): Likewise.
47215         (__x86_64_raw_shared_cache_size): Likewise.
47216         (__x86_64_raw_shared_cache_size_half): Likewise.
47217
47218         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47219         (__x86_64_raw_data_cache_size_half): Likewise.
47220         (__x86_64_raw_shared_cache_size): Likewise.
47221         (__x86_64_raw_shared_cache_size_half): Likewise.
47222         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47223         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47224         and __x86_64_raw_shared_cache_size_half.  Round
47225         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47226         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47227         to multiple of 256 bytes.
47228
47229 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47230
47231         [BZ #12167]
47232         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47233         of inacessible symlinks.  Verify result of symlink before returning it.
47234         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47235         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47236
47237 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47238
47239         * math/math.h (isinf): Fix typo in comment.
47240
47241 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47242
47243         * po/da.po: Update from translation team.
47244
47245 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47246
47247         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47248         is added to the list.
47249
47250 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47251             Ulrich Drepper  <drepper@gmail.com>
47252
47253         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47254         the global list here.  Move code to...
47255         (_dl_add_to_namespace_list): ...here.  New function.
47256         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47257         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47258         * elf/dl-load.c (lose): Don't remove the element from the list.
47259         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47260         (_dl_map_object): Likewise.
47261
47262 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47263
47264         [BZ #12159]
47265         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47266         into all bytes of SSE register.
47267         Patch by Richard Li <richardpku@gmail.com>.
47268
47269 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47270
47271         [BZ #12140]
47272         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47273         perturbing.
47274
47275 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47276
47277         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47278         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47279         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47280         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47282         submachine.
47283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47284
47285 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47286
47287         * include/dlfcn.h (__RTLD_SECURE): Define.
47288         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47289         mode & __RTLD_SECURE instead.
47290         (open_path): Rename preloaded parameter to secure.
47291         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47292         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47293         * elf/dl-deps.c (openaux): Likewise.
47294         * elf/rtld.c (struct map_args): Remove is_preloaded.
47295         (map_doit): Don't use it.
47296         (dl_main): Likewise.
47297         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47298         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47299
47300 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47301
47302         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47303         (sysd-rules-targets): Remove duplicates.
47304         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47305         rtld-%.$o dependency.
47306
47307 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47308
47309         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47310         _dl_map_object do it.
47311
47312 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47313
47314         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47315         fast fma builtins, define the macros in the C99 standard.
47316         (FP_FAST_FMAF): Likewise.
47317         (FP_FAST_FMAL): Likewise.
47318         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47319
47320         * bits/mathdef.h: Update copyright year.
47321         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47322
47323 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47324
47325         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47326         builtins, define the macros in the C99 standard.
47327         (FP_FAST_FMAF): Likewise.
47328         (FP_FAST_FMAL): Likewise.
47329         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47330         multiply/add.
47331         (FP_FAST_FMAF): Likewise.
47332
47333 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47334
47335         [BZ #3268]
47336         * math/libm-test.inc (fma_test): Some new testcases.
47337         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47339         y and infinite z.  Do multiplication by C already in long double.
47340         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47341         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47342         y and infinite z.  Do bitwise or of inexact bit into u.d.
47343         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47344         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47345         * sysdeps/i386/fpu/s_fma.S: Removed.
47346         * sysdeps/i386/fpu/s_fmal.S: Removed.
47347
47348 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47349
47350         [BZ #3268]
47351         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47353         computation is not scheduled after fetestexcept.  Fix value
47354         of minimum denormal long double.
47355
47356 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47357
47358         [BZ #3268]
47359         * math/libm-test.inc (fma_test): Add some more tests.
47360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47361         correctly.
47362
47363 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47364
47365         * scripts/data/localplt-s390-linux-gnu.data: New file.
47366         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47367
47368 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47369
47370         [BZ #3268]
47371         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47372         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47373         instead of dbl-64.
47374         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47375         inlines.
47376         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47378         if one of x and y is very large and the other is subnormal.
47379         * sysdeps/s390/fpu/s_fmaf.c: New file.
47380         * sysdeps/s390/fpu/s_fma.c: New file.
47381         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47382         * sysdeps/powerpc/fpu/s_fma.S: New file.
47383         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47384         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47385         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47386
47387 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47388
47389         [BZ #3268]
47390         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47391         fma tests.
47392         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47393         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47394         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47395         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47396         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47397         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47398         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47399
47400 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47401
47402         [BZ #12078]
47403         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47404         * posix/bug-regex31.input: Add test case.
47405
47406 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47407
47408         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47409         * posix/bug-regex31.input: New file.
47410
47411         [BZ #12078]
47412         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47413         (parse_sub_exp): Fix last change, use postorder.
47414
47415         * posix/bug-regex31.c: New file.
47416         * posix/Makefile: Add rules to build and run bug-regex31.
47417
47418         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47419
47420         [BZ #12078]
47421         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47422
47423         [BZ #12108]
47424         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47425         to have entries in sys_siglist.
47426
47427         [BZ #12093]
47428         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47429         be NULL.
47430
47431 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47432
47433         [BZ #3268]
47434         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47435         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47436         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47437         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47438         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47439         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47440         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47441         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47442         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47443         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47444         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47445         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47446         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47447         * math/ftestexcept.c (fetestexcept): Likewise.
47448         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47449         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47450         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47451         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47452         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47453         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47454         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47455
47456 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47457
47458         [BZ #12107]
47459         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47460         newline.
47461
47462 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47463
47464         * string/bug-strstr1.c: New file.
47465         * string/Makefile: Add rules to build and run bug-strstr1.
47466
47467 2010-10-05  Eric Blake  <eblake@redhat.com>
47468
47469         [BZ #12092]
47470         * string/str-two-way.h (two_way_long_needle): Always clear memory
47471         when skipping input due to the shift table.
47472
47473 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47474
47475         [BZ #12005]
47476         * malloc/mcheck.c: Handle large requests.
47477
47478         [BZ #12077]
47479         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47480         for strncmp and strncasecmp.
47481         * string/stratcliff.c: Add tests for strcmp and strncmp.
47482         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47483
47484 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47485
47486         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47487         __set_fpscr.
47488
47489 2010-09-30  Andreas Jaeger  <aj@suse.de>
47490
47491         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47492         (CGROUP_SUPER_MAGIC): Define.
47493         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47494         Handle btrfs and cgroup file systems.
47495         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47496         Likewise.
47497
47498 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47499
47500         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47501         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47502
47503 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47504
47505         [BZ #12067]
47506         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47507         trying to locate the ELF header.
47508
47509 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47510
47511         [BZ #11611]
47512         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47513         Mask out sign-bit copies when constructing f_fsid.
47514
47515 2010-09-24  Petr Baudis <pasky@suse.cz>
47516
47517         * debug/stack_chk_fail_local.c: Add missing licence exception.
47518         * debug/warning-nop.c: Likewise.
47519
47520 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47521
47522         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47523         implementing getdents64 using getdents syscall, set d_type if
47524         __ASSUME_GETDENTS32_D_TYPE.
47525
47526 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47527
47528         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47529         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47530
47531 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47532
47533         [BZ #12037]
47534         * posix/unistd.h: Undo change of feature selection for ftruncate from
47535         2010-01-11.
47536
47537 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47538
47539         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47540         detection.
47541
47542 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47543
47544         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47545         fanotify_mark.
47546         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47547
47548 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47549
47550         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47551         variables after CHECK_SP call.
47552         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47553
47554 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47555             Ulrich Drepper  <drepper@redhat.com>
47556
47557         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47558         re-relocationg ld.so.
47559         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47560         _dl_init_paths call.
47561         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47562         here anymore.
47563
47564 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47565
47566         * resolv/res_init.c (__res_vinit): Count the default server we added.
47567
47568 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47569             Ulrich Drepper  <drepper@redhat.com>
47570
47571         [BZ #11968]
47572         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47573         (____longjmp_chk): Use %ebx for saving value across system call.
47574         Add unwind info.
47575
47576 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47577
47578         * manual/Makefile: Don't mix pattern rules with normal rules.
47579
47580 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47581
47582         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47583         operation.
47584         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47585         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47586         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47587         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47589         Likewise.
47590
47591 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47592
47593         [BZ #11979]
47594         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47595         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47596
47597 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47598
47599         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47600         * sysdeps/x86_64/addmul_1.S: Likewise.
47601         * sysdeps/x86_64/lshift.S: Likewise.
47602         * sysdeps/x86_64/mul_1.S: Likewise.
47603         * sysdeps/x86_64/rshift.S: Likewise.
47604         * sysdeps/x86_64/sub_n.S: Likewise.
47605         * sysdeps/x86_64/submul_1.S: Likewise.
47606
47607 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47608
47609         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47610         Define __sched_param instead of SCHED_* and sched_param when
47611         <bits/sched.h> is included with __need_schedparam defined.
47612         * bits/sched.h [__need_schedparam]
47613         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47614         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47615         (__defined_schedparam): Define to 1.
47616         (__sched_param): New structure, identical to sched_param.
47617         (__need_schedparam): Undefine.
47618
47619 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47620
47621         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47622         (epoll_create1): Declare.
47623
47624         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47625
47626 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47627
47628         [BZ #7066]
47629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47630         shifting retval into place.
47631
47632 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47633
47634         * nis/rpcsvc/nis.h: Update copyright notice.
47635         * nis/rpcsvc/nis.x: Likewise.
47636         * nis/rpcsvc/nis_callback.h: Likewise.
47637         * nis/rpcsvc/nis_callback.x: Likewise.
47638         * nis/rpcsvc/nis_object.x: Likewise.
47639         * nis/rpcsvc/nis_tags.h: Likewise.
47640         * nis/rpcsvc/yp.h: Likewise.
47641         * nis/rpcsvc/yp.x: Likewise.
47642         * nis/rpcsvc/ypupd.h: Likewise.
47643         * nis/yp_xdr.c: Likewise.
47644         * nis/ypupdate_xdr.c: Likewise.
47645
47646         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47647         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47648         (pmap_getport): Use __libc_rpc_getport.
47649         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47650         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47651         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47652
47653 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47654
47655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47656         fanotify_mark.
47657
47658 2010-08-27  Roland McGrath  <roland@redhat.com>
47659
47660         * sysdeps/i386/i686/multiarch/Makefile
47661         (CFLAGS-varshift.c): New variable.
47662
47663 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47664
47665         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47666         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47667
47668         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47669
47670         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47671
47672 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47673
47674         * sysdeps/x86_64/strlen.S: Unroll the loop.
47675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47676         strlen-sse2 strlen-sse2-bsf.
47677         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47678         __strlen_no_bsf if bit_Slow_BSF is set.
47679         (__strlen_sse42): Removed.
47680         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47681         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47682
47683 2010-08-25  Roland McGrath  <roland@redhat.com>
47684
47685         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47686         * sysdeps/x86_64/multiarch/varshift.c: New file.
47687         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47688         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47689         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47690         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47691
47692 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47693
47694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47695         strlen-sse2 strlen-sse2-bsf.
47696         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47697         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47698         (__strlen_sse2): Removed.
47699         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47700         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47702         bit_Slow_BSF for Atom.
47703         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47704         (index_Slow_BSF): Define.
47705         (HAS_SLOW_BSF): Define.
47706
47707 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47708
47709         [BZ #10851]
47710         * resolv/res_init.c (__res_vinit): When no server address at all
47711         is given default to loopback.
47712
47713 2010-08-24  Roland McGrath  <roland@redhat.com>
47714
47715         * configure.in: Remove config-name.h generation.
47716         * configure: Regenerated.
47717         * config-name.in: File removed.
47718         * scripts/config-uname.sh: New file.
47719         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47720         ($(objdir)config-name.h): New target.
47721
47722         * sunrpc/rpc_parse.h: Avoid nested comment.
47723
47724 2010-08-24  Richard Henderson  <rth@redhat.com>
47725             Ulrich Drepper  <drepper@redhat.com>
47726             H.J. Lu  <hongjiu.lu@intel.com>
47727
47728         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47730         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47731         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47732         _mm_alignr_epi8 with _mm_loadu_si128.
47733         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47734         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47735         (__m128i_shift_right): Removed.
47736         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47737         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47738         * sysdeps/x86_64/multiarch/varshift.h: New file.
47739         * sysdeps/x86_64/multiarch/varshift.S: New file.
47740
47741 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47742
47743         * configure.in: Move assembler checks to before sysdep dir checking.
47744
47745 2010-08-20  Petr Baudis  <pasky@suse.cz>
47746
47747         * LICENSES: Sync the sunrpc license.
47748
47749 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47750
47751         * sunrpc/auth_des.c: Update copyright notice once again.
47752         * sunrpc/auth_none.c: Likewise.
47753         * sunrpc/auth_unix.c: Likewise.
47754         * sunrpc/authdes_prot.c: Likewise.
47755         * sunrpc/authuxprot.c: Likewise.
47756         * sunrpc/bindrsvprt.c: Likewise.
47757         * sunrpc/clnt_gen.c: Likewise.
47758         * sunrpc/clnt_perr.c: Likewise.
47759         * sunrpc/clnt_raw.c: Likewise.
47760         * sunrpc/clnt_simp.c: Likewise.
47761         * sunrpc/clnt_tcp.c: Likewise.
47762         * sunrpc/clnt_udp.c: Likewise.
47763         * sunrpc/clnt_unix.c: Likewise.
47764         * sunrpc/des_crypt.c: Likewise.
47765         * sunrpc/des_soft.c: Likewise.
47766         * sunrpc/get_myaddr.c: Likewise.
47767         * sunrpc/getrpcport.c: Likewise.
47768         * sunrpc/key_call.c: Likewise.
47769         * sunrpc/key_prot.c: Likewise.
47770         * sunrpc/openchild.c: Likewise.
47771         * sunrpc/pm_getmaps.c: Likewise.
47772         * sunrpc/pm_getport.c: Likewise.
47773         * sunrpc/pmap_clnt.c: Likewise.
47774         * sunrpc/pmap_prot.c: Likewise.
47775         * sunrpc/pmap_prot2.c: Likewise.
47776         * sunrpc/pmap_rmt.c: Likewise.
47777         * sunrpc/rpc/auth.h: Likewise.
47778         * sunrpc/rpc/auth_unix.h: Likewise.
47779         * sunrpc/rpc/clnt.h: Likewise.
47780         * sunrpc/rpc/des_crypt.h: Likewise.
47781         * sunrpc/rpc/key_prot.h: Likewise.
47782         * sunrpc/rpc/netdb.h: Likewise.
47783         * sunrpc/rpc/pmap_clnt.h: Likewise.
47784         * sunrpc/rpc/pmap_prot.h: Likewise.
47785         * sunrpc/rpc/pmap_rmt.h: Likewise.
47786         * sunrpc/rpc/rpc.h: Likewise.
47787         * sunrpc/rpc/rpc_des.h: Likewise.
47788         * sunrpc/rpc/rpc_msg.h: Likewise.
47789         * sunrpc/rpc/svc.h: Likewise.
47790         * sunrpc/rpc/svc_auth.h: Likewise.
47791         * sunrpc/rpc/types.h: Likewise.
47792         * sunrpc/rpc/xdr.h: Likewise.
47793         * sunrpc/rpc_clntout.c: Likewise.
47794         * sunrpc/rpc_cmsg.c: Likewise.
47795         * sunrpc/rpc_common.c: Likewise.
47796         * sunrpc/rpc_cout.c: Likewise.
47797         * sunrpc/rpc_dtable.c: Likewise.
47798         * sunrpc/rpc_hout.c: Likewise.
47799         * sunrpc/rpc_main.c: Likewise.
47800         * sunrpc/rpc_parse.c: Likewise.
47801         * sunrpc/rpc_parse.h: Likewise.
47802         * sunrpc/rpc_prot.c: Likewise.
47803         * sunrpc/rpc_sample.c: Likewise.
47804         * sunrpc/rpc_scan.c: Likewise.
47805         * sunrpc/rpc_scan.h: Likewise.
47806         * sunrpc/rpc_svcout.c: Likewise.
47807         * sunrpc/rpc_tblout.c: Likewise.
47808         * sunrpc/rpc_util.c: Likewise.
47809         * sunrpc/rpc_util.h: Likewise.
47810         * sunrpc/rpcinfo.c: Likewise.
47811         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47812         * sunrpc/rpcsvc/key_prot.x: Likewise.
47813         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47814         * sunrpc/rpcsvc/mount.x: Likewise.
47815         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47816         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47817         * sunrpc/rpcsvc/rex.x: Likewise.
47818         * sunrpc/rpcsvc/rstat.x: Likewise.
47819         * sunrpc/rpcsvc/rusers.x: Likewise.
47820         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47821         * sunrpc/rpcsvc/spray.x: Likewise.
47822         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47823         * sunrpc/rtime.c: Likewise.
47824         * sunrpc/svc.c: Likewise.
47825         * sunrpc/svc_auth.c: Likewise.
47826         * sunrpc/svc_authux.c: Likewise.
47827         * sunrpc/svc_raw.c: Likewise.
47828         * sunrpc/svc_run.c: Likewise.
47829         * sunrpc/svc_simple.c: Likewise.
47830         * sunrpc/svc_tcp.c: Likewise.
47831         * sunrpc/svc_udp.c: Likewise.
47832         * sunrpc/svc_unix.c: Likewise.
47833         * sunrpc/svcauth_des.c: Likewise.
47834         * sunrpc/xcrypt.c: Likewise.
47835         * sunrpc/xdr.c: Likewise.
47836         * sunrpc/xdr_array.c: Likewise.
47837         * sunrpc/xdr_float.c: Likewise.
47838         * sunrpc/xdr_mem.c: Likewise.
47839         * sunrpc/xdr_rec.c: Likewise.
47840         * sunrpc/xdr_ref.c: Likewise.
47841         * sunrpc/xdr_sizeof.c: Likewise.
47842         * sunrpc/xdr_stdio.c: Likewise.
47843
47844         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47845         handling.
47846
47847 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47848
47849         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47850
47851 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47852
47853         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47854         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47855         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47856         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47857         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47858         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47859         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47860         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47861         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47862         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47863         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47864         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47865         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47866         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47867
47868 2010-07-26  Anton Blanchard  <anton@samba.org>
47869
47870         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47871         * malloc/arena.c (heap_trim): Likewise.
47872
47873 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47874
47875         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47876         here.  Not...
47877         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47878         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47879
47880 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47881
47882         * sysdeps/i386/elf/Makefile: New file.
47883
47884 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47885
47886         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47887         from fanotify_init.
47888         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47889         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47890
47891 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47892
47893         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47894         of strncasecmp_l.
47895         * sysdeps/multiarch/strcmp.S: Likewise.
47896
47897 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47898
47899         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47900         strncase_l-nonascii.
47901         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47902         Add strncase_l-ssse3.
47903         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47904         * sysdeps/x86_64/strcmp.S: Likewise.
47905         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47906         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47907         * sysdeps/x86_64/strncase.S: New file.
47908         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47909         * sysdeps/x86_64/strncase_l.S: New file.
47910         * string/Makefile (strop-tests): Add strncasecmp.
47911         * string/test-strncasecmp.c: New file.
47912
47913         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47914         warning.
47915
47916         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47917         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47918
47919 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47920
47921         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47922
47923 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47924
47925         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47926         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47927         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47928
47929 2010-05-01  Alan Modra  <amodra@gmail.com>
47930
47931         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47932         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47933         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47934         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47935         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47936         tidying.  Don't tail-call __sigjmp_save for static lib.
47937         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47938         save location.
47939         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47940         (CALL_MCOUNT): Add eh info, and nop after bl.
47941         (TAIL_CALL_SYSCALL_ERROR): New macro.
47942         (PSEUDO_RET): Use it.
47943         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47944         Correct save location of integer regs and cr.
47945         (_dl_profile_resolve): Correct cr save location.  Delete nops
47946         after bl when SHARED.  Reduce cfi size a little by better
47947         placement of cfi directives.
47948         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47949         make a stack frame.  Instead use parm save area as a temp.
47950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47951         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47953         Don't make a stack frame for parent, use parm save area.
47954         Increase child stack frame to 112 bytes.  Don't save unused reg,
47955         and adjust reg usage.  Set up cfi on error recovery and
47956         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47958         (__makecontext): Add dummy nop after jump to exit.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47960         Use correct parm save area and cr save, reduce stack frame.
47961         Correct cfi for possible PSEUDO_RET frame setup.
47962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47963         Branch to local label emitted by PSEUDO_RET rather than
47964         __syscall_error.
47965
47966 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47967
47968         [BZ #11904]
47969         * locale/programs/locale.c (print_assignment): New function.
47970         (show_locale_vars): Use it.
47971
47972 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47973
47974         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47975         field.
47976         (struct statfs64): Likewise.
47977         (_STATFS_F_FLAGS): Define.
47978         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47979         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47980         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47981         (ST_VALID): Define locally.
47982         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47983         __statvfs_getflags, use the provided value.
47984         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47985         __ASSUME_STATFS_F_FLAGS.
47986
47987         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47988
47989         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47990         Add sys/fanotify.h.
47991         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47992         fanotify_mask for GLIBC_2.13.
47993         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47994         fanotify_init and fanotify_mark.
47995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47996         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47997
47998         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47999         Add prlimit.
48000         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48001         prlimit64 for GLIBC_2.13.
48002         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48003         prlimit64.
48004         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48005         syscall.
48006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48007         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48008         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48009         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48011         add prlimit alias.
48012         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48013
48014         [BZ #11903]
48015         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48016         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48017
48018         * nss/Makefile: Add rules to build and run tst-nss-test1.
48019         * shlib-versions: Add entry for libnss_test1.
48020         * nss/nss_test1.c: New file.
48021         * nss/tst-nss-test1.c: New file.
48022
48023         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48024         (__nss_configure_lookup): Set appropriate entry in
48025         __nss_configure_lookup to true.
48026         * nss/nsswitch.h: Define enum with indeces of databases in
48027         databases and __nss_database_custom arrays.  Declare
48028         __nss_database_custom.
48029         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48030         to avoid using nscd when custom rules are installed.
48031         * nss/getXXbyYY_r.c: Likewise.
48032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48033
48034         * nss/nss_files/files-parse.c: Whitespace fixes.
48035
48036 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48037
48038         [BZ #11883]
48039         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48040         * posix/fnmatch_loop.c: Likewise.
48041
48042 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48043
48044         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48045         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48046         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48047         * Versions.def [GLIBC_2.13]: Add.
48048
48049 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48050
48051         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48052         Also fail if tpwd after pwuid call is NULL.
48053
48054 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48055
48056         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48057         when converting to ms.
48058
48059 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48060
48061         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48062         EOPNOTSUPP errors with ENOTTY.
48063         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48064         EOPNOTSUPP errors with ENOTTY.
48065
48066 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48067
48068         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48069         Add strcasecmp_l-ssse3.
48070         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48071         strcasecmp.
48072         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48073         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48074         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48075
48076 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48077
48078         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48079
48080         * string/Makefile (strop-tests): Add strcasecmp.
48081         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48082         strcasecmp_l-nonascii.
48083         (gen-as-const-headers): Add locale-defines.sym.
48084         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48085         * sysdeps/x86_64/strcasecmp.S: New file.
48086         * sysdeps/x86_64/strcasecmp_l.S: New file.
48087         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48088         * sysdeps/x86_64/locale-defines.sym: New file.
48089         * string/test-strcasecmp.c: New file.
48090
48091         * string/test-strcasestr.c: Test both ends of the range of characters.
48092         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48093
48094 2010-07-29  Roland McGrath  <roland@redhat.com>
48095
48096         [BZ #11856]
48097         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48098
48099 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48100
48101         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48102         for ld.so.
48103
48104 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48105
48106         * manual/memory.texi (Malloc Tunable Parameters): Document
48107         M_PERTURB.
48108
48109 2010-07-26  Roland McGrath  <roland@redhat.com>
48110
48111         [BZ #11840]
48112         * configure.in (-fgnu89-inline check): Set and substitute
48113         gnu89_inline, not libc_cv_gnu89_inline.
48114         * configure: Regenerated.
48115         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48116
48117 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48118
48119         * string/test-strnlen.c: New file.
48120         * string/Makefile (strop-tests): Add strnlen.
48121         * string/tester.c (test_strnlen): Add a few more test cases.
48122         * string/tst-strlen.c: Better error reporting.
48123
48124         * sysdeps/x86_64/strnlen.S: New file.
48125
48126 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48127
48128         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48129         lower-latency instructions.
48130
48131 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48132
48133         * string/test-strcasestr.c: New file.
48134         * string/test-strstr.c: New file.
48135         * string/Makefile (strop-tests): Add strstr and strcasestr.
48136         * string/str-two-way.h: Don't undefine MAX.
48137         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48138
48139 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48140
48141         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48142         strcasestr-nonascii.
48143         (CFLAGS-strcasestr-nonascii.c): Define.
48144         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48145         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48146         Remove unused attribute.
48147
48148 2010-07-20  Roland McGrath  <roland@redhat.com>
48149
48150         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48151         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48152         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48153         like LD_HWCAP_MASK can disable hwcaps.
48154
48155 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48156
48157         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48158
48159 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48160
48161         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48162         call in strcasestr.
48163         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48164         __strcasestr_sse42_nonascii.
48165         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48166         strcasestr-nonascii.c.
48167         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48168
48169 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48170
48171         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48172         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48173         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48174         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48175
48176 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48177
48178         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48179         fcntl.
48180
48181 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48182
48183         [BZ #11577]
48184         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48185         dl_signal_cerror.
48186
48187 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48188
48189         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48190         _PC_PIPE_BUF using F_GETPIPE_SZ.
48191
48192 2010-07-05  Roland McGrath  <roland@redhat.com>
48193
48194         * manual/arith.texi (Rounding Functions): Fix rint description
48195         implicit in round description.
48196
48197 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48198
48199         * elf/Makefile: Fix linking for a few tests to make recent linker
48200         happy.
48201
48202 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48203
48204         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48205         $(common-objpfx)libc_nonshared.a.
48206
48207 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48208
48209         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48210         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48211         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48212         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48213         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48214         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48215         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48216         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48231         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48232         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48233         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48234         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48235         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48236         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48237         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48238         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48239         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48240         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48241         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48242         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48257
48258 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48259
48260         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48261         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48262         * string/memmove.c (memmove): Renamed to ...
48263         (MEMMOVE): ...this.  Default to memmove.
48264         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48265         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48266         (END_CHK): Define.
48267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48268         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48269         mempcpy-ssse3-back memmove-ssse3-back.
48270         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48271         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48272         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48273         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48274         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48275         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48276         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48277         * sysdeps/x86_64/multiarch/memmove.c: New file.
48278         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48279         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48280         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48281         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48282         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48283         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48284         Define.
48285         (index_Fast_Copy_Backward): Define.
48286         (HAS_ARCH_FEATURE): Define.
48287         (HAS_FAST_REP_STRING): Define.
48288         (HAS_FAST_COPY_BACKWARD): Define.
48289
48290 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48291
48292         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48293         Restore proper fallback handling.
48294
48295 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48296
48297         [BZ #11701]
48298         * posix/group_member.c (__group_member): Correct checking loop.
48299
48300         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48301         OOM in getpwuid_r correctly.  Return error number when the caller
48302         should return, otherwise -1.
48303         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48304         call returning > 0 value.
48305         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48306
48307 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48308
48309         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48310         libc_nonshared.a from targets in modules-names.
48311
48312 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48313
48314         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48315         requires it.
48316
48317 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48318
48319         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48320         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48321         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48323
48324 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48325
48326         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48327
48328 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48329
48330         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48331         and F_GETPIPE_SZ.
48332         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48333         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48336         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48337         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48338
48339 2010-06-14  Roland McGrath  <roland@redhat.com>
48340
48341         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48342
48343 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48344
48345         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48346         __REDIRECT followed by __THROW.
48347         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48348         * posix/getopt.h (getopt): Likewise.
48349
48350 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48351
48352         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48353         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48354         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48355         in AT_FLAGS.
48356         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48357         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48358
48359 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48360
48361         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48362
48363 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48364
48365         [BZ #11640]
48366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48367         Properly check family and model.
48368
48369 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48370
48371         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48372
48373 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48374
48375         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48376
48377 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48378
48379         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48380         symbol reference.
48381
48382 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48383
48384         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48385         symbol reference.
48386
48387 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48388
48389         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48390         and internal_recvmmsg.
48391         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48392         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48393         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48394         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48395
48396         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48397         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48398         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48399
48400 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48401
48402         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48403
48404 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48405
48406         POWER7 optimizations.
48407         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48408         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48409
48410 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48411
48412         * version.h: Update for 2.13 development version.
48413
48414 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48415
48416         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48417         exceptions.  Return 0.
48418
48419 2010-05-07  Roland McGrath  <roland@redhat.com>
48420
48421         * elf/ldconfig.c (main): Add a const.
48422
48423 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48424
48425         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48426         (args_options): Add no-idn option.
48427         (ahosts_keys_int): Add idn_flags to ai_flags.
48428         (parse_option): Handle 'i' option to clear idn_flags.
48429
48430         * malloc/malloc.c (_int_free): Possible race in the most recently
48431         added check.  Only act on the data if no current modification
48432         happened.
48433
48434 See ChangeLog.17 for earlier changes.