619e43445435650655661636e889a158ddb1c10c
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-01  Roland McGrath <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5
6         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8
9         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11         ... here.
12         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14
15         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
19
20         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
21         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25         Moved ...
26         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27         ... here.
28         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
38         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48         ... here.
49         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
50         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
51         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
52         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
53         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
54         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
55         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
56         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
57
58 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
59
60         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
61         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
62         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
63         Add sysdep.
64
65 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66
67         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68
69 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
70
71         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
72         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
73
74         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
75
76         * sysdeps/arm/libm-test-ulps: Regenerated.
77
78 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
79             Roland McGrath <roland@hack.frob.com>
80
81         * test-skeleton.c (signal_handler): Kill the whole process group
82         before killing the child individually.
83         (main): Report any failure on `setpgid'.
84
85 2014-06-30  Roland McGrath  <roland@hack.frob.com>
86
87         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
88         from _TLS_H to _ARM_NPTL_TLS_H.
89         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
90         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
91
92 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
93
94         [BZ #16539]
95         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
96         (__expm1l): Return argument unchanged when small but not
97         subnormal.
98
99         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
100         include macro name.
101         (_FP_UNPACK_RAW_1_P): Likewise.
102         (_FP_PACK_RAW_1): Likewise.
103         (_FP_PACK_RAW_1_P): Likewise.
104         (_FP_MUL_MEAT_1_wide): Likewise.
105         (_FP_MUL_MEAT_DW_1_hard): Likewise.
106         (_FP_MUL_MEAT_1_hard): Likewise.
107         (_FP_DIV_MEAT_1_imm): Likewise.
108         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
109         (_FP_DIV_MEAT_1_udiv): Likewise.
110         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
111         (_FP_UNPACK_RAW_2): Likewise.
112         (_FP_UNPACK_RAW_2_P): Likewise.
113         (_FP_PACK_RAW_2): Likewise.
114         (_FP_PACK_RAW_2_P): Likewise.
115         (_FP_MUL_MEAT_DW_2_wide): Likewise.
116         (_FP_MUL_MEAT_2_wide): Likewise.
117         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
118         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
119         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
120         (_FP_MUL_MEAT_2_gmp): Likewise.
121         (_FP_DIV_MEAT_2_udiv): Likewise.
122         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
123         (_FP_FRAC_SRL_4): Likewise.
124         (_FP_FRAC_SRST_4): Likewise.
125         (_FP_FRAC_SRS_4): Likewise.
126         (_FP_UNPACK_RAW_4): Likewise.
127         (_FP_UNPACK_RAW_4_P): Likewise.
128         (_FP_PACK_RAW_4): Likewise.
129         (_FP_PACK_RAW_4_P): Likewise.
130         (_FP_MUL_MEAT_DW_4_wide): Likewise.
131         (_FP_MUL_MEAT_4_wide): Likewise.
132         (_FP_MUL_MEAT_4_gmp): Likewise.
133         (umul_ppppmnnn): Likewise.
134         (_FP_DIV_MEAT_4_udiv): Likewise.
135         (__FP_FRAC_ADD_4): Likewise.
136         (__FP_FRAC_SUB_3): Likewise.
137         (__FP_FRAC_SUB_4): Likewise.
138         (__FP_FRAC_DEC_3): Likewise.
139         (__FP_FRAC_DEC_4): Likewise.
140         (__FP_FRAC_ADDI_4): Likewise.
141         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
142         (_FP_FRAC_SRL_8): Likewise.
143         (_FP_FRAC_SRS_8): Likewise.
144
145         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
146         include macro name.
147         (FP_UNPACK_RAW_EP): Likewise.
148         (FP_PACK_RAW_E): Likewise.
149         (FP_PACK_RAW_EP): Likewise.
150         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
151         (_FP_ISSIGNAN): Likewise.
152         (_FP_ADD_INTERNAL): Likewise.
153         (_FP_FMA): Likewise.
154         (_FP_CMP): Likewise.
155         (_FP_SQRT): Likewise.
156         (_FP_TO_INT): Likewise.
157         (_FP_FROM_INT): Likewise.
158         (FP_EXTEND): Likewise.
159         (_FP_DIV_MEAT_N_loop): Likewise.
160
161 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
162
163         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
164         throughout.
165
166 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
167
168         [BZ #17097]
169         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
170         result with correct sign in case of exponents that produce
171         overflow except for X very close to 1.
172
173 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
174
175         mktime: merge #if/#ifdef usage from glibc
176         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
177         as that works with both Glibc's and Gnulib's style.
178         See thread starting at Siddhesh Poyarekar's bug report at:
179         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
180
181 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
182
183         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
184         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
185         * sysdeps/tile/tilegx/memmove.c: Remove file.
186
187 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
188
189         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
190         abi-name definition.
191         * scripts/soversions.awk: Do not handle or generate ABI lines.
192         * shlib-versions: Remove ABI entries.
193         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
194         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
195
196 2014-06-27  Roland McGrath  <roland@hack.frob.com>
197
198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
199         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
200         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
201         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
203         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
205         Moved ...
206         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
207         ... here.
208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
209         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
211         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
213         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
215         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
217         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
219         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
221         Moved ...
222         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
224         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
225         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
226         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
228         Moved ...
229         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
231         Moved ...
232         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
234         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
236         Moved ...
237         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
239         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
241         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
243         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
245         Moved ...
246         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
248         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
249         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
250         Moved ...
251         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
253         Moved ...
254         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
256         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
258         Moved ...
259         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
260         ... here.
261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
262         Identical file removed.
263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
264         Moved ...
265         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
266         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
267         Identical file removed.
268         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
269         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
270         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
271         Moved ...
272         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
273         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
274         Identical file removed.
275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
276         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
278         Identical file removed.
279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
280         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
282         Identical file removed.
283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
284         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
286         Identical file removed.
287         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
288         Moved ...
289         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
291         Identical file removed.
292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
293         Moved ...
294         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
296         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
298         Identical file removed.
299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
300         Moved ...
301         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
302         ... here.
303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
304         Identical file removed.
305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
306         Moved ...
307         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
308         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
309         Identical file removed.
310         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
311         Moved ...
312         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
313         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
314         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
316         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
317         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
318         Moved ...
319         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
320         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
321         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
322
323         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
324         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
325         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
326         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
327         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
328
329 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
330
331         [BZ #17092]
332         * nscd/nscd.c (monitor_child): Return exit status of child
333         instead of return value from wait syscall.
334
335 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
336
337         * configure.ac (libc_commonpagesize): Remove variable.
338         (libc_relro_required): Likewise.
339         (libc_cv_z_relro): Remove configure test.
340         * configure: Regenerated.
341         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
342         variable.
343         (libc_relro_required): Likewise.
344         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
345         (libc_relro_required): Likewise.
346         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
347         (libc_relro_required): Likewise.
348         * sysdeps/arm/preconfigure: Regenerated.
349         * sysdeps/ia64/preconfigure: Remove file.
350         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
351         variable.
352         (libc_relro_required): Likewise.
353
354         [BZ #16561]
355         [BZ #16562]
356         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
357         (__ieee754_yn): Set FE_TONEAREST mode internally and then
358         recompute overflowing results in original rounding mode.
359         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
360         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
361         recompute overflowing results in original rounding mode.
362         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
363         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
364         recompute overflowing results in original rounding mode.
365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
366         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
367         recompute overflowing results in original rounding mode.
368         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
369         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
370         recompute overflowing results in original rounding mode.
371         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
372         (libc_feholdsetround_ctx): New macro.
373         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
374         * sysdeps/i386/fpu/libm-test-ulps: Update.
375         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
376
377 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
378
379         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
380         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
381         corresponding .cpsetup call.
382
383 2014-06-26  Roland McGrath  <roland@hack.frob.com>
384
385         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
386         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
387         * sysdeps/arm/Makefile [$(subdir) = csu]
388         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
389         (static-only-routines): Add aeabi_read_tp here.
390         (shared-only-routines): Add libc-aeabi_read_tp here.
391         (CFLAGS-libc-start.c): Add -fexceptions here.
392         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
393         (sysdep_routines, static-only-routines, shared-only-routines):
394         Don't add to these here.
395         (CFLAGS-libc-start.c): Likewise.
396
397         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
398         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
399         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
400         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
401         * sysdeps/arm/Makefile [$(subdir) = rt]
402         (librt-sysdep_routines, librt-shared-only-routines):
403         Append rt-aeabi_unwind_cpp_pr1 here.
404         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
405         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
406         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
407         (libpthread-sysdep_routines, libpthread-shared-only-routines):
408         Append nptl-aeabi_unwind_cpp_pr1 here.
409         (tests): Filter out tst-cleanupx4 here.
410         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
411         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
412         Don't do those here.
413
414 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
415
416         * scripts/list-sources.sh: Do not handle ports specially.
417
418 2014-06-26  Roland McGrath  <roland@hack.frob.com>
419
420         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
421         * sysdeps/arm/feupdateenv.c: Likewise.
422
423         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
424
425 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
426
427         * manual/texinfo.tex: Update to version 2014-05-05.10 with
428         trailing whitespace removed.
429         * scripts/config.guess: Update to version 2014-03-23.
430         * scripts/config.sub: Update to version 2014-05-01
431         * scripts/install-sh: Update to version 2013-12-25.23.
432         * scripts/move-if-change: Update from gnulib.
433
434 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
435
436         * debug/memmove_chk.c: Remove pagecopy.h include.
437
438 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
439
440         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
441         identical to gnulib mktime.
442
443 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
444
445         * configure.ac: Do not test for machine being rs6000.  Do not test
446         for powerpc*-*soft.
447         * configure: Regenerated.
448
449         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
450         test.
451         * configure: Regenerated.
452         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
453         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
454         Remove configure test.
455         * sysdeps/arm/configure: Regenerated.
456         * sysdeps/nptl/configure.ac: Do not check
457         libc_cv_asm_cfi_directives.
458         * sysdeps/nptl/configure: Regenerated.
459         * sysdeps/x86_64/nptl/configure.ac: Remove file.
460         * sysdeps/x86_64/nptl/configure: Remove generated file.
461         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
462         unconditional.
463         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
464
465 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
466
467         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
468         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
469         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
470         it is defined.
471
472         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
473         instead of whether it is defined.
474         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
475         * sysdeps/hppa/dl-machine.h: Likewise.
476         * sysdeps/ia64/dl-machine.h: Likewise.
477         * sysdeps/m68k/dl-machine.h: Likewise.
478         * sysdeps/microblaze/dl-machine.h: Likewise.
479         * sysdeps/mips/dl-machine.: Likewise.
480         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
481         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
482         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
483         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
484         * sysdeps/sh/dl-machine.h: Likewise.
485         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
486         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
487         * sysdeps/tile/dl-machine.h: Likewise.
488         * sysdeps/x86_64/dl-machine.h: Likewise.
489
490         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
491         code.
492         (verify_persistent_db): Likewise.
493
494 2014-06-26  Roland McGrath  <roland@hack.frob.com>
495
496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
497         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
499         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
501         Moved ...
502         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
503         ... here.
504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
505         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
507         Identical file removed.
508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
509         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
511         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
513         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
517         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
519         Moved ...
520         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
522         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
524         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
526         Moved ...
527         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
529         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
531         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
533         Identical file removed.
534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
535         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
537         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
539         Moved ...
540         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
541         ... here.
542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
543         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
545         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
547         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
549         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
553         Moved ...
554         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
556         Moved ...
557         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
561         Moved ...
562         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
565
566         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
567         folded into ...
568         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
569         * sysdeps/unix/sysv/linux/s390/Versions
570         (libpthread: GLIBC_2.19): New version set.
571         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
572         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
573         (librt: GLIBC_2.3.3): New version set.
574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
575         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
576         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
577         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
578         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
579         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
580         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
581         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
582         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
583         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
584         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
585         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
586         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
587         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
588         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
589         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
590         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
591         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
592         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
593         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
594         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
595         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
596         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
597         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
598         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
599         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
600         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
601         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
602         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
603         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
604         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
605         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
607         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
608         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
610         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
612         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
614         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
616         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
618         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
619
620         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
621         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
622         (__libc_vfork): Define the function under this name.
623         [!NOT_IN_libc] (__vfork): Make this an alias.
624         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
626         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
627         (__libc_vfork): Define the function under this name.
628         [!NOT_IN_libc] (__vfork): Make this an alias.
629         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
630         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
631         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
634         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
635
636         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
637         code that was previously under [RESET_PID].
638         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
639         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
641
642         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
643         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
644         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
645         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
646         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
647         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
648         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
649         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
650         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
651         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
652         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
653         Moved ...
654         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
655         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
656         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
657         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
658         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
659         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
660         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
661         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
662         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
663         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
664         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
665         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
666         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
667         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
668         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
669         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
670         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
671         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
672         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
673         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
674         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
675         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
676         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
677         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
678         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
679         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
680         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
681         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
682         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
683
684 2014-06-25  Roland McGrath  <roland@hack.frob.com>
685
686         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
687         that was previously under [RESET_PID].
688         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
689
690 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
691
692         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
693         not undefine and redefine.
694         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
695         [O_CLOEXEC]: Make code unconditional.
696         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
697         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
698         <kernel-features.h>.
699         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
700         conditional variable definition.
701         (shm_open) [O_CLOEXEC]: Make code unconditional.
702         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
703         code.
704
705         * configure.ac (USE_REGPARMS): Don't define here.
706         * configure: Regenerated.
707         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
708         * sysdeps/i386/configure: Regenerated.
709
710         * nptl/createthread.c: Don't include kernel-features.h.
711         * nptl/pthread_cancel.c: Likewise.
712         * nptl/pthread_condattr_setclock.c: Likewise.
713         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
714         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
715         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
716         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
717         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
718         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
719         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
722         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
723         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
724         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
725         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
726         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
727         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
728         * nscd/gai.c: Likewise.
729         * nss/nss_db/db-open.c: Likewise.
730         * sysdeps/generic/ldsodefs.h: Likewise.
731         * sysdeps/sh/nptl/tls.h: Likewise.
732         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
733         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
734         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
735         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
736         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
737         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
738         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
739         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
741         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
742         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
743         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
744         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
745         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
746         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
747         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
748         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
749         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
750         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
751         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
752         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
753         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
754         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
755         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
756         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
757         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
758         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
759         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
760         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
761         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
762         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
763         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
764         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
765         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
766         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
767         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
768         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
769         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
770         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
771         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
772         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
773         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
774         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
775         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
776         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
777         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
778         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
779         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
780         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
781         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
782         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
783         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
784         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
785         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
786         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
787         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
788         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
789         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
812         * sysdeps/unix/sysv/linux/pread.c: Likewise.
813         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
814         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
815         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
816         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
817         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
818         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
819         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
820         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
821         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
822         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
823         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
824         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
825         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
826         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
827         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
828         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
829         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
830         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
831         * sysdeps/unix/sysv/linux/system.c: Likewise.
832         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
833         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
834         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
835         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
836         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
837         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
838         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
839
840         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
841         * configure: Regenerated.
842         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
843
844         * configure.ac (base_machine): Do not set specially for particular
845         machines here.
846         * configure: Regenerated.
847         * sysdeps/powerpc/preconfigure: Move machine and base_machine
848         settings from configure.ac.
849         * sysdeps/i386/preconfigure: New file.
850         * sysdeps/s390/preconfigure: Likewise.
851         * sysdeps/sh/preconfigure: Likewise.
852         * sysdeps/sparc/preconfigure: Likewise.
853
854 2014-06-25  Roland McGrath  <roland@hack.frob.com>
855
856         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
857         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
858         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
859         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
860         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
861         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
862         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
863         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
864         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
865         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
866         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
867         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
868         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
869         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
870         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
871         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
872         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
873         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
874         * sysdeps/sparc/sparc64/Makefile: ... appended here.
875
876         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
877         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
878         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
879         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
880         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
881         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
882         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
883         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
884         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
885         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
886         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
887         * sysdeps/sparc/sparc32/sem_post.c: ... here.
888         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
889         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
890         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
891         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
892         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
893         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
894         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
895         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
896         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
897         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
898         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
899         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
900         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
901         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
902         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
903         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
905         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
906         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
907         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
908         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
909         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
910         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
911         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
912         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
913         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
914
915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
916         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
918         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
920         Moved ...
921         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
922         ... here.
923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
924         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
926         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
928         Moved ...
929         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
931         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
933         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
935         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
937         Moved ...
938         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
940         Moved ...
941         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
943         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
945         Moved ...
946         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
948         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
950         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
952         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
954         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
956         Moved ...
957         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
958         ... here.
959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
960         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
962         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
964         Moved ...
965         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
967         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
969         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
971         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
973         Moved ...
974         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
976         Moved ...
977         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
979         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
981         Moved ...
982         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
984         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
986         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
987
988 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
989
990         * timezone/checktab.awk: Update from tzcode 2014e.
991         * timezone/private.h: Likewise.
992         * timezone/tzfile.h: Likewise.
993         * timezone/zdump.c: Likewise.
994         * timezone/zic.c: Likewise.
995
996         * sysdeps/unix/sysv/linux/kernel-features.h
997         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
998         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
999         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1000         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1001         Remove conditional code.
1002
1003 2014-06-25  Will Newton  <will.newton@linaro.org>
1004
1005         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1006         (_dl_arm_cap_flags): Add HWCAP2 values.
1007         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1008         (_DL_HWCAP_COUNT): Increase to 37.
1009         (_DL_HWCAP_LAST): New define.
1010         (_DL_HWCAP2_LAST): New define.
1011         (_dl_procinfo): Add support for printing
1012         AT_HWCAP2 entries.
1013         (_dl_string_hwcap): Use _dl_hwcap_string.
1014
1015 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1016
1017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1018
1019 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1020
1021         * README: Do not mention ports directory.
1022
1023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1024         Remove macro.
1025         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1026         <kernel-features.h>.
1027         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1028         conditional variable definition.
1029         (__futimes): Update comment.
1030         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1031         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1032
1033         [BZ #16560]
1034         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1035         arguments close to 0.
1036         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1037         Likewise.
1038         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1039         Likewise.
1040         * math/auto-libm-test-in: Add more tests of exp10.
1041         * math/auto-libm-test-out: Regenerated.
1042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1043
1044         * sysdeps/unix/sysv/linux/kernel-features.h
1045         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1046         * sysdeps/unix/sysv/linux/readv.c: Do not include
1047         <kernel-features.h>.
1048         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1049         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1050         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1051         unconditional.
1052         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1053         conditional code.
1054         * sysdeps/unix/sysv/linux/writev.c: Do not include
1055         <kernel-features.h>.
1056         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1057         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1058         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1059         unconditional.
1060         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1061         conditional code.
1062
1063 2014-06-25  Will Newton  <will.newton@linaro.org>
1064
1065         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1066         comment changes throughout the file.  Remove checks
1067         for HAVE_*_H definitions that are not required.
1068         (__gen_tempname): Call abort if an unknown kind value is
1069         passed.
1070
1071 2014-06-25  Andreas Schwab  <schwab@suse.de>
1072
1073         [BZ #17086]
1074         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1075         scalbln, scalblnf, scalblnl in libc.
1076
1077 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1078
1079         [BZ #17086]
1080         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1081         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1082         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1083
1084 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1085
1086         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1087         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1088         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1089         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1090         Update #include.
1091         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1092         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1093         Update #include.
1094         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1095         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1096         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1097         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1098         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1099         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1100         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1101         * sysdeps/x86/bits/semaphore.h: ... here.
1102         * sysdeps/x86/nptl/elide.h: Moved ...
1103         * sysdeps/x86/elide.h: ... here.
1104         * sysdeps/x86_64/nptl/Implies: File removed.
1105         * sysdeps/i386/nptl/Implies: File removed.
1106
1107 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1108
1109         [BZ #16539]
1110         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1111         return the argument for normal arguments with exponent below -64.
1112         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1113         Likewise.
1114         * math/auto-libm-test-in: Add another test of expm1.
1115         * math/auto-libm-test-out: Regenerated.
1116
1117         [BZ #16287]
1118         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1119         calling __erfcl for arguments at least 16.
1120         * math/auto-libm-test-in: Add more tests of erf.
1121         * math/auto-libm-test-out: Regenerated.
1122
1123         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1124         individual architectures.
1125         * sysdeps/unix/sysv/linux/configure: Regenerated.
1126         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1127         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1128         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1129         (ldd_rewrite_script): Define variable.
1130         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1132         file.
1133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1134         generated file.
1135         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1136         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1137         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1138         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1139         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1140         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1141         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1142         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1143
1144 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1145
1146         [BZ #17084]
1147         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1148         Rename member __data.d to __data.__elision_data.
1149
1150 2014-06-24  Wilco  <wdijkstr@arm.com>
1151
1152         * NEWS: Add 16918 to fixed bug list.
1153
1154 2014-06-24  Wilco  <wdijkstr@arm.com>
1155
1156         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1157
1158 2014-06-24  Wilco  <wdijkstr@arm.com>
1159
1160         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1161         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1162         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1163         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1164         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1165         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1166         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1167         Use _FPU_MASK_RM.
1168
1169 2014-06-24  Wilco  <wdijkstr@arm.com>
1170
1171         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1172
1173 2014-06-24  Wilco  <wdijkstr@arm.com>
1174
1175         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1176         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1177         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1178         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1179
1180 2014-06-24  Wilco  <wdijkstr@arm.com>
1181
1182         [BZ #16918]
1183         * sysdeps/arm/feupdateenv.c (feupdateenv):
1184         Rewrite to reduce FPSCR accesses and fix return value.
1185
1186 2014-06-24  Wilco  <wdijkstr@arm.com>
1187
1188         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1189         Optimize to avoid unnecessary FPSCR writes.
1190         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1191         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1192         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1193         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1194
1195 2014-06-24  Wilco  <wdijkstr@arm.com>
1196
1197         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1198         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1199         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1200         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1201         Call libc_fetestexcept_vfp.
1202         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1203         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1204         __SOFTFP__ ifdef so that they can be built for softfp.
1205
1206 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1207
1208         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1209         argument type signed char.
1210
1211         * Makerules (check-abi): Dump diff of symlist if the test
1212         fails.
1213
1214 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1215
1216         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1217         using abort.
1218
1219         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1220         Remove unused variable ST.
1221
1222 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1223
1224         [BZ #16354]
1225         [BZ #17061]
1226         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1227         small arguments before calling __expm1.
1228         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1229         small arguments before calling __expm1f.
1230         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1231         small arguments before calling __expm1l.
1232         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1233         Likewise.
1234         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1235         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1236         spurious underflow for some cosh tests.
1237         * math/auto-libm-test-out: Regenerated.
1238         * sysdeps/i386/fpu/libm-test-ulps: Update.
1239
1240         [BZ #17050]
1241         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1242         (__ieee754_y1): Set errno if return value overflows.
1243         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1244         (__ieee754_y1f): Set errno if return value overflows.
1245         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1246         (__ieee754_y1l): Set errno if return value overflows.
1247         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1248         (__ieee754_y1l): Set errno if return value overflows.
1249         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1250         * math/auto-libm-test-out: Regenerated.
1251
1252         * math/gen-auto-libm-tests.c: Document use of
1253         ignore-zero-inf-sign.
1254         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1255         (input_flags): Add ignore-zero-inf-sign.
1256         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1257         * math/gen-libm-test.pl (generate_testfile): Handle
1258         ignore-zero-inf-sign.
1259         * math/auto-libm-test-in: Mark some cpow tests with
1260         ignore-zero-inf-sign and some with xfail-rounding.
1261         * math/auto-libm-test-out: Regenerated.
1262         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1263         * sysdeps/i386/fpu/libm-test-ulps: Update.
1264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1265
1266         [BZ #16315]
1267         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1268         overflowing or underflowing operations take place with sign of
1269         result.
1270         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1271         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1272         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1273         (__ieee754_pow): Recompute overflowing and underflowing results in
1274         original rounding mode.
1275         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1276         (__powl_helper): Allow negative argument X and scale negated value
1277         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1278         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1279         overflowing or underflowing operations take place with sign of
1280         result.
1281         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1282         Include <math.h>.
1283         * math/auto-libm-test-in: Add more tests of pow.
1284         * math/auto-libm-test-out: Regenerated.
1285         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1286         (pow_tonearest_test_data): Remove.
1287         (pow_test_tonearest): Likewise.
1288         (pow_towardzero_test_data): Likewise.
1289         (pow_test_towardzero): Likewise.
1290         (pow_downward_test_data): Likewise.
1291         (pow_test_downward): Likewise.
1292         (pow_upward_test_data): Likewise.
1293         (pow_test_upward): Likewise.
1294         (main): Don't call removed functions.
1295         * sysdeps/i386/fpu/libm-test-ulps: Update.
1296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1297
1298 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1299
1300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1301         Moved ...
1302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1304         Moved ...
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1307         Moved ...
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1310         Moved ...
1311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1313         File removed.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1315         File removed.
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1317         File removed.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1319         File removed.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1321         File removed.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1323         File removed.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1325         File removed.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1327         File removed.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1329         File removed.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1331         File removed.
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1333         File removed.
1334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1335         File removed.
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1337         Moved ...
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1340         Moved ...
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1342         ... here.
1343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1344         Moved ...
1345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1347         Moved ...
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1350         Moved ...
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1353         Moved ...
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1356         Moved ...
1357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1359         Moved ...
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1362         Moved ...
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1366         ... here.
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1368         Moved ...
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1371         Moved ...
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1373         ... here.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1375         Moved ...
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1377         ... here.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1379         Moved ...
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1381         ... here.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1383         Moved ...
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1386         Moved ...
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1391         Moved ...
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1393         ... here.
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1395         Moved ...
1396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1397         ... here.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1399         Moved ...
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1402         Moved ...
1403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1405         Moved ...
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1408         Moved ...
1409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1411         Moved ...
1412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1413         ... here.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1415         Moved ...
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1418         Moved ...
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1421         Moved ...
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1424         Moved ...
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1429         Moved ...
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1432         Moved ...
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1435         Moved ...
1436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1437         ... here.
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1439         Moved ...
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1441         ... here.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1443         Moved ...
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1445         ... here.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1447         Moved ...
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1450         Moved ...
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1453         Moved ...
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1456         Moved ...
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1458         ... here.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1460         Moved ...
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1462         ... here.
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1464         Moved ...
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1466         ... here.
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1468         Moved ...
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1471         Moved ...
1472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1473
1474 2014-06-23  Will Newton  <will.newton@linaro.org>
1475             Wilco  <wdijkstr@arm.com>
1476
1477         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1478         implementation.  Include get-rounding-mode.h.
1479         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1480         [!libc_feholdsetround_noex_ctx]: Define
1481         libc_feholdsetround_noex_ctx.
1482         [!libc_feholdsetround_noexf_ctx]: Define
1483         libc_feholdsetround_noexf_ctx.
1484         [!libc_feholdsetround_noexl_ctx]: Define
1485         libc_feholdsetround_noexl_ctx.
1486         (libc_feholdsetround_ctx): New function.
1487         (libc_feresetround_ctx): New function.
1488         (libc_feholdsetround_noex_ctx): New function.
1489         (libc_feresetround_noex_ctx): New function.
1490
1491 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1492
1493         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1494         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1495         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1496         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1497         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1498         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1499
1500         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1501         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1502         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1503         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1504         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1505         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1506         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1507         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1508         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1509         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1511         Moved ...
1512         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1513         ... here.
1514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1515         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1517         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1519         Moved ...
1520         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1522         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1524         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1526         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1528         Moved ...
1529         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1531         Moved ...
1532         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1534         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1536         Moved ...
1537         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1539         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1540         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1541         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1542         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1543         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1544         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1545         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1547         Moved ...
1548         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1549         ... here.
1550         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1551         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1552         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1553         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1555         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1557         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1559         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1561         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1562         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1563         Moved ...
1564         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1566         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1568         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1570         Moved ...
1571         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1573         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1574         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1575         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1576
1577         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1578         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1579         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1580         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1581         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1582         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1583         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1584         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1585         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1586         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1587         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1588         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1589         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1590         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1591         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1592         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1593         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1594         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1595         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1596         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1600         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1601         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1602         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1603         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1604         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1605
1606 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1607
1608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1609         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1610         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1611         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1612         (IPV6_PMTUDISC_INTERFACE): Likewise.
1613         (IPV6_PMTUDISC_OMIT): Likewise.
1614
1615 2014-06-23  Andreas Schwab  <schwab@suse.de>
1616
1617         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1618         Remove unused errout label.
1619
1620 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1621
1622         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1623         macro: hardware supports Vector Crypto instructions.
1624
1625 2014-06-23  Will Newton  <will.newton@linaro.org>
1626
1627         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1628         rather than __builtin_expect.
1629
1630         * elf/dl-lookup.c (undefined_msg): Remove variable.
1631         (_dl_lookup_symbol_x): Replace undefined_msg with string
1632         literal.
1633
1634         * elf/dl-lookup.c (do_lookup_unique): New function.
1635         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1636         to a separate function.
1637
1638 2014-06-23  Andreas Schwab  <schwab@suse.de>
1639
1640         [BZ #17079]
1641         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1642         before reading the next line.
1643
1644 2014-06-23  Will Newton  <will.newton@linaro.org>
1645
1646         * test-skeleton.c (signal_handler): Use printf and %m
1647         rather than perror.  Use printf rather than fprintf to
1648         stderr.  Use puts rather than fputs to stderr.
1649         (main): Likewise.
1650
1651 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1652
1653         * nscd/nscd.c (thread_info_t): Remove typedef.
1654         (thread_info): Remove variable.
1655
1656 2014-06-21  Allan McRae  <allan@archlinux.org>
1657
1658         * NEWS: Mention CVE-2014-4043.
1659
1660 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1661
1662         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1663         * nptl/smp.h: ... here.
1664
1665         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1666
1667         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1668         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1669         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1670         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1671
1672         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1673         * nptl/stack-aliasing.h: New file.
1674         * sysdeps/i386/i686/stack-aliasing.h: New file.
1675         * sysdeps/i386/i686/nptl/Makefile: File removed.
1676         * sysdeps/x86_64/stack-aliasing.h: New file.
1677         * sysdeps/x86_64/nptl/Makefile
1678         (CFLAGS-pthread_create.c): Variable removed.
1679
1680         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1681         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1682         old file.
1683         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1684         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1685         old file.
1686
1687 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1688
1689         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1690         (__ASSUME_SIGFRAME_V2): Remove macro.
1691         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1692         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1693         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1694         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1695         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1696         Declare as function.  Remove conditional macro definitions.
1697         (__default_rt_sa_restorer): Likewise.
1698         (__default_sa_restorer_v1): Remove declaration.
1699         (__default_sa_restorer_v2): Likewise.
1700         (__default_rt_sa_restorer_v1): Likewise.
1701         (__default_rt_sa_restorer_v2): Likewise.
1702         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1703         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1704         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1705
1706 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1707
1708         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1709         (libpthread-routines): Add sysdep.
1710         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1711         * sysdeps/unix/sysv/linux/sparc/Versions
1712         (libpthread: GLIBC_2.3.3): New version set.
1713         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1714         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1715         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1716         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1717         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1718         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1719         Moved ...
1720         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1721         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1722         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1723         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1724         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1725         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1726         * sysdeps/sparc/nptl/sem_init.c: ... here.
1727         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1728         * sysdeps/sparc/nptl/sem_post.c: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1730         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1731         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1732         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1733         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1734         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1735         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1736         (libpthread-routines): Add cpu_relax.
1737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1738         File removed.
1739         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1740         (librt: GLIBC_2.3.3): New version set.
1741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1742         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1743         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1744         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1747         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1749         Moved ...
1750         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1752         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1754         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1756         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1758         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1760         Moved ...
1761         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1762         Update #include.
1763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1764         Moved ...
1765         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1766         Update #include.
1767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1768         Moved ...
1769         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1770         Update #include.
1771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1772         Moved ...
1773         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1774         Update #include.
1775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1776         Moved ...
1777         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1778         Update #include.
1779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1780         Moved ...
1781         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1782         Update #include.
1783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1784         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1786         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1790         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1792         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1794         Moved ...
1795         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1797         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1799         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1800
1801 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1802
1803         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1804         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1805         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1806         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1807         * nscd/nscd.c: Likewise.
1808         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1809         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1810         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1811         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1812
1813         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1814         <kernel-features.h>.
1815         (init_mq_netlink): Remove conditional have_sock_cloexec
1816         definitions.  Remove code conditional on have_sock_cloexec < 0.
1817         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1818         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1819         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1820         <kernel-features.h>.
1821         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1822         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1823
1824 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1825
1826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1827         Add tests for memset_chk and memset.
1828
1829         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1830         with AVX2_Usable.
1831
1832 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1833
1834         [BZ #16046]
1835         * elf/tst-dl-iter-static.c: New file.
1836         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1837
1838         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1839         error.
1840
1841 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1842
1843         * sysdeps/unix/sysv/linux/kernel-features.h
1844         (__ASSUME_F_GETOWN_EX): Remove macro.
1845         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1846         <kernel-features.h>.
1847         (miss_F_GETOWN_EX): Remove variable or macro.
1848         (do_fcntl): Do not check miss_F_GETOWN_EX.
1849         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1850
1851         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1852         Remove macro.
1853         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1854         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1855         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1856
1857         * sysdeps/unix/sysv/linux/kernel-features.h
1858         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1859         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1860         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1861         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1862
1863 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1864
1865         [BZ #17075]
1866         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1867         Fix calculation of the symbol's value.
1868         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1869         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1870         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1871         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1872         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1873         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1874         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1875         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1876         (modules-names): Add `tst-armtlsdescmod',
1877         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1878         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1879         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1880         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1881         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1882         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1883         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1884         ($(objpfx)tst-armtlsdescloc): New dependency.
1885         ($(objpfx)tst-armtlsdescextnow): Likewise.
1886         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1887         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1888         TLS scheme support.
1889         * sysdeps/arm/configure: Regenerate.
1890
1891 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1892
1893         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1894         (__atfct_seterrno_2): Likewise.
1895         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1896         <kernel-features.h>.
1897         (__ASSUME_ATFCTS): Do not undefine and redefine.
1898         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1899         (__have_atfcts): Remove conditional definition.
1900         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1901         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1902         unreachable if [__ASSUME_ATFCTS].
1903         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1904         not undefine and redefine.
1905         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1906         <kernel-features.h>.
1907         (faccessat) [__NR_faccessat]: Make code unconditional.
1908         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1909         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1910         <kernel-features.h>.
1911         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1912         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1913         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1914         <kernel-features.h>.
1915         (fchownat) [__NR_fchownat]: Make code unconditional.
1916         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1917         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1918         <kernel-features.h>.
1919         (futimesat) [__NR_futimesat]: Make code unconditional.
1920         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1921         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1922         <kernel-features.h>.
1923         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1924         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1925         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1926         <kernel-features.h>.
1927         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1928         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1929         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1930         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1931         <kernel-features.h>.
1932         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1933         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1934         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1935         <kernel-features.h>.
1936         (linkat) [__NR_linkat]: Make code unconditional.
1937         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1938         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1939         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1940         <kernel-features.h>.
1941         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1942         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1943         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1944         <kernel-features.h>.
1945         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1946         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1947         * sysdeps/unix/sysv/linux/openat.c: Do not include
1948         <kernel-features.h>.
1949         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1950         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1951         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1952         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1953         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1954         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1955         <kernel-features.h>.
1956         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1957         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1958         result of INLINE_SYSCALL directly, not via int variable.
1959         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1960         <kernel-features.h>.
1961         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1962         (renameat) [__NR_renameat]: Make code unconditional.
1963         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1964         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1965         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1966         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1967         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1968         (__ASSUME_ATFCTS): Do not undefine and redefine.
1969         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1970         <kernel-features.h>.
1971         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1972         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1973         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1974         <kernel-features.h>.
1975         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1976         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1977         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1978         (__ASSUME_ATFCTS): Do not undefine and redefine.
1979         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1980         <kernel-features.h>.
1981         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1982         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1983         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1984         <kernel-features.h>.
1985         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1986         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1987
1988 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1989
1990         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1991
1992 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1993
1994         [BZ #17069]
1995         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1996         constructed tree before returning error.
1997         * posix/bug-regexp36.c: Expand test case.
1998
1999 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2000
2001         [BZ #6803]
2002         * math/libm-test.inc (scalbln_test_date):
2003         Add errno expectations.
2004         * math/w_scalblnf.c: New File.
2005         Add wrapper which checks for setting errno to ERANGE.
2006         Add weak_alias for corresponding scalbln function.
2007         * math/w_scalbln.c: Likewise.
2008         * math/w_scalblnl.c: Likewise.
2009         * math/Makefile (libm-calls): Add w_scalbln.
2010         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2011         Remove weak_alias for corresponding scalbln function.
2012         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2013         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2014         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2015         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2016         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2017         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2018         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2019         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2020         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2021         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2022         Remove long_double_symbol for scalblnl function in libm, libc.
2023         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2024         Add wrapper which checks for setting errno to ERANGE.
2025         Add long_double_symbol for scalblnl function in libm, libc.
2026         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2027         Remove long_double_symbol for scalblnl in libm.
2028         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2029         Add wrapper which checks for setting errno to ERANGE.
2030         Add long_double_symbol for scalblnl function in libm.
2031         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2032         Do not use wrapper because of own implementation.
2033
2034 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2035
2036         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2037         3 bytes for __pad1 for x32.
2038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2039
2040 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2041             H.J. Lu  <hongjiu.lu@intel.com>
2042
2043         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2044         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2045         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2046         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2047         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2048
2049 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2050
2051         [BZ #17069]
2052         * posix/regcomp.c (parse_expression): Deallocate partially
2053         constructed tree before returning error.
2054         * posix/Makefile.c (tests): Add bug-regex36.
2055         (generated): Add bug-regex36.mtrace.
2056         (tests-special): Add $(objpfx)bug-regex36-mem.out
2057         (bug-regex36-ENV): New variable.
2058         ($(objpfx)bug-regex36-mem.out): New rule.
2059         * posix/bug-regex36.c: New file.
2060
2061 2014-06-19  Will Newton  <will.newton@linaro.org>
2062
2063         * malloc/malloc.c (systrim): If extra is zero then return
2064         early.
2065
2066 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2067
2068         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2069
2070 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2071
2072         * sysdeps/aarch64/strchr.S: New file.
2073
2074 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2075
2076         [BZ #17022]
2077         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2078         from arguments -2 or below.
2079         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2080         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2081
2082 2014-06-18  Andreas Schwab  <schwab@suse.de>
2083
2084         [BZ #17062]
2085         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2086         of a bracket expr not to run off the end of the string.
2087         * posix/Makefile (tests): Add tst-fnmatch3.
2088         * posix/tst-fnmatch3.c: New file.
2089
2090 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2091
2092         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2093         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2094         [$(cross-compiling) = no]: Likewise.
2095         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2096         [$(cross-compiling) = no]: Likewise.
2097
2098 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2099
2100         [BZ #17031]
2101         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2102         double, adjusted for any remainder from the high double.
2103         * math/libm-test.inc (nearbyint): Add tests.
2104         (rint): Likewise.
2105
2106 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2107
2108         * nptl/sysdeps/powerpc/Makefile: Moved ...
2109         * sysdeps/powerpc/nptl/Makefile: ... here.
2110         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2111         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2112         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2113         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2114         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2115         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2116         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2117         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2118         * nptl/sysdeps/powerpc/tls.h: Moved ...
2119         * sysdeps/powerpc/nptl/tls.h: ... here.
2120
2121 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2122
2123         [BZ #16681]
2124         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2125         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2126         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2127         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2128         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2129         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2130         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2131         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2132         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2133
2134 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2135
2136         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2137
2138 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2139
2140         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2141         defined operator.
2142
2143         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2144         $TIMEOUTFACTOR.
2145
2146 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2147
2148         [BZ #17058]
2149         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2150         non-executed part of the test.
2151
2152 2014-06-16  Andreas Schwab  <schwab@suse.de>
2153
2154         * string/bits/string2.h (strdup, strndup): Update feature guard.
2155
2156 2014-06-14  David S. Miller  <davem@davemloft.net>
2157
2158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2159
2160 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2161
2162         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2163         that was previously under [RESET_PID].
2164         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2165
2166         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2167         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2168         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2169         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2170         (__libc_vfork): New strong alias.
2171         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2172
2173 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2174
2175         * sysdeps/generic/elide.h: New file.
2176
2177 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2178
2179         * Makefile (installed-headers): Adjust path of pthread.h header.
2180
2181 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2182
2183         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2184         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2185         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2186         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2187
2188         * nptl/sysdeps/s390/Makefile: Moved ...
2189         * sysdeps/s390/nptl/Makefile: ... here.
2190         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2191         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2192         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2193         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2194         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2195         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2196         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2197         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2198         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2199         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2200         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2201         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2202         * nptl/sysdeps/s390/tls.h: Moved ...
2203         * sysdeps/s390/nptl/tls.h: ... here.
2204
2205         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2206         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2207
2208 2014-06-13  David S. Miller  <davem@davemloft.net>
2209
2210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2213         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2217         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2218         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2219         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2220         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2221         Remove RESET_PID cpp guards.
2222         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2223         Remove RESET_PID cpp guards.
2224         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2225
2226 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2227
2228         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2229         __sp to uintptr_t.
2230
2231 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2232
2233         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2234         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2235         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2236         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2238         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2240         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2242         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2244         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2245         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2246         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2247         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2248         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2249         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2251         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2253
2254         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2255         (pthread_rwlock_rdlock): Add elision.
2256         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2257         (pthread_rwlock_wrlock): Add elision.
2258         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2259         (pthread_rwlock_trywrlock): Add elision.
2260         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2261         (pthread_rwlock_tryrdlock): Add elision.
2262         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2263         (pthread_rwlock_tryrdlock): Add elision unlock.
2264         * nptl/sysdeps/pthread/pthread.h:
2265         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2266         (PTHREAD_RWLOCK_INITIALIZER,
2267         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2268         Handle new elision field.
2269         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2270         * sysdeps/arm/nptl/bits/pthreadtypes.h
2271         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2272         * sysdeps/sh/nptl/bits/pthreadtypes.h
2273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2274         * sysdeps/tile/nptl/bits/pthreadtypes.h
2275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2276         * sysdeps/a/nptl/bits/pthreadtypes.h
2277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2278         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2280         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2282         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2284         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2286         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2288         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2290         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2292         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2294         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2295         (elision_init): Set try_xbegin to zero when no RTM.
2296         * sysdeps/x86/nptl/bits/pthreadtypes.h
2297         (pthread_rwlock_t): Change __pad1 to __rwelision.
2298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2299
2300 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2301
2302         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2303         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2304         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2305         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2306
2307 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2308
2309         [BZ #16996]
2310         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2311         that the cached result has been set before returning it.
2312
2313 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2314
2315         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2316         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2317         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2318         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2319         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2320         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2321
2322         * nptl/sysdeps/sparc/Makefile: Moved ...
2323         * sysdeps/sparc/nptl/Makefile: ... here.
2324         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2325         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2326         * nptl/sysdeps/sparc/tls.h: Moved ...
2327         * sysdeps/sparc/nptl/tls.h: ... here.
2328         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2329         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2330         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2331         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2332         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2333         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2334         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2335         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2336         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2337         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2338         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2339         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2340         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2341         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2342         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2343         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2344         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2346         Update #include.
2347         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2348         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2349         Update #include.
2350         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2351         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2352         Update #include.
2353         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2354         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2355         Update #include.
2356
2357         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2358
2359         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2360         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2361
2362         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2363         (struct list_links): Type removed.
2364         (struct thread_node, struct timer_node): Replace struct list_links
2365         with struct list_head.
2366         (list_unlink_ip): Likewise.
2367         * sysdeps/pthread/timer_routines.c
2368         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2369         (list_append, list_insbefore): Likewise.
2370         (list_init): Function removed.
2371         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2372         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2373         * sysdeps/pthread/Makefile: ... here, new file.
2374
2375         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2376         * sysdeps/nptl/Implies: ... here.
2377         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2378         * nptl/sysdeps/pthread/list.h: Moved ...
2379         * include/list.h: ... here.
2380         * nptl/sysdeps/pthread/createthread.c: Moved ...
2381         * nptl/createthread.c: ... here.
2382         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2383         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2384         * nptl/pt-longjmp.c: ... here.
2385         * nptl/sysdeps/pthread/Makefile: Moved ...
2386         * sysdeps/nptl/Makefile: ... here.
2387         * nptl/sysdeps/pthread/Subdirs: Moved ...
2388         * sysdeps/nptl/Subdirs: ... here.
2389         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2390         * sysdeps/nptl/aio_misc.h: ... here.
2391         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2392         * sysdeps/nptl/bits/libc-lock.h: ... here.
2393         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2394         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2395         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2396         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2397         * nptl/sysdeps/pthread/configure: Moved ...
2398         * sysdeps/nptl/configure: ... here.
2399         * nptl/sysdeps/pthread/configure.ac: Moved ...
2400         * sysdeps/nptl/configure.ac: ... here.
2401         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2402         * sysdeps/nptl/gai_misc.h: ... here.
2403         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2404         * sysdeps/nptl/librt-cancellation.c: ... here.
2405         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2406         * sysdeps/nptl/malloc-machine.h: ... here.
2407         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2408         * sysdeps/nptl/pthread-functions.h: ... here.
2409         * nptl/sysdeps/pthread/pthread.h: Moved ...
2410         * sysdeps/nptl/pthread.h: ... here.
2411         * nptl/sysdeps/pthread/setxid.h: Moved ...
2412         * sysdeps/nptl/setxid.h: ... here.
2413         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2414         * sysdeps/nptl/sigfillset.c: ... here.
2415         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2416         * sysdeps/nptl/tcb-offsets.h: ... here.
2417         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2418         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2419         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2420         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2421         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2422         * sysdeps/pthread/allocalim.h: ... here.
2423         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2424         * sysdeps/pthread/bits/sigthread.h: ... here.
2425         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2426         * sysdeps/pthread/flockfile.c: ... here.
2427         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2428         * sysdeps/pthread/ftrylockfile.c: ... here.
2429         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2430         * sysdeps/pthread/funlockfile.c: ... here.
2431         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2432         * sysdeps/pthread/posix-timer.h: ... here.
2433         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2434         * sysdeps/pthread/timer_create.c: ... here.
2435         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2436         * sysdeps/pthread/timer_delete.c: ... here.
2437         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2438         * sysdeps/pthread/timer_getoverr.c: ... here.
2439         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2440         * sysdeps/pthread/timer_gettime.c: ... here.
2441         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2442         * sysdeps/pthread/timer_routines.c: ... here.
2443         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2444         * sysdeps/pthread/timer_settime.c: ... here.
2445         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2446         * sysdeps/pthread/tst-timer.c: ... here.
2447         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2448         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2449
2450         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2451         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2452
2453         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2454         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2455         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2456         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2457         Update #include target.
2458         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2459         * sysdeps/i386/i686/nptl/Makefile: ... here.
2460         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2461         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2462         Update #include target.
2463         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2464         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2465         * nptl/sysdeps/i386/Makefile: Moved ...
2466         * sysdeps/i386/nptl/Makefile: ... here.
2467         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2468         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2469         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2470         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2471         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2472         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2473         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2474         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2475         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2476         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2477         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2478         * nptl/sysdeps/i386/tls.h: Moved ...
2479         * sysdeps/i386/nptl/tls.h: ... here.
2480
2481         * sysdeps/sh/Makefile [$(subdir) = csu]
2482         (gen-as-const-headers): Add tcb-offsets.sym.
2483         * nptl/sysdeps/sh/Makefile: File removed.
2484         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2485         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2486         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2487         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2488         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2489         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2490         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2491         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2492         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2493         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2494         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2495         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2496         * nptl/sysdeps/sh/tls.h: Moved ...
2497         * sysdeps/sh/nptl/tls.h: ... here.
2498         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2499         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2500         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2501         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2502         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2503         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2504         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2505         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2506         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2507         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2508         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2509         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2510         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2511         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2512         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2513         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2515         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2517         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2519         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2521         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2522         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2523         Moved ...
2524         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2526         Moved ...
2527         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2529         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2530         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2532         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2533         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2534         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2535         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2536         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2537         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2538         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2539         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2540         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2541         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2542         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2543         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2544         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2545         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2546
2547 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2548
2549         * posix/spawn_faction_addopen.c: Include string.h.
2550
2551 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2552
2553         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2554         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2555         * nptl/sysdeps/x86_64/Makefile: Moved ...
2556         * sysdeps/x86_64/nptl/Makefile: ... here.
2557         * nptl/sysdeps/x86_64/configure: Moved ...
2558         * sysdeps/x86_64/nptl/configure: ... here.
2559         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2560         * sysdeps/x86_64/nptl/configure.ac: ... here.
2561         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2562         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2563         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2564         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2565         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2566         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2567         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2568         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2569         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2570         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2571         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2572         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2573         * nptl/sysdeps/x86_64/tls.h: Moved ...
2574         * sysdeps/x86_64/nptl/tls.h: ... here.
2575         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2576         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2577         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2578         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2579
2580         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2581
2582 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2583
2584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2585
2586 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2587
2588         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2589         type.
2590         [POSIX] (off_t): Likewise.
2591         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2592         [POSIX] (S_ISBLK): Require macro.
2593         [POSIX] (S_ISCHR): Likewise.
2594         [POSIX] (S_ISDIR): Likewise.
2595         [POSIX] (S_ISFIFO): Likewise.
2596         [POSIX] (S_ISREG): Likewise.
2597         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2598         optional-macro.
2599         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2600         type.
2601         [POSIX] (time_t): Likewise.
2602         [POSIX] (timer_t): Likewise.
2603
2604 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2605
2606         [BZ #17048]
2607         * posix/spawn_int.h (struct __spawn_action): Make the path string
2608         non-const to support deallocation.
2609         * posix/spawn_faction_addopen.c
2610         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2611         * posix/spawn_faction_destroy.c
2612         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2613         path in all spawn_do_open actions.
2614         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2615         posix_spawn_file_actions_addopen.
2616
2617 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2618
2619         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2620         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2621         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2622         conditional code always true.
2623         (__libc_vfork): New alias.
2624
2625 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2626
2627         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2628         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2629
2630         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2631
2632         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2633         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2634
2635         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2636         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2637
2638         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2639         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2640
2641 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2642
2643         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2644         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2645         multiarch strcmp for PPC64.
2646         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2647         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2649         multiarch optimizations.
2650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2651         (__libc_ifunc_impl_list): Likewise.
2652
2653 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2654
2655         * benchtests/scripts/validate_benchout.py: New script.
2656         * benchtests/Makefile (bench-func): Call it.
2657         * benchtests/scripts/benchout.schema.json: New file.
2658
2659 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2660
2661         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2662         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2663         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2664         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2665         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2666         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2667         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2668         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2669         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2670         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2671         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2672         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2673         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2674         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2675         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2676         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2678         Moved ...
2679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2680         ... here.
2681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2682         Moved ...
2683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2685         Moved ...
2686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2687         ... here.
2688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2689         Moved ...
2690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2691         ... here.
2692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2693         Moved ...
2694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2696         Moved ...
2697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2698         ... here.
2699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2700         Moved ...
2701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2702         ... here.
2703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2704         Moved ...
2705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2707         Moved ...
2708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2709         ... here.
2710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2711         Moved ...
2712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2713         ... here.
2714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2715         Moved ...
2716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2717         ... here.
2718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2719         Moved ...
2720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2722         Moved ...
2723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2724         ... here.
2725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2726         Moved ...
2727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2728         ... here.
2729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2730         Moved ...
2731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2732         ... here.
2733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2737         Moved ...
2738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2739         ... here.
2740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2741         Moved ...
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2743         ... here.
2744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2745         Moved ...
2746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2748         Moved ...
2749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2750         ... here.
2751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2752         Moved ...
2753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2755         Moved ...
2756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2758         Moved ...
2759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2760         ... here.
2761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2762         Moved ...
2763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2764         ... here.
2765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2766         Moved ...
2767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2768         ... here.
2769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2770         Moved ...
2771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2773         Moved ...
2774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2775         ... here.
2776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2777         Moved ...
2778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2779         ... here.
2780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2781         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2782         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2783         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2784         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2785         Moved ...
2786         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2787         ... here.
2788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2789         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2791         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2793         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2795         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2797         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2799         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2801         Moved ...
2802         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2804         Moved ...
2805         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2807         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2808         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2809         Moved ...
2810         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2812         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2813         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2814         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2815         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2816         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2817
2818 2014-06-10  Wilco  <wdijkstr@arm.com>
2819
2820         * math/test-fenv-return.c: New file.
2821         * math/Makefile: Add new test test-fenv-return.
2822
2823 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2824
2825         [BZ #17042]
2826         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2827         when x - 1 is zero.
2828         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2829         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2830         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2831         0.0L for an argument of 1.0L.
2832         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2833         Likewise.
2834         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2835         value when x - 1 is zero.
2836         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2837         * sysdeps/i386/fpu/libm-test-ulps: Update.
2838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2839
2840 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2841
2842         [BZ #15119]
2843         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2844
2845 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2846
2847         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2848         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2849
2850 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2851
2852         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2853         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2854
2855         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2856         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2857
2858         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2859         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2860
2861         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2862         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2863
2864         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2865         if not already defined.
2866         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2867         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2868         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2869         (TLS_INIT_TP): Use it.
2870         (TLS_DEFINE_INIT_TP): New macro.
2871         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2872
2873 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2874
2875         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2876         constant.
2877         [POSIX] (IXANY): Likewise.
2878         [POSIX] (OLCUC): Likewise.
2879         [POSIX || POSIX2008] (CBAUD): Do not allow.
2880         [POSIX || POSIX2008] (DEFECHO): Likewise.
2881         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2882         [POSIX || POSIX2008] (ECHOKE): Likewise.
2883         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2884         [POSIX || POSIX2008] (EXTA): Likewise.
2885         [POSIX || POSIX2008] (EXTB): Likewise.
2886         [POSIX || POSIX2008] (FLUSHO): Likewise.
2887         [POSIX || POSIX2008] (LOBLK): Likewise.
2888         [POSIX || POSIX2008] (PENDIN): Likewise.
2889         [POSIX || POSIX2008] (SWTCH): Likewise.
2890         [POSIX || POSIX2008] (VDISCARD): Likewise.
2891         [POSIX || POSIX2008] (VDSUSP): Likewise.
2892         [POSIX || POSIX2008] (VLNEXT): Likewise.
2893         [POSIX || POSIX2008] (VREPRINT): Likewise.
2894         [POSIX || POSIX2008] (VSTATUS): Likewise.
2895         [POSIX || POSIX2008] (VWERASE): Likewise.
2896         (B*): Change to B[0123456789]*.
2897         * conform/data/time.h-data [POSIX || UNIX98]
2898         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2899         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2900         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2901         [POSIX] (tm_*): Do not allow.
2902
2903 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2904
2905         * Makefile (install): Don't set LANGUAGE.
2906         * Makefile.in (install): Likewise.
2907         * assert/Makefile (test-assert-ENV): Remove variable.
2908         (test-assert-perr-ENV): Likewise.
2909         * elf/Makefile (neededtest4-ENV): Likewise.
2910         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2911         [$(cross-compiling) = no]: Don't set LANGUAGE.
2912         * io/ftwtest-sh (LANG): Remove variable.
2913         * libio/Makefile (tst-widetext-ENV): Likewise.
2914         * manual/install.texi (Running make install): Don't refer to
2915         environment settings for make install.
2916         * INSTALL: Regenerated.
2917         * nptl/tst-tls6.sh: Don't set LANG.
2918         * posix/globtest.sh (LANG): Remove variable.
2919         * string/Makefile (tester-ENV): Likewise.
2920         (inl-tester-ENV): Likewise.
2921         (noinl-tester-ENV): Likewise.
2922         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2923         [$(cross-compiling) = no]: Don't set LANGUAGE.
2924         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2925         without explicit environment settings.
2926
2927 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2928
2929         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2930         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2931         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2932         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2933
2934 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2935
2936         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2937         other files in the crypt directory.
2938         * crypt/crypt.c: Remove duplicate includes.
2939         * crypt/crypt-entry.c: Likewise.
2940         * crypt/crypt_util.c: Likewise.
2941
2942 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2943
2944         * Makeconfig (run-program-env): New variable.
2945         (run-program-prefix-before-env): Likewise.
2946         (run-program-prefix-after-env): Likewise.
2947         (run-program-prefix): Define in terms of new variables.
2948         (built-program-cmd-before-env): New variable.
2949         (built-program-cmd-after-env): Likewise.
2950         (built-program-cmd): Define in terms of new variables.
2951         (test-program-prefix-before-env): New variable.
2952         (test-program-prefix-after-env): Likewise.
2953         (test-program-prefix): Define in terms of new variables.
2954         (test-program-cmd-before-env): New variable.
2955         (test-program-cmd-after-env): Likewise.
2956         (test-program-cmd): Define in terms of new variables.
2957         * Rules (make-test-out): Use $(run-program-env).
2958         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2959         (help): Do not mention environment variables.  Mention
2960         --timeoutfactor option.
2961         (timeoutfactor): New variable.
2962         (blacklist_exports): Remove function.
2963         (exports): Remove variable.
2964         (command): Do not include ${exports}.
2965         * manual/install.texi (Configuring and compiling): Do not mention
2966         test wrappers preserving environment variables.  Mention that last
2967         assignment to a variable must take precedence.
2968         * INSTALL: Regenerated.
2969         * benchtests/Makefile (run-bench): Use $(run-program-env).
2970         * catgets/Makefile ($(objpfx)test1.cat): Use
2971         $(built-program-cmd-before-env), $(run-program-env) and
2972         $(built-program-cmd-after-env).
2973         ($(objpfx)test2.cat): Do not specify environment variables
2974         explicitly.
2975         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2976         $(run-program-env) and $(built-program-cmd-after-env).
2977         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2978         $(run-program-env) and $(test-program-cmd-after-env).
2979         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2980         explicitly.
2981         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2982         run_program_env and test_program_cmd_after_env arguments.
2983         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2984         * elf/tst-pathopt.sh: Use run_program_env argument.
2985         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2986         $(test-wrapper-env) and $(run-program-env).
2987         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2988         run_program_env arguments.
2989         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2990         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2991         $(test-program-prefix-before-env), $(run-program-env) and
2992         $(test-program-prefix-after-env).
2993         ($(objpfx)tst-gettext2.out): Likewise.
2994         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2995         run_program_env and test_program_prefix_after_env arguments.
2996         * intl/tst-gettext2.sh: Likewise.
2997         * intl/tst-gettext4.sh: Do not set environment variables
2998         explicitly.
2999         * intl/tst-gettext6.sh: Likewise.
3000         * intl/tst-translit.sh: Likewise.
3001         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3002         $(test-program-prefix-before-env), $(run-program-env) and
3003         $(test-program-prefix-after-env).
3004         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3005         run_program_env and test_program_prefix_after_env arguments.
3006         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3007         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3008         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3009         explicitly with each use of ${test_wrapper_env}.
3010         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3011         $(test-program-prefix-before-env), $(run-program-env) and
3012         $(test-program-prefix-after-env).
3013         * posix/tst-getconf.sh: Do not set environment variables
3014         explicitly.
3015         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3016         run_program_env and test_program_prefix_after_env arguments.
3017         * stdio-common/tst-printf.sh: Do not set environment variables
3018         explicitly.
3019         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3020         $(test-program-prefix-before-env), $(run-program-env) and
3021         $(test-program-prefix-after-env).
3022         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3023         run_program_env and test_program_prefix_after_env arguments.
3024         Split $test calls into $test_pre and $test.
3025         * timezone/Makefile (build-testdata): Use
3026         $(built-program-cmd-before-env), $(run-program-env) and
3027         $(built-program-cmd-after-env).
3028
3029 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3030
3031         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3032         strlen for non SHARED builds.
3033
3034 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3035
3036         * nptl/allocatestack.c (check_list): Inlined function...
3037         (__reclaim_stacks): ... here.
3038
3039 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3040
3041         [BZ #15698]
3042         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3043         memory overrun.
3044
3045 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3046
3047         * Rules (make-test-out): Include
3048         LOCPATH=$(common-objpfx)localedata in default environment.
3049         * debug/Makefile (tst-chk1-ENV): Remove variable.
3050         (tst-chk2-ENV): Likewise.
3051         (tst-chk3-ENV): Likewise.
3052         (tst-chk4-ENV): Likewise.
3053         (tst-chk5-ENV): Likewise.
3054         (tst-chk6-ENV): Likewise.
3055         (tst-lfschk1-ENV): Likewise.
3056         (tst-lfschk2-ENV): Likewise.
3057         (tst-lfschk3-ENV): Likewise.
3058         (tst-lfschk4-ENV): Likewise.
3059         (tst-lfschk5-ENV): Likewise.
3060         (tst-lfschk6-ENV): Likewise.
3061         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3062         (tst-iconv7-ENV): Likewise.
3063         * intl/Makefile (LOCPATH-ENV): Likewise.
3064         (tst-codeset-ENV): Likewise.
3065         (tst-gettext3-ENV): Likewise.
3066         (tst-gettext5-ENV): Likewise.
3067         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3068         (tst-fopenloc-ENV): Likewise.
3069         (tst-fgetws-ENV): Remove variable.
3070         (tst-ungetwc1-ENV): Likewise.
3071         (tst-ungetwc2-ENV): Likewise.
3072         (bug-ungetwc2-ENV): Likewise.
3073         (tst-swscanf-ENV): Likewise.
3074         (bug-ftell-ENV): Likewise.
3075         (tst-fgetwc-ENV): Likewise.
3076         (tst-fseek-ENV): Likewise.
3077         (tst-ftell-partial-wide-ENV): Likewise.
3078         (tst-ftell-active-handler-ENV): Likewise.
3079         (tst-ftell-append-ENV): Likewise.
3080         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3081         (tst-regexloc-ENV): Likewise.
3082         (bug-regex1-ENV): Likewise.
3083         (tst-regex-ENV): Likewise.
3084         (tst-regex2-ENV): Likewise.
3085         (bug-regex5-ENV): Likewise.
3086         (bug-regex6-ENV): Likewise.
3087         (bug-regex17-ENV): Likewise.
3088         (bug-regex18-ENV): Likewise.
3089         (bug-regex19-ENV): Likewise.
3090         (bug-regex20-ENV): Likewise.
3091         (bug-regex22-ENV): Likewise.
3092         (bug-regex23-ENV): Likewise.
3093         (bug-regex25-ENV): Likewise.
3094         (bug-regex26-ENV): Likewise.
3095         (bug-regex30-ENV): Likewise.
3096         (bug-regex32-ENV): Likewise.
3097         (bug-regex33-ENV): Likewise.
3098         (bug-regex34-ENV): Likewise.
3099         (bug-regex35-ENV): Likewise.
3100         (tst-rxspencer-ENV): Likewise.
3101         (tst-rxspencer-no-utf8-ENV): Likewise.
3102         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3103         (tst-sscanf-ENV): Likewise.
3104         (tst-swprintf-ENV): Likewise.
3105         (tst-swscanf-ENV): Likewise.
3106         (test-vfprintf-ENV): Likewise.
3107         (scanf13-ENV): Likewise.
3108         (bug14-ENV): Likewise.
3109         (tst-grouping-ENV): Likewise.
3110         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3111         (tst-strtod3-ENV): Likewise.
3112         (tst-strtod4-ENV): Likewise.
3113         (tst-strtod5-ENV): Likewise.
3114         (testmb2-ENV): Likewise./
3115         * string/Makefile (tst-strxfrm-ENV): Likewise.
3116         (tst-strxfrm2-ENV): Likewise.
3117         (bug-strcoll1-ENV): Likewise.
3118         (test-strcasecmp-ENV): Likewise.
3119         (test-strncasecmp-ENV): Likewise.
3120         * time/Makefile (tst-strptime-ENV): Likewise.
3121         (tst-ftime_l-ENV): Likewise.
3122         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3123         (tst-mbrtowc-ENV): Likewise.
3124         (tst-wcrtomb-ENV): Likewise.
3125         (tst-mbrtowc2-ENV): Likewise.
3126         (tst-c16c32-1-ENV): Likewise.
3127         (tst-mbsnrtowcs-ENV): Likewise.
3128
3129 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3130
3131         * manual/resource.texi (How to get information about the memory
3132         subsystem?): Fix typo.
3133         Reported by Peon de la Parra Ivan <peon@keba.com>
3134
3135 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3136
3137         [BZ #16882]
3138         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3139         (pthread_spin_lock): Branch out of spin loop to proper location.
3140         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3141         (pthread_spin_lock): Likewise.
3142
3143         * nptl/tst-spin4.c: New test.
3144         * nptl/Makefile (tests): Add tst-spin4.
3145
3146 2014-06-03  Andreas Schwab  <schwab@suse.de>
3147
3148         [BZ #15946]
3149         * resolv/res_send.c (send_dg): Reload file descriptor after
3150         calling reopen.
3151
3152 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3153
3154         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3155
3156 2014-06-03  Richard Henderson  <rth@redhat.com>
3157
3158         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3159         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3160         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3161         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3162         in the SAVE_PID block.
3163         (__libc_vfork): New alias.
3164         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3165
3166         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3167         child in registers, not on the stack.  Remove RESET_PID conditionals.
3168         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3169
3170 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3171
3172         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3173
3174 2014-06-03  Wilco  <wdijkstr@arm.com>
3175
3176         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3177         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3178         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3179         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3180         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3181         Likewise.
3182
3183 2014-06-03  Wilco  <wdijkstr@arm.com>
3184
3185         * sysdeps/aarch64/fpu/math_private.h
3186         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3187         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3188         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3189         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3190         Fix declarations.
3191
3192 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3193
3194         * crypt/crypt-private.h: Include ufc-crypt.h.
3195         (__b64_from_24bit): Declare extern.
3196         * crypt/crypt_util.c(__b64_from_24bit): New function.
3197         (b64t): New static const variable.
3198         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3199         (b64t): Remove variable.
3200         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3201         * crypt/sha256-crypt.c: Include crypt-private.h.
3202         (b64t): Remove variable.
3203         (__sha256_crypt_r): Remove b64_from_24bit and replace
3204         with __b64_from_24bit.
3205         * crypt/sha512-crypt.c: Likewise.
3206
3207 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3208
3209         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3210         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3211         Label the code __libc_vfork rather than __vfork.
3212         [!NOT_IN_libc] (vfork): Define as weak alias.
3213         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3214         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3215         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3216
3217 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3218
3219         * malloc/malloc.c (malloc_info): Fix format specifier for
3220         n_mmaps.
3221
3222 2014-06-02  Wilco  <wdijkstr@arm.com>
3223
3224         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3225         FPCR write.
3226
3227 2014-06-02  Wilco  <wdijkstr@arm.com>
3228
3229         [BZ #17009]
3230         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3231         Rewrite to reduce FPCR/FPSR accesses.
3232
3233 2014-06-01  David S. Miller  <davem@davemloft.net>
3234
3235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3236
3237 2014-05-31  David S. Miller  <davem@davemloft.net>
3238
3239         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3240         to occur in round to nearest mode when |x| >= 2.0
3241
3242 2014-05-30  Richard Henderson  <rth@twiddle.net>
3243
3244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3245         (PSEUDO_RET_NOERRNO): Remove.
3246         (ret): Don't redefine.
3247         (ret_NOERRNO): Define in terms of ret.
3248         (ret_ERRVAL): Likewise.
3249
3250         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3251         use of PSEUDO_RET; perform the error check directly.
3252
3253 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3254
3255         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3256         with __int128_t.
3257
3258 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3259
3260         * malloc/malloc (malloc_info): Fix formatting.
3261
3262 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3263             Roland McGrath  <roland@hack.frob.com>
3264
3265         * malloc/malloc (malloc_info): Also print mmapped statistics.
3266
3267 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3268
3269         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3270         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3271
3272 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3273
3274         * malloc/malloc.c (malloc_info): Inline mi_arena.
3275
3276 2014-05-29  Richard Henderson  <rth@twiddle.net>
3277
3278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3279         Remove comma before expanding ASM_ARGS_##nr.
3280         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3281         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3282         of ASM_ARGS_##nr.
3283         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3284         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3285         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3286         (ASM_ARGS_1): Add leading comma.
3287
3288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3289         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3290         to __errno_location.
3291         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3292         Remove the expected plt for __errno_location.
3293
3294         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3295         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3296         call to __read_tp.
3297
3298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3299         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3300         it and break it down.
3301         (DOCARGS_0, DOCARGS_1): Do nothing.
3302         (DOCARGS_2): Update to store into the new stack frame.
3303         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3304         (UNDOCARGS_1): Update to restore from the new stack frame.
3305         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3306         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3307
3308         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3309         (SINGLE_THREAD_P): New parameter for result regno.
3310         (PSEUDO): Update to match; use cbz instead of beq.
3311
3312         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3313         Use ENTRY to define the _nocancel entry point.  Share the syscall
3314         and syscall error check paths with the cancel path.
3315         (PSEUDO_END): New.
3316
3317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3318         whitespace; tabs before and after asm mnemonics.
3319
3320 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3321
3322         [BZ #15132]
3323         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3324         Call fstat64 or stat64 internally, depending on arguments passed.
3325         Replace stat buffer argument with file descriptor argument.
3326         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3327         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3328         Pass fd to __internal_statvfs instead of calling fstat64.
3329         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3330         Pass fd to __internal_statvfs64 instead of calling fstat64.
3331         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3332         Pass -1 to __internal_statvfs instead of calling stat64.
3333         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3334         Pass -1 to __internal_statvfs64 instead of calling stat64.
3335
3336 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3337
3338         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3339         that was previously under [RESET_PID].
3340         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3341
3342         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3343         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3344
3345 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3346
3347         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3348
3349         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3350         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3351
3352 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3353
3354         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3355
3356 2014-05-27  Andreas Schwab  <schwab@suse.de>
3357
3358         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3359         TLS_INIT_TP macro.
3360         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3361         * elf/rtld.c (init_tls, dl_main): Likewise.
3362         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3363         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3364         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3365         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3366         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3367         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3368         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3369         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3370         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3371         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3372         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3373         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3374         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3375         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3376         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3377         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3378         * sysdeps/generic/tls.h: Update description.
3379
3380 2014-05-27  Will Newton  <will.newton@linaro.org>
3381
3382         [BZ #16990]
3383         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3384         and restore r2 rather than just restoring.
3385
3386 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3387
3388         [BZ #16724]
3389         * libio/tst-ftell-append.c: New test case.
3390         * libio/Makefile (tests): Add test case.
3391         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3392         append mode.
3393         * libio/wfileops.c (do_ftell_wide): Likewise.
3394
3395 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3396
3397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3398
3399         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3400         ...
3401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3403         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3404         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3405         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3406         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3407         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3408         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3410         Moved ...
3411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3413         Moved ...
3414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3415         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3416         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3417         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3418         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3419         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3420         ...
3421         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3422         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3423         Moved ...
3424         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3425         here.
3426         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3427         ...
3428         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3429         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3430         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3431
3432         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3433         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3434         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3435         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3436
3437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3438         merge into ...
3439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3441         ...
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3444         ...
3445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3446         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3447         Moved ...
3448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3449         here.
3450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3451         Moved ...
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3454         Moved ...
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3456
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3458         conditional [RESET_PID].
3459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3461         removed.
3462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3463         removed.
3464
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3466         <tcb-offsets.h>.
3467         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3468         (__libc_vfork): New strong alias.
3469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3470         removed.
3471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3472         Removed.
3473
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3475         <tcb-offsets.h>.
3476         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3477         (__libc_vfork): New strong alias.
3478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3479         removed.
3480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3481         removed.
3482
3483 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3484
3485         * malloc/malloc.c (mi_arena): New function.
3486         (malloc_info): Remove nested function mi_arena. Call non-nosted
3487         function mi_arena.
3488
3489 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3490
3491         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3492         by insrwi.
3493         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3494         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3495         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3496         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3497         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3498         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3499         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3500
3501 2014-05-26  Andreas Schwab  <schwab@suse.de>
3502
3503         [BZ #16984]
3504         * locale/programs/repertoire.c (repertoire_read): Add slash
3505         between I18NPATH element and file name.
3506         * locale/programs/locfile.c (locfile_read): Likewise.
3507
3508 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3509
3510         * nptl/pthread_mutexattr_settype.c
3511         (__pthread_mutexattr_settype):
3512         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3513
3514 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3515
3516         * nptl/tst-mutex5 (do_test):
3517         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3518
3519 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3520
3521         * benchtests/README: Document 'init' directive.
3522         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3523         BENCH_INIT.
3524         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3525         (parse_file): Recognize 'init' directive.
3526
3527 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3528
3529         [BZ #16796]
3530         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3531         alignment of struct pthread.
3532
3533 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3534
3535         [BZ #16878]
3536         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3537         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3538         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3539         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3540
3541 2014-05-25  Richard Henderson  <rth@twiddle.net>
3542
3543         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3544         (SINGLE_THREAD_P_PIC): Remove.
3545         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3546         (SINGLE_THREAD_P_PIC): Remove.
3547
3548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3549         branch to syscall error ...
3550         (PSEUDO): ... here.
3551         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3552         from __local_syscall_error to .Lsyscall_error.
3553         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3554         (SYSCALL_ERROR): Update label name.
3555
3556         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3557         Do not use DOARGS/UNDOARGS.
3558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3559         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3560         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3561         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3562         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3563
3564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3565         block comment.
3566
3567         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3568         define if !NOT_IN_libc.
3569         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3570         define with non-default symbol versions.
3571
3572 2014-05-23  Richard Henderson  <rth@twiddle.net>
3573
3574         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3575         (vfork, __vfork): Define via compat_symbol.
3576
3577         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3578         [!HAVE_IFUNC] (vfork_compat): Remove.
3579         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3580
3581 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3582
3583         [BZ #16978]
3584         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3585         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3586         variable.
3587
3588 2014-05-23  Richard Henderson  <rth@twiddle.net>
3589
3590         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3591         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3592         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3593         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3594
3595         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3596         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3597         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3598         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3599         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3600         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3601         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3602         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3603         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3604         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3605         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3606         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3607         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3608         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3609         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3610         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3612         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3613         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3614         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3615         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3616         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3617         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3618         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3619         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3620         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3621         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3622         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3623         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3624         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3625         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3626         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3627         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3628         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3629         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3630         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3631         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3632         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3633         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3634         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3635         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3636         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3637         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3638         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3639         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3640         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3641         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3642         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3643         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3644         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3646         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3648         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3650         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3651
3652         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3653         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3654         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3655         before exiting on error.
3656         (__libc_vfork): New strong alias.
3657         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3658         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3659
3660         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3661         that was previously under [RESET_PID].
3662         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3663
3664         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3665
3666 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3667
3668         [BZ #16977]
3669         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3670         value when x - 1 is zero.
3671         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3672         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3673         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3674         0.0L for an argument of 1.0L.
3675         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3676         Likewise.
3677         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3678         value when x - 1 is zero.
3679         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3680         * sysdeps/i386/fpu/libm-test-ulps: Update.
3681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3682
3683 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3684
3685         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3686         alphasort and versionsort.
3687
3688 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3689
3690         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3691         macro.
3692         [copysignf]: Likewise.
3693
3694 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3695
3696         * crypt/md5-crypt.c: Fix formatting.
3697
3698 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3699
3700         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3701         (b64_from_24bit): New function.
3702
3703 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3704
3705         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3706         libc_hidden_builtin_def to ifunc.
3707         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3708         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3709
3710 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3711
3712         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3713         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3714
3715 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3716
3717         * nscd/Depend (linuxthreads): Remove.
3718         (nptl): Add.
3719         * resolv/Depend (linuxthreads): Remove.
3720         * rt/Depend (linuxthreads): Remove.
3721
3722         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3723         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3724         $(common-objpfx)elf/.
3725         (link-libc-before-gnulib): Likewise.
3726         (elfobjdir): Remove variable.
3727         * Makefile (install): Use $(elf-objpfx) instead of
3728         $(common-objpfx)elf/.
3729         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3730         $(elfobjdir)/.
3731         (link-libc-deps): Likewise.
3732         ($(common-objpfx)libc.so): Likewise.
3733         ($(common-objpfx)linkobj/libc.so): Likewise.
3734         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3735         instead of $(common-objpfx)elf/.
3736         (symbolic-link-list): Likewise.
3737         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3738         [$(cross-compiling) = no]: Likewise.
3739         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3740         $(elfobjdir)/.
3741         (static-gnulib-arch): Likewise.
3742         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3743         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3744         $(common-objpfx)elf/.
3745
3746 2014-05-21  Richard Henderson  <rth@redhat.com>
3747
3748         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3749         (SINGLE_THREAD_P): Use the correct width load.  Fold
3750         into the ldr offset.
3751
3752         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3753         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3754
3755 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3756
3757         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3758         (libgcc_s_resume): Use __attribute_used__.
3759         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3760         Likewise.
3761
3762 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3763
3764         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3765         optimization when used with float constants.
3766
3767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3768
3769 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3770
3771         [BZ #16915]
3772         * locale/nl_langinfo_l.c: Make direct reference to every
3773         _nl_current_CATEGORY symbol.
3774         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3775         (tests-static): Add tst-langinfo-static.
3776         (tests-special): Add tst-langinfo-static.out.
3777         ($(objpfx)tst-langinfo.out): Redirect output.
3778         ($(objpfx)tst-langinfo-static.out): New.
3779         * localedata/tst-langinfo.sh: Send output to stdout.
3780         * localedata/tst-langinfo-static.c: New file.
3781
3782         [BZ #16965]
3783         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3784         when the shift amount is modulo the limb size.
3785
3786 2014-05-20  Richard Henderson  <rth@redhat.com>
3787
3788         [BZ #16967]
3789         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3790         Change type of sa_flags from unsigned int to int.
3791
3792         [BZ #16966]
3793         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3794
3795         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3796
3797 2014-05-20  Will Newton  <will.newton@linaro.org>
3798
3799         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3800         Test the return value of the system call in the nocancel case.
3801
3802 2014-05-20  Will Newton  <will.newton@linaro.org>
3803             Yvan Roux  <yvan.roux@linaro.org>
3804
3805         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3806         #include of asm/ptrace.h.
3807         (PTRACE_GET_THREAD_AREA): Remove #undef.
3808         (PTRACE_GETHBPREGS): Likewise.
3809         (PTRACE_SETHBPREGS): Likewise.
3810         (struct user_regs_struct): New structure.
3811         (struct user_fpsimd_struct): New structure.
3812         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3813         #include of asm/ptrace.h and second #include of sys/user.h.
3814         (PTRACE_GET_THREAD_AREA): Remove #undef.
3815         (PTRACE_GETHBPREGS): Likewise.
3816         (PTRACE_SETHBPREGS): Likewise.
3817         (ELF_NGREG): Use new struct user_regs_struct.
3818         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3819
3820 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3821
3822         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3824
3825 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3826
3827         [BZ #16958]
3828         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3829         membar to avoid block loads/stores to overlap previous stores.
3830
3831 2014-05-17  Richard Henderson  <rth@redhat.com>
3832
3833         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3834         Create the __##syscall_name##_nocancel entry point.
3835         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3836         Remove; let the sysdep-cancel.h code create it.
3837
3838 2014-05-17  David S. Miller  <davem@davemloft.net>
3839
3840         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3841         Protect with __USE_GNU.
3842         (TIOCSET_TEMPT): Likewise.
3843         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3844         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3845         these are already provided in bits/ioctl-types.h
3846
3847 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3848
3849         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3850         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3851
3852         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3853         Use wait4 regardless of [__NR_waitpid].
3854
3855 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3856
3857         PR libgcc/60166
3858         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3859         (_FP_NANSIGN_Q): Set the quiet bit.
3860
3861 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3862
3863         * benchtests/Makefile
3864         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3865         not $(common-objpfx)math/libm.so.
3866         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3867         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3868         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3869         $(common-objpfx)dlfcn/libdl.so.
3870         ($(objpfx)tst-audit8): Depend on $(libm), not
3871         $(common-objpfx)math/libm.so.
3872         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3873         not $(common-objpfx)dlfcn/libdl.so.
3874         * math/Makefile
3875         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3876         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3877         [$(build-shared) = yes].
3878         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3879         $(common-objpfx)nptl/libpthread.so.
3880         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3881         $(common-objpfx)math/libm.so$(libm.so-version) or
3882         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3883         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3884         $(common-objpfx)dlfcn/libdl.so.
3885         * setjmp/Makefile (link-libm): Remove variable.
3886         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3887         * stdio-common/Makefile (link-libm): Remove variable.
3888         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3889         * stdlib/Makefile (link-libm): Remove variable.
3890         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3891         ($(objpfx)tst-strtod-round): Likewise.
3892         ($(objpfx)tst-tininess): Likewise.
3893         ($(objpfx)tst-strtod-underflow): Likewise.
3894         ($(objpfx)tst-strtod6): Likewise.
3895         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3896         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3897         $(common-objpfx)dlfcn/libdl.so.
3898
3899 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3900
3901         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3902         BSD terminal modes definitions.
3903
3904 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3905
3906         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3907         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3908
3909         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3910         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3911         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3912         Don't do #include_next.
3913         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3914         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3915         Don't do #include_next.
3916         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3917         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3918         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3919         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3920
3921 2014-05-16  Allan McRae  <allan@archlinux.org>
3922
3923         * po/sv.po: Update Swedish translation from translation project.
3924
3925         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3926         in sed expression.
3927
3928 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3929
3930         [BZ #16917]
3931         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3932         errno if the TIOCGPTN ioctl fails with an error different than
3933         EINVAL.
3934         * login/tst-ptsname.c: New file.
3935         * login/Makefile (tests): Add tst-ptsname.
3936
3937         [BZ #16943]
3938         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3939         and prlimit64.
3940
3941 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3942
3943         [BZ #16849]
3944         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3945         herrno to return EAI_AGAIN.
3946
3947 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3948
3949         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3950         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3951         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3952         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3953         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3954         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3955         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3956         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3957         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3958         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3959         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3960         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3961         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3962         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3963         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3964         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3965         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3966         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3967         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3968         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3969         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3970         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3971         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3972         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3973         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3974         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3975         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3976         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3977         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3978         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3980         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3982         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3984         Moved ...
3985         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3987         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3989         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3991         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3993         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3995         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3997         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3999         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4001         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4003         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4005         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4007         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4009         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4011         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4013         Moved ...
4014         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4016         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4018         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4020         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4022         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4024         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4026         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4028         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4030         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4032         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4034         Moved ...
4035         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4037         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4038
4039         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4040         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4041         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4042         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4043         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4044         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4045         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4046         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4047         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4048         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4049         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4050         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4051         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4052         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4053         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4054         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4055         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4056         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4057         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4058         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4059         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4061         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4063         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4064         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4065         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4066         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4067         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4068         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4069         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4070
4071         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4072         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4073
4074         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4075         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4076         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4077         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4078         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4079         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4080         Moved ...
4081         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4082         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4083         Moved ...
4084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4085         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4086         Moved ...
4087         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4088         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4089         Moved ...
4090         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4091         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4092         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4093         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4094         Moved ...
4095         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4097         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4099         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4101         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4103         Moved ...
4104         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4106         Moved ...
4107         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4108         ... here.
4109         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4110         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4111         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4112         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4113         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4114         Moved ...
4115         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4116         ... here.
4117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4118         Moved ...
4119         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4120         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4121         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4122         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4123         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4124         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4125         Moved ...
4126         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4127         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4128         Moved ...
4129         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4130         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4131         Moved ...
4132         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4133         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4134         Moved ...
4135         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4136         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4137         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4138         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4139         Moved ...
4140         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4141         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4142         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4144         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4145         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4146         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4148         Moved ...
4149         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4151         Moved ...
4152         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4153         ... here.
4154         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4155         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4156         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4157         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4158         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4159         Moved ...
4160         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4161         ... here.
4162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4163         Moved ...
4164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4165         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4166         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4167         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4168         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4169         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4170         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4171         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4172         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4173         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4174         Moved ...
4175         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4176         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4177         Moved ...
4178         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4179         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4180         Moved ...
4181         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4183         Moved ...
4184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4185         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4186         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4187         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4188         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4190         Moved ...
4191         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4192         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4193         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4194         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4195         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4196         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4197         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4199         Moved ...
4200         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4202         Moved ...
4203         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4204         ... here.
4205         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4206         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4207         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4208         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4210         Moved ...
4211         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4212         ... here.
4213         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4214         Moved ...
4215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4216         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4217         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4218         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4219         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4220         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4221         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4222         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4223         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4224         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4225         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4226
4227         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4228         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4229
4230         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4231         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4232
4233         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4234         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4235         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4236         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4237         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4238         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4239         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4240         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4241         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4242         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4243         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4244         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4245         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4246         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4247         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4248         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4249         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4251         Moved ...
4252         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4254         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4256         Moved ...
4257         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4258         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4261         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4263         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4265         Moved ...
4266         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4268         Moved ...
4269         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4270         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4275         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4276         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4277         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4278         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4279         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4280         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4281         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4282         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4283         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4284         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4285         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4286
4287         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4288         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4289         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4290         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4291         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4292
4293         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4294         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4296         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4297         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4298         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4299         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4300         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4301         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4302         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4303
4304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4306
4307         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4308         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4309         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4310         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4311         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4312         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4313         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4314         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4315         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4316         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4317         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4318         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4319         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4320         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4322         Update #include.
4323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4324         Likewise.
4325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4326         Likewise.
4327         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4328         Likewise.
4329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4330         Likewise.
4331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4332         Likewise.
4333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4334         Likewise.
4335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4336         Likewise.
4337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4338         Likewise.
4339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4340         Likewise.
4341         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4346         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4347         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4349         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4350         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4351         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4352         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4354         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4356
4357         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4358         that was previously under [RESET_PID].
4359         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4360         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4361         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4362
4363         * sysdeps/i386/nptl/Implies: New file.
4364         * sysdeps/x86_64/nptl/Implies: New file.
4365         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4366         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4367         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4368         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4369
4370         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4371         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4372         (__libc_vfork): New strong alias.
4373         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4374         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4375
4376         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4377         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4378         (__libc_vfork): New strong alias.
4379         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4380         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4381
4382         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4383         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4384         (__libc_vfork): New strong alias.
4385         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4386         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4387         * nptl/pt-vfork.c: New file.
4388         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4389         (libpthread: GLIBC_2.20): New version set (empty).
4390
4391 2014-05-14  Will Newton  <will.newton@linaro.org>
4392
4393         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4394         rather than #if.
4395
4396 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4397
4398         [BZ #16564]
4399         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4400         arguments with exponent 65 or above.
4401         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4402         arguments 0x1p113L or above.
4403         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4404         to arguments 0x1p107L or above.
4405         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4406         positive arguments with exponent 65 or above.
4407         * math/auto-libm-test-in: Add more tests of log1p.
4408         * math/auto-libm-test-out: Regenerated.
4409
4410         [BZ #16928]
4411         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4412         non-finite arguments is +0.
4413         * math/s_cacosf.c (__cacosf): Likewise.
4414         * math/s_cacosl.c (__cacosl): Likewise.
4415         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4416         * sysdeps/i386/fpu/libm-test-ulps: Update.
4417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4418
4419         [BZ #16927]
4420         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4421         value.
4422         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4423         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4424         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4425         for explicit high bit of mantissa when testing for argument equal
4426         to 1.
4427         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4428         * sysdeps/i386/fpu/libm-test-ulps: Update.
4429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4430
4431         [BZ #16516]
4432         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4433         (__erf): Scale by 16 instead of 8 in potentially underflowing
4434         case.  Ensure exception if result actually underflows.
4435         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4436         (__erff): Scale by 16 instead of 8 in potentially underflowing
4437         case.  Ensure exception if result actually underflows.
4438         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4439         (efx8): Remove variable.
4440         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4441         case.  Ensure exception if result actually underflows.
4442         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4443         (efx8): Remove variable.
4444         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4445         case.  Ensure exception if result actually underflows.
4446         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4447         (efx8): Remove variable.
4448         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4449         case.  Ensure exception if result actually underflows.
4450         * math/auto-libm-test-in: Add more tests of erf.
4451         * math/auto-libm-test-out: Regenerated.
4452
4453 2014-05-14  Andreas Schwab  <schwab@suse.de>
4454
4455         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4456         Remove code conditionalized on USE___THREAD.
4457
4458         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4459         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4460         not definedness.
4461
4462 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4463
4464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4465         Define unconditionally.
4466         (__ASSUME_O_CLOEXEC): Likewise.
4467         (__ASSUME_SOCK_CLOEXEC): Likewise.
4468         (__ASSUME_IN_NONBLOCK): Likewise.
4469         (__ASSUME_PIPE2): Likewise.
4470         (__ASSUME_EVENTFD2): Likewise.
4471         (__ASSUME_SIGNALFD4): Likewise.
4472         (__ASSUME_DUP3): Likewise.
4473         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4474         (__ASSUME_DUP3): Do not define.
4475         (__ASSUME_EVENTFD2): Likewise.
4476         (__ASSUME_IN_NONBLOCK): Likewise.
4477         (__ASSUME_O_CLOEXEC): Likewise.
4478         (__ASSUME_PIPE2): Likewise.
4479         (__ASSUME_SIGNALFD4): Likewise.
4480         (__ASSUME_SOCK_CLOEXEC): Likewise.
4481         (__ASSUME_UTIMES): Undefine.
4482         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4483         (__ASSUME_UTIMES): Do not define.
4484         (__ASSUME_O_CLOEXEC): Likewise.
4485         (__ASSUME_SOCK_CLOEXEC): Likewise.
4486         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4487         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4488         0x020621].
4489         (__ASSUME_PIPE2): Likewise.
4490         (__ASSUME_EVENTFD2): Likewise.
4491         (__ASSUME_SIGNALFD4): Likewise.
4492         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4493         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4494         Do not define.
4495         (__ASSUME_EVENTFD2): Likewise.
4496         (__ASSUME_SIGNALFD4): Likewise.
4497         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4498         (__ASSUME_32BITUIDS): Likewise.
4499         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4500         (__ASSUME_IPC64): Likewise.
4501         (__ASSUME_ST_INO_64_BIT): Likewise.
4502         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4503         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4504         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4505         (__ASSUME_UTIMES): Do not define.
4506         (__ASSUME_PSELECT): Likewise.
4507         (__ASSUME_PPOLL): Likewise.
4508         (__ASSUME_O_CLOEXEC): Likewise.
4509         (__ASSUME_SOCK_CLOEXEC): Likewise.
4510         (__ASSUME_IN_NONBLOCK): Likewise.
4511         (__ASSUME_PIPE2): Likewise.
4512         (__ASSUME_EVENTFD2): Likewise.
4513         (__ASSUME_SIGNALFD4): Likewise.
4514         (__ASSUME_DUP3): Likewise.
4515         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4516         (__ASSUME_UTIMES): Likewise.
4517         (__ASSUME_O_CLOEXEC): Likewise.
4518         (__ASSUME_SOCK_CLOEXEC): Likewise.
4519         (__ASSUME_IN_NONBLOCK): Likewise.
4520         (__ASSUME_PIPE2): Likewise.
4521         (__ASSUME_EVENTFD2): Likewise.
4522         (__ASSUME_SIGNALFD4): Likewise.
4523         (__ASSUME_DUP3): Likewise.
4524         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4525         (__ASSUME_UTIMES): Likewise.
4526         (__ASSUME_O_CLOEXEC): Likewise.
4527         (__ASSUME_SOCK_CLOEXEC): Likewise.
4528         (__ASSUME_IN_NONBLOCK): Likewise.
4529         (__ASSUME_PIPE2): Likewise.
4530         (__ASSUME_EVENTFD2): Likewise.
4531         (__ASSUME_SIGNALFD4): Likewise.
4532         (__ASSUME_DUP3): Likewise.
4533         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4534         Likewise.
4535         (__ASSUME_UTIMES): Likewise.
4536         (__ASSUME_EVENTFD2): Likewise.
4537         (__ASSUME_SIGNALFD4): Likewise.
4538         * sysdeps/unix/sysv/linux/tile/kernel-features.h
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         (__ASSUME_UTIMES): Undefine.
4547
4548         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4549         feclearexcept.  Remove symbol versioning code.
4550         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4551         symbol versioning code.
4552         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4553         symbol versioning code.
4554         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4555         feupdateenv.  Remove symbol versioning code.
4556         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4557         fegetexceptflag.  Remove symbol versioning code.
4558         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4559         fesetexceptflag.  Remove symbol versioning code.
4560         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4561         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4562         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4563         (__posix_fadvise64_l32): Remove prototype.
4564         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4565         code.
4566
4567 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4568
4569         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4570         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4571         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4572         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4573
4574 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4575
4576         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4577         current working directory
4578
4579 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4580
4581         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4582         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4583         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4584         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4585         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4586         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4587         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4588         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4589         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4590         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4591         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4592         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4593         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4594         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4595         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4596         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4597         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4598         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4599         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4600         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4601         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4602         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4603         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4604         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4605         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4606         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4607         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4608         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4609         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4610         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4611         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4612         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4614         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4615         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4616         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4617         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4618         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4619         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4620         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4621         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4622         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4623
4624         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4625         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4626
4627         * sysdeps/unix/sysv/linux/arm/Makefile
4628         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4629         Add rt-aeabi_unwind_cpp_pr1.
4630         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4631         Add nptl-aeabi_unwind_cpp_pr1.
4632         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4633         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4634         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4635         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4636         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4637         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4638
4639         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4640         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4641         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4642         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4643
4644         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4645         Deconditionalize the code that was previously under [RESET_PID].
4646         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4647
4648         * sysdeps/generic/exit-thread.h: New file.
4649         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4650         * include/unistd.h (__exit_thread): Remove declaration.
4651         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4652         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4653         * csu/libc-start.c: Include <exit-thread.h>.
4654         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4655         * nptl/pthread_create.c: Include <exit-thread.h>.
4656         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4657         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4658         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4659         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4660         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4661         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4662         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4663         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4664         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4665         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4666         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4667         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4668         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4669         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4670         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4671         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4672         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4673
4674 2014-05-13  Andreas Schwab  <schwab@suse.de>
4675
4676         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4677
4678 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4679
4680         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4681         (__ASSUME_UTIMES): Do not condition on kernel version.
4682         (__ASSUME_PSELECT): Define unconditionally.
4683         (__ASSUME_PPOLL): Likewise.
4684         (__ASSUME_ATFCTS): Likewise.
4685         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4686         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4687         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4688         (__ASSUME_UTIMENSAT): Define unconditionally.
4689         (__ASSUME_PRIVATE_FUTEX): Likewise.
4690         (__ASSUME_FALLOCATE): Likewise.
4691         (__ASSUME_O_CLOEXEC): Likewise.
4692         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4693         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4694         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4695         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4696         (__ASSUME_IN_NONBLOCK): Likewise.
4697         (__ASSUME_PIPE2): Likewise.
4698         (__ASSUME_EVENTFD2): Likewise.
4699         (__ASSUME_SIGNALFD4): Likewise.
4700         (__ASSUME_DUP3): Likewise.
4701         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4702         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4703         (__ASSUME_AT_RANDOM): Likewise.
4704         (__ASSUME_PREADV): Likewise.
4705         (__ASSUME_PWRITEV): Likewise.
4706         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4707         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4708         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4709         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4710         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4711         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4712         (__ASSUME_O_CLOEXEC): Define unconditionally.
4713         (__ASSUME_PSELECT): Do not undefine conditionally.
4714         (__ASSUME_PPOLL): Likewise.
4715         (__ASSUME_ATFCTS): Likewise.
4716         (__ASSUME_SET_ROBUST_LIST): Likewise.
4717         (__ASSUME_UTIMENSAT): Likewise.
4718         (__ASSUME_FDATASYNC): Define unconditionally.
4719         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4720         (__ASSUME_SIGFRAME_V2): Likewise.
4721         )__ASSUME_EVENTFD2): Likewise.
4722         (__ASSUME_SIGNALFD4): Likewise.
4723         (__ASSUME_PSELECT): Do not undefine conditionally.
4724         (__ASSUME_PPOLL): Likewise.
4725         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4726         (__ASSUME_PSELECT): Define unconditionally.
4727         (__ASSUME_PPOLL): Likewise.
4728         (__ASSUME_O_CLOEXEC): Likewise.
4729         (__ASSUME_SOCK_CLOEXEC): Likewise.
4730         (__ASSUME_IN_NONBLOCK): Likewise.
4731         (__ASSUME_PIPE2): Likewise.
4732         (__ASSUME_EVENTFD2): Likewise.
4733         (__ASSUME_SIGNALFD4): Likewise.
4734         (__ASSUME_DUP3): Likewise.
4735         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4736         (__ASSUME_O_CLOEXEC): Likewise.
4737         (__ASSUME_SOCK_CLOEXEC): Likewise.
4738         (__ASSUME_IN_NONBLOCK): Likewise.
4739         (__ASSUME_PIPE2): Likewise.
4740         (__ASSUME_EVENTFD2): Likewise.
4741         (__ASSUME_SIGNALFD4): Likewise.
4742         (__ASSUME_DUP3): Likewise.
4743         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4744         (__ASSUME_EVENTFD2): Likewise.
4745         (__ASSUME_SIGNALFD4): Likewise.
4746         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4747
4748 2014-05-12  Andreas Schwab  <schwab@suse.de>
4749
4750         [BZ #16932]
4751         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4752         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4753         than maximum RPC packet size.
4754         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4755         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4756         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4757         (_nss_nis_getservbyport_r): Likewise.
4758
4759 2014-05-12  Will Newton  <will.newton@linaro.org>
4760
4761         * malloc/Makefile (tests): Add tst-mallopt.
4762         * malloc/tst-mallopt.c: New file.
4763
4764 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4765
4766         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4767         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4768
4769 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4770
4771         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4772         (tst-tlsmod6.so): Likewise.
4773
4774 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4775
4776         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4777
4778 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4779
4780         [BZ #16064]
4781         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4782         and <dl-procinfo.h>.
4783         (__fegetenv): Save SSE state in envp->__eip if supported.
4784         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4785         envp->__eip if supported.
4786         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4787         and <dl-procinfo.h>.
4788         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4789         __data_offset and __data_selector in environment to 0.  Set SSE
4790         state if supported.
4791         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4792         test-fenv-sse.
4793         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4794         -mfpmath=sse.
4795         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4796
4797 2014-05-09  Will Newton  <will.newton@linaro.org>
4798
4799         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4800         and libc_relro_required for ARM.
4801         * sysdeps/arm/preconfigure: Regenerate.
4802
4803 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4804             Stefan Liebler  <stli@linux.vnet.ibm.com>
4805
4806         * config.make.in (enable-lock-elision): New Makefile variable.
4807         * configure.ac: Likewise.
4808         * configure: Regenerate.
4809         * sysdeps/s390/configure.ac:
4810         Add check for gcc transactions support.
4811         * sysdeps/s390/configure: Regenerate.
4812         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4813         Build elision files if enabled.
4814         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4815         Add lock elision support for s390.
4816         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4817         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4818         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4819         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4820         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4821         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4823         Likewise.
4824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4825         Likewise.
4826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4827         Likewise.
4828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4829         Likewise.
4830         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4831         (__lll_timedlock_elision, __lll_lock_elision)
4832         (__lll_unlock_elision, __lll_trylock_elision)
4833         (lll_timedlock_elision, lll_lock_elision)
4834         (lll_unlock_elision, lll_trylock_elision): Add.
4835         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4836         (pthread_mutex_t): Add lock elision support for s390.
4837
4838 2014-05-14  Wilco  <wdijkstr@arm.com>
4839
4840         * sysdeps/arm/fclrexcpt.c: Cleanup.
4841         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4842         * sysdeps/arm/feenablxcpt.c: Cleanup.
4843         * sysdeps/arm/fegetenv.c: Cleanup.
4844         * sysdeps/arm/fegetexcept.c: Cleanup.
4845         * sysdeps/arm/fegetround.c: Cleanup.
4846         * sysdeps/arm/feholdexcpt.c: Cleanup.
4847         * sysdeps/arm/fesetenv.c: Cleanup.
4848         * sysdeps/arm/fesetround.c: Cleanup.
4849         * sysdeps/arm/feupdateenv.c: Cleanup.
4850         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4851         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4852         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4853         * sysdeps/arm/ftestexcept.c: Cleanup.
4854         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4855         * sysdeps/arm/setfpucw.c: Cleanup.
4856
4857 2014-05-09  Will Newton  <will.newton@linaro.org>
4858
4859         * sysdeps/arm/armv7/strcmp.S: New file.
4860         * NEWS: Mention addition of ARMv7 optimized strcmp.
4861
4862 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4863
4864         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4865         look for %.ac rather than %.in.
4866
4867         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4868         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4869         * sysdeps/mach/hurd/configure: Regenerated.
4870         * sysdeps/unix/sysv/linux/configure: Regenerated.
4871
4872         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4873
4874 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4875
4876         [BZ# 16922]
4877         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4878         (LONG_SUB): Ditto.
4879         (PTR_SUB): Ditto.
4880
4881 2014-05-07  Andreas Schwab  <schwab@suse.de>
4882
4883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4884         when skipping over non-matching result from nscd.
4885
4886 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4887
4888         [BZ #16876]
4889         * nptl/sockperf.c (client): Check socket return value.
4890
4891         [BZ #16877]
4892         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4893         nscd security class.
4894
4895 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4896
4897         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4898         * sysdeps/arm/unwind.h: ... here.
4899
4900 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4901
4902         [BZ# 16916]
4903         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4904         Define.
4905
4906 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4907
4908         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4909         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4910         multiarch strncpy for PPC64.
4911         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4912         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4914         multiarch optimizations.
4915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4916         (__libc_ifunc_impl_list): Likewise.
4917         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4918         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4919         multiarch stpncpy for PPC64.
4920         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4921         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4922
4923 2014-05-06  Andreas Schwab  <schwab@suse.de>
4924
4925         [BZ #16912]
4926         * gmon/mcount.c (_MCOUNT_DECL): Use
4927         atomic_compare_and_exchange_bool_acq instead of
4928         catomic_compare_and_exchange_bool_acq.
4929
4930 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4931
4932         * elf/Makefile (others, install-bin): Remove pldd.
4933         (pldd-modules): Variable removed.
4934         ($(objpfx)pldd): Target removed.
4935         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4936         (others, install-bin): Append pldd here.
4937         ($(objpfx)pldd): New target.
4938
4939         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4940         to 0, so the first #if test emitted later doesn't see it undefined.
4941         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4942         * sysdeps/gnu/errlist.c: Regenerated.
4943
4944 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4945
4946         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4947         [libc_hidden_builtin_def]: Define to empty value.
4948         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4949         [libc_hidden_builtin_def]: Likewise.
4950         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4951         [libc_hidden_builtin_def]: Likewise.
4952         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4953         [libc_hidden_builtin_def]: Likewise.
4954         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4955         __redirect_memcpy and define ifunc as default hidden symbol.
4956         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4957         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4958
4959 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4960
4961         * locale/iso-4217.def: Reintroduce XDR currency.
4962
4963 2014-05-04  Allan McRae  <allan@archlinux.org>
4964
4965         * po/eo.po: Update Esperanto translation from translation project.
4966
4967 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4968
4969         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4970         and FEATURE_INDEX_MAX to 1.
4971         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4972
4973 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4974
4975         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4976         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4977         * iconvdata/big5.c (ONE_DIRECTION): Define.
4978         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4979         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4980         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4981         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4982         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4983         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4984         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4985         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4986         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4987         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4988         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4989         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4990         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4991         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4992         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4993         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4994         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4995         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4996         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4997         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4998         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4999         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5000         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5001         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5002         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5003         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5004         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5005         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5006         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5007         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5008         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5009         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5010         * iconvdata/johab.c (ONE_DIRECTION): Define.
5011         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5012         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5013         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5014         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5015         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5016         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5017         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5018         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5019         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5020         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5021
5022 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5023
5024         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5025         (_IO_JUMPS_OFFSET): Define to 0.
5026
5027         * nptl/sysdeps/pthread/bits/libc-lock.h
5028         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5029         (__libc_lock_define_initialized_recursive): Always define using
5030         initializer.  Modern compilers treat uninitialized (implicit zero) and
5031         explicit zero initializers the same (i.e. put the datum in bss).
5032
5033 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5034
5035         * nscd/nscd-client.h: Include <string.h>.
5036
5037 2014-05-01  David S. Miller  <davem@davemloft.net>
5038
5039         [BZ #16885]
5040         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5041         multiple zero bytes exist at the end of a string.
5042         Reported by Aurelien Jarno <aurelien@aurel32.net>
5043
5044         * string/test-strcmp.c (check): Add explicit test for situations where
5045         there are multiple zero bytes after the first.
5046
5047 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5048
5049         [BZ #16890]
5050         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5051         when compiling wprintf.
5052         * stdio-common/tstdiomisc.c (t3): New function.
5053         (main): Call it.
5054
5055 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5056
5057         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5058         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5059         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5060         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5061
5062 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5063
5064         * stdlib/longlong.h: Updated from GCC.
5065
5066 2014-05-01  Will Newton  <will.newton@linaro.org>
5067             Bernard Ogden  <bernie.ogden@linaro.org>
5068
5069         * NEWS: Update fixed bug list.
5070
5071         [BZ #15119]
5072         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5073
5074 2014-04-30  David S. Miller  <davem@davemloft.net>
5075
5076         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5077         (libc_feholdexcept_setround_sparc_ctx): New function.
5078         (libc_fesetenv_sparc_ctx): Likewise.
5079         (libc_feupdateenv_sparc_ctx): Likewise.
5080         (libc_feholdsetround_sparc_ctx): Likewise.
5081         (libc_feholdexcept_setround_ctx): Define.
5082         (libc_feholdexcept_setroundf_ctx): Likewise.
5083         (libc_feholdexcept_setroundl_ctx): Likewise.
5084         (libc_fesetenv_ctx): Likewise.
5085         (libc_fesetenvf_ctx): Likewise.
5086         (libc_fesetenvl_ctx): Likewise.
5087         (libc_feupdateenv_ctx): Likewise.
5088         (libc_feupdateenvf_ctx): Likewise.
5089         (libc_feupdateenvl_ctx): Likewise.
5090         (libc_feresetround_ctx): Likewise.
5091         (libc_feresetroundf_ctx): Likewise.
5092         (libc_feresetroundl_ctx): Likewise.
5093         (libc_feholdsetround_ctx): Likewise.
5094         (libc_feholdsetroundf_ctx): Likewise.
5095         (libc_feholdsetroundl_ctx): Likewise.
5096
5097         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5098         with __USE_GNU instead of XOPEN cpp guards.
5099
5100         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5101         0.
5102
5103         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5104         with XOPEN cpp guards.
5105
5106 2014-04-30  Julian Brown  <julian@codesourcery.com>
5107
5108         [BZ #16888]
5109         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5110         handling.
5111
5112 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5113
5114         [BZ #9894]
5115         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5116         Change to 2.6.32.
5117         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5118         * sysdeps/unix/sysv/linux/configure: Regenerated.
5119         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5120         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5121         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5122         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5123         * README: Update reference to required Linux kernel version.
5124         * manual/install.texi (Linux): Update reference to required Linux
5125         kernel headers version.
5126         * INSTALL: Regenerated.
5127
5128         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5129         header inclusion.
5130         [POSIX] (limits.h): Likewise.
5131         [POSIX] (math.h): Likewise.
5132         [POSIX] (sys/wait.h): Likewise.
5133         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5134         function.
5135         [POSIX] (stddef.h): Do not allow header inclusion.
5136
5137 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5138
5139         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5140
5141 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5142
5143         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5144         Return immediately after lll_futex_wake.
5145
5146 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5147
5148         [BZ #16791]
5149         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5150         structure.
5151         (datahead_init_pos): Call datahead_init_common early.
5152         (datahead_init_neg): Likewise.
5153
5154         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5155         datahead_init_neg): New functions.
5156         * nscd/aicache.c (addhstaiX): Use them.
5157         * nscd/grpcache.c (cache_addgr): Likewise.
5158         * nscd/hstcache.c (cache_addhst): Likewise.
5159         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5160         * nscd/netgroupcache.c (do_notfound): Likewise.
5161         (addgetnetgrentX): Likewise.
5162         (addinnetgrX): Likewise.
5163         * nscd/pwdcache.c (cache_addpw): Likewise.
5164         * nscd/servicescache.c (cache_addserv): Likewise.
5165
5166 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5167             Atsushi Onoe  <atsushi@onoe.org>
5168
5169         [BZ #14308]
5170         [BZ #12994]
5171         [BZ #13651]
5172         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5173         one response is valid.
5174         * resolv/res_send.c (send_dg): Check for validity of other
5175         response if the current response is a referral.
5176
5177 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5178
5179         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5180
5181 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5182
5183         [BZ #16823]
5184         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5185         Always divide by positive zero when computing -Inf result.
5186         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5187         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5188
5189 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5190
5191         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5192         FPSCR if value do not change.
5193         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5194         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5195         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5196         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5197         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5198         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5199         function.
5200
5201 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5202
5203         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5204         * sysdeps/unix/sysv/linux/hppa: Move directory from
5205         ports/systeps/unix/sysv/linux/hppa.
5206         * README: Update listing for hppa-*-linux-gnu.
5207
5208 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5209
5210         [BZ #16754]
5211         * manual/stdio.texi (Hook functions): Fix types of stream hook
5212         functions.
5213         [BZ #16854]
5214         * socket/sys/socket.h: Fix typo in comment.
5215
5216 2014-04-28  Wilco  <wdijkstr@arm.com>
5217
5218         * sysdeps/arm/fenv_private.h: New file.
5219         * sysdeps/arm/math_private.h: New file.
5220         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5221
5222 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5223
5224         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5225         with __int128_t.
5226         (La_x86_64_retval): Likewise.
5227
5228 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5229
5230         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5231         fpsr if value didn't change.
5232         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5233         to fpcr if value didn't change.
5234         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5235         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5236         fpsr or fpcr if value didn't change.
5237         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5238         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5239         fpcr if value didn't change.
5240         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5241         to fpsr if value didn't change.
5242
5243 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5244
5245         * nptl/tst-sem3.c: Use test-skeleton.c
5246         (main): Rename to do_test.  Use return instead of
5247         exit.
5248         * nptl/tst-sem4.c: Use test-skeleton.c
5249         (main): Rename to do_test.
5250
5251 2014-04-22  David S. Miller  <davem@davemloft.net>
5252
5253         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5254         (struct sigaction): New struct member __glibc_reserved0, change
5255         type of sa_flags to int.
5256
5257 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5258
5259         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5260         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5261
5262 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5263
5264         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5265         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5266
5267 2014-04-22  Will Newton  <will.newton@linaro.org>
5268             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5269
5270         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5271         (__longjmp): Add longjmp and longjmp_target SystemTap
5272         probes.
5273         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5274         (__sigsetjmp): Add setjmp SystemTap probe.
5275
5276 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5277
5278         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5279         match manual order.
5280
5281 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5282
5283         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5284
5285         * sysdeps/powerpc/fpu/fenv_private.h
5286         (libc_feholdexcept_setroundl_ctx): Define to
5287         libc_feholdexcept_setround_ppc_ctx.
5288         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5289         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5290         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5291         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5292
5293 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5294
5295         * sysdeps/aarch64/math-tests.h: New file.
5296
5297 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5298
5299         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5300         New.
5301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5302         Check and set bit_AVX2_Usable.
5303         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5304         macro.
5305         (bit_AVX2): Likewise.
5306         (index_AVX2_Usable): Likewise.
5307         (CPUID_AVX2): Likewise.
5308         (HAS_AVX2): Likewise.
5309
5310 2014-04-17  Will Newton  <will.newton@linaro.org>
5311
5312         * manual/setjmp.texi (System V contexts): Add note that
5313         calling setcontext on a context created by a call to a
5314         signal handler is undefined.  Update text to note that
5315         setcontext from a signal handler is possible but not
5316         recommended.
5317
5318         [BZ #16629]
5319         * stdlib/tst-setcontext.c: Include signal.h.
5320         (main): Check that the signal stack before and
5321         after swapcontext is the same.
5322
5323         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5324         Re-implement to restore registers in user code and avoid
5325         rt_sigreturn system call.
5326
5327 2014-04-17  Wilco  <wdijkstr@arm.com>
5328
5329         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5330         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5331         * math/test-fenv.c: Skip exception trap tests on targets which only
5332         support non-stop mode.
5333
5334 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5335             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5336
5337         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5338         (libc_feholdsetround_aarch64_ctx)
5339         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5340         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5341         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5342         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5343         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5344         (libc_feresetround_noexl_ctx): Define.
5345
5346 2014-04-16  Richard Henderson  <rth@redhat.com>
5347
5348         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5349
5350         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5351         unwind tables.
5352
5353         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5354         const from the non-libc, non-ldso copy.
5355
5356         * sysdeps/alpha/libm-test-ulps: Regenerate.
5357
5358 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5359             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5360
5361         * sysdeps/aarch64/fpu/math_private.h: New file.
5362
5363 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5364
5365         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5366
5367 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5368
5369         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5370         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5371         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5372         Intel MPX bound registers before _dl_profile_fixup.
5373         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5374         registers after _dl_profile_fixup.  Save and restore bound
5375         registers bnd0/bnd1 when calling _dl_call_pltexit.
5376         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5377         (LR_BND_OFFSET): Likewise.
5378         (LRV_BND0_OFFSET): Likewise.
5379         (LRV_BND1_OFFSET): Likewise.
5380
5381 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5382
5383         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5384         to...
5385         * sysdeps/mach/hurd/i386/tls.h: ... here.
5386         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5387         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5388         fields.
5389
5390 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5391
5392         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5393
5394 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5395
5396         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5397
5398 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5399
5400         [BZ #14770]
5401         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5402         * sysdeps/s390/configure: Regenerate.
5403
5404         [BZ #16824]
5405         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5406         Set round-to-nearest internally to reduce error accumulation.
5407
5408 2014-04-16  Alan Modra  <amodra@gmail.com>
5409
5410         [BZ #16740]
5411         [BZ #16619]
5412         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5413         * math/libm-test.inc (frexp_test_data): Add tests.
5414         * NEWS: Update fixed bug list.
5415
5416 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5417
5418         * benchtests/Makefile: Depend on libraries in build directory.
5419         (bench-math): Separate out math tests.
5420         (bench-pthread): Separate out pthread tests.
5421         (bench): Include math and pthread tests.
5422
5423 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5424
5425         [BZ #16831]
5426         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5427         _dl_debug_initialize.
5428
5429         * configure.ac: Remove SELinux header check.
5430         * configure: Regenerate.
5431         * nscd/selinux.c (perms): Array of const char* to permission names.
5432         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5433         default policy. Call string_to_security_class and string_to_av_perm to
5434         translate strings. Enforce default policy and call avs_has_perm with
5435         results of translated strings.
5436
5437 2014-04-13  David S. Miller  <davem@davemloft.net>
5438
5439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5440
5441 2014-04-12  Allan McRae  <allan@archlinux.org>
5442
5443         [BZ #16838]
5444         * manual/string.texi (Collation Functions): Fix qsort argument
5445         order in example.
5446         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5447
5448 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5449
5450         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5451         Make the test a no-op if there are no exceptions defined.
5452
5453 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5454
5455         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5456         enable-hardcoded-path-in-tests
5457
5458 2014-04-11  Will Newton  <will.newton@linaro.org>
5459
5460         * benchtests/Makefile (extra-objs): Add json-lib.o.
5461         (bench-func): Tidy up JSON output.
5462         * benchtests/bench-skeleton.c: Include json-lib.h.
5463         (main): Use JSON library functions to do output of
5464         benchmark results.
5465         * benchtests/bench-timing-type.c (main): Output the
5466         timing type simply, leaving formatting to the user.
5467         * benchtests/json-lib.c: New file.
5468         * benchtests/json-lib.h: Likewise.
5469
5470 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5471
5472         [BZ #15215]
5473         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5474         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5475         memory barriers.  Add comments.
5476         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5477         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5478         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5479         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5480         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5481         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5482
5483 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5484
5485         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5486         * sysdeps/s390/s390-64/configure.ac: ... this ...
5487         * sysdeps/s390/configure.ac: ... to here.
5488         * sysdeps/s390/s390-32/configure: Delete file.
5489         * sysdeps/s390/s390-64/configure: Delete file.
5490         * sysdeps/s390/configure: Regenerate.
5491
5492 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5493
5494         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5495
5496 2014-04-11  Will Newton  <will.newton@linaro.org>
5497
5498         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5499         to zero if it is not defined elsewhere.  (mtrim): Test
5500         the value of MALLOC_DEBUG with #if rather than #ifdef.
5501
5502 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5503
5504         * benchtests/pthread_once-inputs: New file.
5505         * benchtests/pthread_once-source.c: New file.
5506         * benchtests/README: Update documentation.
5507
5508 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5509             H.J. Lu  <hongjiu.lu@intel.com>
5510
5511         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5512         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5513         * sysdeps/x86_64/configure: Regenerated.
5514         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5515         macro.
5516         (REGISTER_SAVE_RAX): Likewise.
5517         (REGISTER_SAVE_RCX): Likewise.
5518         (REGISTER_SAVE_RDX): Likewise.
5519         (REGISTER_SAVE_RSI): Likewise.
5520         (REGISTER_SAVE_RDI): Likewise.
5521         (REGISTER_SAVE_R8): Likewise.
5522         (REGISTER_SAVE_R9): Likewise.
5523         (REGISTER_SAVE_BND0): Likewise.
5524         (REGISTER_SAVE_BND1): Likewise.
5525         (REGISTER_SAVE_BND2): Likewise.
5526         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5527         bound registers when calling _dl_fixup.
5528
5529 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5530
5531         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5532         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5533         of its definition.
5534         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5535         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5536         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5537         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5538         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5539         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5540         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5541
5542 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5543
5544         [BZ #15514]
5545         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5546         pathconf(_PC_NAME_MAX).
5547
5548 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5549
5550         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5551         Remove macro usage.
5552         (__PTHREAD_SPINS): Move definition to ...
5553         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5554         (__PTHREAD_SPINS): ... here.
5555         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5556         (__PTHREAD_SPIN): Likewise.
5557         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5558         (__PTHREAD_SPIN): Likewise.
5559         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5560         (__PTHREAD_SPIN): Likewise.
5561         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5562         (__PTHREAD_SPIN): Likewise.
5563         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5564         (__PTHREAD_SPIN): Likewise.
5565         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5566         (__PTHREAD_SPIN): Likewise.
5567         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5568         (__PTHREAD_SPIN): Likewise.
5569         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5570         (__PTHREAD_SPIN): Likewise.
5571         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5572         (__PTHREAD_SPIN): Likewise.
5573         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5574         (__PTHREAD_SPIN): Likewise.
5575         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5576         (__PTHREAD_SPIN): Likewise.
5577         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5578         (__PTHREAD_SPIN): Likewise.
5579
5580         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5581         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5582         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5583         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5584         imply folder.
5585         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5586         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5587         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5588         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5589         correct imply path.
5590         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5591         strlen symbol for non multi-arch builds.
5592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5593         missing hidden_def and weak_alias.
5594
5595 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5596
5597         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5598
5599 2014-04-07  Will Newton  <will.newton@linaro.org>
5600
5601         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5602         and contents.  [!_LIBC] Remove #ifndef and contents.
5603         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5604         * string/memccpy.c (__memccpy): Use ANSI prototype.
5605         * string/memfrob.c (memfrob): Likewise.
5606         * string/strcoll.c (STRCOLL): Likewise.
5607         * string/strlen.c (strlen): Likewise.
5608         * string/strtok.c (STRTOK): Likewise.
5609         * string/strcat.c: Remove unused #include of memcopy.h.
5610         (strcat): Use ANSI prototype.
5611         * string/strchr.c: Remove unused #include of memcopy.h.
5612         (strchr): Use ANSI prototype.
5613         * string/strcmp.c: Remove unused #include of memcopy.h.
5614         (strcmp): Use ANSI prototype.
5615         * string/strcpy.c: Remove unused #include of memcopy.h.
5616         (strcpy): Use ANSI prototype.
5617
5618 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5619
5620         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5621         * config.make.in (config-extra-cppflags): Set it from
5622         libc_extra_cppflags.
5623         * configure.ac (libc_extra_cflags): Make it accumulate over
5624         configure fragments.
5625         (libc_extra_cppflags): New flag.
5626         * configure. Regenerate.
5627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5628         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5629         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5631
5632         [BZ #16815]
5633         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5634         result for FE_DOWNWARD rounding mode.
5635         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5636         Likewise.
5637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5638
5639 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5640
5641         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5642         in function argument name.
5643
5644 2014-04-03  David Svoboda  <svoboda@cert.org>
5645
5646         [BZ #5666]
5647         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5648         explicitly.
5649
5650 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5651
5652         * elf/dl-unmap-segments.h: New file.
5653         * sysdeps/generic/ldsodefs.h
5654         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5655         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5656         * elf/dl-fptr.c: Likewise.
5657         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5658         * sysdeps/aarch64/tlsdesc.c: Likewise.
5659         * sysdeps/arm/tlsdesc.c: Likewise.
5660         * sysdeps/i386/tlsdesc.c: Likewise.
5661         * sysdeps/tile/dl-runtime.c: Likewise.
5662         * sysdeps/x86_64/tlsdesc.c: Likewise.
5663         * elf/dl-load.h: New file.
5664         * elf/dl-load.c: Include it.
5665         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5666         Macros moved to dl-load.h.
5667         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5668         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5669         Use _dl_unmap_segments in place of __munmap.
5670         Break out segment-mapping loop into ...
5671         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5672
5673 2014-04-03  Will Newton  <will.newton@linaro.org>
5674
5675         * elf/dl-lookup.c (do_lookup_x): Remove comment
5676         referring to nested function and move variable
5677         declarations down to before first use.
5678
5679 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5680
5681         [BZ #16799]
5682         [BZ #16800]
5683         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5684         with 0 numerator.
5685         * math/s_catanf.c (__catanf): Likewise.
5686         * math/s_catanh.c (__catanh): Likewise.
5687         * math/s_catanhf.c (__catanhf): Likewise.
5688         * math/s_catanhl.c (__catanhl): Likewise.
5689         * math/s_catanl.c (__catanl): Likewise.
5690         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5691         by positive zero when computing -Inf result.
5692         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5693         (catanh_test): Likewise.
5694         * sysdeps/i386/fpu/libm-test-ulps: Update.
5695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5696
5697         [BZ #16789]
5698         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5699         instead of using underflowing value in computing result.
5700         * math/s_clog10.c (__clog10): Likewise.
5701         * math/s_clog10f.c (__clog10f): Likewise.
5702         * math/s_clog10l.c (__clog10l): Likewise.
5703         * math/s_clogf.c (__clogf): Likewise.
5704         * math/s_clogl.c (__clogl): Likewise.
5705         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5706         (clog10_test): Likewise.
5707         * sysdeps/i386/fpu/libm-test-ulps: Update.
5708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709
5710 2014-04-02  Alan Modra  <amodra@gmail.com>
5711
5712         [BZ #16739]
5713         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5714         output when value is near a power of two.  Use int64_t for lx and
5715         remove casts.  Use decimal rather than hex exponent constants.
5716         Don't use long double multiplication when double will suffice.
5717         * math/libm-test.inc (nextafter_test_data): Add tests.
5718         * NEWS: Add 16739 and 16786 to bug list.
5719
5720         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5721
5722         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5723
5724 2014-04-01  Will Newton  <will.newton@linaro.org>
5725
5726         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5727         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5728
5729 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5730
5731         [BZ #13347]
5732         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5733         * nptl/tst-setuid2.c: New file.
5734         * nptl/Makefile (xtests): Add tst-setuid2.
5735
5736 2014-04-01  Alan Modra  <amodra@gmail.com>
5737
5738         [BZ #16786]
5739         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5740
5741 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5742
5743         [BZ #6803]
5744         [BZ #6804]
5745         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5746         set errno as appropriate.
5747         * math/w_scalbf.c (__scalbf): Likewise.
5748         * math/w_scalbl.c (__scalbl): Likewise.
5749         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5750         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5751         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5752         Add more NaN tests.
5753
5754         [BZ #16349]
5755         * math/w_atan2.c: Include <errno.h>.
5756         (__atan2): Set errno for result underflowing to zero.
5757         * math/w_atan2f.c: Include <errno.h>.
5758         (__atan2f): Set errno for result underflowing to zero.
5759         * math/w_atan2l.c: Include <errno.h>.
5760         (__atan2l): Set errno for result underflowing to zero.
5761         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5762         tests.
5763         * math/auto-libm-test-out: Regenerated.
5764
5765 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5766
5767         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5768         Encode instruction correctly in little endian.
5769         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5770         Likewise.
5771         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5772         Likewise.
5773         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5774         Likewise.
5775         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5776         Likewise.
5777
5778 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5779
5780         [BZ #9894]
5781         * sysdeps/unix/sysv/linux/kernel-features.h
5782         [__sparc__ && !__arch64__ && !__sparc_v9__]
5783         (__ASSUME_SET_ROBUST_LIST): Do not define.
5784         [__sparc__ && !__arch64__ && !__sparc_v9__]
5785         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5786         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5787         Likewise.
5788         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5789         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5790         (__ASSUME_REQUEUE_PI): Likewise.
5791         (__ASSUME_SET_ROBUST_LIST): Likewise.
5792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5793         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5794         Undefine.
5795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5796         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5797         Likewise.
5798         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5799         Likewise.
5800         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5803         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5804         Undefine.
5805         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5806         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5807         Likewise.
5808
5809         [BZ #16648]
5810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5811         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5812         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5813
5814 2014-03-31  Will Newton  <will.newton@linaro.org>
5815
5816         * benchtests/Makefile (bench): Add ffs and ffsll to list
5817         of tests.
5818         * benchtests/ffs-inputs: New file.
5819         * benchtests/ffsll-inputs: Likewise.
5820
5821 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5822
5823         [BZ #16770]
5824         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5825         too large before casting to int.
5826         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5827         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5828         * math/libm-test.inc (scalb_test_data): Add more tests.
5829
5830 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5831
5832         * benchtests/Makefile (DETAILED_OPT): New make option.
5833         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5834         set.
5835         * benchtests/bench-skeleton.c: Include stdbool.h.
5836         (main): Store and print timings per input.
5837         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5838         member to each argument value.
5839         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5840         (_print_arg_data): Initialize per-input timing to 0.
5841
5842         * benchtests/Makefile (timing-type): New binary.
5843         (bench-clean): Also remove bench-timing-type.
5844         (bench): New target for timing-type.
5845         (bench-func): Print output in JSON format.
5846         * benchtests/bench-skeleton.c (main): Print output in JSON
5847         format.
5848         * benchtests/bench-timing-type.c: New file.
5849         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5850         (TIMING_PRINT_STATS): Remove.
5851         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5852         name separately.
5853
5854         * benchtests/bench-modf.c: Remove.
5855         * benchtests/modf-inputs: New inputs file.
5856
5857 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5858
5859         [BZ #16362]
5860         * math/s_clog10.c (M_PI_LOG10E): New macro.
5861         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5862         imaginary parts are 0.
5863         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5864         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5865         imaginary parts are 0.
5866         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5867         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5868         imaginary parts are 0.
5869         * math/libm-test.inc (clog10_test_data): Update expected results
5870         for when real and imaginary parts are 0.
5871
5872 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5873
5874         * elf/dl-load.c: Finish conversion of __builtin_expect into
5875         __glibc_{un}likely.
5876
5877 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5878
5879         [BZ #16348]
5880         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5881         1+x for argument with exponent below -67.
5882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5883         Likewise.
5884         * math/auto-libm-test-in: Add more tests of exp.
5885         * math/auto-libm-test-out: Regenerated.
5886
5887 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5888
5889         [BZ #16759]
5890         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5891         (nscd_getnetgrent): Use it.
5892
5893         [BZ #16760]
5894         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5895         of stpcpy.
5896
5897 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5898
5899         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5900         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5901         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5902         (lll_robust_unlock): Remove out of line section. Use cfi
5903         intrinsics.
5904         (LLL_STUB_UNWIND_INFO*): Remove.
5905         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5906         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5907         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5908         (lll_robust_unlock): Remove out of line section. Use cfi
5909         intrinsics.
5910         (LLL_STUB_UNWIND_INFO*): Remove.
5911
5912 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5913
5914         [BZ #16758]
5915         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5916         blank values.
5917
5918 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5919
5920         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5921
5922 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5923
5924         [BZ #16198]
5925         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5926         fnstenv.
5927         * math/test-fenv-preserve.c: New file.
5928         * math/Makefile (tests): Add test-fenv-preserve.
5929
5930 2014-03-26  Will Newton <will.newton@linaro.org>
5931
5932         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5933
5934 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5935
5936         * scripts/versionlist.awk: Partition the version sets and emit all
5937         GLIBC_* (sorted) before all others (sorted).
5938
5939 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5940
5941         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5942         GLIBC_2.2.5 version.
5943
5944 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5945
5946         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5947         calls.
5948
5949         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5950         previous change.
5951
5952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5953
5954 2014-03-25  Andreas Schwab  <schwab@suse.de>
5955
5956         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5957         label to be used after in6ailist is initialized.
5958
5959 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5960
5961         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5962         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5963
5964 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5965
5966         [BZ #16357]
5967         [BZ #16599]
5968         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5969         min_plus_half.
5970         (fp_formats): Update initializers.
5971         (init_fp_formats): Initialize new field.
5972         (output_for_one_input_case): Allow underflow for results up to
5973         min_plus_half.
5974         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5975         * math/auto-libm-test-in: Don't mark some underflows from asin and
5976         atanh as spurious.
5977         * math/auto-libm-test-out: Regenerated.
5978         * sysdeps/i386/fpu/libm-test-ulps: Update.
5979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980
5981 2014-03-25  Andreas Schwab  <schwab@suse.de>
5982
5983         * libio/Makefile (tst-ftell-partial-wide-ENV)
5984         (tst-ftell-active-handler-ENV): Define.
5985
5986 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5987
5988         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5989
5990 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5991
5992         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5993
5994 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5995
5996         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5997         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5998         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5999
6000 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6001
6002         [BZ #16634]
6003         * elf/dl-load.c (open_verify): Add mode parameter.
6004         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6005         (open_path): Change from boolean 'secure' to complete flag 'mode'
6006         (_dl_map_object): Adjust.
6007         * elf/Makefile (tests): Add tst-dlopen-aout.
6008         * elf/tst-dlopen-aout.c: New test.
6009
6010 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6011
6012         [BZ #16714]
6013         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6014         (struct stat): Rename member pad0 to __glibc_reserved0.
6015
6016         [BZ #16712]
6017         * sysdeps/s390/s390-32/bits/wordsize.h
6018         (__WORDSIZE32_SIZE_ULONG): New define.
6019         * sysdeps/s390/s390-64/bits/wordsize.h
6020         (__WORDSIZE32_SIZE_ULONG): Likewise.
6021         * sysdeps/generic/stdint.h (SIZE_MAX):
6022         Define as UL if __WORDSIZE32_SIZE_ULONG.
6023
6024         [BZ #16713]
6025         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6026         (__glibc_reserved0): New variable.
6027         (sa_flags): Change type to int.
6028
6029         * posix/Makefile (before-compile): Use += before-compile instead
6030         of a :=.
6031
6032         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6033         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6034
6035 2014-03-20  Andreas Schwab  <schwab@suse.de>
6036
6037         [BZ #16743]
6038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6039         non-matching result from nscd.
6040
6041 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6042
6043         * scripts/bench.py: Moved to ...
6044         * benchtests/scripts/bench.py: ... here.
6045         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6046
6047 2014-03-24  Andreas Schwab  <schwab@suse.de>
6048
6049         [BZ #16002]
6050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6051         alloca_account and account alloca use for struct in6ailist.
6052
6053 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6054
6055         [BZ #16284]
6056         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6057         rounding mode to recompute results that overflow to infinity or
6058         underflow to zero.
6059         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6060         bug 16284.
6061         * math/auto-libm-test-out: Regenerated.
6062         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6063         (ccosh_test): Likewise.
6064         (csin_test_data): Use plus_oflow.
6065         (csin_test): Use ALL_RM_TEST.
6066         (csinh_test_data): Use plus_oflow.
6067         (csinh_test): Use ALL_RM_TEST.
6068         * sysdeps/i386/fpu/libm-test-ulps: Update.
6069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6070
6071 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6072
6073         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6074         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6075         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6076
6077         [BZ #16731]
6078         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6079         when x - 1 is zero.
6080         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6081         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6082         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6083         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6084         argument is 1.
6085         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6086         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6087         zero.
6088         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6089         * sysdeps/i386/fpu/libm-test-ulps: Update.
6090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6091
6092 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6093
6094         * scripts/bench.pl: Remove file.
6095         * scripts/bench.py: New benchmark script.
6096         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6097         * benchtests/README: Mention python dependency.
6098         * scripts/pylintrc: New file.
6099         * scripts/pylint: New file.
6100
6101         * bits/mathdef.h: Use #ifdef instead of #if.
6102         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6103         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6104         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6105         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6106         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6107         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6108
6109 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6110             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6111
6112         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6114         and strpbrk-ppc64 objects.
6115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6116         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6117         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6118         multiarch strpbrk for POWER7.
6119         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6120         multiarch strpbrk for PPC64.
6121         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6122         ifunc selector.
6123         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6124         strpbrk for POWER7.
6125
6126 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6127
6128         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6129         (atan_test): Likewise.
6130         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6131         (atanh_test): Use ALL_RM_TEST.
6132         (atan2_test_data): Likewise.
6133         (cabs_test): Likewise.
6134         (cacosh_test): Likewise.
6135         (carg_test): Likewise.
6136         (casin_test): Likewise.
6137         (casinh_test): Likewise.
6138         (cbrt_test): Likewise.
6139         (csqrt_test): Likewise.
6140         (erf_test): Likewise.
6141         (erfc_test): Likewise.
6142         (pow10_test): Likewise.
6143         (exp2_test): Likewise.
6144         (hypot_test): Likewise.
6145         (j0_test): Likewise.
6146         (j1_test): Likewise.
6147         (lgamma_test): Likewise.
6148         (gamma_test): Likewise.
6149         (sincos_test): Likewise.
6150         (tanh_test): Likewise.
6151         (y0_test): Likewise.
6152         (y1_test): Likewise.
6153         * sysdeps/i386/fpu/libm-test-ulps: Update.
6154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6155
6156 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6157
6158         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6160         and strcspn-ppc64 objects.
6161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6162         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6163         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6164         multiarch strcspn for POWER7.
6165         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6166         multiarch strcspn for PPC64.
6167         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6168         ifunc selector.
6169         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6170         strcspn for POWER7.
6171
6172 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6173
6174         * math/gen-libm-test.pl (generate_testfile): Expect only function
6175         name as argument to AUTO_TESTS_* and pass results for all rounding
6176         modes to parse_args.
6177         (parse_auto_input): Separate inputs of automatic tests from
6178         outputs before storing in %auto_tests.
6179         * math/libm-test.inc (acos_test_data): Update call to
6180         AUTO_TESTS_f_f.
6181         (acos_test): Use ALL_RM_TEST.
6182         (acos_tonearest_test_data): Remove.
6183         (acos_test_tonearest): Likewise.
6184         (acos_towardzero_test_data): Likewise.
6185         (acos_test_towardzero): Likewise.
6186         (acos_downward_test_data): Likewise.
6187         (acos_test_downward): Likewise.
6188         (acos_upward_test_data): Likewise.
6189         (acos_test_upward): Likewise.
6190         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6191         (asin_test_data): Likewise.
6192         (asin_test): Use ALL_RM_TEST.
6193         (asin_tonearest_test_data): Remove.
6194         (asin_test_tonearest): Likewise.
6195         (asin_towardzero_test_data): Likewise.
6196         (asin_test_towardzero): Likewise.
6197         (asin_downward_test_data): Likewise.
6198         (asin_test_downward): Likewise.
6199         (asin_upward_test_data): Likewise.
6200         (asin_test_upward): Likewise.
6201         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6202         (atan_test_data): Likewise.
6203         (atanh_test_data): Likewise.
6204         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6205         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6206         (carg_test_data): Likewise.
6207         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6208         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6209         (ccosh_test_data): Likewise.
6210         (cexp_test_data): Likewise.
6211         (clog_test_data): Likewise.
6212         (clog10_test_data): Likewise.
6213         (cos_test_data): Update call to AUTO_TESTS_f_f.
6214         (cos_test): Use ALL_RM_TEST.
6215         (cos_tonearest_test_data): Remove.
6216         (cos_test_tonearest): Likewise.
6217         (cos_towardzero_test_data): Likewise.
6218         (cos_test_towardzero): Likewise.
6219         (cos_downward_test_data): Likewise.
6220         (cos_test_downward): Likewise.
6221         (cos_upward_test_data): Likewise.
6222         (cos_test_upward): Likewise.
6223         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6224         (cosh_test): Use ALL_RM_TEST.
6225         (cosh_tonearest_test_data): Remove.
6226         (cosh_test_tonearest): Likewise.
6227         (cosh_towardzero_test_data): Likewise.
6228         (cosh_test_towardzero): Likewise.
6229         (cosh_downward_test_data): Likewise.
6230         (cosh_test_downward): Likewise.
6231         (cosh_upward_test_data): Likewise.
6232         (cosh_test_upward): Likewise.
6233         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6234         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6235         (ctan_test_data): Likewise.
6236         (ctan_test): Use ALL_RM_TEST.
6237         (ctan_tonearest_test_data): Remove.
6238         (ctan_test_tonearest): Likewise.
6239         (ctan_towardzero_test_data): Likewise.
6240         (ctan_test_towardzero): Likewise.
6241         (ctan_downward_test_data): Likewise.
6242         (ctan_test_downward): Likewise.
6243         (ctan_upward_test_data): Likewise.
6244         (ctan_test_upward): Likewise.
6245         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6246         (ctanh_test): Use ALL_RM_TEST.
6247         (ctanh_tonearest_test_data): Remove.
6248         (ctanh_test_tonearest): Likewise.
6249         (ctanh_towardzero_test_data): Likewise.
6250         (ctanh_test_towardzero): Likewise.
6251         (ctanh_downward_test_data): Likewise.
6252         (ctanh_test_downward): Likewise.
6253         (ctanh_upward_test_data): Likewise.
6254         (ctanh_test_upward): Likewise.
6255         (erf_test_data): Update call to AUTO_TESTS_f_f.
6256         (erfc_test_data): Likewise.
6257         (exp_test_data): Likewise.
6258         (exp_test): Use ALL_RM_TEST.
6259         (exp_tonearest_test_data): Remove.
6260         (exp_test_tonearest): Likewise.
6261         (exp_towardzero_test_data): Likewise.
6262         (exp_test_towardzero): Likewise.
6263         (exp_downward_test_data): Likewise.
6264         (exp_test_downward): Likewise.
6265         (exp_upward_test_data): Likewise.
6266         (exp_test_upward): Likewise.
6267         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6268         (exp10_test): Use ALL_RM_TEST.
6269         (exp10_tonearest_test_data): Remove.
6270         (exp10_test_tonearest): Likewise.
6271         (exp10_towardzero_test_data): Likewise.
6272         (exp10_test_towardzero): Likewise.
6273         (exp10_downward_test_data): Likewise.
6274         (exp10_test_downward): Likewise.
6275         (exp10_upward_test_data): Likewise.
6276         (exp10_test_upward): Likewise.
6277         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6278         (expm1_test_data): Likewise.
6279         (expm1_test): Use ALL_RM_TEST.
6280         (expm1_tonearest_test_data): Remove.
6281         (expm1_test_tonearest): Likewise.
6282         (expm1_towardzero_test_data): Likewise.
6283         (expm1_test_towardzero): Likewise.
6284         (expm1_downward_test_data): Likewise.
6285         (expm1_test_downward): Likewise.
6286         (expm1_upward_test_data): Likewise.
6287         (expm1_test_upward): Likewise.
6288         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6289         (fma_test): Use ALL_RM_TEST.
6290         (fma_towardzero_test_data): Remove.
6291         (fma_test_towardzero): Likewise.
6292         (fma_downward_test_data): Likewise.
6293         (fma_test_downward): Likewise.
6294         (fma_upward_test_data): Likewise.
6295         (fma_test_upward): Likewise.
6296         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6297         (j0_test_data): Update call to AUTO_TESTS_f_f.
6298         (j1_test_data): Likewise.
6299         (jn_test_data): Update call to AUTO_TESTS_if_f.
6300         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6301         (log_test_data): Update call to AUTO_TESTS_f_f.
6302         (log10_test_data): Likewise.
6303         (log1p_test_data): Likewise.
6304         (log2_test_data): Likewise.
6305         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6306         (pow_tonearest_test_data): Likewise.
6307         (sin_test_data): Update call to AUTO_TESTS_f_f.
6308         (sin_test): Use ALL_RM_TEST.
6309         (sin_tonearest_test_data): Remove.
6310         (sin_test_tonearest): Likewise.
6311         (sin_towardzero_test_data): Likewise.
6312         (sin_test_towardzero): Likewise.
6313         (sin_downward_test_data): Likewise.
6314         (sin_test_downward): Likewise.
6315         (sin_upward_test_data): Likewise.
6316         (sin_test_upward): Likewise.
6317         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6318         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6319         (sinh_test): Use ALL_RM_TEST.
6320         (sinh_tonearest_test_data): Remove.
6321         (sinh_test_tonearest): Likewise.
6322         (sinh_towardzero_test_data): Likewise.
6323         (sinh_test_towardzero): Likewise.
6324         (sinh_downward_test_data): Likewise.
6325         (sinh_test_downward): Likewise.
6326         (sinh_upward_test_data): Likewise.
6327         (sinh_test_upward): Likewise.
6328         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6329         (sqrt_test): Use ALL_RM_TEST.
6330         (sqrt_tonearest_test_data): Remove.
6331         (sqrt_test_tonearest): Likewise.
6332         (sqrt_towardzero_test_data): Likewise.
6333         (sqrt_test_towardzero): Likewise.
6334         (sqrt_downward_test_data): Likewise.
6335         (sqrt_test_downward): Likewise.
6336         (sqrt_upward_test_data): Likewise.
6337         (sqrt_test_upward): Likewise.
6338         (tan_test_data): Update call to AUTO_TESTS_f_f.
6339         (tan_test): Use ALL_RM_TEST.
6340         (tan_tonearest_test_data): Remove.
6341         (tan_test_tonearest): Likewise.
6342         (tan_towardzero_test_data): Likewise.
6343         (tan_test_towardzero): Likewise.
6344         (tan_downward_test_data): Likewise.
6345         (tan_test_downward): Likewise.
6346         (tan_upward_test_data): Likewise.
6347         (tan_test_upward): Likewise.
6348         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6349         (tgamma_test_data): Likewise.
6350         (y0_test_data): Likewise.
6351         (y1_test_data): Likewise.
6352         (yn_test_data): Update call to AUTO_TESTS_if_f.
6353         (main): Do not call removed functions.
6354
6355 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6356
6357         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6358         (ldexp_test_data): Remove.
6359         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6360         scalbn_test_data.
6361         (scalb_test): Use ALL_RM_TEST.
6362
6363 2014-03-19  Andreas Schwab  <schwab@suse.de>
6364
6365         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6366
6367 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6368
6369         [BZ #16649]
6370         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6371         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6372         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6373         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6374         (__ASSUME_PREADV): Undefine.
6375         (__ASSUME_PWRITEV): Likewise.
6376
6377 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6378
6379         * bits/mman-linux.h: Add comment about non-Linux use.
6380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6381         bits/mman-linux.h resting place.
6382
6383         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6384         * bits/mman-linux.h: ... here.
6385
6386 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6387
6388         * conform/conformtest.pl: Add standard definition when calling C
6389         preprocessor on data files.
6390         (checknamespace): Remove unused variable.
6391
6392 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6393
6394         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6395         minus_oflow, plus_uflow and minus_uflow in expected results.
6396         * math/libm-test.inc (scalbn_test_data): Add more tests of
6397         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6398         minus_uflow.
6399         (scalbn_test): Use ALL_RM_TEST.
6400         (scalbln_test_data): Add more tests of negative arguments.  Use
6401         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6402         (scalbln_test): Use ALL_RM_TEST.
6403
6404 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6405
6406         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6407
6408 2014-03-18  Will Newton  <will.newton@linaro.org>
6409
6410         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6411         inaccurate comment.
6412
6413 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6414
6415         * Makerules [!subdir] (check-abi): Exit with error status if a
6416         test failed.
6417
6418 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6419
6420         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6421         for rint.  Include results for all rounding modes.
6422         (nearbyint_test): Use ALL_RM_TEST.
6423         (rint_test_data): Include all tests used for nearbyint.
6424
6425 2014-03-17  Will Newton  <will.newton@linaro.org>
6426
6427         * nptl/sysdeps/pthread/pthread.h: Revert previous
6428         change.
6429
6430         * sysdeps/generic/ldsodefs.h: Revert previous
6431         change.
6432
6433         * libio/genops.c: Revert previous change.
6434         * libio/libioP.h: Likewise.
6435         * stdio-common/vfprintf.c: Likewise.
6436
6437         * sysdeps/generic/math_private.h: Revert previous
6438         change.
6439
6440         * sysdeps/generic/math_private.h: Check whether
6441         HAVE_RM_CTX is defined with #ifdef rather
6442         than #if.
6443
6444         * argp/argp-fmtstream.h: Check whether
6445         __STRICT_ANSI__ is defined with #ifdef rather
6446         than #if.
6447         * argp/argp.h: Likewise.
6448
6449         * libio/genops.c: Check whether
6450         _IO_JUMPS_OFFSET is defined with #ifdef rather
6451         than #if.
6452         * libio/libioP.h: Likewise.
6453         * stdio-common/vfprintf.c: Likewise.
6454
6455         * sysdeps/generic/ldsodefs.h: Check whether
6456         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6457         than #if.
6458
6459         * nptl/sysdeps/pthread/pthread.h: Check
6460         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6461         its value.
6462
6463 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6464
6465         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6466         setting O_APPEND.
6467         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6468         test case.
6469
6470         [BZ #16680]
6471         * libio/fileops.c (_IO_file_open): Seek to end of file but
6472         don't cache the offset.
6473         (get_file_offset): Remove function.
6474         (do_ftell): Use cached offset when available.
6475         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6476         don't cache the offset.
6477         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6478         case.
6479         (do_one_test): Call it.
6480         (do_ftell_test): Fix up expected old offset for a+ mode.
6481         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6482         available.
6483
6484         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6485         up test status with function return status.
6486         (do_write_test): Likewise.
6487         (do_append_test): Likewise.
6488
6489         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6490         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6491         Remove.
6492
6493 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6494
6495         * math/gen-libm-test.pl (parse_args): Handle results specified for
6496         each rounding mode separately.
6497         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6498         tests and results from lrint_tonearest_test_data,
6499         lrint_towardzero_test_data, lrint_downward_test_data and
6500         lrint_upward_test_data.
6501         (lrint_test): Use ALL_RM_TEST.
6502         (lrint_tonearest_test_data): Remove.
6503         (lrint_test_tonearest): Likewise.
6504         (lrint_towardzero_test_data): Likewise.
6505         (lrint_test_towardzero): Likewise.
6506         (lrint_downward_test_data): Likewise.
6507         (lrint_test_downward): Likewise.
6508         (lrint_upward_test_data): Likewise.
6509         (lrint_test_upward): Likewise.
6510         (llrint_test_data): Merge in per-rounding-mode tests and results
6511         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6512         llrint_downward_test_data and llrint_upward_test_data.
6513         (llrint_test): Use ALL_RM_TEST.
6514         (llrint_tonearest_test_data): Remove.
6515         (llrint_test_tonearest): Likewise.
6516         (llrint_towardzero_test_data): Likewise.
6517         (llrint_test_towardzero): Likewise.
6518         (llrint_downward_test_data): Likewise.
6519         (llrint_test_downward): Likewise.
6520         (llrint_upward_test_data): Likewise.
6521         (llrint_test_upward): Likewise.
6522         (rint_test_data): Merge in per-rounding-mode tests and results
6523         from rint_tonearest_test_data, rint_towardzero_test_data,
6524         rint_downward_test_data and rint_upward_test_data.  Add
6525         per-rounding-mode results for tests not in those arrays.
6526         (rint_test): Use ALL_RM_TEST.
6527         (rint_tonearest_test_data): Remove.
6528         (rint_test_tonearest): Likewise.
6529         (rint_towardzero_test_data): Likewise.
6530         (rint_test_towardzero): Likewise.
6531         (rint_downward_test_data): Likewise.
6532         (rint_test_downward): Likewise.
6533         (rint_upward_test_data): Likewise.
6534         (rint_test_upward): Likewise.
6535         (main): Don't call removed functions.
6536
6537 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6538
6539         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6540         "Compiled on ..." crapola.  It is anti-useful.
6541
6542 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6543
6544         * scripts/evaluate-test.sh: Handle fourth argument to determine
6545         whether test run should stop on failure.
6546         * Makeconfig (stop-on-test-failure): New variable.
6547         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6548         $(stop-on-test-failure).
6549         * Makefile (tests): Give a summary of results from testing and
6550         exit with failure status if they include an ERROR or FAIL.
6551         (xtests): Likewise.
6552         * manual/install.texi (Configuring and compiling): Mention
6553         stop-on-test-failure=y.
6554         * INSTALL: Regenerated.
6555
6556 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6557
6558         * scripts/versionlist.awk: New file.
6559         * Makerules [$(build-shared) = yes]
6560         (postclean-generated): Add Versions.def, not Versions.def.v and
6561         Versions.def.v.i.
6562         ($(common-objpfx)Versions.def.v.i): Target removed.
6563         ($(common-objpfx)Versions.def): New target.
6564         ($(common-objpfx)Versions.all): Depend on that rather that
6565         $(common-objpfx)Versions.def.v.
6566         * Versions.def: File removed.
6567
6568         * Makeconfig (+gccwarn): Add -Wundef.
6569         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6570         a dl-sysdep.h breaking its contract.
6571         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6572         * include/stackinfo.h: New file.
6573         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6574         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6575         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6576         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6577         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6578         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6579         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6580         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6581         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6582         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6583         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6584         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6585         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6586         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6587         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6588
6589 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6590
6591         [BZ #16707]
6592         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6593         implementation.
6594         * math/libm-test.inc (round_test_data): Add more tests.
6595
6596         [BZ #16706]
6597         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6598         implementation.
6599         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6600
6601         [BZ #16701]
6602         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6603         implementation.
6604         * math/libm-test.inc (ceil_test_data): Add more tests.
6605
6606         * math/libm-test.inc (trunc_test_data): Add more tests related to
6607         BZ#16414.
6608
6609 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6610
6611         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6612         with #if rather than #ifdef.
6613         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6614
6615 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6616
6617         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6618         first.  Disable AVX-512 GCC support if assembler doesn't support
6619         it.
6620         * sysdeps/x86_64/configure: Regenerated.
6621
6622 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6623
6624         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6625         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6626         (__old_pthread_attr_setstack): Likewise.
6627         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6628         [!_STACK_GROWS_DOWN]: Likewise.
6629
6630 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6631
6632         * config.make.in (have-bash2): Delete.
6633         * configure.ac (libc_cv_have_bash2): Delete.
6634         * configure: Regenerate.
6635         * elf/Makefile (common-ldd-rewrite): Rename to ...
6636         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6637         (sh-ldd-rewrite): Delete.
6638         (bash-ldd-rewrite): Delete.
6639         (have-bash2): Delete checks.
6640         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6641         ldd-rewrite.
6642
6643         * config.make.in (have-ksh): Delete.
6644         (KSH): Delete.
6645         * configure.ac (libc_cv_have_ksh): Delete.
6646         * configure: Regenerate.
6647
6648         * elf/Makefile: Delete $(have-ksh) check.
6649         ($(objpfx)sotruss): Change KSH to BASH.
6650         * elf/sotruss.ksh: Rename to ...
6651         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6652         function style to match POSIX.  Drop ksh vim mode setting.
6653
6654         * manual/time.texi (Specifying the Time Zone with TZ): Change
6655         Tuesday to Thursday.
6656
6657         * debug/tst-longjmp_chk2.c: Update header comment.
6658         (stackoverflow_handler): Add comment.  Call assert on pass value.
6659
6660 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6661
6662         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6663         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6664         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6665         (La_x86_64_vector): Add zmm.
6666         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6667         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6668         ($(objpfx)tst-audit10): New target.
6669         ($(objpfx)tst-audit10.out): Likewise.
6670         (tst-audit10-ENV): New.
6671         (AVX512-CFLAGS): Likewise.
6672         (CFLAGS-tst-audit10.c): Likewise.
6673         (CFLAGS-tst-auditmod10a.c): Likewise.
6674         (CFLAGS-tst-auditmod10b.c): Likewise.
6675         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6676         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6677         * sysdeps/x86_64/configure: Regenerated.
6678         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6679         AVX-512 zmm register support.
6680         (_dl_x86_64_save_sse): Likewise.
6681         (_dl_x86_64_restore_sse): Likewise.
6682         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6683         size vector registers.
6684         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6685         (ZMM_SIZE): Likewise.
6686         * sysdeps/x86_64/tst-audit10.c: New file.
6687         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6688         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6689
6690 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6691
6692         * configure.ac (HAVE_EHDR_START): New check.
6693         * configure: Regenerated.
6694         * config.h.in (HAVE_EHDR_START): New #undef.
6695         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6696         assuming the lowest-addressed segment maps the start of the file.
6697
6698 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6699
6700         * INSTALL: Regenerated.
6701
6702 2014-03-13  Will Newton  <will.newton@linaro.org>
6703
6704         * manual/setjmp.texi (System V contexts): Improve
6705         clarity and grammar of documentation.
6706
6707 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6708
6709         [BZ #16381]
6710         * elf/Makefile (tests): Add tst-pie2.
6711         (tests-pie): Add tst-pie2.
6712         * elf/tst-pie2.c: New file.
6713         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6714         for ET_EXEC.
6715         * elf/rtld.c (map_doit): Load executable as lt_executable.
6716         (dl_main): Likewise.
6717
6718 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6719
6720         [BZ #16642]
6721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6722         (__ASSUME_PSELECT): Undefine.
6723
6724 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6725
6726         [BZ #16689]
6727         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6728         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6729         static build.
6730         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6731         selector for static builds.
6732
6733 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6734
6735         [BZ #16695]
6736         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6737         key in the buffer.
6738
6739 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6740
6741         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6742         IFUNC selector for static builds.
6743
6744 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6745
6746         * sysdeps/mips/math_private.h [__mips_hard_float]
6747         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6748         libc_feresetround_mips_ctx.
6749         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6750         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6751         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6752
6753         [BZ #16677]
6754         * math/s_nextafter.c (__nextafter): Do not return value from
6755         overflowing computation.
6756         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6757         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6758         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6759         Likewise.
6760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6761         Likewise.
6762         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6763         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6764
6765 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6766
6767         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6768         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6769         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6770         the new mov targetting sp.
6771
6772 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6773
6774         [BZ #16683]
6775         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6776         Define it for static builds as well.
6777         (NO_BZERO_IMPL): Likewise.
6778
6779 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6780
6781         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6782         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6783         multiarch strspn for PPC64.
6784         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6785         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6787         (__libc_ifunc_impl_list): Likewise.
6788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6789         multiarch optimizations
6790         * string/strspn.c (strspn): Using macro to redefine symbol name.
6791
6792 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6793             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6794
6795         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6796         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6797         multiarch strncat for PPC64.
6798         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6799         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6801         (__libc_ifunc_impl_list): Likewise.
6802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6803         multiarch optimizations
6804
6805 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6806
6807         [BZ #16639]
6808         * nscd/nscd.service: Make service type forking.
6809
6810 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6811
6812         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6813         sign in non default rounding modes.
6814         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6815
6816 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6817
6818         * math/libm-test.inc (ALL_RM_TEST): New macro.
6819         (ceil_test): Use ALL_RM_TEST.
6820         (cimag_test): Likewise.
6821         (conj_test): Likewise.
6822         (copysign_test): Likewise.
6823         (cproj_test): Likewise.
6824         (creal_test): Likewise.
6825         (fabs_test): Likewise.
6826         (floor_test): Likewise.
6827         (fmax_test): Likewise.
6828         (fmin_test): Likewise.
6829         (fmod_test): Likewise.
6830         (fpclassify_test): Likewise.
6831         (frexp_test): Likewise.
6832         (ilogb_test): Likewise.
6833         (isfinite_test): Likewise.
6834         (finite_test): Likewise.
6835         (isgreater_test): Likewise.
6836         (isgreaterequal_test): Likewise.
6837         (isinf_test): Likewise.
6838         (isless_test): Likewise.
6839         (islessequal_test): Likewise.
6840         (islessgreater_test): Likewise.
6841         (isnan_test): Likewise.
6842         (isnormal_test): Likewise.
6843         (issignaling_test): Likewise.
6844         (isunordered_test): Likewise.
6845         (logb_test): Likewise.
6846         (logb_downward_test_data): Remove.
6847         (logb_test_downward): Likewise.
6848         (lround_test): Use ALL_RM_TEST.
6849         (llround_test): Likewise.
6850         (modf_test): Likewise.
6851         (nexttoward_test): Likewise.
6852         (remainder_test): Likewise.
6853         (drem_test): Likewise.
6854         (remainder_tonearest_test_data): Likewise.
6855         (remainder_test_tonearest): Likewise.
6856         (drem_test_tonearest): Likewise.
6857         (remainder_towardzero_test_data): Likewise.
6858         (remainder_test_towardzero): Likewise.
6859         (drem_test_towardzero): Likewise.
6860         (remainder_downward_test_data): Likewise.
6861         (remainder_test_downward): Likewise.
6862         (drem_test_downward): Likewise.
6863         (remainder_upward_test_data): Likewise.
6864         (remainder_test_upward): Likewise.
6865         (drem_test_upward): Likewise.
6866         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6867         (round_test): Use ALL_RM_TEST.
6868         (signbit_test): Likewise.
6869         (trunc_test): Likewise.
6870         (significand_test): Likewise.
6871         (main): Don't call removed functions.
6872
6873 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6874
6875         [BZ #16674]
6876         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6877         || __USE_XOPEN2K8].
6878         (ILL_ILLOPN): Likewise.
6879         (ILL_ILLADR): Likewise.
6880         (ILL_ILLTRP): Likewise.
6881         (ILL_PRVOPC): Likewise.
6882         (ILL_PRVREG): Likewise.
6883         (ILL_COPROC): Likewise.
6884         (ILL_BADSTK): Likewise.
6885         (FPE_INTDIV): Likewise.
6886         (FPE_INTOVF): Likewise.
6887         (FPE_FLTDIV): Likewise.
6888         (FPE_FLTOVF): Likewise.
6889         (FPE_FLTUND): Likewise.
6890         (FPE_FLTRES): Likewise.
6891         (FPE_FLTINV): Likewise.
6892         (FPE_FLTSUB): Likewise.
6893         (SEGV_MAPERR): Likewise.
6894         (SEGV_ACCERR): Likewise.
6895         (BUS_ADRALN): Likewise.
6896         (BUS_ADRERR): Likewise.
6897         (BUS_OBJERR): Likewise.
6898         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6899         (TRAP_TRACE): Likewise.
6900         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6901         __USE_XOPEN2K8].
6902         (CLD_KILLED): Likewise.
6903         (CLD_DUMPED): Likewise.
6904         (CLD_TRAPPED): Likewise.
6905         (CLD_STOPPED): Likewise.
6906         (CLD_CONTINUED): Likewise.
6907         (POLL_IN): Likewise.
6908         (POLL_OUT): Likewise.
6909         (POLL_MSG): Likewise.
6910         (POLL_ERR): Likewise.
6911         (POLL_PRI): Likewise.
6912         (POLL_HUP): Likewise.
6913         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6914         Likewise.
6915         (ILL_ILLOPN): Likewise.
6916         (ILL_ILLADR): Likewise.
6917         (ILL_ILLTRP): Likewise.
6918         (ILL_PRVOPC): Likewise.
6919         (ILL_PRVREG): Likewise.
6920         (ILL_COPROC): Likewise.
6921         (ILL_BADSTK): Likewise.
6922         (FPE_INTDIV): Likewise.
6923         (FPE_INTOVF): Likewise.
6924         (FPE_FLTDIV): Likewise.
6925         (FPE_FLTOVF): Likewise.
6926         (FPE_FLTUND): Likewise.
6927         (FPE_FLTRES): Likewise.
6928         (FPE_FLTINV): Likewise.
6929         (FPE_FLTSUB): Likewise.
6930         (SEGV_MAPERR): Likewise.
6931         (SEGV_ACCERR): Likewise.
6932         (BUS_ADRALN): Likewise.
6933         (BUS_ADRERR): Likewise.
6934         (BUS_OBJERR): Likewise.
6935         (BUS_MCEERR_AR): Likewise.
6936         (BUS_MCEERR_AO): Likewise.
6937         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6938         (TRAP_TRACE): Likewise.
6939         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6940         __USE_XOPEN2K8].
6941         (CLD_KILLED): Likewise.
6942         (CLD_DUMPED): Likewise.
6943         (CLD_TRAPPED): Likewise.
6944         (CLD_STOPPED): Likewise.
6945         (CLD_CONTINUED): Likewise.
6946         (POLL_IN): Likewise.
6947         (POLL_OUT): Likewise.
6948         (POLL_MSG): Likewise.
6949         (POLL_ERR): Likewise.
6950         (POLL_PRI): Likewise.
6951         (POLL_HUP): Likewise.
6952         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6953         (ILL_ILLOPN): Likewise.
6954         (ILL_ILLADR): Likewise.
6955         (ILL_ILLTRP): Likewise.
6956         (ILL_PRVOPC): Likewise.
6957         (ILL_PRVREG): Likewise.
6958         (ILL_COPROC): Likewise.
6959         (ILL_BADSTK): Likewise.
6960         (FPE_INTDIV): Likewise.
6961         (FPE_INTOVF): Likewise.
6962         (FPE_FLTDIV): Likewise.
6963         (FPE_FLTOVF): Likewise.
6964         (FPE_FLTUND): Likewise.
6965         (FPE_FLTRES): Likewise.
6966         (FPE_FLTINV): Likewise.
6967         (FPE_FLTSUB): Likewise.
6968         (SEGV_MAPERR): Likewise.
6969         (SEGV_ACCERR): Likewise.
6970         (BUS_ADRALN): Likewise.
6971         (BUS_ADRERR): Likewise.
6972         (BUS_OBJERR): Likewise.
6973         (BUS_MCEERR_AR): Likewise.
6974         (BUS_MCEERR_AO): Likewise.
6975         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6976         (TRAP_TRACE): Likewise.
6977         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6978         __USE_XOPEN2K8].
6979         (CLD_KILLED): Likewise.
6980         (CLD_DUMPED): Likewise.
6981         (CLD_TRAPPED): Likewise.
6982         (CLD_STOPPED): Likewise.
6983         (CLD_CONTINUED): Likewise.
6984         (POLL_IN): Likewise.
6985         (POLL_OUT): Likewise.
6986         (POLL_MSG): Likewise.
6987         (POLL_ERR): Likewise.
6988         (POLL_PRI): Likewise.
6989         (POLL_HUP): Likewise.
6990         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6991         Likewise.
6992         (ILL_ILLOPN): Likewise.
6993         (ILL_ILLADR): Likewise.
6994         (ILL_ILLTRP): Likewise.
6995         (ILL_PRVOPC): Likewise.
6996         (ILL_PRVREG): Likewise.
6997         (ILL_COPROC): Likewise.
6998         (ILL_BADSTK): Likewise.
6999         (ILL_BADIADDR): Likewise.
7000         (ILL_BREAK): Likewise.
7001         (FPE_INTDIV): Likewise.
7002         (FPE_INTOVF): Likewise.
7003         (FPE_FLTDIV): Likewise.
7004         (FPE_FLTOVF): Likewise.
7005         (FPE_FLTUND): Likewise.
7006         (FPE_FLTRES): Likewise.
7007         (FPE_FLTINV): Likewise.
7008         (FPE_FLTSUB): Likewise.
7009         (FPE_DECOVF): Likewise.
7010         (FPE_DECDIV): Likewise.
7011         (FPE_DECERR): Likewise.
7012         (FPE_INVASC): Likewise.
7013         (FPE_INVDEC): Likewise.
7014         (SEGV_MAPERR): Likewise.
7015         (SEGV_ACCERR): Likewise.
7016         (SEGV_PSTKOVF): Likewise.
7017         (BUS_ADRALN): Likewise.
7018         (BUS_ADRERR): Likewise.
7019         (BUS_OBJERR): Likewise.
7020         (BUS_MCEERR_AR): Likewise.
7021         (BUS_MCEERR_AO): Likewise.
7022         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7023         (TRAP_TRACE): Likewise.
7024         (TRAP_BRANCH): Likewise.
7025         (TRAP_HWBKPT): Likewise.
7026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7027         __USE_XOPEN2K8].
7028         (CLD_KILLED): Likewise.
7029         (CLD_DUMPED): Likewise.
7030         (CLD_TRAPPED): Likewise.
7031         (CLD_STOPPED): Likewise.
7032         (CLD_CONTINUED): Likewise.
7033         (POLL_IN): Likewise.
7034         (POLL_OUT): Likewise.
7035         (POLL_MSG): Likewise.
7036         (POLL_ERR): Likewise.
7037         (POLL_PRI): Likewise.
7038         (POLL_HUP): Likewise.
7039         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7040         (ILL_ILLOPN): Likewise.
7041         (ILL_ILLADR): Likewise.
7042         (ILL_ILLTRP): Likewise.
7043         (ILL_PRVOPC): Likewise.
7044         (ILL_PRVREG): Likewise.
7045         (ILL_COPROC): Likewise.
7046         (ILL_BADSTK): Likewise.
7047         (FPE_INTDIV): Likewise.
7048         (FPE_INTOVF): Likewise.
7049         (FPE_FLTDIV): Likewise.
7050         (FPE_FLTOVF): Likewise.
7051         (FPE_FLTUND): Likewise.
7052         (FPE_FLTRES): Likewise.
7053         (FPE_FLTINV): Likewise.
7054         (FPE_FLTSUB): Likewise.
7055         (SEGV_MAPERR): Likewise.
7056         (SEGV_ACCERR): Likewise.
7057         (BUS_ADRALN): Likewise.
7058         (BUS_ADRERR): Likewise.
7059         (BUS_OBJERR): Likewise.
7060         (BUS_MCEERR_AR): Likewise.
7061         (BUS_MCEERR_AO): Likewise.
7062         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7063         (TRAP_TRACE): Likewise.
7064         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7065         __USE_XOPEN2K8].
7066         (CLD_KILLED): Likewise.
7067         (CLD_DUMPED): Likewise.
7068         (CLD_TRAPPED): Likewise.
7069         (CLD_STOPPED): Likewise.
7070         (CLD_CONTINUED): Likewise.
7071         (POLL_IN): Likewise.
7072         (POLL_OUT): Likewise.
7073         (POLL_MSG): Likewise.
7074         (POLL_ERR): Likewise.
7075         (POLL_PRI): Likewise.
7076         (POLL_HUP): Likewise.
7077         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7078         (ILL_ILLOPN): Likewise.
7079         (ILL_ILLADR): Likewise.
7080         (ILL_ILLTRP): Likewise.
7081         (ILL_PRVOPC): Likewise.
7082         (ILL_PRVREG): Likewise.
7083         (ILL_COPROC): Likewise.
7084         (ILL_BADSTK): Likewise.
7085         (FPE_INTDIV): Likewise.
7086         (FPE_INTOVF): Likewise.
7087         (FPE_FLTDIV): Likewise.
7088         (FPE_FLTOVF): Likewise.
7089         (FPE_FLTUND): Likewise.
7090         (FPE_FLTRES): Likewise.
7091         (FPE_FLTINV): Likewise.
7092         (FPE_FLTSUB): Likewise.
7093         (SEGV_MAPERR): Likewise.
7094         (SEGV_ACCERR): Likewise.
7095         (BUS_ADRALN): Likewise.
7096         (BUS_ADRERR): Likewise.
7097         (BUS_OBJERR): Likewise.
7098         (BUS_MCEERR_AR): Likewise.
7099         (BUS_MCEERR_AO): Likewise.
7100         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7101         (TRAP_TRACE): Likewise.
7102         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7103         __USE_XOPEN2K8].
7104         (CLD_KILLED): Likewise.
7105         (CLD_DUMPED): Likewise.
7106         (CLD_TRAPPED): Likewise.
7107         (CLD_STOPPED): Likewise.
7108         (CLD_CONTINUED): Likewise.
7109         (POLL_IN): Likewise.
7110         (POLL_OUT): Likewise.
7111         (POLL_MSG): Likewise.
7112         (POLL_ERR): Likewise.
7113         (POLL_PRI): Likewise.
7114         (POLL_HUP): Likewise.
7115         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7116         (ILL_ILLOPN): Likewise.
7117         (ILL_ILLADR): Likewise.
7118         (ILL_ILLTRP): Likewise.
7119         (ILL_PRVOPC): Likewise.
7120         (ILL_PRVREG): Likewise.
7121         (ILL_COPROC): Likewise.
7122         (ILL_BADSTK): Likewise.
7123         (FPE_INTDIV): Likewise.
7124         (FPE_INTOVF): Likewise.
7125         (FPE_FLTDIV): Likewise.
7126         (FPE_FLTOVF): Likewise.
7127         (FPE_FLTUND): Likewise.
7128         (FPE_FLTRES): Likewise.
7129         (FPE_FLTINV): Likewise.
7130         (FPE_FLTSUB): Likewise.
7131         (SEGV_MAPERR): Likewise.
7132         (SEGV_ACCERR): Likewise.
7133         (BUS_ADRALN): Likewise.
7134         (BUS_ADRERR): Likewise.
7135         (BUS_OBJERR): Likewise.
7136         (BUS_MCEERR_AR): Likewise.
7137         (BUS_MCEERR_AO): Likewise.
7138         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7139         (TRAP_TRACE): Likewise.
7140         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7141         __USE_XOPEN2K8].
7142         (CLD_KILLED): Likewise.
7143         (CLD_DUMPED): Likewise.
7144         (CLD_TRAPPED): Likewise.
7145         (CLD_STOPPED): Likewise.
7146         (CLD_CONTINUED): Likewise.
7147         (POLL_IN): Likewise.
7148         (POLL_OUT): Likewise.
7149         (POLL_MSG): Likewise.
7150         (POLL_ERR): Likewise.
7151         (POLL_PRI): Likewise.
7152         (POLL_HUP): Likewise.
7153         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7154         (ILL_ILLOPN): Likewise.
7155         (ILL_ILLADR): Likewise.
7156         (ILL_ILLTRP): Likewise.
7157         (ILL_PRVOPC): Likewise.
7158         (ILL_PRVREG): Likewise.
7159         (ILL_COPROC): Likewise.
7160         (ILL_BADSTK): Likewise.
7161         (ILL_DBLFLT): Likewise.
7162         (ILL_HARDWALL): Likewise.
7163         (FPE_INTDIV): Likewise.
7164         (FPE_INTOVF): Likewise.
7165         (FPE_FLTDIV): Likewise.
7166         (FPE_FLTOVF): Likewise.
7167         (FPE_FLTUND): Likewise.
7168         (FPE_FLTRES): Likewise.
7169         (FPE_FLTINV): Likewise.
7170         (FPE_FLTSUB): Likewise.
7171         (SEGV_MAPERR): Likewise.
7172         (SEGV_ACCERR): Likewise.
7173         (BUS_ADRALN): Likewise.
7174         (BUS_ADRERR): Likewise.
7175         (BUS_OBJERR): Likewise.
7176         (BUS_MCEERR_AR): Likewise.
7177         (BUS_MCEERR_AO): Likewise.
7178         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7179         (TRAP_TRACE): Likewise.
7180         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7181         __USE_XOPEN2K8].
7182         (CLD_KILLED): Likewise.
7183         (CLD_DUMPED): Likewise.
7184         (CLD_TRAPPED): Likewise.
7185         (CLD_STOPPED): Likewise.
7186         (CLD_CONTINUED): Likewise.
7187         (POLL_IN): Likewise.
7188         (POLL_OUT): Likewise.
7189         (POLL_MSG): Likewise.
7190         (POLL_ERR): Likewise.
7191         (POLL_PRI): Likewise.
7192         (POLL_HUP): Likewise.
7193         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7194         (ILL_ILLOPN): Likewise.
7195         (ILL_ILLADR): Likewise.
7196         (ILL_ILLTRP): Likewise.
7197         (ILL_PRVOPC): Likewise.
7198         (ILL_PRVREG): Likewise.
7199         (ILL_COPROC): Likewise.
7200         (ILL_BADSTK): Likewise.
7201         (FPE_INTDIV): Likewise.
7202         (FPE_INTOVF): Likewise.
7203         (FPE_FLTDIV): Likewise.
7204         (FPE_FLTOVF): Likewise.
7205         (FPE_FLTUND): Likewise.
7206         (FPE_FLTRES): Likewise.
7207         (FPE_FLTINV): Likewise.
7208         (FPE_FLTSUB): Likewise.
7209         (SEGV_MAPERR): Likewise.
7210         (SEGV_ACCERR): Likewise.
7211         (BUS_ADRALN): Likewise.
7212         (BUS_ADRERR): Likewise.
7213         (BUS_OBJERR): Likewise.
7214         (BUS_MCEERR_AR): Likewise.
7215         (BUS_MCEERR_AO): Likewise.
7216         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7217         (TRAP_TRACE): Likewise.
7218         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7219         __USE_XOPEN2K8].
7220         (CLD_KILLED): Likewise.
7221         (CLD_DUMPED): Likewise.
7222         (CLD_TRAPPED): Likewise.
7223         (CLD_STOPPED): Likewise.
7224         (CLD_CONTINUED): Likewise.
7225         (POLL_IN): Likewise.
7226         (POLL_OUT): Likewise.
7227         (POLL_MSG): Likewise.
7228         (POLL_ERR): Likewise.
7229         (POLL_PRI): Likewise.
7230         (POLL_HUP): Likewise.
7231         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7232         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7233
7234         [BZ #16670]
7235         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7236         before #include of <time.h>.
7237         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7238         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7239         (test-xfail-UNIX98/sched.h/conform): Likewise.
7240
7241 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7242
7243         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7244         error absence of trapping exception support.
7245         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7246
7247 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7248
7249         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7250         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7251         * timezone/Makefile (testdata): Move definition above include of
7252         Rules.
7253         (test-zones): New variable.
7254         (tests-special): Add zone files.
7255         (build-testdata): Use $(evaluate-test).
7256
7257         * elf/Makefile (tests-special): Rename tests to end with .out.
7258         ($(objpfx)noload-mem): Likewise.
7259         ($(objpfx)tst-leaks1-mem): Likewise.
7260         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7261         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7262         $(objpfx)test-iconvconfig.out.
7263         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7264         set -e inside subshell and redirect output to file.
7265         * iconvdata/Makefile (generated): Rename tests to end with .out.
7266         Correct type.
7267         (tests-special): Rename tests to end with .out.
7268         ($(objpfx)mtrace-tst-loading): Likewise.
7269         * intl/Makefile (generated): Likewise.
7270         (tests-special): Likewise.
7271         ($(objpfx)mtrace-tst-gettext): Likewise.
7272         * misc/Makefile (generated): Likewise.
7273         (tests-special): Likewise.
7274         ($(objpfx)tst-error1-mem): Likewise.
7275         * nptl/Makefile (tests-special): Likewise.
7276         ($(objpfx)tst-stack3-mem): Likewise.
7277         (generated): Likewise.
7278         * posix/Makefile (generated): Likewise.
7279         (tests-special): Likewise.
7280         (xtests-special): Likewise.
7281         ($(objpfx)tst-fnmatch-mem): Likewise.
7282         ($(objpfx)bug-regex2-mem): Likewise.
7283         ($(objpfx)bug-regex14-mem): Likewise.
7284         ($(objpfx)bug-regex21-mem): Likewise.
7285         ($(objpfx)bug-regex31-mem): Likewise.
7286         ($(objpfx)tst-vfork3-mem): Likewise.
7287         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7288         ($(objpfx)tst-pcre-mem): Likewise.
7289         ($(objpfx)tst-boost-mem): Likewise.
7290         ($(objpfx)bug-ga2-mem): Likewise.
7291         ($(objpfx)bug-glob2-mem): Likewise.
7292         * resolv/Makefile (generate): Likewise.
7293         (tests-special): Likewise.
7294         (xtests-special): Likewise.
7295         (generated): Likewise.
7296         ($(objpfx)mtrace-tst-leaks): Likewise.
7297         ($(objpfx)mtrace-tst-leaks2): Likewise.
7298
7299         * scripts/merge-test-results.sh: New file.
7300         * Makefile (tests-special-notdir): New variable.
7301         (tests): Run merge-test-results.sh.
7302         (xtests): Likewise.
7303         * Rules (tests-special-notdir): New variable.
7304         (xtests-special-notdir): Likewise.
7305         (tests): Run merge-test-results.sh
7306         (xtests): Likewise.
7307
7308         * Makeconfig (test-xfail-name): New variable.
7309         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7310         compute variable name for expected failures.
7311         * conform/Makefile (conformtest-headers-data): New variable.
7312         (conformtest-standards): Likewise.
7313         (conformtest-headers-ISO): Likewise.
7314         (conformtest-headers-ISO99): Likewise.
7315         (conformtest-headers-ISO11): Likewise.
7316         (conformtest-headers-POSIX): Likewise.
7317         (conformtest-headers-XPG3): Likewise.
7318         (conformtest-headers-XPG4): Likewise.
7319         (conformtest-headers-UNIX98): Likewise.
7320         (conformtest-headers-XOPEN2K): Likewise.
7321         (conformtest-headers-POSIX2008): Likewise.
7322         (conformtest-headers-XOPEN2K8): Likewise.
7323         (conformtest-header-list-base): Likewise.
7324         (conformtest-header-list-tests): Likewise.
7325         (conformtest-header-base): Likewise.
7326         (conformtest-header-tests): Likewise.
7327         (tests-special): Add $(conformtest-header-list-tests).  If
7328         [$(fast-check) && !$(cross-compiling)], add
7329         $(conformtest-header-tests) instead of
7330         $(objpfx)run-conformtest.out.
7331         (generated): Add $(conformtest-header-list-base).  If
7332         [$(fast-check) && !$(cross-compiling)], add
7333         $(conformtest-header-base).  Remove previous setting.
7334         ($(conformtest-header-list-tests)): New target.
7335         (test-xfail-run-conformtest): Remove variable.
7336         ($(objpfx)run-conformtest.out): Remove target.
7337         (test-xfail-ISO11/complex.h/conform): New variable.
7338         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7339         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7340         (test-xfail-XPG3/varargs.h/conform): Likewise.
7341         (test-xfail-XPG4/varargs.h/conform): Likewise.
7342         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7343         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7344         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7345         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7346         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7347         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7348         (test-xfail-XPG3/ftw.h/conform): Likewise.
7349         (test-xfail-XPG3/grp.h/conform): Likewise.
7350         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7351         (test-xfail-XPG3/limits.h/conform): Likewise.
7352         (test-xfail-XPG3/pwd.h/conform): Likewise.
7353         (test-xfail-XPG3/search.h/conform): Likewise.
7354         (test-xfail-XPG3/signal.h/conform): Likewise.
7355         (test-xfail-XPG3/stdio.h/conform): Likewise.
7356         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7357         (test-xfail-XPG3/string.h/conform): Likewise.
7358         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7359         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7360         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7361         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7362         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7363         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7364         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7365         (test-xfail-XPG3/termios.h/conform): Likewise.
7366         (test-xfail-XPG3/time.h/conform): Likewise.
7367         (test-xfail-XPG3/unistd.h/conform): Likewise.
7368         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7369         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7370         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7371         (test-xfail-XPG4/netdb.h/conform): Likewise.
7372         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7373         (test-xfail-XPG4/signal.h/conform): Likewise.
7374         (test-xfail-XPG4/stdio.h/conform): Likewise.
7375         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7376         (test-xfail-XPG4/stropts.h/conform): Likewise.
7377         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7378         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7379         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7380         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7381         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7382         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7383         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7384         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7385         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7386         (test-xfail-XPG4/termios.h/conform): Likewise.
7387         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7388         (test-xfail-XPG4/unistd.h/conform): Likewise.
7389         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7390         (test-xfail-POSIX/sched.h/conform): Likewise.
7391         (test-xfail-POSIX/signal.h/conform): Likewise.
7392         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7393         (test-xfail-POSIX/tar.h/conform): Likewise.
7394         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7395         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7396         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7397         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7398         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7399         (test-xfail-UNIX98/sched.h/conform): Likewise.
7400         (test-xfail-UNIX98/signal.h/conform): Likewise.
7401         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7402         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7403         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7404         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7405         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7406         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7407         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7408         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7409         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7410         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7411         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7412         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7413         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7414         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7415         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7416         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7417         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7418         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7419         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7420         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7421         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7422         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7423         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7424         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7425         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7426         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7427         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7428         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7429         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7430         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7431         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7432         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7433         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7434         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7435         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7436         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7437         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7438         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7439         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7440         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7441         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7442         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7443         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7444         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7445         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7446         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7447         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7448         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7449         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7450         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7451         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7452         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7453         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7454         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7455         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7456         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7457         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7458         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7459         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7460         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7461         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7462         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7463         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7464         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7465         (conformtest-cc-flags): Likewise.
7466         ($(conformtest-header-tests): New target.
7467         * conform/check-header-lists.sh: New file.
7468         * conform/run-conformtest.sh: Remove.
7469
7470         * conform/conformtest.pl: Allow ' and \ in values given for
7471         constants.
7472         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7473         inclusion.
7474         [POSIX] (sys/types.h): Likewise.
7475         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7476         inclusion.
7477         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7478         inclusion.
7479         * conform/data/signal.h-data (SIGIO): Remove expectation.
7480         [XPG3] (SIGBUS): Do not expect.
7481         [POSIX || XPG3] (SIGPOLL): Likewise.
7482         [POSIX || XPG3] (SIGPROF): Likewise.
7483         [POSIX || XPG3] (SIGSYS): Likewise.
7484         [XPG3] (SIGTRAP): Likewise.
7485         [POSIX || XPG3] (SIGURG): Likewise.
7486         [POSIX || XPG3] (SIGVTALRM): Likewise.
7487         [POSIX || XPG3] (SIGXCPU): Likewise.
7488         [POSIX || XPG3] (SIGXFSZ): Likewise.
7489         [POSIX] (SA_SIGINFO): Expect.
7490         [XPG3] (siginfo_t): Do not expect type or contents.
7491         [POSIX] (si_pid): Do not expect element.
7492         [POSIX] (si_uid): Likewise.
7493         [POSIX] (si_addr): Likewise.
7494         [POSIX] (si_status): Likewise.
7495         [POSIX] (si_band): Likewise.
7496         [XPG4] (si_value): Likewise.
7497         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7498         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7499         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7500         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7501         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7502         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7503         [POSIX || XPG3] (ILL_COPROC): Likewise.
7504         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7505         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7506         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7507         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7508         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7509         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7510         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7511         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7512         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7513         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7514         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7515         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7516         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7517         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7518         [POSIX || XPG3] (CLD_EXITED): Likewise.
7519         [POSIX || XPG3] (CLD_KILLED): Likewise.
7520         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7521         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7522         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7523         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7524         [POSIX || XPG3] (POLL_IN): Likewise.
7525         [POSIX || XPG3] (POLL_OUT): Likewise.
7526         [POSIX || XPG3] (POLL_MSG): Likewise.
7527         [POSIX || XPG3] (POLL_ERR): Likewise.
7528         [POSIX || XPG3] (POLL_PRI): Likewise.
7529         [POSIX || XPG3] (POLL_HUP): Likewise.
7530         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7531         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7532         (SIG*): Do not allow.
7533         [XPG3] (si_*): Likewise.
7534         [XPG3] (SI_*): Likewise.
7535         [XPG3 || XPG4] (sigev_*): Likewise.
7536         [XPG3 || XPG4] (SIGEV_*): Likewise.
7537         [XPG3 || XPG4] (sival_*): Likewise.
7538         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7539         [POSIX || XPG3] (BUS_*): Likewise.
7540         [POSIX || XPG3] (CLD_*): Likewise.
7541         [POSIX || XPG3] (FPE_*): Likewise.
7542         [POSIX || XPG3] (ILL_*): Likewise.
7543         [POSIX || XPG3] (POLL_*): Likewise.
7544         [POSIX || XPG3] (SEGV_*): Likewise.
7545         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7546         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7547         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7548         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7549         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7550         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7551         Specify type and value.
7552         (TVERSLEN): Likewise.
7553         (REGTYPE): Likewise.
7554         (AREGTYPE): Likewise.
7555         (LNKTYPE): Likewise.
7556         (SYMTYPE): Likewise.
7557         (CHRTYPE): Likewise.
7558         (BLKTYPE): Likewise.
7559         (DIRTYPE): Likewise.
7560         (FIFOTYPE): Likewise.
7561         (CONTTYPE): Likewise.
7562         (TSUID): Likewise.
7563         (TSGID): Likewise.
7564         (TSVTX): Likewise.
7565         (TUREAD): Likewise.
7566         (TUWRITE): Likewise.
7567         (TUEXEC): Likewise.
7568         (TGREAD): Likewise.
7569         (TGWRITE): Likewise.
7570         (TGEXEC): Likewise.
7571         (TOREAD): Likewise.
7572         (TOWRITE): Likewise.
7573         (TOEXEC): Likewise.
7574         [POSIX] (TSVTX): Expect constant.
7575
7576 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7577
7578         * Makefile (tests): Change dependencies to ....
7579         (tests-special): ... additions to this variable.
7580         (tests): Depend on $(tests-special).
7581         * Makerules (check-abi-list): New variable.
7582         (check-abi): Depend on $(check-abi-list).
7583         [$(subdir) = elf] (tests-special): Add
7584         $(objpfx)check-abi-libc.out.
7585         [$(build-shared) = yes && subdir] (tests-special): Add
7586         $(check-abi-list).
7587         [$(build-shared) = yes && subdir] (tests): Do not depend on
7588         check-abi.
7589         * Rules (tests): Depend on $(tests-special).
7590         (xtests): Depend on $(xtests-special).
7591         * catgets/Makefile (tests): Change dependencies to ....
7592         (tests-special): ... additions to this variable.
7593         * conform/Makefile (tests): Change dependencies to ....
7594         (tests-special): ... additions to this variable.
7595         * elf/Makefile (tests): Change dependencies to ....
7596         (tests-special): ... additions to this variable.
7597         * grp/Makefile (tests): Change dependencies to ....
7598         (tests-special): ... additions to this variable.
7599         * iconv/Makefile (xtests): Change dependencies to ....
7600         (xtests-special): ... additions to this variable.
7601         * iconvdata/Makefile (tests): Change dependencies to ....
7602         (tests-special): ... additions to this variable.
7603         * intl/Makefile (tests): Change dependencies to ....
7604         (tests-special): ... additions to this variable.  Also add
7605         $(objpfx)tst-gettext.out.
7606         * io/Makefile (tests): Change dependencies to ....
7607         (tests-special): ... additions to this variable.
7608         * libio/Makefile (tests): Change dependencies to ....
7609         (tests-special): ... additions to this variable.
7610         * malloc/Makefile (tests): Change dependencies to ....
7611         (tests-special): ... additions to this variable.
7612         * misc/Makefile (tests): Change dependencies to ....
7613         (tests-special): ... additions to this variable.
7614         * nptl/Makefile (tests): Change dependencies to ....
7615         (tests-special): ... additions to this variable.
7616         * nptl_db/Makefile (tests): Change dependencies to ....
7617         (tests-special): ... additions to this variable.
7618         * posix/Makefile (tests): Change dependencies to ....
7619         (tests-special): ... additions to this variable.
7620         (xtests): Change dependencies to ....
7621         (xtests-special): ... additions to this variable.
7622         * resolv/Makefile (tests): Change dependencies to ....
7623         (tests-special): ... additions to this variable.
7624         (xtests): Change dependencies to ....
7625         (xtests-special): ... additions to this variable.
7626         * stdio-common/Makefile (tests): Change dependencies to ....
7627         (tests-special): ... additions to this variable.
7628         (do-tst-unbputc): Remove target.
7629         (do-tst-printf): Likewise.
7630         * stdlib/Makefile (tests): Change dependencies to ....
7631         (tests-special): ... additions to this variable.
7632         * string/Makefile (tests): Change dependencies to ....
7633         (tests-special): ... additions to this variable.
7634         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7635         (tests-special): ... additions to this variable.
7636
7637         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7638         whole file.
7639         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7640         whole file.
7641         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7642         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7643
7644         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7645         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7646         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7647         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7648         * conform/data/libgen.h-data [XPG3]: Likewise.
7649         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7650         * conform/data/ndbm.h-data [XPG3]: Likewise.
7651         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7652         * conform/data/netdb.h-data [XPG3]: Likewise.
7653         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7654         * conform/data/poll.h-data [XPG3]: Likewise.
7655         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7656         * conform/data/strings.h-data [XPG3]: Likewise.
7657         * conform/data/stropts.h-data [XPG3]: Likewise.
7658         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7659         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7660         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7661         Likewise.
7662         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7663         * conform/data/sys/time.h-data [XPG3]: Likewise.
7664         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7665         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7666         * conform/data/sys/un.h-data [XPG3]: Likewise.
7667         * conform/data/syslog.h-data [XPG3]: Likewise.
7668         * conform/data/ucontext.h-data [XPG3]: Likewise.
7669         * conform/data/utmpx.h-data [XPG3]: Likewise.
7670         * conform/data/varargs.h-data [UNIX98]: Enable file.
7671
7672         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7673
7674         * math/libm-test.inc (struct test_f_f_data): Move expected results
7675         into structure for each rounding mode.
7676         (struct test_ff_f_data): Likewise.
7677         (struct test_ff_f_data_nexttoward): Likewise.
7678         (struct test_fi_f_data): Likewise.
7679         (struct test_fl_f_data): Likewise.
7680         (struct test_if_f_data): Likewise.
7681         (struct test_fff_f_data): Likewise.
7682         (struct test_c_f_data): Likewise.
7683         (struct test_f_f1_data): Likewise.
7684         (struct test_fF_f1_data): Likewise.
7685         (struct test_ffI_f1_data): Likewise.
7686         (struct test_c_c_data): Likewise.
7687         (struct test_cc_c_data): Likewise.
7688         (struct test_f_i_data): Likewise.
7689         (struct test_ff_i_data): Likewise.
7690         (struct test_f_l_data): Likewise.
7691         (struct test_f_L_data): Likewise.
7692         (struct test_fFF_11_data): Likewise.
7693         (RM_): New macro.
7694         (RM_FE_DOWNWARD): Likewise.
7695         (RM_FE_TONEAREST): Likewise.
7696         (RM_FE_TOWARDZERO): Likewise.
7697         (RM_FE_UPWARD): Likewise.
7698         (RUN_TEST_LOOP_f_f): Update references to expected results.
7699         (RUN_TEST_LOOP_2_f): Likewise.
7700         (RUN_TEST_LOOP_fff_f): Likewise.
7701         (RUN_TEST_LOOP_c_f): Likewise.
7702         (RUN_TEST_LOOP_f_f1): Likewise.
7703         (RUN_TEST_LOOP_fF_f1): Likewise.
7704         (RUN_TEST_LOOP_fI_f1): Likewise.
7705         (RUN_TEST_LOOP_ffI_f1): Likewise.
7706         (RUN_TEST_LOOP_c_c): Likewise.
7707         (RUN_TEST_LOOP_cc_c): Likewise.
7708         (RUN_TEST_LOOP_f_i): Likewise.
7709         (RUN_TEST_LOOP_f_i_tg): Likewise.
7710         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7711         (RUN_TEST_LOOP_f_b): Likewise.
7712         (RUN_TEST_LOOP_f_b_tg): Likewise.
7713         (RUN_TEST_LOOP_f_l): Likewise.
7714         (RUN_TEST_LOOP_f_L): Likewise.
7715         (RUN_TEST_LOOP_fFF_11): Likewise.
7716         * math/gen-libm-test.pl (parse_args): Output four copies of
7717         expected results for each test.
7718
7719         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7720         (__ASSUME_UTIMES): Remove.
7721         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7722         (__ASSUME_UTIMES): Likewise.
7723
7724         * math/gen-auto-libm-tests.c: Update comment on output format.
7725         (output_for_one_input_case): Generate before-rounding and
7726         after-rounding information as conditions on output flags not
7727         floating-point format.
7728         * math/auto-libm-test-out: Regenerated.
7729         * math/gen-libm-test.pl (cond_value): New function.
7730         (or_cond_value): Use cond_value.
7731         (generate_testfile): Handle conditional exceptions.
7732
7733 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7734
7735         * math/libm-test.inc (max_valid_error): New variable.
7736         (init_max_error): Take new argument specifying whether function
7737         results are exactly determined.  Set max_valid_error and bound
7738         other variables for errors based on this argument.
7739         (set_max_error): Do not record results above max_valid_error.
7740         (check_float_internal): Only accept errors of up to 0.5ulps if
7741         also at most max_valid_error.
7742         (START): Take new argument EXACT and pass it to init_max_error.
7743         (acos_test): Update call to START.
7744         (acos_test_tonearest): Likewise.
7745         (acos_test_towardzero): Likewise.
7746         (acos_test_downward): Likewise.
7747         (acos_test_upward): Likewise.
7748         (acosh_test): Likewise.
7749         (asin_test): Likewise.
7750         (asin_test_tonearest): Likewise.
7751         (asin_test_towardzero): Likewise.
7752         (asin_test_downward): Likewise.
7753         (asin_test_upward): Likewise.
7754         (asinh_test): Likewise.
7755         (atan_test): Likewise.
7756         (atanh_test): Likewise.
7757         (atan2_test): Likewise.
7758         (cabs_test): Likewise.
7759         (cacos_test): Likewise.
7760         (cacosh_test): Likewise.
7761         (carg_test): Likewise.
7762         (casin_test): Likewise.
7763         (casinh_test): Likewise.
7764         (catan_test): Likewise.
7765         (catanh_test): Likewise.
7766         (cbrt_test): Likewise.
7767         (ccos_test): Likewise.
7768         (ccosh_test): Likewise.
7769         (ceil_test): Likewise.
7770         (cexp_test): Likewise.
7771         (cimag_test): Likewise.
7772         (clog_test): Likewise.
7773         (clog10_test): Likewise.
7774         (conj_test): Likewise.
7775         (copysign_test): Likewise.
7776         (cos_test): Likewise.
7777         (cos_test_tonearest): Likewise.
7778         (cos_test_towardzero): Likewise.
7779         (cos_test_downward): Likewise.
7780         (cos_test_upward): Likewise.
7781         (cosh_test): Likewise.
7782         (cosh_test_tonearest): Likewise.
7783         (cosh_test_towardzero): Likewise.
7784         (cosh_test_downward): Likewise.
7785         (cosh_test_upward): Likewise.
7786         (cpow_test): Likewise.
7787         (cproj_test): Likewise.
7788         (creal_test): Likewise.
7789         (csin_test): Likewise.
7790         (csinh_test): Likewise.
7791         (csqrt_test): Likewise.
7792         (ctan_test): Likewise.
7793         (ctan_test_tonearest): Likewise.
7794         (ctan_test_towardzero): Likewise.
7795         (ctan_test_downward): Likewise.
7796         (ctan_test_upward): Likewise.
7797         (ctanh_test): Likewise.
7798         (ctanh_test_tonearest): Likewise.
7799         (ctanh_test_towardzero): Likewise.
7800         (ctanh_test_downward): Likewise.
7801         (ctanh_test_upward): Likewise.
7802         (erf_test): Likewise.
7803         (erfc_test): Likewise.
7804         (exp_test): Likewise.
7805         (exp_test_tonearest): Likewise.
7806         (exp_test_towardzero): Likewise.
7807         (exp_test_downward): Likewise.
7808         (exp_test_upward): Likewise.
7809         (exp10_test): Likewise.
7810         (exp10_test_tonearest): Likewise.
7811         (exp10_test_towardzero): Likewise.
7812         (exp10_test_downward): Likewise.
7813         (exp10_test_upward): Likewise.
7814         (pow10_test): Likewise.
7815         (exp2_test): Likewise.
7816         (expm1_test): Likewise.
7817         (expm1_test_tonearest): Likewise.
7818         (expm1_test_towardzero): Likewise.
7819         (expm1_test_downward): Likewise.
7820         (expm1_test_upward): Likewise.
7821         (fabs_test): Likewise.
7822         (fdim_test): Likewise.
7823         (floor_test): Likewise.
7824         (fma_test): Likewise.
7825         (fma_test_towardzero): Likewise.
7826         (fma_test_downward): Likewise.
7827         (fma_test_upward): Likewise.
7828         (fmax_test): Likewise.
7829         (fmin_test): Likewise.
7830         (fmod_test): Likewise.
7831         (fpclassify_test): Likewise.
7832         (frexp_test): Likewise.
7833         (hypot_test): Likewise.
7834         (ilogb_test): Likewise.
7835         (isfinite_test): Likewise.
7836         (finite_test): Likewise.
7837         (isgreater_test): Likewise.
7838         (isgreaterequal_test): Likewise.
7839         (isinf_test): Likewise.
7840         (isless_test): Likewise.
7841         (islessequal_test): Likewise.
7842         (islessgreater_test): Likewise.
7843         (isnan_test): Likewise.
7844         (isnormal_test): Likewise.
7845         (issignaling_test): Likewise.
7846         (isunordered_test): Likewise.
7847         (j0_test): Likewise.
7848         (j1_test): Likewise.
7849         (jn_test): Likewise.
7850         (ldexp_test): Likewise.
7851         (lgamma_test): Likewise.
7852         (gamma_test): Likewise.
7853         (lrint_test): Likewise.
7854         (lrint_test_tonearest): Likewise.
7855         (lrint_test_towardzero): Likewise.
7856         (lrint_test_downward): Likewise.
7857         (lrint_test_upward): Likewise.
7858         (llrint_test): Likewise.
7859         (llrint_test_tonearest): Likewise.
7860         (llrint_test_towardzero): Likewise.
7861         (llrint_test_downward): Likewise.
7862         (llrint_test_upward): Likewise.
7863         (log_test): Likewise.
7864         (log10_test): Likewise.
7865         (log1p_test): Likewise.
7866         (log2_test): Likewise.
7867         (logb_test): Likewise.
7868         (logb_test_downward): Likewise.
7869         (lround_test): Likewise.
7870         (llround_test): Likewise.
7871         (modf_test): Likewise.
7872         (nearbyint_test): Likewise.
7873         (nextafter_test): Likewise.
7874         (nexttoward_test): Likewise.
7875         (pow_test): Likewise.
7876         (pow_test_tonearest): Likewise.
7877         (pow_test_towardzero): Likewise.
7878         (pow_test_downward): Likewise.
7879         (pow_test_upward): Likewise.
7880         (remainder_test): Likewise.
7881         (drem_test): Likewise.
7882         (remainder_test_tonearest): Likewise.
7883         (drem_test_tonearest): Likewise.
7884         (remainder_test_towardzero): Likewise.
7885         (drem_test_towardzero): Likewise.
7886         (remainder_test_downward): Likewise.
7887         (drem_test_downward): Likewise.
7888         (remainder_test_upward): Likewise.
7889         (drem_test_upward): Likewise.
7890         (remquo_test): Likewise.
7891         (rint_test): Likewise.
7892         (rint_test_tonearest): Likewise.
7893         (rint_test_towardzero): Likewise.
7894         (rint_test_downward): Likewise.
7895         (rint_test_upward): Likewise.
7896         (round_test): Likewise.
7897         (scalb_test): Likewise.
7898         (scalbn_test): Likewise.
7899         (scalbln_test): Likewise.
7900         (signbit_test): Likewise.
7901         (sin_test): Likewise.
7902         (sin_test_tonearest): Likewise.
7903         (sin_test_towardzero): Likewise.
7904         (sin_test_downward): Likewise.
7905         (sin_test_upward): Likewise.
7906         (sincos_test): Likewise.
7907         (sinh_test): Likewise.
7908         (sinh_test_tonearest): Likewise.
7909         (sinh_test_towardzero): Likewise.
7910         (sinh_test_downward): Likewise.
7911         (sinh_test_upward): Likewise.
7912         (sqrt_test): Likewise.
7913         (sqrt_test_tonearest): Likewise.
7914         (sqrt_test_towardzero): Likewise.
7915         (sqrt_test_downward): Likewise.
7916         (sqrt_test_upward): Likewise.
7917         (tan_test): Likewise.
7918         (tan_test_tonearest): Likewise.
7919         (tan_test_towardzero): Likewise.
7920         (tan_test_downward): Likewise.
7921         (tan_test_upward): Likewise.
7922         (tanh_test): Likewise.
7923         (tgamma_test): Likewise.
7924         (trunc_test): Likewise.
7925         (y0_test): Likewise.
7926         (y1_test): Likewise.
7927         (yn_test): Likewise.
7928         (significand_test): Likewise.
7929
7930         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7931         individual tests in comment.
7932         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7933         (prev_max_error): New variable.
7934         (prev_real_max_error): Likewise.
7935         (prev_imag_max_error): Likewise.
7936         (compare_ulp_data): Don't refer to test names in comment.
7937         (find_test_ulps): Remove function.
7938         (find_function_ulps): Likewise.
7939         (find_complex_function_ulps): Likewise.
7940         (init_max_error): Take function name as argument.  Look up ulps
7941         for that function.
7942         (print_ulps): Remove function.
7943         (print_max_error): Use prev_max_error instead of calling
7944         find_function_ulps.
7945         (print_complex_max_error): Use prev_real_max_error and
7946         prev_imag_max_error instead of calling find_complex_function_ulps.
7947         (check_float_internal): Take max_ulp parameter instead of calling
7948         find_test_ulps.  Don't call print_ulps.
7949         (check_float): Update call to check_float_internal.
7950         (check_complex): Update calls to check_float_internal.
7951         (START): Pass argument to init_max_error.
7952         * math/gen-libm-test.pl (%results): Don't include "kind"
7953         information.
7954         (parse_ulps): Don't handle ulps of individual tests.
7955         (print_ulps_file): Likewise.
7956         (output_ulps): Likewise.
7957         * math/README.libm-test: Update.
7958         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7959         individual tests.
7960         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7961         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7962         * sysdeps/arm/libm-test-ulps: Likewise.
7963         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7964         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7965         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7966         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7967         * sysdeps/microblaze/libm-test-ulps: Likewise.
7968         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7969         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7970         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7971         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7972         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7973         * sysdeps/sh/libm-test-ulps: Likewise.
7974         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7975         * sysdeps/tile/libm-test-ulps: Likewise.
7976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7977
7978 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7979
7980         * math/libm-test.inc (print_complex_max_error): Check separately
7981         whether real and imaginary errors are within allowed range and
7982         pass 0 to print_complex_function_ulps instead of value within
7983         allowed range.
7984
7985 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7986
7987         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7988         formatting.
7989         (get_handles_fopen): Likewise.
7990         (do_write_test): Likewise.
7991
7992         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7993
7994         * libio/fileops.c (do_ftell): Use cached offset when
7995         available.
7996         * libio/iofwide.c (do_ftell_wide): Likewise.
7997         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7998         _IO_file_attach.
7999         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8000
8001         [BZ #16532]
8002         * libio/libioP.h (get_file_offset): New function.
8003         * libio/fileops.c (get_file_offset): Likewise.
8004         (do_ftell): Likewise.
8005         (_IO_new_file_seekoff): Split out ftell logic.
8006         * libio/wfileops.c (do_ftell_wide): Likewise.
8007         (_IO_wfile_seekoff): Split out ftell logic.
8008         * libio/tst-ftell-active-handler.c: New test case.
8009         * libio/Makefile (tests): Add it.
8010
8011 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8012
8013         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8014         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8015
8016 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8017
8018         [BZ #16639]
8019         * nscd/connections.c (nscd_init): Call do_exit.
8020         (start_threads): Call do_exit and notify_parent.
8021         (begin_drop_privileges): Call do_exit.
8022         (finish_drop_privileges): Likewise.
8023         * nscd/selinux.c (preserve_capabilities): Likewise.
8024         (install_real_capabilities): Likewise.
8025         (nscd_selinux_enabled): Likewise.
8026         (avc_create_thread): Likewise.
8027         (avc_alloc_lock): Likewise.
8028         (nscd_avc_init): Likewise.
8029         * nscd/nscd.c (parent_fd): New static variable.
8030         (main): Create a pipe between parent and child processes.
8031         Skip closing parent_fd.
8032         (monitor_child): New function.
8033         (do_exit): Likewise.
8034         (notify_parent): Likewise.
8035         * nscd/nscd.h (notify_parent): Likewise.
8036         (do_exit): Likewise.
8037
8038 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8039
8040         * malloc/malloc.c (__libc_calloc): Revert last change.
8041
8042 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8043
8044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8045
8046 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8047
8048         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8050         implementation.
8051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8052         (__libc_ifunc_impl_list): Likewise.
8053         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8054         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8055         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8056         * string/strrchr.c: Define STRRCHR.
8057
8058 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8059
8060         * benchtest/bench-strtok.c (simple_strtok): Delete.
8061         (strtok_string): Use as benchmark.
8062         * string/strtok (STRTOK): New macro.
8063
8064 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8065
8066         * manual/threads.texi: Add header and standard comments to all
8067         functions.
8068
8069         * elf/dl-lookup.c (check_match): New function.
8070         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8071         (do_lookup_x): Remove nested function check_match. Use non-nested
8072         function check_match.
8073
8074 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8075
8076         * csu/Makefile (generated, before-compile): Use += rather than =.
8077         * catgets/Makefile (generated, generated-dirs): Likewise.
8078         * debug/Makefile (generated): Likewise.
8079         * dlfcn/Makefile (generated): Likewise.
8080         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8081         * iconvdata/Makefile (before-compile, generated): Likewise.
8082         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8083         * libio/Makefile (generated): Likewise.
8084         * malloc/Makefile (generated): Likewise.
8085         * manual/Makefile (generated, generated-dirs): Likewise.
8086         * misc/Makefile (generated): Likewise.
8087         * posix/Makefile (generated): Likewise.
8088         * resolv/Makefile (generated): Likewise.
8089         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8090         * timezone/Makefile (generated, generated-dirs): Likewise.
8091
8092         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8093
8094 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8095
8096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8097         power8 implementation.
8098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8099         file: POWER8 llround ifunc implementation.
8100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8101         (__lllround): Add POWER8 implementation.
8102         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8103         POWER8 llround implementation.
8104
8105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8106         power8 implementation.
8107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8108         file: POWER8 llrint ifunc implementation.
8109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8110         Add POWER8 implementation.
8111         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8112         POWER8 llrint implementation.
8113
8114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8115         power8 implementation.
8116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8117         file: POWER8 finite ifunc implementation.
8118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8119         Add POWER8 implementation.
8120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8121         Likewise.
8122         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8123         POWER8 finite implementation.
8124         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8125
8126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8127         power8 implementation.
8128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8129         file: POWER8 isinf ifunc implementation.
8130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8131         POWER8 implementation.
8132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8133         Likewise.
8134         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8135         isinf implementation.
8136         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8137
8138         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8139         (INIT_ARCH): Add hwcap2 initialization.
8140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8141         power8 implementation.
8142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8143         file: POWER8 isnan ifunc implementation.
8144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8145         POWER8 implementation.
8146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8147         Likewise.
8148         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8149         isnan implementation.
8150         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8151
8152 2014-02-27  Joey Ye  <joey.ye@arm.com>
8153
8154         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8155         (_FP_NANFRAC_Q): Set to zero.
8156
8157 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8158
8159         [BZ #16623]
8160         * math/auto-libm-test-in: New test inputs.
8161         * math/auto-libm-test-out: Regenerate.
8162         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8163         and DA.
8164         (__cos): Likewise.
8165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8166
8167 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8168
8169         * scripts/evaluate-test.sh: Take new argument indicating whether
8170         failure is expected.
8171         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8172         indicating whether failure is expected.
8173         * conform/Makefile (test-xfail-run-conformtest): New variable.
8174         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8175         level.
8176         * posix/Makefile (test-xfail-annexc): New variable.
8177         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8178
8179 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8180
8181         * argp/Makefile: Include Makeconfig immediately after defining
8182         subdir.
8183         * assert/Makefile: Likewise.
8184         * benchtests/Makefile: Likewise.
8185         * catgets/Makefile: Likewise.
8186         * conform/Makefile: Likewise.
8187         * crypt/Makefile: Likewise.
8188         * csu/Makefile: Likewise.
8189         (all): Remove target.
8190         * ctype/Makefile: Include Makeconfig immediately after defining
8191         subdir.
8192         * debug/Makefile: Likewise.
8193         * dirent/Makefile: Likewise.
8194         * dlfcn/Makefile: Likewise.
8195         * gmon/Makefile: Likewise.
8196         * gnulib/Makefile: Likewise.
8197         * grp/Makefile: Likewise.
8198         * gshadow/Makefile: Likewise.
8199         * hesiod/Makefile: Likewise.
8200         * hurd/Makefile: Likewise.
8201         (all): Remove target.
8202         * iconvdata/Makefile: Include Makeconfig immediately after
8203         defining subdir.
8204         * inet/Makefile: Likewise.
8205         * intl/Makefile: Likewise.
8206         * io/Makefile: Likewise.
8207         * libio/Makefile: Likewise.
8208         (all): Remove target.
8209         * locale/Makefile: Include Makeconfig immediately after defining
8210         subdir.
8211         * login/Makefile: Likewise.
8212         * mach/Makefile: Likewise.
8213         (all): Remove target.
8214         * malloc/Makefile: Include Makeconfig immediately after defining
8215         subdir.
8216         (all): Remove target.
8217         * manual/Makefile: Include Makeconfig immediately after defining
8218         subdir.
8219         * math/Makefile: Likewise.
8220         * misc/Makefile: Likewise.
8221         * nis/Makefile: Likewise.
8222         * nss/Makefile: Likewise.
8223         * po/Makefile: Likewise.
8224         (all): Remove target.
8225         * posix/Makefile: Include Makeconfig immediately after defining
8226         subdir.
8227         * pwd/Makefile: Likewise.
8228         * resolv/Makefile: Likewise.
8229         * resource/Makefile: Likewise.
8230         * rt/Makefile: Likewise.
8231         * setjmp/Makefile: Likewise.
8232         * shadow/Makefile: Likewise.
8233         * signal/Makefile: Likewise.
8234         * socket/Makefile: Likewise.
8235         * soft-fp/Makefile: Likewise.
8236         * stdio-common/Makefile: Likewise.
8237         * stdlib/Makefile: Likewise.
8238         * streams/Makefile: Likewise.
8239         * string/Makefile: Likewise.
8240         * sunrpc/Makefile: Likewise.
8241         (all): Remove target.
8242         * sysvipc/Makefile: Include Makeconfig immediately after defining
8243         subdir.
8244         * termios/Makefile: Likewise.
8245         * time/Makefile: Likewise.
8246         * timezone/Makefile: Likewise.
8247         (all): Remove target.
8248         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8249         subdir.
8250         * wctype/Makefile: Likewise.
8251
8252 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8253
8254         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8255         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8256         (libc_feholdexcept_setround_mips): Ditto.
8257         (libc_feholdsetround): New.
8258         (libc_feholdsetroundf): New.
8259         (libc_feholdsetroundl): New.
8260         (libc_feupdateenv_test_mips): New.
8261         (libc_feupdateenv_test): New.
8262         (libc_feupdateenv_testf): New.
8263         (libc_feupdateenv_testl): New.
8264         (libc_feresetround): New.
8265         (libc_feresetroundf): New.
8266         (libc_feresetroundl): New.
8267         (libc_fetestexcept_mips): New.
8268         (libc_fetestexcept): New.
8269         (libc_fetestexceptf): New.
8270         (libc_fetestexceptl): New.
8271         (HAVE_RM_CTX): New.
8272         (libc_feholdexcept_setround_mips_ctx): New.
8273         (libc_feholdexcept_setround_ctx): New.
8274         (libc_feholdexcept_setroundf_ctx): New.
8275         (libc_feholdexcept_setroundl_ctx): New.
8276         (libc_fesetenv_mips_ctx): New.
8277         (libc_fesetenv_ctx): New.
8278         (libc_fesetenv_ctxf): New.
8279         (libc_fesetenv_ctxl): New.
8280         (libc_feupdateenv_mips_ctx): New.
8281         (libc_feupdateenv_ctx): New.
8282         (libc_feupdateenvf_ctx): New.
8283         (libc_feupdateenvl_ctx): New.
8284         (libc_feholdsetround_mips_ctx): New.
8285         (libc_feholdsetround_ctx): New.
8286         (libc_feholdsetroundf_ctx): New.
8287         (libc_feholdsetroundl_ctx): New.
8288         (libc_feresetround_mips_ctx): New.
8289         (libc_feresetround_ctx): New.
8290         (libc_feresetroundf_ctx): New.
8291         (libc_feresetroundl_ctx): New.
8292
8293 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8294
8295         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8296
8297         * manual/ipc.texi: New file.
8298         * manual/Makefile (chapters): Add ipc.
8299         * manual/job.texi: Add "Inter-Process Communication" to next.
8300         * manual/process.texi: Add "Inter-Process Communication" to prev.
8301
8302 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8303
8304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8305
8306 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8307
8308         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8309
8310         * manual/arith.texi: Fix spaces after sentences.
8311         * manual/charset.texi: Likewise.
8312         * manual/errno.texi: Likewise.
8313         * manual/install.texi: Likewise.
8314         * manual/llio.texi: Likewise.
8315         * manual/locale.texi: Likewise.
8316         * manual/maint.texi: Likewise.
8317         * manual/math.texi: Likewise.
8318         * manual/memory.texi: Likewise.
8319         * manual/message.texi: Likewise.
8320         * manual/probes.texi: Likewise.
8321         * manual/resource.texi: Likewise.
8322         * manual/signal.texi: Likewise.
8323         * manual/socket.texi: Likewise.
8324         * manual/stdio.texi: Likewise.
8325         * manual/string.texi: Likewise.
8326         * manual/time.texi: Likewise.
8327         * manual/users.texi: Likewise.
8328
8329 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8330
8331         [BZ #16632]
8332         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8333         _DEFAULT_SOURCE is defined.
8334
8335 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8336             Carlos O'Donell  <carlos@redhat.com>
8337
8338         [BZ #16613]
8339         * elf/dl-tls.c (_dl_count_modids): New function.
8340         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8341         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8342         audit library and increment generation counter.
8343         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8344         * elf/tst-audit9.c: New file.
8345         * elf/tst-auditmod9a.c: New file.
8346         * elf/tst-auditmod9b.c: New file.
8347         * elf/Makefile: Add rules to build and run tst-audit9.
8348
8349 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8350
8351         [BZ #15347]
8352         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8353
8354 2014-02-25  Will Newton  <will.newton@linaro.org>
8355
8356         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8357         (__longjmp): Restore sp and lr before restoring callee
8358         saved registers.  Add longjmp and longjmp_target
8359         SystemTap probe point.
8360         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8361         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8362         Define to zero to match jmpbuf layout.
8363         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8364         (__sigsetjmp): Save sp and lr before saving callee
8365         saved registers.  Add setjmp SystemTap probe point.
8366
8367 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8368
8369         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8370
8371 2014-02-24  Andreas Schwab  <schwab@suse.de>
8372
8373         [BZ #15804]
8374         * elf/pldd.c (wait_for_ptrace_stop): New function.
8375         (main): Call it after attaching.
8376
8377 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8378
8379         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8380         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8381         Versions files is now verboten.
8382         * hurd/Versions (libc: GLIBC_2.0):
8383         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8384         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8385         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8386         * mach/Versions: Likewise.
8387
8388         * csu/Versions: Remove unused %include.
8389         * resolv/Versions: Likewise.
8390
8391 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8392
8393         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8394         ($(objpfx)check-local-headers.out): Likewise.
8395         ($(objpfx)begin-end-check.out): Likewise.
8396         * Makerules (check-abi-%.out): Likewise.
8397         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8398         ($(objpfx)test2.cat): Likewise.
8399         ($(objpfx)de/libc.cat): Likewise.
8400         ($(objpfx)test-gencat.out): Likewise.
8401         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8402         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8403         ($(objpfx)noload-mem): Likewise.
8404         ($(objpfx)tst-pathopt.out): Likewise.
8405         ($(objpfx)tst-rtld-load-self.out): Likewise.
8406         ($(objpfx)tst-array1-cmp.out): Likewise.
8407         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8408         ($(objpfx)tst-array2-cmp.out): Likewise.
8409         ($(objpfx)tst-array3-cmp.out): Likewise.
8410         ($(objpfx)tst-array4-cmp.out): Likewise.
8411         ($(objpfx)tst-array5-cmp.out): Likewise.
8412         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8413         ($(objpfx)check-textrel.out): Likewise.
8414         ($(objpfx)check-execstack.out): Likewise.
8415         ($(objpfx)check-localplt.out): Likewise.
8416         ($(objpfx)order2-cmp.out): Likewise.
8417         ($(objpfx)tst-leaks1-mem): Likewise.
8418         ($(objpfx)tst-leaks1-static-mem): Likewise.
8419         ($(objpfx)tst-initorder-cmp.out): Likewise.
8420         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8421         ($(objpfx)tst-unused-dep.out): Likewise.
8422         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8423         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8424         * iconv/Makefile (test-iconvconfig): Likewise.
8425         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8426         ($(objpfx)iconv-test.out): Likewise.
8427         ($(objpfx)tst-tables.out): Likewise.
8428         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8429         ($(objpfx)tst-gettext.out): Likewise.
8430         ($(objpfx)tst-translit.out): Likewise.
8431         ($(objpfx)tst-gettext2.out): Likewise.
8432         ($(objpfx)tst-gettext4.out): Likewise.
8433         ($(objpfx)tst-gettext6.out): Likewise.
8434         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8435         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8436         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8437         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8438         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8439         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8440         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8441         ($(objpfx)wordexp-tst.out): Likewise.
8442         ($(objpfx)annexc.out): Likewise.
8443         ($(objpfx)tst-fnmatch-mem): Likewise.
8444         ($(objpfx)bug-regex2-mem): Likewise.
8445         ($(objpfx)bug-regex14-mem): Likewise.
8446         ($(objpfx)bug-regex21-mem): Likewise.
8447         ($(objpfx)bug-regex31-mem): Likewise.
8448         ($(objpfx)tst-vfork3-mem): Likewise.
8449         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8450         ($(objpfx)tst-pcre-mem): Likewise.
8451         ($(objpfx)tst-boost-mem): Likewise.
8452         ($(objpfx)tst-getconf.out): Likewise.
8453         ($(objpfx)bug-ga2-mem): Likewise.
8454         ($(objpfx)bug-glob2-mem): Likewise.
8455         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8456         ($(objpfx)mtrace-tst-leaks2): Likewise.
8457         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8458         ($(objpfx)tst-printf.out): Likewise.
8459         ($(objpfx)tst-setvbuf1.out): Likewise.
8460         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8461         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8462         ($(objpfx)tst-fmtmsg.out): Likewise.
8463         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8464         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8465
8466         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8467         * bits/sigaction.h [__USE_MISC]: Likewise.
8468         * bits/waitstatus.h: Update #endif comments.
8469         * ctype/ctype.h: Likewise.
8470         * dirent/dirent.h: Likewise.
8471         [__USE_MISC]: Remove redundant conditionals.
8472         * grp/grp.h: Update #endif comments.
8473         [__USE_GNU]: Remove redundant conditionals.
8474         [__USE_MISC]: Likewise.
8475         * inet/netinet/in.h [__USE_GNU]: Likewise.
8476         * io/sys/stat.h [__USE_MISC]: Likewise.
8477         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8478         * libio/bits/stdio.h: Update #endif comments.
8479         [__USE_MISC]: Remove redundant conditionals.
8480         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8481         * libio/stdio.h: Update #endif comments.
8482         [__USE_MISC]: Remove redundant conditionals.
8483         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8484         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8485         * math/math.h: Update #else and #endif comments.
8486         [__USE_MISC]: Remove redundant conditionals.
8487         * misc/sys/uio.h: Update #endif comments.
8488         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8489         * posix/glob.h [__USE_MISC]: Likewise.
8490         * posix/sys/types.h: Update #endif comments.
8491         [__USE_MISC]: Remove redundant conditionals.
8492         * posix/sys/wait.h: Update #endif comments.
8493         [__USE_MISC]: Remove redundant conditionals.
8494         * posix/unistd.h: Update #endif comments.
8495         [__USE_MISC]: Remove redundant conditionals.
8496         * pwd/pwd.h [__USE_GNU]: Likewise.
8497         [__USE_MISC]: Likewise.
8498         * resolv/netdb.h [__USE_GNU]: Likewise.
8499         * signal/signal.h: Update #endif comments.
8500         [__USE_MISC]: Remove redundant conditionals.
8501         * stdlib/stdlib.h: Update #else and #endif comments.
8502         [__USE_MISC]: Remove redundant conditionals.
8503         [__USE_GNU]: Likewise.
8504         * string/bits/string2.h [__USE_MISC]: Likewise.
8505         * string/string.h: Update #endif comments.
8506         [__USE_MISC]: Remove redundant conditionals.
8507         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8508         Likewise.
8509         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8510         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8511         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8512         Likewise.
8513         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8514         Likewise.
8515         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8516         comments.
8517         [__USE_MISC]: Remove redundant conditionals.
8518         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8519         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8520         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8521         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8522         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8523         Likewise.
8524         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8525         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8526         Likewise.
8527         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8528         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8529         Likewise.
8530         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8533         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8534         Likewise.
8535         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8536         Likewise.
8537         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8538         * sysdeps/x86/bits/string.h: Update #endif comments.
8539         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8540         conditionals.
8541         * time/sys/time.h: Update #endif comments.
8542         * time/time.h: Likewise.
8543         [__USE_MISC]: Remove redundant conditionals.
8544
8545 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8546
8547         [BZ #16600]
8548         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8549
8550 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8551
8552         * Versions.def (librt): Add GLIBC_2.17.
8553
8554 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8555
8556         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8557         synonym for _SYS_AUXV_H to allow direct inclusion.
8558         * sysdeps/sparc/bits/hwcap.h: Likewise.
8559         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8560         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8561         * sysdeps/sparc/sysdep.h: Likewise.
8562
8563 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8564
8565         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8566
8567 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8568
8569         * benchtests/bench-strrchr.c: Print length instead of position.
8570
8571 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8572
8573         [BZ #16611]
8574         * sysdeps/unix/sysv/linux/kernel-features.h
8575         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8576         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8577         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8578         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8579         Likewise.
8580         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8581         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8582         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8583         (__ASSUME_SENDMMSG): Define instead of using previous
8584         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8585         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8586         (__ASSUME_SENDMMSG_SYSCALL): Define.
8587         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8588         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8589         Likewise.
8590         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8591         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8592         Likewise.
8593         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8594         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8595         Likewise.
8596         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8597         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8598         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8599         [__ASSUME_SENDMMSG]: Change conditionals to
8600         [__ASSUME_SENDMMSG_SOCKETCALL].
8601         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8602         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8603         Define.
8604         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8605         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8606         Likewise.
8607         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8608         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8609         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8610         [!__ASSUME_SENDMMSG]: Change conditional to
8611         [!__ASSUME_SENDMMSG_SOCKETCALL].
8612         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8613         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8614         Define.
8615
8616         [BZ #16610]
8617         * sysdeps/unix/sysv/linux/kernel-features.h
8618         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8619         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8620         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8621         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8622         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8623         [__i386__ || __sparc__]
8624         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8625         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8626         (__ASSUME_RECVMMSG): Define instead of using previous
8627         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8628         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8629         (__ASSUME_RECVMMSG_SYSCALL): Define.
8630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8631         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8632         Likewise.
8633         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8634         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8635         Likewise.
8636         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8637         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8638         Likewise.
8639         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8640         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8641         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8642         [__ASSUME_RECVMMSG]: Change condition to
8643         [__ASSUME_RECVMMSG_SOCKETCALL].
8644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8645         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8646         Define.
8647         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8649         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8650         Likewise.
8651         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8652         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8653         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8654         [!__ASSUME_RECVMMSG]: Change condition to
8655         [!__ASSUME_RECVMMSG_SOCKETCALL].
8656         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8657         (__ASSUME_RECVMMSG_SYSCALL): Define.
8658
8659         [BZ #16609]
8660         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8661         __powerpc__ || __s390__ || __sh__ || __sparc__]
8662         (__ASSUME_SOCKETCALL): Define.
8663         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8664         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8665         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8666         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8667         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8668         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8669         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8670         (__ASSUME_ACCEPT4): Define instead of using previous
8671         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8672         __powerpc__ || __sparc__ || __s390__)] condition.
8673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8674         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8675         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8676         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8677         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8678         [!__ASSUME_ACCEPT4]: Change condition to
8679         [!__ASSUME_ACCEPT4_SOCKETCALL].
8680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8681         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8682         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8683         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8684         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8685         __ASSUME_ACCEPT4_SYSCALL.
8686         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8687         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8688         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8689         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8690         __ASSUME_ACCEPT4_SYSCALL.
8691         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8692         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8693         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8694         [__ASSUME_ACCEPT4]: Change condition to
8695         [__ASSUME_ACCEPT4_SOCKETCALL].
8696         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8697         (__ASSUME_SOCKETCALL): Define.
8698         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8699         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8700         (__ASSUME_SOCKETCALL): Define.
8701         (__ASSUME_ACCEPT4): Remove.
8702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8703         Define.
8704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8705         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8706         Likewise.
8707         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8708         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8709
8710         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8711         macro.
8712         (HWCAP_ARM_LPAE): Likewise.
8713         (HWCAP_ARM_EVTSTRM): Likewise.
8714         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8715         Add vpfd32, lpae and evtstrm.
8716         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8717         Increase to 22.
8718
8719 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8720
8721         * math/auto-libm-test-in: Add tests of clog10.
8722         * math/auto-libm-test-out: Regenerated.
8723         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8724         * sysdeps/i386/fpu/libm-test-ulps: Update.
8725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8726
8727 2014-02-18  Andreas Schwab  <schwab@suse.de>
8728
8729         [BZ #16574]
8730         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8731         Store non-zero if the second buffer was newly allocated.
8732         (send_dg): Likewise.
8733         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8734         to send_vc and send_dg.
8735         (res_nsend): Pass NULL for ansp2_malloced.
8736         * resolv/res_query.c (__libc_res_nquery): Add parameter
8737         answerp2_malloced and pass it down to __libc_res_nsend.
8738         (res_nquery): Pass additional NULL to __libc_res_nquery.
8739         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8740         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8741         second answer buffer if answerp2_malloced was set.
8742         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8743         (__libc_res_nquerydomain): Add parameter
8744         answerp2_malloced and pass it down to __libc_res_nquery.
8745         (res_nquerydomain): Pass additional NULL to
8746         __libc_res_nquerydomain.
8747         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8748         additional NULL to __libc_res_nsend and __libc_res_nquery.
8749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8750         additional NULL to __libc_res_nsearch.
8751         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8752         parameter of __libc_res_nsearch to check for separately allocated
8753         second buffer.
8754         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8755         __libc_res_nquery.
8756         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8757         additional NULL to __libc_res_nquery.
8758         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8759         __libc_res_nsearch.
8760         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8761         * include/resolv.h: Update prototypes of __libc_res_nquery,
8762         __libc_res_nsearch, __libc_res_nsend.
8763
8764 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8765
8766         * math/auto-libm-test-in: Add tests of fma.
8767         * math/auto-libm-test-out: Regenerated.
8768         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8769         (fma_towardzero_test_data): Likewise.
8770         (fma_downward_test_data): Likewise.
8771         (fma_upward_test_data): Likewise.
8772         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8773         mpc_mode.
8774         (rounding_modes): Add values for new field.
8775         (func_calc_method): Add value mpfr_fff_f.
8776         (func_calc_desc): Add mpfr_fff_f union field.
8777         (test_function): Add field exact_args.
8778         (FUNC): Add macro argument EXACT_ARGS.
8779         (FUNC_mpfr_f_f): Update call to FUNC.
8780         (FUNC_mpfr_f_f): Likewise.
8781         (FUNC_mpfr_ff_f): Likewise.
8782         (FUNC_mpfr_if_f): Likewise.
8783         (FUNC_mpc_c_f): Likewise.
8784         (FUNC_mpc_c_c): Likewise.
8785         (test_functions): Add fma.  Update calls to FUNC.
8786         (handle_input_arg): Add argument exact_args.
8787         (add_test): Update call to handle_input_arg.
8788         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8789         (output_for_one_input_case): Update call to calc_generic_results.
8790         Recalculate exact zero results in each rounding mode.
8791
8792         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8793         non-negative before setting low bit.
8794         * math/auto-libm-test-in: Mark one asin test possibly having
8795         spurious underflow.
8796         * math/auto-libm-test-out: Regenerated.
8797         * sysdeps/i386/fpu/libm-test-ulps: Update.
8798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8799
8800 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8801
8802         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8803         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8804         ports/sysdeps/unix/sysv/linux/microblaze.
8805         * README: Add missing listing for microblaze*-*-linux-gnu.
8806
8807 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8808
8809         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8810         * sysdeps/unix/sysv/linux/ia64: Move directory from
8811         ports/sysdeps/unix/sysv/linux/ia64.
8812         * README: Update listing for ia64-*-linux-gnu.
8813
8814 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8815             Joseph Myers  <joseph@codesourcery.com>
8816
8817         * Makeconfig (test-name): New variable.
8818         (evaluate-test): Likewise.
8819         * Makerules (do-test-clean): Remove .test-result files.
8820         (common-mostlyclean): Likewise.
8821         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8822         * scripts/evaluate-test.sh: New file.
8823
8824 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8825
8826         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8827         separate $(objpfx)tst-fopenloc-cmp.out and
8828         $(objpfx)tst-fopenloc-mem.out targets.
8829         (tests): Update dependencies.
8830         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8831         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8832         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8833         (tst-rxspencer-no-utf8-ARGS): New variable.
8834         (tst-rxspencer-no-utf8-ENV): Likewise.
8835         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8836         instead of $(objpfx)tst-rxspencer-mem.
8837         ($(objpfx)tst-rxspencer-mem): Change target to
8838         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8839         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8840         * posix/tst-rxspencer-no-utf8.c: New file.
8841
8842         * elf/Makefile ($(objpfx)order.out): Remove rule.
8843         [$(run-built-tests) = yes] (tests): Depend on
8844         $(objpfx)order-cmp.out.
8845         ($(objpfx)order-cmp.out): New rule.
8846         [$(run-built-tests) = yes] (tests): Depend on
8847         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8848         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8849         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8850         $(objpfx)tst-array5-static-cmp.out.
8851         ($(objpfx)tst-array1.out): Remove rule.
8852         ($(objpfx)tst-array1-cmp.out): New rule.
8853         ($(objpfx)tst-array1-static.out): Remove rule.
8854         ($(objpfx)tst-array1-static-cmp.out): New rule.
8855         ($(objpfx)tst-array2.out): Remove rule.
8856         ($(objpfx)tst-array2-cmp.out): New rule.
8857         ($(objpfx)tst-array3.out): Remove rule.
8858         ($(objpfx)tst-array3-cmp.out): New rule.
8859         ($(objpfx)tst-array4.out): Remove rule.
8860         ($(objpfx)tst-array4-cmp.out): New rule.
8861         ($(objpfx)tst-array5.out): Remove rule.
8862         ($(objpfx)tst-array5-cmp.out): New rule.
8863         ($(objpfx)tst-array5-static.out): Remove rule.
8864         ($(objpfx)tst-array5-static-cmp.out): New rule.
8865         [$(run-built-tests) = yes] (tests): Depend on
8866         $(objpfx)order2-cmp.out.
8867         ($(objpfx)order2.out): Remove rule.
8868         ($(objpfx)order2-cmp.out): New rule.
8869         ($(objpfx)tst-initorder.out): Remove rule.
8870         [$(run-built-tests) = yes] (tests): Depend on
8871         $(objpfx)tst-initorder-cmp.out.
8872         ($(objpfx)tst-initorder-cmp.out): New rule.
8873         ($(objpfx)tst-initorder2.out): Remove rule.
8874         [$(run-built-tests) = yes] (tests): Depend on
8875         $(objpfx)tst-initorder2-cmp.out.
8876         ($(objpfx)tst-initorder2-cmp.out): New rule.
8877         [$(run-built-tests) = yes] (tests): Depend on
8878         $(objpfx)tst-unused-dep-cmp.out.
8879         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8880         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8881         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8882         on $(objpfx)tst-setvbuf1-cmp.out.
8883         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8884         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8885         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8886         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8887         ($(objpfx)tst-svc.out): Remove rule.
8888         ($(objpfx)tst-svc-cmp.out): New rule.
8889
8890 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8891
8892         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8893         * ctype/ctype.h [__USE_MISC]: Likewise.
8894         * dirent/dirent.h [__USE_MISC]: Likewise.
8895         * grp/grp.h [__USE_MISC]: Likewise.
8896         * io/fcntl.h [__USE_MISC]: Likewise.
8897         * io/sys/stat.h [__USE_MISC]: Likewise.
8898         * libio/stdio.h [__USE_MISC]: Likewise.
8899         * posix/unistd.h [__USE_MISC]: Likewise.
8900         * pwd/pwd.h [__USE_MISC]: Likewise.
8901         * stdlib.h [__USE_MISC]: Likewise.
8902         * string/bits/string2.h [__USE_MISC]: Likewise.
8903         * string/string.h [__USE_MISC]: Likewise.
8904         * time/time.h [__USE_MISC]: Likewise.
8905
8906 2014-02-13  Andreas Schwab  <schwab@suse.de>
8907
8908         [BZ #16574]
8909         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8910         second answer buffer if it was separately allocated.
8911
8912 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8913
8914         * sysdeps/mips/math-tests.h: Include <features.h>.
8915         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8916         (ROUNDING_TESTS_long_double): Do not define.
8917         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8918         (EXCEPTION_TESTS_long_double): Likewise.
8919         * sysdeps/mips/mips64/libm-test-ulps: Update.
8920
8921         * include/features.h (__USE_BSD): Remove macro definitions.
8922         (__USE_SVID): Likewise.
8923         (_BSD_SOURCE): Likewise.
8924         (_SVID_SOURCE): Likewise.
8925         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8926         from definition of _DEFAULT_SOURCE.
8927         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8928         [_DEFAULT_SOURCE].
8929         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8930         * bits/mman.h [__USE_BSD]: Likewise.
8931         * bits/termios.h [__USE_BSD]: Likewise.
8932         * bits/waitstatus.h [__USE_BSD]: Likewise.
8933         * ctype/ctype.h [__USE_SVID]: Likewise.
8934         * dirent/dirent.h [__USE_BSD]: Likewise.
8935         * grp/grp.h [__USE_SVID]: Likewise.
8936         [__USE_BSD]: Likewise.
8937         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8938         * io/fcntl.h [__USE_BSD]: Likewise.
8939         * io/ftw.h [__USE_BSD]: Likewise.
8940         * io/sys/stat.h [__USE_BSD]: Likewise.
8941         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8942         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8943         * libio/stdio.h [__USE_SVID]: Likewise.
8944         [__USE_BSD]: Likewise.
8945         * math/math.h [__USE_SVID]: Likewise.
8946         [__USE_BSD]: Likewise.
8947         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8948         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8949         * misc/search.h [__USE_SVID]: Likewise.
8950         * misc/sys/mman.h [__USE_BSD]: Likewise.
8951         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8952         * misc/sys/uio.h [__USE_BSD]: Likewise.
8953         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8954         * posix/glob.h [__USE_BSD]: Likewise.
8955         * posix/regex.h [__USE_BSD]: Likewise.
8956         * posix/sys/types.h [__USE_BSD]: Likewise.
8957         [__USE_SVID]: Likewise.
8958         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8959         * posix/sys/wait.h [__USE_BSD]: Likewise.
8960         [__USE_SVID]: Likewise.
8961         * posix/unistd.h [__USE_BSD]: Likewise.
8962         [__USE_SVID]: Likewise.
8963         * pwd/pwd.h [__USE_SVID]: Likewise.
8964         * resolv/netdb.h [__USE_BSD]: Likewise.
8965         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8966         * signal/signal.h [__USE_BSD]: Likewise.
8967         [__USE_SVID]: Likewise.
8968         * socket/sys/socket.h [__USE_BSD]: Likewise.
8969         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8970         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8971         [__USE_SVID]: Likewise.
8972         * string/bits/string2.h [__USE_BSD]: Likewise.
8973         [__USE_SVID]: Likewise.
8974         * string/bits/string3.h [__USE_BSD]: Likewise.
8975         * string/endian.h [__USE_BSD]: Likewise.
8976         * string/string.h [__USE_SVID]: Likewise.
8977         [__USE_BSD]: Likewise.
8978         * string/strings.h [__USE_BSD]: Likewise.
8979         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8980         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8981         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8982         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8983         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8984         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8985         Likewise.
8986         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8987         Likewise.
8988         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8989         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8990         Likewise.
8991         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8992         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8993         Likewise.
8994         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8995         Likewise.
8996         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8997         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8998         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8999         Likewise.
9000         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9001         Likewise.
9002         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9003         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9004         * termios/termios.h [__USE_BSD]: Likewise.
9005         * time/sys/time.h [__USE_BSD]: Likewise.
9006         * time/time.h [__USE_BSD]: Likewise.
9007         [__USE_SVID]: Likewise.
9008
9009         * Makefile (subdir_targets): Remove subdir_lint.out.
9010
9011         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9012         (do-tst-printf): Likewise.
9013         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9014         $(objpfx)tst-printf.out.
9015
9016         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9017
9018         * Makerules (check-abi-%): Change target to
9019         $(objpfx)check-abi-%.out.
9020         (check-abi target): Update dependencies.
9021         (check-abi-pattern variable): Redirect output of diff to $@.
9022         (check-abi variable): Likewise.
9023         * elf/Makefile (check-abi): Update dependencies.
9024
9025         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9026         unused.
9027         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9028         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9029         subnormal range.
9030         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9031         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9032         value has largest subnormal exponent.
9033         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9034         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9035         * sysdeps/aarch64/soft-fp/sfp-machine.h
9036         (_FP_TININESS_AFTER_ROUNDING): New macro.
9037         * sysdeps/alpha/soft-fp/sfp-machine.h
9038         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9039         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9040         Likewise.
9041         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9042         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9043         * sysdeps/mips/soft-fp/sfp-machine.h
9044         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9045         * sysdeps/powerpc/soft-fp/sfp-machine.h
9046         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9047         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9048         Likewise.
9049         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9050         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9051         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9052         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9053         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9054         Likewise.
9055
9056 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9057
9058         [BZ #16545]
9059         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9060         model 1.
9061
9062 2014-02-12  Richard Henderson  <rth@redhat.com>
9063
9064         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9065         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9066         * sysdeps/unix/sysv/linux/alpha: Move directory from
9067         ports/sysdeps/unix/sysv/linux/alpha.
9068         * README: Update listing for alpha-*-linux-gnu.
9069
9070 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9071
9072         * include/features.h: Update comment documenting feature test
9073         macros.
9074         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9075         _DEFAULT_SOURCE.
9076         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9077         (_SVID_SOURCE): Likewise.
9078         (_DEFAULT_SOURCE): Update description of default features.
9079         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9080         with _GNU_SOURCE.
9081         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9082         (S_ISVTX): Likewise.
9083         * manual/math.texi (Mathematical Constants): Likewise.
9084         * manual/signal.texi (Interrupted Primitives): Likewise.
9085         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9086         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9087         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9088         Don't refer to _SVID_SOURCE in warning text.
9089
9090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9091
9092         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9093         already defined.
9094         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9095         * sysdeps/mips/dl-lookup.c: Remove.
9096         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9097
9098 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9099
9100         [BZ #16447]
9101         * math/auto-libm-test-in: Add testcase for expl.
9102         * math/auto-libm-test-out: Regenerate.
9103         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9104         calculation of unsafe.
9105         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9106
9107 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9108
9109         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9110         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9111         ports/sysdeps/unix/sysv/linux/aarch64.
9112         * README: Update listing for aarch64*-*-linux-gnu.
9113
9114 2014-02-11  Will Newton  <will.newton@linaro.org>
9115
9116         * manual/probes.texi (Mathematical Function Probes): Use
9117         "triggered" instead of "hit".
9118
9119         * manual/probes.texi (Internal Probes): Add documentation
9120         of setjmp, longjmp and longjmp_target probes.
9121
9122         * include/stap-probe.h: Add comment about probe argument
9123         format.
9124
9125         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9126         definition.  (tr_where, tr_freehook, tr_mallochook,
9127         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9128
9129 2014-02-11  David S. Miller  <davem@davemloft.net>
9130
9131         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9132         processing int_tests.
9133
9134 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9135
9136         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9137         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9138         * sysdeps/unix/sysv/linux/mips: Move directory from
9139         ports/sysdeps/unix/sysv/linux/mips.
9140         * README: Update listing for mips-*-linux-gnu and
9141         mips64-*-linux-gnu.
9142
9143 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9144
9145         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9146         * sysdeps/unix/sysv/linux/m68k: Move directory from
9147         ports/sysdeps/unix/sysv/linux/m68k.
9148         * README: Update listing for m68k-*-linux-gnu.
9149
9150 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9151
9152         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9153         * sysdeps/unix/sysv/linux/generic: Move directory from
9154         ports/sysdeps/unix/sysv/linux/generic.
9155         * sysdeps/unix/sysv/linux/tile: Move directory from
9156         ports/sysdeps/unix/sysv/linux/tile.
9157         * README: Update listing for tile*-*-linux-gnu.
9158
9159 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9160
9161         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9162         __builtin_expect.
9163         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9164         * catgets/open_catalog.c (__open_catalog): Likewise.
9165         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9166         * debug/confstr_chk.c: Likewise.
9167         * debug/fread_chk.c (__fread_chk): Likewise.
9168         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9169         * debug/getgroups_chk.c: Likewise.
9170         * debug/mbsnrtowcs_chk.c: Likewise.
9171         * debug/mbsrtowcs_chk.c: Likewise.
9172         * debug/mbstowcs_chk.c: Likewise.
9173         * debug/memcpy_chk.c: Likewise.
9174         * debug/memmove_chk.c: Likewise.
9175         * debug/mempcpy_chk.c: Likewise.
9176         * debug/memset_chk.c: Likewise.
9177         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9178         * debug/strcat_chk.c (__strcat_chk): Likewise.
9179         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9180         * debug/strncat_chk.c (__strncat_chk): Likewise.
9181         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9182         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9183         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9184         * debug/wcpncpy_chk.c: Likewise.
9185         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9186         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9187         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9188         * debug/wcsncpy_chk.c: Likewise.
9189         * debug/wcsnrtombs_chk.c: Likewise.
9190         * debug/wcsrtombs_chk.c: Likewise.
9191         * debug/wcstombs_chk.c: Likewise.
9192         * debug/wmemcpy_chk.c: Likewise.
9193         * debug/wmemmove_chk.c: Likewise.
9194         * debug/wmempcpy_chk.c: Likewise.
9195         * debug/wmemset_chk.c: Likewise.
9196         * dirent/scandirat.c (SCANDIRAT): Likewise.
9197         * dlfcn/dladdr1.c (dladdr1): Likewise.
9198         * dlfcn/dladdr.c (dladdr): Likewise.
9199         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9200         * dlfcn/dlerror.c (__dlerror): Likewise.
9201         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9202         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9203         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9204         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9205         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9206         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9207         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9208         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9209         Likewise.
9210         * elf/dl-conflict.c: Likewise.
9211         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9212         * elf/dl-dst.h: Likewise.
9213         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9214         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9215         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9216         * elf/dl-init.c (call_init, _dl_init): Likewise.
9217         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9218         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9219         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9220         Likewise.
9221         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9222         Likewise.
9223         * elf/dl-minimal.c (__libc_memalign): Likewise.
9224         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9225         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9226         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9227         * elf/dl-sym.c (do_sym): Likewise.
9228         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9229         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9230         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9231         * elf/dl-writev.h (_dl_writev): Likewise.
9232         * elf/ldconfig.c (search_dir): Likewise.
9233         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9234         (dl_main): Likewise.
9235         * elf/setup-vdso.h (setup_vdso): Likewise.
9236         * grp/compat-initgroups.c (compat_call): Likewise.
9237         * grp/fgetgrent.c (fgetgrent): Likewise.
9238         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9239         * grp/putgrent.c (putgrent): Likewise.
9240         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9241         Likewise.
9242         * hurd/hurdinit.c: Likewise.
9243         * iconvdata/8bit-gap.c (struct): Likewise.
9244         * iconvdata/ansi_x3.110.c : Likewise.
9245         * iconvdata/big5.c : Likewise.
9246         * iconvdata/big5hkscs.c : Likewise.
9247         * iconvdata/cp1255.c: Likewise.
9248         * iconvdata/cp1258.c : Likewise.
9249         * iconvdata/cp932.c : Likewise.
9250         * iconvdata/euc-cn.c: Likewise.
9251         * iconvdata/euc-jisx0213.c : Likewise.
9252         * iconvdata/euc-jp.c: Likewise.
9253         * iconvdata/euc-jp-ms.c : Likewise.
9254         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9255         * iconvdata/gb18030.c : Likewise.
9256         * iconvdata/gbbig5.c (const): Likewise.
9257         * iconvdata/gbgbk.c: Likewise.
9258         * iconvdata/gbk.c : Likewise.
9259         * iconvdata/ibm1364.c : Likewise.
9260         * iconvdata/ibm930.c : Likewise.
9261         * iconvdata/ibm932.c: Likewise.
9262         * iconvdata/ibm933.c : Likewise.
9263         * iconvdata/ibm935.c : Likewise.
9264         * iconvdata/ibm937.c : Likewise.
9265         * iconvdata/ibm939.c : Likewise.
9266         * iconvdata/ibm943.c: Likewise.
9267         * iconvdata/iso_11548-1.c: Likewise.
9268         * iconvdata/iso-2022-cn.c : Likewise.
9269         * iconvdata/iso-2022-cn-ext.c : Likewise.
9270         * iconvdata/iso-2022-jp-3.c: Likewise.
9271         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9272         * iconvdata/iso-2022-kr.c : Likewise.
9273         * iconvdata/iso646.c (gconv_end): Likewise.
9274         * iconvdata/iso_6937-2.c : Likewise.
9275         * iconvdata/iso_6937.c : Likewise.
9276         * iconvdata/iso8859-1.c: Likewise.
9277         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9278         * iconvdata/shift_jisx0213.c : Likewise.
9279         * iconvdata/sjis.c : Likewise.
9280         * iconvdata/t.61.c : Likewise.
9281         * iconvdata/tcvn5712-1.c : Likewise.
9282         * iconvdata/tscii.c: Likewise.
9283         * iconvdata/uhc.c : Likewise.
9284         * iconvdata/unicode.c (gconv_end): Likewise.
9285         * iconvdata/utf-16.c (gconv_end): Likewise.
9286         * iconvdata/utf-32.c (gconv_end): Likewise.
9287         * iconvdata/utf-7.c (base64): Likewise.
9288         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9289         * iconv/gconv_close.c (__gconv_close): Likewise.
9290         * iconv/gconv_open.c (__gconv_open): Likewise.
9291         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9292         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9293         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9294         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9295         (ucs4le_internal_loop_single): Likewise.
9296         * iconv/iconv.c (iconv): Likewise.
9297         * iconv/iconv_close.c: Likewise.
9298         * iconv/loop.c (SINGLE): Likewise.
9299         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9300         * include/atomic.h: Likewise.
9301         * inet/inet6_option.c (option_alloc): Likewise.
9302         * intl/bindtextdom.c (set_binding_values): Likewise.
9303         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9304         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9305         * intl/localealias.c (read_alias_file): Likewise.
9306         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9307         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9308         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9309         * libio/fmemopen.c (fmemopen): Likewise.
9310         * libio/iofgets.c (_IO_fgets): Likewise.
9311         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9312         * libio/iofgetws.c (fgetws): Likewise.
9313         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9314         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9315         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9316         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9317         * locale/findlocale.c (_nl_find_locale): Likewise.
9318         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9319         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9320         Likewise.
9321         * locale/setlocale.c (setlocale): Likewise.
9322         * login/programs/pt_chown.c (main): Likewise.
9323         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9324         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9325         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9326         (mmap, mmap64, mremap, munmap): Likewise.
9327         * math/e_exp2l.c: Likewise.
9328         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9329         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9330         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9331         * math/s_catan.c (__catan): Likewise.
9332         * math/s_catanf.c (__catanf): Likewise.
9333         * math/s_catanh.c (__catanh): Likewise.
9334         * math/s_catanhf.c (__catanhf): Likewise.
9335         * math/s_catanhl.c (__catanhl): Likewise.
9336         * math/s_catanl.c (__catanl): Likewise.
9337         * math/s_ccosh.c (__ccosh): Likewise.
9338         * math/s_ccoshf.c (__ccoshf): Likewise.
9339         * math/s_ccoshl.c (__ccoshl): Likewise.
9340         * math/s_cexp.c (__cexp): Likewise.
9341         * math/s_cexpf.c (__cexpf): Likewise.
9342         * math/s_cexpl.c (__cexpl): Likewise.
9343         * math/s_clog10.c (__clog10): Likewise.
9344         * math/s_clog10f.c (__clog10f): Likewise.
9345         * math/s_clog10l.c (__clog10l): Likewise.
9346         * math/s_clog.c (__clog): Likewise.
9347         * math/s_clogf.c (__clogf): Likewise.
9348         * math/s_clogl.c (__clogl): Likewise.
9349         * math/s_csin.c (__csin): Likewise.
9350         * math/s_csinf.c (__csinf): Likewise.
9351         * math/s_csinh.c (__csinh): Likewise.
9352         * math/s_csinhf.c (__csinhf): Likewise.
9353         * math/s_csinhl.c (__csinhl): Likewise.
9354         * math/s_csinl.c (__csinl): Likewise.
9355         * math/s_csqrt.c (__csqrt): Likewise.
9356         * math/s_csqrtf.c (__csqrtf): Likewise.
9357         * math/s_csqrtl.c (__csqrtl): Likewise.
9358         * math/s_ctan.c (__ctan): Likewise.
9359         * math/s_ctanf.c (__ctanf): Likewise.
9360         * math/s_ctanh.c (__ctanh): Likewise.
9361         * math/s_ctanhf.c (__ctanhf): Likewise.
9362         * math/s_ctanhl.c (__ctanhl): Likewise.
9363         * math/s_ctanl.c (__ctanl): Likewise.
9364         * math/w_pow.c: Likewise.
9365         * math/w_powf.c: Likewise.
9366         * math/w_powl.c: Likewise.
9367         * math/w_scalb.c (sysv_scalb): Likewise.
9368         * math/w_scalbf.c (sysv_scalbf): Likewise.
9369         * math/w_scalbl.c (sysv_scalbl): Likewise.
9370         * misc/error.c (error_tail): Likewise.
9371         * misc/pselect.c (__pselect): Likewise.
9372         * nis/nis_callback.c (__nis_create_callback): Likewise.
9373         * nis/nis_call.c (__nisfind_server): Likewise.
9374         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9375         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9376         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9377         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9378         * nis/nis_lookup.c (nis_lookup): Likewise.
9379         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9380         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9381         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9382         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9383         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9384         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9385         * nis/nss_compat/compat-initgroups.c (add_group)
9386         (internal_getgrent_r): Likewise.
9387         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9388         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9389         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9390         (internal_getspnam_r): Likewise.
9391         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9392         (_nss_nis_getaliasbyname_r): Likewise.
9393         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9394         (_nss_nis_getntohost_r): Likewise.
9395         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9396         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9397         (_nss_nis_getgrgid_r): Likewise.
9398         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9399         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9400         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9401         (_nss_nis_gethostbyname4_r): Likewise.
9402         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9403         (initgroups_netid): Likewise.
9404         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9405         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9406         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9407         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9408         (_nss_nis_getprotobynumber_r): Likewise.
9409         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9410         (_nss_nis_getsecretkey): Likewise.
9411         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9412         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9413         (_nss_nis_getpwuid_r): Likewise.
9414         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9415         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9416         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9417         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9418         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9419         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9420         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9421         Likewise.
9422         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9423         (_nss_nisplus_getntohost_r): Likewise.
9424         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9425         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9426         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9427         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9428         Likewise.
9429         * nis/nss_nisplus/nisplus-initgroups.c
9430         (_nss_nisplus_initgroups_dyn): Likewise.
9431         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9432         (_nss_nisplus_getnetbyaddr_r): Likewise.
9433         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9434         (_nss_nisplus_getprotobynumber_r): Likewise.
9435         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9436         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9437         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9438         Likewise.
9439         * nis/nss_nisplus/nisplus-service.c
9440         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9441         (_nss_nisplus_getservbyport_r): Likewise.
9442         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9443         (_nss_nisplus_getspnam_r): Likewise.
9444         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9445         Likewise.
9446         * nscd/aicache.c (addhstaiX): Likewise.
9447         * nscd/cache.c (cache_search, prune_cache): Likewise.
9448         * nscd/connections.c (register_traced_file, send_ro_fd)
9449         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9450         (main_loop_epoll): Likewise.
9451         * nscd/grpcache.c (addgrbyX): Likewise.
9452         * nscd/hstcache.c (addhstbyX): Likewise.
9453         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9454         * nscd/mem.c (gc, mempool_alloc): Likewise.
9455         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9456         (addinnetgrX): Likewise.
9457         * nscd/nscd-client.h (__nscd_acquire_maplock)
9458         (__nscd_drop_map_ref): Likewise.
9459         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9460         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9461         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9462         Likewise.
9463         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9464         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9465         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9466         (__nscd_get_map_ref): Likewise.
9467         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9468         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9469         Likewise.
9470         * nscd/pwdcache.c (addpwbyX): Likewise.
9471         * nscd/selinux.c (preserve_capabilities): Likewise.
9472         * nscd/servicescache.c (addservbyX): Likewise.
9473         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9474         * posix/fnmatch.c (fnmatch): Likewise.
9475         * posix/getopt.c (_getopt_internal_r): Likewise.
9476         * posix/glob.c (glob, glob_in_dir): Likewise.
9477         * posix/wordexp.c (exec_comm_child): Likewise.
9478         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9479         (getanswer_r, gaih_getanswer_slice): Likewise.
9480         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9481         * resolv/res_init.c: Likewise.
9482         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9483         * resolv/res_query.c (__libc_res_nquery): Likewise.
9484         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9485         Likewise.
9486         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9487         * stdio-common/perror.c (perror): Likewise.
9488         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9489         * stdio-common/tmpnam.c (tmpnam): Likewise.
9490         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9491         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9492         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9493         Likewise.
9494         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9495         * stdlib/putenv.c (putenv): Likewise.
9496         * stdlib/setenv.c (__add_to_environ): Likewise.
9497         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9498         * stdlib/strtol_l.c (INTERNAL): Likewise.
9499         * string/memmem.c (memmem): Likewise.
9500         * string/strerror.c (strerror): Likewise.
9501         * string/strnlen.c (__strnlen): Likewise.
9502         * string/test-memmem.c (simple_memmem): Likewise.
9503         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9504         * sunrpc/pm_getport.c (__get_socket): Likewise.
9505         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9506         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9507         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9508         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9509         Likewise.
9510         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9511         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9512         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9513         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9514         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9515         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9516         Likewise.
9517         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9518         Likewise.
9519         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9520         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9521         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9522         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9523         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9525         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9526         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9527         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9528         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9529         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9530         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9531         Likewise.
9532         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9533         Likewise.
9534         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9535         Likewise.
9536         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9537         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9538         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9539         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9540         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9541         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9542         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9543         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9544         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9545         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9546         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9547         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9548         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9549         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9551         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9552         Likewise.
9553         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9554         Likewise.
9555         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9556         Likewise.
9557         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9558         Likewise.
9559         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9561         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9562         Likewise.
9563         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9564         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9565         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9566         * sysdeps/posix/sleep.c: Likewise.
9567         * sysdeps/posix/tempname.c: Likewise.
9568         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9569         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9570         Likewise.
9571         * sysdeps/powerpc/powerpc32/dl-machine.h
9572         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9573         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9575         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9576         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9577         Likewise.
9578         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9579         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9580         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9581         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9582         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9583         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9584         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9585         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9586         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9587         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9588         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9589         (elf_machine_lazy_rel): Likewise.
9590         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9592         (elf_machine_lazy_rel): Likewise.
9593         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9594         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9595         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9596         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9597         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9598         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9599         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9600         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9601         Likewise.
9602         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9603         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9604         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9605         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9606         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9607         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9608         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9609         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9610         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9611         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9612         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9613         Likewise.
9614         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9615         (__posix_fallocate64_l64): Likewise.
9616         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9617         (posix_fallocate): Likewise.
9618         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9619         Likewise.
9620         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9621         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9622         (getifaddrs_internal): Likewise.
9623         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9624         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9625         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9626         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9627         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9628         (__posix_fallocate64_l64): Likewise.
9629         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9630         Likewise.
9631         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9632         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9633         (__get_clockfreq): Likewise.
9634         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9635         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9636         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9638         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9639         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9640         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9641         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9642         Likewise.
9643         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9644         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9645         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9646         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9647         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9648         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9649         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9650         Likewise.
9651         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9652         (posix_fallocate): Likewise.
9653         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9654         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9655         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9656         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9657         (elf_machine_rela, elf_machine_rela_relative)
9658         (elf_machine_lazy_rel): Likewise.
9659         * time/asctime.c (asctime_internal): Likewise.
9660         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9661         * time/tzset.c (__tzset_parse_tz): Likewise.
9662         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9663         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9664         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9665         * wcsmbs/wcsmbsload.h: Likewise.
9666
9667         [BZ #15894]
9668         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9669
9670         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9671         (arena_get2): Remove THREAD_STATS conditionals.
9672         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9673         (__malloc_stats, int): Likewise.
9674
9675 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9676
9677         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9678         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9679
9680         * manual/setjmp.texi: Fix typos/grammar errors.
9681
9682         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9683         Only return early when n is <= 0.  Delete unused return statement.
9684
9685         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9686         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9687         * debug/tst-longjmp_chk3.c: New file.
9688
9689         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9690         (test_main): Replace code with set_fortify_handler call.
9691         * debug/test-strcpy_chk.c: Likewise.
9692         * debug/tst-chk1.c: Likewise.
9693         * debug/tst-longjmp_chk.c: Likewise.
9694         * test-skeleton.c: Include fcntl.h & paths.h
9695         (set_fortify_handler): Define.
9696
9697         * debug/tst-longjmp_chk.c: Add header comment and include
9698         ../test-skeleton.c.
9699         (do_test): Mark static.
9700         (TEST_FUNCTION): Define.
9701
9702         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9703         (IP_PMTUDISC_INTERFACE): Likewise.
9704         (IP_MULTICAST_IF): Likewise.
9705         (IP_MULTICAST_TTL): Likewise.
9706         (IP_MULTICAST_LOOP): Likewise.
9707         (IP_ADD_MEMBERSHIP): Likewise.
9708         (IP_DROP_MEMBERSHIP): Likewise.
9709         (IP_UNBLOCK_SOURCE): Likewise.
9710         (IP_BLOCK_SOURCE): Likewise.
9711         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9712         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9713         (IP_MSFILTER): Likewise.
9714         (MCAST_JOIN_GROUP): Likewise.
9715         (MCAST_BLOCK_SOURCE): Likewise.
9716         (MCAST_UNBLOCK_SOURCE): Likewise.
9717         (MCAST_LEAVE_GROUP): Likewise.
9718         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9719         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9720         (MCAST_MSFILTER): Likewise.
9721         (IP_MULTICAST_ALL): Likewise.
9722         (IP_UNICAST_IF): Likewise.
9723
9724         * timezone/Makefile: Delete $(have-ksh) check.
9725         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9726         * timezone/tzselect.ksh: Add +x mode bits.
9727
9728         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9729         (ANON_INODE_FS_MAGIC): Likewise.
9730         (BDEVFS_MAGIC): Likewise.
9731         (BINFMTFS_MAGIC): Likewise.
9732         (BTRFS_TEST_MAGIC): Likewise.
9733         (CRAMFS_MAGIC_WEND): Likewise.
9734         (DEBUGFS_MAGIC): Likewise.
9735         (ECRYPTFS_SUPER_MAGIC): Likewise.
9736         (EXT3_SUPER_MAGIC): Likewise.
9737         (EXT4_SUPER_MAGIC): Likewise.
9738         (FUTEXFS_SUPER_MAGIC): Likewise.
9739         (HOSTFS_SUPER_MAGIC): Likewise.
9740         (HUGETLBFS_MAGIC): Likewise.
9741         (MINIX3_SUPER_MAGIC): Likewise.
9742         (MTD_INODE_FS_MAGIC): Likewise.
9743         (NILFS_SUPER_MAGIC): Likewise.
9744         (OPENPROM_SUPER_MAGIC): Likewise.
9745         (PIPEFS_MAGIC): Likewise.
9746         (PSTOREFS_MAGIC): Likewise.
9747         (QNX6_SUPER_MAGIC): Likewise.
9748         (RAMFS_MAGIC): Likewise.
9749         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9750         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9751         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9752         (SECURITYFS_MAGIC): Likewise.
9753         (SELINUX_MAGIC): Likewise.
9754         (SMACK_MAGIC): Likewise.
9755         (SOCKFS_MAGIC): Likewise.
9756         (SQUASHFS_MAGIC): Likewise.
9757         (STACK_END_MAGIC): Likewise.
9758         (TMPFS_MAGIC): Likewise.
9759         (USBDEVICE_SUPER_MAGIC): Likewise.
9760         (V9FS_MAGIC): Likewise.
9761         (XENFS_SUPER_MAGIC): Likewise.
9762         (CRAMFS_MAGIC): Fix typo in comment.
9763         (EXT2_SUPER_MAGIC): Update comment.
9764         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9765
9766 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9767
9768         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9769         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9770         * sysdeps/unix/sysv/linux/arm: Move directory from
9771         ports/sysdeps/unix/sysv/linux/arm.
9772         * README: Update listing for arm-*-linux-gnueabi.
9773
9774         * README: Remove mention of am33.
9775
9776 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9777
9778         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9779         than the comma operator, to avoid "rhs of comma has no effect"
9780         compiler warnings.
9781         (__sigfillset, __sigandset, __sigorset): Likewise.
9782         * include/signal.h (__sigemptyset): Likewise.
9783         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9784
9785 2014-02-07  Allan McRae  <allan@archlinux.org>
9786
9787         * version.h (RELEASE): Set to "development".
9788         (VERSION): Set to "2.19.90"
9789         * NEWS: Add 2.20 section.
9790
9791 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9792
9793         [BZ #16529]
9794         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9795
9796 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9797
9798         * manual/contrib.texi: Update entry for Carlos O'Donell,
9799         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9800
9801 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9802
9803         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9804
9805         * sysdeps/unix/sysv/linux/kernel-features.h
9806         [__LINUX_KERNEL_VERSION >= 0x020621]
9807         (__ASSUME_PROC_PID_TASK_COMM): Define.
9808
9809 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9810
9811         [BZ #16398]
9812         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9813         conversion when destination buffer does not have enough space.
9814         * libio/tst-ftell-partial-wide.c: New test case.
9815         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9816
9817         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9818         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9819         Leonard and Allan McRae.
9820
9821 2014-02-04  David S. Miller  <davem@davemloft.net>
9822
9823         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9824         32-bit.
9825
9826 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9827
9828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9829         New file
9830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9831         New file
9832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9833         New file.
9834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9835         New file.
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9837         New file.
9838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9839         New file.
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9841         New file.
9842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9843         New file.
9844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9845         New file.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9847         New file.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9849         New file.
9850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9851         New file.
9852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9853         New file.
9854
9855 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9856
9857         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9858         * shlib-versions: Likewise.
9859
9860 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9861             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9862
9863         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9864         (abilist-pattern): New variable, set to %-le.abilist.
9865
9866         * Makerules (abilist-pattern): New variable.
9867         (vpath): Use $(abilist-pattern) in place of %.abilist.
9868         (check-abi-% pattern rule): Likewise.
9869         (check-abi, update-abi): Likewise.
9870
9871 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9872
9873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9874
9875 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9876
9877         * manual/startup.texi: Add next, previous, and top entries for
9878         the `Program Arguments' and `Environment Variables' nodes.
9879
9880 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9881
9882         * manual/macros.texi: Add comments before MTASC-safety macros.
9883
9884         * manual/users.texi: Document MTASC-safety properties.
9885
9886         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9887         (pthread_getspecific, pthread_setspecific): Format with
9888         @deftypefun, and add @safety note.
9889         * manual/signal.texi: Move comments that analyze the above
9890         functions to their home place.
9891
9892 2014-02-03  Allan McRae  <allan@archlinux.org>
9893
9894         * po/sl.po: Update Slovenian translation from translation project.
9895
9896 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9897
9898         * manual/time.texi (timegm): Add missing blank after @c.
9899         Reported by Joseph Myers <joseph@codesourcery.com>.
9900
9901 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9902
9903         * manual/check-safety.sh: New.
9904         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9905
9906         * manual/terminal.texi: Document MTASC-safety properties.
9907
9908         * manual/filesys.texi: Document MTASC-safety properties.
9909
9910         * manual/errno.texi: Document MTASC-safety properties.
9911
9912         * manual/intro.texi: Document safety identifiers and
9913         conditionals.
9914
9915         * manual/string.texi (wcstok): Fix prototype.
9916         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9917
9918         * manual/time.texi: Document MTASC-safety properties.
9919
9920         * manual/string.texi: Document MTASC-safety properties.
9921
9922         * manual/threads.texi: Document MTASC-safety properties.
9923
9924         * manual/stdio.texi: Document MTASC-safety properties.
9925
9926         * manual/syslog.texi: Document MTASC-safety properties.
9927
9928         * manual/sysinfo.texi: Document MTASC-safety properties.
9929
9930         * manual/startup.texi: Document MTASC-safety properties.
9931
9932         * manual/socket.texi: Document MTASC-safety properties.
9933
9934         * manual/signal.texi: Document MTASC-safety properties.
9935
9936 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9937
9938         * manual/setjmp.texi: Document MTASC-safety properties.
9939
9940         * manual/search.texi: Document MTASC-safety properties.
9941
9942         * manual/resource.texi: Document MTASC-safety properties.
9943
9944         * manual/process.texi: Document MTASC-safety properties.
9945
9946         * manual/platform.texi: Document MTASC-safety properties.
9947
9948         * manual/pipe.texi: Document MTASC-safety properties.
9949
9950         * manual/pattern.texi: Document MTASC-safety properties.
9951
9952         * manual/message.texi: Document MTASC-safety properties.
9953
9954         [BZ #12751]
9955         * manual/memory.texi: Document MTASC-safety properties.
9956
9957         * manual/math.texi: Document MTASC-safety properties.
9958
9959         * manual/locale.texi: Document MTASC-safety properties.
9960
9961         * manual/llio.texi: Document MTASC-safety properties.
9962
9963         * manual/libdl.texi: New.
9964
9965         * manual/lang.texi: Document MTASC-safety properties.
9966
9967         * manual/job.texi: Document MTASC-safety properties.
9968
9969         * manual/getopt.texi: Document MTASC-safety properties.
9970
9971         * manual/ctype.texi: Document MTASC-safety properties.
9972
9973 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9974
9975         [BZ #16046]
9976         * csu/libc-tls.c (static_map): Remove variable.
9977         (__libc_setup_tls): Use main executable's link map for TLS data.
9978         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9979         casing for LM_ID_BASE and GL(dl_nns).
9980         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9981         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9982         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9983         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9984         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9985         member.
9986         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9987         l_phnum members.
9988
9989 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9990
9991         * manual/debug.texi: Document MTASC-safety properties.
9992
9993 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9994
9995         [BZ #16510]
9996         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9997         of __x86_64__ when disabling x87 inline functions.
9998
9999 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10000
10001         * manual/charset.texi: Document MTASC-safety properties.
10002
10003         * manual/crypt.texi: Document MTASC-safety properties.
10004
10005         * manual/conf.texi: Document MTASC-safety properties.
10006
10007         * manual/arith.texi: Document MTASC-safety properties.
10008
10009         * manual/argp.texi: Document MTASC-safety properties.
10010
10011         * manual/macros.texi: Introduce macros to document multi
10012         thread, asynchronous signal and asynchronous cancellation
10013         safety properties.
10014         * manual/intro.texi: Introduce the properties themselves.
10015
10016 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10017
10018         * sysdeps/sh/sh4/Makefile: New file.
10019
10020 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10021
10022         * math/gen-libm-test.pl ($srcdir): New variable.
10023         ($auto_input): Use it.
10024
10025 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10026
10027         [BZ #16506]
10028         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10029         access beyond array bounds when parsing netgroups file.
10030
10031         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10032         the old buffer before realloc.
10033
10034 2014-01-27  Allan McRae  <allan@archlinux.org>
10035
10036         * po/fr.po: Update French translation from translation project.
10037
10038 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10039
10040         * sysdeps/sh/libm-test-ulps: Regenerate.
10041
10042 2014-01-24  David S. Miller  <davem@davemloft.net>
10043
10044         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10045
10046 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10047
10048         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10049         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10050
10051 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10052
10053         [BZ #16474]
10054         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10055         string pointers after reallocation.
10056
10057 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10058
10059         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10060         __SH4A__ instead of __SH_FPU_ANY__.
10061
10062 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10063
10064         * sysdeps/sh/fpu_control.h: New file.
10065         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10066         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10067         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10068         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10069         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10070         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10071         * sysdeps/sh/sys/ucontext.h: Remove.
10072         * sysdeps/sh/sys: Remove directory.
10073
10074 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10075
10076         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10077         s390/sys/ucontext.h.
10078         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10079         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10080
10081 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10082
10083         [BZ #15605]
10084         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10085
10086 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10087
10088         [BZ#16431]
10089         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10090         Adjust the vDSO correctly for internal calls.
10091         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10092
10093 2014-01-20  Allan McRae  <allan@archlinux.org>
10094
10095         * po/ca.po: Update Catalan translation from translation project.
10096
10097 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10098
10099         * sysdeps/s390/sotruss-lib.c: New file.
10100
10101 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10102
10103         [BZ#16430]
10104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10105         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10106         local calls issues by not having a PLT stub required for IFUNC calls.
10107         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10108
10109 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10110
10111         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10112         * math/test-fpucw-static.c: Likewise.
10113
10114 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10115
10116         [BZ #16453]
10117         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10118
10119 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10120
10121         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10122         implementation for powerpc.
10123
10124 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10125
10126         [BZ #14782]
10127         * sysdeps/posix/system.c (__libc_system): Do not enable
10128         asynchronous cancellation.
10129
10130 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10131
10132         [BZ #16427]
10133         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10134         handling only for numbers special also in the IEEE case.
10135
10136 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10137
10138         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10139
10140 2014-01-11  Allan McRae  <allan@archlinux.org>
10141
10142         * po/bg.po: Update Bulgarian translation from translation project.
10143
10144         * po/de.po: Update German translation from translation project.
10145
10146 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10147
10148         * sysdeps/generic/gcc-compat.h: New file.
10149
10150 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10151
10152         * benchtests/asin-inputs: Correct slow inputs.
10153         * benchtests/acos-inputs: Likewise.
10154
10155 2014-01-10  Allan McRae  <allan@archlinux.org>
10156
10157         * po:sv.po: Update Swedish translation from translation project.
10158
10159         * po/vi.po: Update Vietnamese translation from translation project.
10160
10161         * po/eo.po: Update Esperanto translation from translation project.
10162
10163         * po/cs.po: Update Czech translation from translation project.
10164
10165         * po/nl.po: Update Dutch translation from translation project.
10166
10167         * po/pl.po: Update Polish translation from translation project.
10168
10169         * po/ru.po: Update Russian translation from translation project.
10170
10171         * po/uk.po: Update Ukrainian translation from translation project.
10172
10173 2014-01-08  Brooks Moses  <bmoses@google.com>
10174
10175         * elf/dl-load.c: Fix comment typo.
10176
10177 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10178
10179         * po/header.pot: Rename to...
10180         * po/pot.header: ... this.
10181         * po/Makefile: Use pot.header.
10182
10183 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10184             Maxim Kuvyrkov  <maxim@kugelworks.com>
10185
10186         [BZ #16394]
10187         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10188         SRC and DEST against LEN.
10189
10190 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10191
10192         [BZ #16414]
10193         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10194         implementation.
10195         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10196
10197 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10198
10199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10200
10201 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10202
10203         [BZ #16408]
10204         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10205         for large positive arguments.
10206
10207 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10208
10209         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10210
10211         * math/auto-libm-test-in: Mark various tests with
10212         xfail-rounding:ldbl-128ibm.
10213         * math/auto-libm-test-out: Regenerated.
10214
10215         [BZ #16407]
10216         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10217         Increase overflow threshold.
10218
10219 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10220
10221         [BZ #14286]
10222         * stdio-common/vfprintf.c: Check for integer overflow.
10223
10224 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10225
10226         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10227         the first argument and return value of __tls_get_addr_internal.
10228
10229 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10230
10231         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10232         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10233
10234 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10235
10236         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10237         * sysdeps/s390/rtld-global-offsets.sym: New file.
10238         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10239         GLIBC_2.19 symbol.
10240         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10242         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10243         ... this.
10244         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10245         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10246         ... this.
10247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10248         Regenerate.
10249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10250         Regenerate.
10251         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10252         halfs of GPRs for high_gprs contexts.
10253         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10254         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10255         field.
10256         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10257         uc_flags field.
10258         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10259         64 bit versions:
10260         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10261         for high GPRs (uc_high_gprs) and for future extensions
10262         (__reserved).
10263         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10264         for future extensions (__reserved).
10265         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10266         64 bit versions:
10267         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10268         SC_HIGHGPRS offset definition.
10269         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10270         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10271
10272         * Versions.def: Add GLIBC_2.19 for libpthread.
10273         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10274         siglongjmp for libpthread with GLIBC_2.19 symver.
10275         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10276         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10277         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10278         * sysdeps/s390/__longjmp.c: New file.
10279         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10280         * sysdeps/s390/longjmp.c: New file.
10281         * sysdeps/s390/setjmp.S: New file.
10282         * sysdeps/s390/sigjmp.S: New file.
10283         * sysdeps/s390/v1-longjmp.c: New file.
10284         * sysdeps/s390/v1-setjmp.h: New file.
10285         * sysdeps/s390/v1-sigjmp.c: New file.
10286         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10287         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10288         GLIBC_2.19 version.
10289         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10290         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10291         versioned symbols for ____longjmp_chk.
10292         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10293         Likewise.
10294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10295         Regenerate.
10296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10297         Regenerate.
10298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10299         Regenerate.
10300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10301         Regenerate.
10302         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10303         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10304         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10305         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10306         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10307         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10308         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10309         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10310         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10311         * sysdeps/s390/rtld-__longjmp.c: New file.
10312         * sysdeps/s390/rtld-setjmp.S: New file.
10313
10314 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10315
10316         [BZ #16400]
10317         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10318         Return -__logl (x) for small positive arguments without evaluating
10319         a polynomial.
10320
10321 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10322
10323         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10324         Rename to ...
10325         (__ptrace_peeksiginfo_args): ... this.
10326         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10327         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10328         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10329
10330 2014-01-06  Allan McRae  <allan@archlinux.org>
10331
10332         * inet/netinet/in.h: Fix typo in comment.
10333
10334 2014-01-05  Andreas Jaeger  <aj@suse.de>
10335
10336         * sysdeps/i386/fpu/libm-test-ulps: Update.
10337
10338 2014-01-05  Allan McRae  <allan@archlinux.org>
10339
10340         * po/libc.pot: Regenerated.
10341
10342         * malloc/memusagestat.c: Fix gettext call formatting.
10343
10344 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10345
10346         * nscd/nscd.c: Improve usage() output.
10347
10348 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10349
10350         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10351         * sysdeps/unix/sysv/linux/configure: Regenerated.
10352         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10353         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10354
10355 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10356
10357         [BZ #16390]
10358         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10359         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10360
10361 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10362
10363         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10364         extra tokens at end of #undef directive.
10365         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10366         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10367         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10368
10369 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10370
10371         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10372
10373         * math/auto-libm-test-in: Mark various tests with
10374         xfail-rounding:ldbl-128ibm.
10375         * math/auto-libm-test-out: Regenerated.
10376
10377 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10378
10379         [BZ #16386]
10380         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10381         numbers with subnormal high part when calculating exponent.
10382
10383         [BZ #16385]
10384         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10385         fabs.
10386
10387         [BZ #16384]
10388         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10389         M_LN2l.
10390         (__ieee754_acoshl): Use __log1pl not __log1p.
10391
10392 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10393
10394         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10395         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10396         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10397         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10398         (reused_arena, arena_get2): Convert to GNU style.
10399         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10400         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10401         (memalign_check, __malloc_set_state): Likewise.
10402         * malloc/mallocbug.c (main): Likewise.
10403         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10404         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10405         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10406         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10407         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10408         (__posix_memalign, malloc_info): Likewise.
10409         * malloc/malloc.h: Likewise.
10410         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10411         (mallochook, memalignhook, reallochook, mabort): Likewise.
10412         * malloc/mcheck.h: Likewise.
10413         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10414         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10415         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10416         * malloc/morecore.c (__default_morecore): Likewise.
10417         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10418         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10419         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10420         (print_and_abort): Likewise.
10421         * malloc/obstack.h: Likewise.
10422         * malloc/set-freeres.c (__libc_freeres): Likewise.
10423         * malloc/tst-mallocstate.c (main): Likewise.
10424         * malloc/tst-mtrace.c (main): Likewise.
10425         * malloc/tst-realloc.c (do_test): Likewise.
10426
10427 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10428
10429         [BZ #16366]
10430         * nscd/netgroupcache.c (do_notfound): New function.
10431         (addgetnetgrentX): Use it.
10432
10433         [BZ # 16365]
10434         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10435         NSS_STATUS_NOTFOUND.
10436
10437 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10438
10439         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441
10442 2014-01-01  Allan McRae  <allan@archlinux.org>
10443
10444         * scripts/update-copyrights: Update configure input file suffix.
10445
10446         * NEWS: Update copyright year.
10447         * catgets/gencat.c: Likewise.
10448         * csu/version.c: Likewise.
10449         * debug/catchsegv.sh: Likewise.
10450         * debug/pcprofiledump.c: Likewise.
10451         * debug/xtrace.sh: Likewise.
10452         * elf/ldconfig.c: Likewise.
10453         * elf/ldd.bash.in: Likewise.
10454         * elf/pldd.c: Likewise.
10455         * elf/sotruss.ksh: Likewise.
10456         * elf/sprof.c: Likewise.
10457         * iconv/iconv_prog.c: Likewise.
10458         * iconv/iconvconfig.c: Likewise.
10459         * locale/programs/locale.c: Likewise.
10460         * locale/programs/localedef.c: Likewise.
10461         * login/programs/pt_chown.c: Likewise.
10462         * malloc/memusage.sh: Likewise.
10463         * malloc/memusagestat.c: Likewise.
10464         * malloc/mtrace.pl: Likewise.
10465         * manual/libc.texinfo: Likewise.
10466         * nscd/nscd.c: Likewise.
10467         * nss/getent.c: Likewise.
10468         * nss/makedb.c: Likewise.
10469         * posix/getconf.c: Likewise.
10470         * scripts/test-installation.pl: Likewise.
10471
10472         * All files with FSF copyright notices: Update copyright dates
10473         using scripts/update-copyrights.
10474         * intl/plural.c: Regenerated.
10475         * locale/programs/charmap-kw.h: Likewise.
10476         * locale/programs/locfile-kw.h: Likewise.
10477
10478 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10479
10480         * sysdeps/unix/sysv/linux/configure: Regenerated.
10481         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10482         the linux/fanotify.h header.
10483         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10484         HAVE_LINUX_FANOTIFY_H is defined.
10485
10486 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10487
10488         * benchtests/cos-inputs: New inputs.
10489         * benchtests/sin-inputs: Likewise.
10490
10491         * benchtests/atan-inputs: New inputs. Fix name of multiple
10492         precision fallback inputs.
10493
10494         * benchtests/atanh-inputs: New inputs.
10495         * benchtests/tanh-inputs: Likewise.
10496
10497         * benchtests/acosh-inputs: New inputs.
10498         * benchtests/asinh-inputs: Likewise.
10499
10500         * benchtests/cosh-inputs: New inputs.
10501         * benchtests/sinh-inputs: Likewise.
10502
10503         * benchtests/acos-inputs: Add more inputs.
10504         * benchtests/asin-inputs: Likewise.
10505
10506 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10507
10508         [BZ #16375]
10509         * manual/arith.texi: Fix spelling.
10510         * manual/charset.texi: Likewise.
10511         * manual/errno.texi: Likewise.
10512         * manual/filesys.texi: Likewise.
10513         * manual/lang.texi: Likewise.
10514         * manual/llio.texi: Likewise.
10515         * manual/locale.texi: Likewise.
10516         * manual/message.texi: Likewise.
10517         * manual/resource.texi: Likewise.
10518         * manual/search.texi: Likewise.
10519         * manual/setjmp.texi: Likewise.
10520         * manual/stdio.texi: Likewise.
10521         * manual/string.texi: Likewise.
10522         * manual/sysinfo.texi: Likewise.
10523         * manual/time.texi: Likewise.
10524
10525 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10526
10527         * po/sl.po: New file.
10528
10529 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10530
10531         * .gitignore: Add core/.gdbinit/.gdb_history.
10532
10533 2013-12-27  Allan McRae  <allan@archlinux.org>
10534
10535         [BZ #16369]
10536         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10537         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10538
10539 2013-12-24  Brooks Moses  <bmoses@google.com>
10540
10541         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10542         all compilers that claim C++98 compliance, not just GCC.
10543         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10544         Likewise.
10545
10546 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10547
10548         * NEWS: Restore accidentally deleted bug-fix entries.
10549
10550 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10551             Ondřej Bílka  <neleai@seznam.cz>
10552
10553         [BZ #15073]
10554         * malloc/malloc.c (_int_free): Perform sanity check only if we
10555         have_lock.
10556
10557 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10558
10559         [BZ #12986]
10560         * manual/stdio.texi (String Input Conversions): Clarify that character
10561         classes are not supported.
10562
10563 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10564
10565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10566
10567 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10568
10569         [BZ #16337]
10570         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10571         Calculate results for small negative arguments directly rather
10572         than using reflection formula with special underflow handling.
10573
10574         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10575         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10576         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10577         (fchflags): Likewise.
10578         (revoke): Likewise.
10579         (setlogin): Likewise.
10580         (sigaltstack): Likewise.
10581         (wait4): Likewise.
10582         (sigblock): Remove.
10583         (sigsetmask): Likewise.
10584         (wait3): Likewise.
10585         (waitpid): Likewise.
10586         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10587         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10588         file.
10589         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10590         * sysdeps/unix/bsd/Makefile: ... here.
10591         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10592         * sysdeps/unix/bsd/Versions: ... here.
10593         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10594         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10595         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10596         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10597         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10598         * sysdeps/unix/bsd/sigblock.c: ... here.
10599         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10600         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10601         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10602         * sysdeps/unix/bsd/sigvec.c: ... here.
10603         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10604         * sysdeps/unix/bsd/tcdrain.c: ... here.
10605         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10606         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10607         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10608         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10609         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10610         * sysdeps/unix/bsd/wait.c: ... here.
10611         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10612         * sysdeps/unix/bsd/wait3.c: ... here.
10613         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10614         * sysdeps/unix/bsd/waitpid.c: ... here.
10615
10616 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10617
10618         [BZ #16356]
10619         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10620         round-to-nearest for [!USE_AS_EXPM1L].
10621         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10622         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10623         more tests of exp and exp10.  Expect some exp10 tests to miss
10624         exceptions or fail in directed rounding modes.
10625         * math/auto-libm-test-out: Regenerated.
10626         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10627         (exp10_test_tonearest): New function.
10628         (exp10_towardzero_test_data): New array.
10629         (exp10_test_towardzero): New function.
10630         (exp10_downward_test_data): New array.
10631         (exp10_test_downward): New function.
10632         (exp10_upward_test_data): New array.
10633         (exp10_test_upward): New function.
10634         (main): Call the new functions.
10635         * sysdeps/i386/fpu/libm-test-ulps: Update.
10636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10637
10638 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10639
10640         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10641         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10642         * math/auto-libm-test-out: Regenerated.
10643         * math/libm-test.inc (acosh_test_data): Add more tests.
10644         (atanh_test_data): Likewise.
10645         (ceil_test_data): Likewise.
10646         (copysign_test_data): Likewise.
10647         * sysdeps/i386/fpu/libm-test-ulps: Update.
10648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10649
10650         * timezone/checktab.awk: Update from tzcode 2013i.
10651         * timezone/private.h: Likewise.
10652         * timezone/scheck.c: Likewise.
10653         * timezone/tzfile.h: Likewise.
10654         * timezone/tzselect.ksh: Likewise.
10655         * timezone/zdump.c: Likewise.
10656         * timezone/zic.c: Likewise.
10657
10658         * math/auto-libm-test-in: Add tests of cpow.
10659         * math/auto-libm-test-out: Regenerated.
10660         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10661         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10662         mpc_cc_c.
10663         (func_calc_desc): Add mpc_cc_c union field.
10664         (test_functions): Add cpow.
10665         (special_fill_2pi): New function.
10666         (special_real_inputs): Add 2pi.
10667         (calc_generic_results): Handle mpc_cc_c.
10668         * sysdeps/i386/fpu/libm-test-ulps: Update.
10669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
10671         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10672         csqrt, ctan and ctanh.
10673         * math/auto-libm-test-out: Regenerated.
10674         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10675         (TEST_COND_x86): Likewise.
10676         (ccos_test_data): Use AUTO_TESTS_c_c.
10677         (ccosh_test_data): Likewise.
10678         (cexp_test_data): Likewise.
10679         (clog_test_data): Likewise.
10680         (csqrt_test_data): Likewise.
10681         (ctan_test_data): Likewise.
10682         (ctan_tonearest_test_data): Likewise.
10683         (ctan_towardzero_test_data): Likewise.
10684         (ctan_downward_test_data): Likewise.
10685         (ctan_upward_test_data): Likewise.
10686         (ctanh_test_data): Likewise.
10687         (ctanh_tonearest_test_data): Likewise.
10688         (ctanh_towardzero_test_data): Likewise.
10689         (ctanh_downward_test_data): Likewise.
10690         (ctanh_upward_test_data): Likewise.
10691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10692         mpc_c_c.
10693         (func_calc_desc): Add mpc_c_c union field.
10694         (FUNC_mpc_c_c): New macro.
10695         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10696         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10697         ctanh.
10698         (special_fill_min_subnorm_p120): New function.
10699         (special_real_inputs): Add min_subnorm_p120.
10700         (calc_generic_results): Handle mpc_c_c.
10701         * sysdeps/i386/fpu/libm-test-ulps: Update.
10702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10703
10704 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10705
10706         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10707         (do_sin_slow): New functions.
10708         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10709         (cslow2, csloww1, csloww2): Use the new functions.
10710
10711         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10712         Use M to change sign of result instead of X.  Assume X is
10713         positive.
10714         (csloww1): Likewise.
10715         (__sin): Adjust.
10716         (__cos): Adjust.
10717
10718         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10719         arguments A and DA.
10720         (__sin): Adjust.
10721         (__cos): Likewise.
10722
10723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10724         (__cos): Likewise.
10725         (sloww1): Don't adjust sign of DX.
10726         (csloww1): Likewise.
10727         (sloww2): Use X directly and don't adjust sign of DX.
10728         (csloww2): Likewise.
10729
10730 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10731
10732         * math/auto-libm-test-in: Add tests of cabs and carg.
10733         * math/auto-libm-test-out: Regenerated.
10734         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10735         (carg_test_data): Likewise.
10736         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10737         mpc_c_f.
10738         (func_calc_desc): Add mpc_c_f union field.
10739         (test_functions): Add cabs and carg.
10740         (calc_generic_results): Handle mpc_c_f.
10741
10742         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10743         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10744         as a macro and a compat symbol.
10745         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10746         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10747         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10748         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10749         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10750         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10751         not use .hidden.
10752         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10753         Likewise.
10754         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10755         Likewise.
10756         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10757         Likewise.
10758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10759         Likewise.
10760         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10761         Likewise.
10762         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10763         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10764         from GLIBC_2.3.2.
10765
10766 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10767
10768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10769
10770 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10771
10772         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10773         trailing whitespace removed.
10774         * scripts/config.guess: Update to version 2013-11-29.
10775         * scripts/config.sub: Update to version 2013-10-01.
10776
10777         * math/auto-libm-test-in: Add tests of sincos.
10778         * math/auto-libm-test-out: Regenerated.
10779         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10780         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10781         mpfr_f_11.
10782         (func_calc_desc): Add mpfr_f_11 union field.
10783         (test_functions): Add sincos.
10784         (calc_generic_results): Handle mpfr_f_11.
10785         * sysdeps/i386/fpu/libm-test-ulps: Update.
10786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10787
10788 2013-12-19  Andreas Schwab  <schwab@suse.de>
10789
10790         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10791         CALL_MCOUNT.
10792         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10794         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10795
10796 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10797
10798         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10799         * sysdeps/i386/fpu/libm-test-ulps: Update.
10800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10801
10802         [BZ #16293]
10803         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10804         round-to-nearest mode when using frndint.
10805         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10806         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10807         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10808         Likewise.
10809         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10810         sinh test to fail.
10811         * math/auto-libm-test-out: Regenerated.
10812         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10813         (TEST_COND_x86): Likewise.
10814         (expm1_tonearest_test_data): New array.
10815         (expm1_test_tonearest): New function.
10816         (expm1_towardzero_test_data): New array.
10817         (expm1_test_towardzero): New function.
10818         (expm1_downward_test_data): New array.
10819         (expm1_test_downward): New function.
10820         (expm1_upward_test_data): New array.
10821         (expm1_test_upward): New function.
10822         (main): Run the new test functions.
10823         * sysdeps/i386/fpu/libm-test-ulps: Update.
10824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10825
10826         * include/features.h: Update comment documenting feature test
10827         macros.  Mention _DEFAULT_SOURCE in comment.
10828         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10829         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10830         _BSD_SOURCE and _SVID_SOURCE.
10831         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10832         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10833         !_SVID_SOURCE]: Likewise.
10834         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10835         (__USE_POSIX_IMPLICITLY): Define.
10836         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10837         (_POSIX_SOURCE): Undefine and redefine.
10838         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10839         (_POSIX_C_SOURCE): Likewise.
10840         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10841         (Feature Test Macros): Update documentation of default features.
10842
10843 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10844
10845         * benchtests/Makefile: Add bench-strtok.
10846         * benchtests/bench-strtok.c: New file: strtok benchtest.
10847
10848 2013-12-19  Allan McRae  <allan@archlinux.org>
10849
10850         * manual/install.texi: Suppress menu for plain text output.
10851         * INSTALL: Regenerated.
10852
10853 2013-12-18  Brooks Moses  <bmoses@google.com>
10854
10855         [BZ #15846]
10856         * misc/getauxval.c: Include errno.h.
10857         (__getauxval): Set errno to ENOENT if the requested type is not
10858         found.
10859         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10860         don't declare with __attribute_const__.
10861         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10862         * manual/startup.texi: Document that getauxval sets errno.
10863
10864 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10865
10866         * math/auto-libm-test-in: Add tests of jn and yn.
10867         * math/auto-libm-test-out: Regenerated.
10868         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10869         (yn_test_data): Likewise.
10870         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10871         mpfr_if_f.
10872         (func_calc_desc): Add mpfr_if_f union field.
10873         (FUNC_mpfr_if_f): New macro.
10874         (test_functions): Add jn and yn.
10875         (calc_generic_results): Assert type of second input for
10876         mpfr_ff_f.  Handle mpfr_if_f.
10877         (output_for_one_input_case): Disable all checking for arguments
10878         fitting floating-point types in case of an integer argument.
10879         * sysdeps/i386/fpu/libm-test-ulps: Update.
10880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881
10882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10883         Don't expect fegetround reference in libm.so.
10884
10885 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10886
10887         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10888         $(config-cflags-nofma).
10889
10890 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10891
10892         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10893         * math/auto-libm-test-out: Regenerated.
10894
10895         [BZ #16338]
10896         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10897         to determine exponent and adjust argument to have exponent of -1.
10898         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10899         log2.
10900         * math/auto-libm-test-out: Regenerated.
10901         * sysdeps/i386/fpu/libm-test-ulps: Update.
10902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903
10904 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10905
10906         * manual/probes.texi: Remove cases when per-thread arenas are
10907         disabled.
10908
10909 2013-12-18  Andreas Schwab  <schwab@suse.de>
10910
10911         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10912         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10913         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10914         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10915         * sysdeps/i386/i686/multiarch/Makefile: Update.
10916         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10917
10918 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10919
10920         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10921         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10922
10923 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10924
10925         [BZ #15968]
10926         Support TZ transition times < 00:00:00.
10927         This is needed for version-3 tz-format files; it supports time
10928         stamps past 2037 for America/Godthab (the only entry in the tz
10929         database for which this change is relevant).
10930         * manual/time.texi (TZ Variable): Document transition times
10931         from -167:59:59 through -00:00:01.
10932         * time/tzset.c (tz_rule): Time of day is now signed.
10933         (__tzset_parse_tz): Parse negative time of day.
10934
10935         Document TZ transition times >= 25:00:00.
10936         * manual/time.texi (TZ Variable): Document transition times from
10937         25:00:00 through 167:59:59.  These are already supported, and this
10938         support will help with version-3 tz-format files.
10939
10940         * manual/time.texi (TZ Variable): Modernize North America example
10941         to reflect current (i.e., 2007-and-later) daylight saving rules.
10942
10943         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10944
10945 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10946
10947         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10948         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10949         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10950         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10951         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10952         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10953         * sysdeps/unix/bsd/clock.c: Likewise.
10954         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10955         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10956         * sysdeps/unix/bsd/init-posix.c: Likewise.
10957         * sysdeps/unix/bsd/poll.c: Likewise.
10958         * sysdeps/unix/bsd/ptsname.c: Likewise.
10959         * sysdeps/unix/bsd/seekdir.c: Likewise.
10960         * sysdeps/unix/bsd/setegid.c: Likewise.
10961         * sysdeps/unix/bsd/seteuid.c: Likewise.
10962         * sysdeps/unix/bsd/setgid.c: Likewise.
10963         * sysdeps/unix/bsd/setrgid.c: Likewise.
10964         * sysdeps/unix/bsd/setruid.c: Likewise.
10965         * sysdeps/unix/bsd/setsid.c: Likewise.
10966         * sysdeps/unix/bsd/setuid.c: Likewise.
10967         * sysdeps/unix/bsd/sigaction.c: Likewise.
10968         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10969         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10970         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10971         * sysdeps/unix/bsd/telldir.c: Likewise.
10972         * sysdeps/unix/bsd/times.c: Likewise.
10973         * sysdeps/unix/bsd/usleep.c: Likewise.
10974
10975         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10976         ($(objpfx)libbsd-compat.a): Remove rule.
10977
10978         * include/features.h (__FAVOR_BSD): Do not define.
10979         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10980         features conflicting with POSIX.
10981         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10982         (_BSD_SOURCE): Remove description of not being a subset of other
10983         feature test macros.
10984         * manual/job.texi (getpgrp): Do not document BSD version.
10985         (getpgid): Do not document by reference to BSD getpgrp.
10986         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10987         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10988         * signal/signal.h [__FAVOR_BSD]: Likewise.
10989         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10990         instead of making contents conditional on [__FAVOR_BSD].
10991         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10992
10993 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10994
10995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10996
10997 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10998
10999         [BZ #16314]
11000         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11001         values below 2**-450, not 2**-500.
11002         * math/auto-libm-test-in: Don't allow spurious underflow from
11003         hypot.
11004         * math/auto-libm-test-out: Regenerated.
11005
11006         [BZ #16316]
11007         [BZ #16330]
11008         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11009         values of ha and hb and sort them after adjusting subnormal
11010         arguments.
11011         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11012         Likewise.
11013         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11014         values of ea and eb and sort them after adjusting subnormal
11015         arguments.
11016         * math/auto-libm-test-in: Do not expect some hypot tests of
11017         subnormals to fail.  Add more hypot tests.
11018         * math/auto-libm-test-out: Regenerated.
11019
11020 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11021
11022         [BZ #13304]
11023         * sysdeps/sh/s_fma.c: New file.
11024         * sysdeps/sh/s_fmaf.c: New file.
11025         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11026         version.
11027         * sysdeps/sh/Implies: Add sh/soft-fp.
11028
11029 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11030
11031         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11032         level of indirection to members `objname', `errstring', `malloced'.
11033         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11034         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11035         it as the __longjmp argument (just pass 1 instead).
11036         (_dl_catch_error): Initialize C with argument pointers and address of
11037         volatile local ERRCODE rather than copying values out of C at return.
11038
11039 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11040
11041         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11042         * math/auto-libm-test-out: Regenerated.
11043         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11044         (hypot_test_data): Likewise.
11045         (pow_test_data): Likewise.
11046         (pow_tonearest_test_data): Likewise.
11047         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11048         mpfr_ff_f.
11049         (func_calc_desc): Add mpfr_ff_f union field.
11050         (FUNC_mpfr_ff_f): New macro.
11051         (test_functions): Add atan2, hypot and pow.
11052         (special_fill_min): New function.
11053         (special_fill_minus_min): Likewise.
11054         (special_fill_min_subnorm): Likewise.
11055         (special_fill_minus_min_subnorm): Likewise.
11056         (special_real_inputs): Add min, -min, min_subnorm and
11057         -min_subnorm.
11058         (calc_generic_results): Handle mpfr_ff_f.
11059         * sysdeps/i386/fpu/libm-test-ulps: Update.
11060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11061
11062 2013-12-16  Will Newton  <will.newton@linaro.org>
11063
11064         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11065         (Aligned Memory Blocks): Add documentation for aligned_alloc
11066         and suggest it as an alternative to posix_memalign.
11067         (Hooks for Malloc): Document __memalign_hook is also called
11068         for aligned_alloc.  (Summary of Malloc): Add summary for
11069         aligned alloc.  Document __memalign_hook is also called
11070         for aligned_alloc.
11071
11072 2013-12-16  Will Newton  <will.newton@linaro.org>
11073
11074         * manual/memory.texi (Malloc Examples): Clarify default
11075         alignment documentation.  Suggest posix_memalign rather
11076         than memalign or valloc.
11077         (Aligned Memory Blocks): Remove suggestion to use memalign
11078         or valloc.  Remove obsolete comment about BSD.
11079         Document memalign errno values and mark the function obsolete.
11080         Document posix_memalign returned error codes.  Mark valloc
11081         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11082         called for posix_memalign and valloc.
11083         (Summary of Malloc): Add posix_memalign to function summary.
11084         __memalign_hook is also called for posix_memalign and valloc.
11085
11086 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11087
11088         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11089         TAYLOR_SIN.
11090         (__sin): Adjust.
11091         (__cos): Likewise.
11092         (sloww): Use mynumber union.  Expand ternary operator into
11093         if-else statements.
11094         (cslow): use mynumber union.
11095
11096 2013-12-16  Allan McRae  <allan@archlinux.org>
11097
11098         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11099         * configure: Regenerated.
11100
11101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11102
11103         [BZ #14120]
11104         * configure.ac: Added --enable-maintainer-mode. Check for
11105         autoconf when enabled.
11106         * configure: Regenerated.
11107
11108         * nscd/nscd.service: New file.
11109         * nscd/nscd.tmpfiles: New file.
11110
11111 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11112
11113         [BZ #12100]
11114         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11115         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11116         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11117         (strstr): Add __strstr_sse2_unaligned ifunc.
11118         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11119         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11120         (strcasestr): Remove __strcasestr_sse42 ifunc.
11121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11124
11125 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11126
11127         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11128         * sysdeps/sh/bits/fenv.h: ... here.
11129         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11130
11131 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11132
11133         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11134
11135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11136         hypotf multiarch implementations.
11137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11138         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11140         multiarch hypot for PPC64.
11141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11142         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11144         multiarch hypotf for PPC64.
11145
11146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11147         modff multiarch implementations.
11148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11151         multiarch modf for PPC64.
11152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11155         multiarch modff for PPC64.
11156
11157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11158         and logl multiarch implementations.
11159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11162         multiarch logb for PPC64.
11163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11166         multiarch logb for PPC64.
11167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11170         multiarch logb for PPC64.
11171
11172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11173         isinff multiarch implementation.
11174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11175         file.
11176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11178         multiarch isinf for PPC64.
11179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11180         file.
11181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11182         multiarch isinff for PPC64.
11183
11184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11185         finitef multiarch implementation.
11186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11187         file.
11188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11190         multiarch finite for PPC64.
11191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11192         file.
11193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11194         multiarch finitef for PPC64.
11195
11196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11197         lrint multiarch implementation.
11198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11199         file.
11200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11202         multiarch llrint for PPC64.
11203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11204         multiarch lrint for PPC64.
11205
11206         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11207         copysignf multiarch implementation.
11208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11209         file.
11210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11211         file.
11212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11213         multiarch copysign for PPC64.
11214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11215         multiarch copysignf for PPC64.
11216
11217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11218         multiarch implementation.
11219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11220         file.
11221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11222         file.
11223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11224         file.
11225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11226         file.
11227         multiarch llround for PPC64.
11228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11229         multiarch trunc for PPC64.
11230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11231         multiarch truncf for PPC64.
11232
11233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11234         multiarch implementation.
11235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11236         file.
11237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11238         file.
11239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11240         file.
11241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11242         file.
11243         multiarch llround for PPC64.
11244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11245         multiarch round for PPC64.
11246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11247         multiarch roundf for PPC64.
11248
11249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11250         multiarch implementation.
11251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11252         file.
11253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11254         file.
11255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11256         file.
11257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11258         file.
11259         multiarch llround for PPC64.
11260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11261         multiarch floor for PPC64.
11262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11263         multiarch floorf for PPC64.
11264
11265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11266         multiarch implementation.
11267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11268         file.
11269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11270         file.
11271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11272         file.
11273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11274         file.
11275         multiarch llround for PPC64.
11276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11277         multiarch ceil for PPC64.
11278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11279         multiarch ceilf for PPC64.
11280
11281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11282         multiarch implementation.
11283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11284         file.
11285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11286         file.
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11288         file.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11290         multiarch llround for PPC64.
11291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11292         multiarch lround for PPC64.
11293
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11295         multiarch implementation.
11296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11299         file.
11300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11303         multiarch isnan for PPC64.
11304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11305         multiarch isnanf for PPC64.
11306
11307         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11308         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11309         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11310         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11311         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11313
11314         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11315         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11318
11319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11320         multiarch implementations.
11321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11322         (__libc_ifunc_impl_list): Likewise.
11323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11324         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11325         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11326         multiarch stpcpy for PPC64.
11327
11328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11329         multiarch implementations.
11330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11331         (__libc_ifunc_impl_list): Likewise.
11332         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11333         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11334         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11335         multiarch strcpy for PPC64.
11336
11337         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11338         redefine function name.
11339         (_wordcopy_fwd_dest_aligned): Likewise.
11340         (_wordcopy_bwd_aligned): Likewise.
11341         (_wordcopy_bwd_dest_aligned): Likewise.
11342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11343         multiarch implementations.
11344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11345         (__libc_ifunc_impl_list): Likewise.
11346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11348         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11349         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11350         multiarch wcscpy for PPC64.
11351
11352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11353         multiarch implementations.
11354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11355         (__libc_ifunc_impl_list): Likewise.
11356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11357         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11358         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11359         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11360         multiarch wcscpy for PPC64.
11361
11362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11363         multiarch implementations.
11364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11365         (__libc_ifunc_impl_list): Likewise.
11366         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11367         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11368         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11369         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11370         multiarch wcsrchr for PPC64.
11371
11372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11373         multiarch implementations.
11374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11375         (__libc_ifunc_impl_list): Likewise.
11376         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11377         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11378         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11379         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11380         multiarch wcschr for PPC64.
11381
11382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11383         multiarch implementations.
11384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11385         (__libc_ifunc_impl_list): Likewise.
11386         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11387         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11388         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11389         multiarch strchrnul for PPC64.
11390
11391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11392         implementations.
11393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11394         (__libc_ifunc_impl_list): Likewise.
11395         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11396         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11397         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11398         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11399         strchr for PPC64.
11400
11401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11402         implementations.
11403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11404         (__libc_ifunc_impl_list): Likewise.
11405         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11406         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11407         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11408         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11409         strncmp for PPC64.
11410
11411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11412         multiarch implementations.
11413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11414         (__libc_ifunc_impl_list): Likewise.
11415         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11416         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11417         strncasecmp for PPC64.
11418         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11419         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11420         multiarch strncasecmp_l for PPC64.
11421
11422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11423         multiarch implementations.
11424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11425         (__libc_ifunc_impl_list): Likewise.
11426         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11428         multiarch strcasecmp for PPC64.
11429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11430         file.
11431         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11432         multiarch strcasecmp_l for PPC64.
11433
11434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11435         implementations.
11436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11437         (__libc_ifunc_impl_list): Likewise.
11438         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11439         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11440         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11441         strnlen for PPC64.
11442
11443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11444         implementations.
11445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11446         (__libc_ifunc_impl_list): Likewise.
11447         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11448         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11449         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11450         strlen for PPC64.
11451
11452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11453         implementations.
11454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11455         (__libc_ifunc_impl_list): Likewise.
11456         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11457         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11458         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11459         rawmemrchr for PPC64.
11460
11461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11462         implementation.
11463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11464         (__libc_ifunc_impl_list): Likewise.
11465         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11466         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11467         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11468         memrchr for PPC64.
11469
11470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11471         implementation.
11472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11473         (__libc_ifunc_impl_list): Likewise.
11474         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11475         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11476         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11477         memchr for PPC64.
11478
11479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11480         implementation.
11481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11482         (__libc_ifunc_impl_list): Likewise.
11483         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11484         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11485         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11486         mempcpy for PPC64.
11487
11488         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11489         avoid cretion of __bzero symbol.
11490         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11491         Likewise.
11492         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11493         Likewise.
11494         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11495         Likewise.
11496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11497         multiarch implementations.
11498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11499         (__libc_ifunc_impl_list): Likewise.
11500         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11501         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11502         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11503         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11504         bzero for PPC32.
11505         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11506         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11507         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11508         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11509         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11510         memset for PPC64.
11511         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11512
11513         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11515         implementations.
11516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11517         (__libc_ifunc_impl_list): Likewise.
11518         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11519         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11520         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11521         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11522         memcmp for PPC64.
11523
11524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11525         multiarch for POWER/PPC64.
11526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11527         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11528         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11529         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11530         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11532         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11533         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11534         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11535         memcpy for PPC64.
11536
11537         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11538         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11539         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11540         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11541         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11542         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11543         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11544         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11545         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11546         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11547         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11548         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11549         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11550         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11551         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11559
11560 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11561
11562         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11563
11564 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11565
11566         * benchtests/Makefile (bench): Add exp2 and log2.
11567         (LDLIBS-bench-exp2): Add -lm.
11568         (LDLIBS-bench-log2): Likewise.
11569         * benchtests/exp2-inputs: New inputs file.
11570         * benchtests/log2-inputs: New inputs file.
11571         * benchtests/log-inputs: Add new inputs.
11572         * benchtests/tan-inputs: Likewise.
11573
11574 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11575
11576         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11577         definition...
11578         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11579         (csloww2): ... from here.
11580
11581         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11582         instead of structures.
11583         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11584         (POLYNOMIAL): Likewise.
11585         (TAYLOR_SLOW): Likewise.
11586         (__sin): Likewise.
11587         (__cos): Likewise.
11588         (slow1): Likewise.
11589         (slow2): Likewise.
11590         (sloww): Likewise.
11591         (sloww1); Likewise.
11592         (sloww2): Likewise.
11593         (bsloww1): Likewise.
11594         (bsloww2): Likewise.
11595         (cslow2): Likewise.
11596         (csloww): Likewise.
11597         (csloww1): Likewise.
11598         (csloww2): Likewise.
11599
11600 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11601
11602         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11603         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11604         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11605         * malloc/hooks.c (realloc_check): Likewise.
11606
11607         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11608         * malloc/arena.c: Remove PER_THREAD conditional.
11609         [!PER_THREAD]: Remove code.
11610         (ptmalloc_unlock_all2): Likewise.
11611         (ptmalloc_init): Likewise.
11612         (_int_new_arena): Likewise.
11613         (arena_get2): Likewise.
11614         * malloc/hooks.c (__malloc_get_state): Likewise.
11615         (__malloc_set_state): Likewise.
11616         * malloc/malloc.c: Likewise.
11617         (struct malloc_state): Likewise.
11618         (struct malloc_par): Likewise.
11619         (__libc_realloc): Likewise.
11620         (__libc_mallopt): Likewise.
11621
11622 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11623
11624         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11625
11626 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11627
11628         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11629         macro to a function.  Check for zero perturb_byte.
11630         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11631
11632         * malloc/malloc.c: (force_reg): Remove.
11633         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11634         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11635         force_reg by atomic_forced_read.
11636         * malloc/arena.c (ptmalloc_init): Likewise.
11637         * malloc/hooks.c (top_check): Likewise.
11638
11639 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11640
11641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11642
11643 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11644
11645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11646
11647 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11648
11649         * math/auto-libm-test-in: Add tests of lgamma.
11650         * math/auto-libm-test-out: Regenerated.
11651         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11652         (M_LOG_2_SQRT_PIl): Likewise.
11653         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11654         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11655         mpfr_f_f1.
11656         (func_calc_desc): Add mpfr_f_f1 union field.
11657         (ARGS1): New macro.
11658         (ARGS2): Likewise.
11659         (ARGS3): Likewise.
11660         (ARGS4): Likewise.
11661         (RET1): Likewise.
11662         (RET2): Likewise.
11663         (CALC): Likewise.
11664         (FUNC): Likewise.
11665         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11666         (test_functions): Add lgamma.
11667         (calc_generic_results): Handle mpfr_f_f1.
11668         * sysdeps/i386/fpu/libm-test-ulps: Update.
11669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11670
11671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11672
11673         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11674         __mpn_add_n for PowerPC64/POWER7.
11675         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11676         __mpn_sub_n for PowerPC64/POWER7.
11677
11678         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11679         __mpn_addmul_1 for PowerPC64.
11680         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11681         __mpn_submul_1 for PowerPC64.
11682         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11683         for PowerPC64.
11684         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11685         for PowerPC64.
11686
11687 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11688
11689         [BZ #15089]
11690         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11691
11692 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11693
11694         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11695
11696         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11697         add multiarch folders.
11698         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11699         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11700         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11701         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11702         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11703         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11704         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11705         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11706         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11707         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11708         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11715
11716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11717         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11719         New file.
11720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11721         New file.
11722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11723         multiarch __ieee754_hypot for PowerPC32.
11724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11725         New file.
11726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11727         New file.
11728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11729         multiarch __ieee754_hypotf for PowerPC32.
11730
11731         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11732         long_double_symbol only if __logbl is defined.
11733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11734         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11736         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11738         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11740         path for implementation.
11741         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11742         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11744         logb, and logbl multiarch implementations for PowerPC32.
11745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11746         file.
11747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11748         file.
11749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11750         multiarch logb for PowerPC32.
11751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11752         file.
11753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11754         file.
11755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11756         multiarch logbf for PowerPC32.
11757         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11759         file.
11760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11761         multiarch logbl implementation for PowerPC32.
11762
11763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11764         and modff multiarch implementations.
11765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11766         New file.
11767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11768         New file.
11769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11770         multiarch modf for PowerPC32.
11771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11772         New file.
11773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11774         New file.
11775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11776         multiarch modff for PowerPC32.
11777
11778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11779         and lrintf multiarch implementations.
11780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11781         New file.
11782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11783         New file.
11784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11785         multiarch lrint for PowerPC32.
11786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11787         file: multiarch lrintf for PowerPC32.
11788
11789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11790         and lroundf multiarch implementations.
11791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11792         New file.
11793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11794         New file.
11795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11796         New file.
11797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11798         multiarch lround for PowerPC32.
11799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11800         file: multiarch lroundf for PowerPC32.
11801
11802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11803         copysign and copysignf multiarch implementations.
11804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11805         New file.
11806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11807         New file.
11808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11809         file: multiarch copysign for PowerPC32.
11810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11811         file: multiarch copysignf for PowerPC32.
11812
11813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11814         and truncf multiarch implementations.
11815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11816         New file.
11817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11818         file.
11819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11820         multiarch trunc for PowerPC32.
11821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11822         New file.
11823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11824         New file.
11825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11826         multiarch truncf for PowerPC32.
11827
11828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11829         and roundf multiarch implementations.
11830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11831         New file.
11832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11833         file.
11834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11835         multiarch round for PowerPC32.
11836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11837         New file.
11838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11839         New file.
11840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11841         multiarch roundf for PowerPC32.
11842
11843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11844         and floorf multiarch implementations.
11845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11846         New file.
11847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11848         file.
11849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11850         multiarch floor for PowerPC32.
11851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11852         New file.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11854         New file.
11855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11856         multiarch floorf for PowerPC32.
11857
11858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11859         and ceilf multiarch implementations.
11860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11861         New file.
11862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11863         file.
11864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11865         multiarch ceil for PowerPC32.
11866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11867         New file.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11869         file.
11870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11871         multiarch ceilf for PowerPC32.
11872
11873         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11874         is defined.
11875         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11876         FINITEF is defined.
11877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11878         and finitef multiarch implementations.
11879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11880         New file.
11881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11882         file.
11883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11884         multiarch finite for PowerPC32.
11885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11886         New file.
11887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11888         file: multiarch finitef for PowerPC32.
11889
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11891         and isinff multiarch implementations.
11892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11893         file.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11895         file.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11897         multiarch isinf for PowerPC32.
11898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11899         New file.
11900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11901         multiarch isinff for PowerPC32.
11902
11903         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11904         alias when __isnan is defined.
11905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11906         and isnanf multiarch implementations.
11907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11908         file.
11909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11910         file.
11911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11912         file.
11913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11914         file.
11915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11916         multiarch isnan for PowerPC32.
11917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11918         New file.
11919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11920         New file.
11921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11922         multiarch isnanf for PowerPC32.
11923
11924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11925         and sqrtf multiarch implementations.
11926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11927         file.
11928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11929         file.
11930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11931         multiarch sqrt for PowerPC32.
11932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11933         file.
11934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11935         file.
11936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11937         multiarch sqrtf for PowerPC32.
11938
11939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11940         and llroundf multiarch implementations.
11941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11942         New file.
11943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11944         New file.
11945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11946         New file.
11947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11948         file: multiarch llround for PowerPC32.
11949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11950         file: multiarch llroundf for PowerPC32.
11951
11952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11953         multiarch PowerPC32 fpu implementations.
11954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11955         New file.
11956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11957         New file.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11959         multiarch llrint for PowerPC32.
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11961         New file.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11963         New file.
11964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11965         file.
11966
11967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11968
11969         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11970         file.
11971         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11972         file.
11973         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11974         file.
11975         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11976         multiarch wordcopy for PPC32.
11977         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11978         wordcopy objects.
11979         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11980         (__libc_ifunc_impl_list): Likewise.
11981         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11982         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11983         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11984         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11985         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11986         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11987
11988         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11990         file.
11991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11992         file.
11993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11994         file.
11995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11996         multiarch wcscpy for PPC32.
11997         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11998         multiarch objects.
11999         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12000         (__libc_ifunc_impl_list): Likewise.
12001         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12002         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12003         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12004         sysdeps/powerpc/power6/wcscpy.c.
12005
12006         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12008         file.
12009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12010         file.
12011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12012         file.
12013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12014         multiarch wcsrchr for PPC32.
12015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12016         multiarch objects.
12017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12018         (__libc_ifunc_impl_list): Likewise.
12019         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12020         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12021         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12022         sysdeps/powerpc/power6/wcsrchr.c.
12023
12024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12025         file.
12026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12027         file.
12028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12030         multiarch wcschr for PPc32.
12031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12032         multiarch objects.
12033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12034         (__libc_ifunc_impl_list): Likewise.
12035         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12036         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12037         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12038         sysdeps/powerpc/power6/wcschr.c.
12039
12040         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12041         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12042         file.
12043         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12044         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12045         file: multiarch strchr for PPC32.
12046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12047         multiarch objects.
12048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12049         (__libc_ifunc_impl_list): Likewise.
12050
12051         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12052         name.
12053         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12054         file.
12055         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12056         file.
12057         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12058         multiarch strchrnul for PPC32.
12059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12060         multiarch objects.
12061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12062         (__libc_ifunc_impl_list): Likewise.
12063
12064         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12065         file.
12066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12067         multiarch strncasecmp for PPC32.
12068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12069         file.
12070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12071         multiarch strncasecmp_l for PPC32.
12072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12073         strncasecmp multiarch objects.
12074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12075         (__libc_ifunc_impl_list): Likewise.
12076
12077         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12078         file.
12079         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12080         multiarch strncasecmp for PPC32.
12081         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12082         New file.
12083         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12084         multiarch strcasecmp_l for PPC32.
12085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12086         multiarch objects.
12087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12088         (__libc_ifunc_impl_list): Likewise.
12089
12090         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12091         file.
12092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12093         file.
12094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12095         multiarch strncmp for PPC32.
12096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12097         multiarch objects.
12098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12099         (__libc_ifunc_impl_list): Likewise.
12100
12101         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12102         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12103         file.
12104         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12105         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12107         multiarch objects.
12108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12109         (__libc_ifunc_impl_list): Likewise.
12110
12111         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12112         file.
12113         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12114         file.
12115         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12117         multiarch objects.
12118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12119         (__libc_ifunc_impl_list): Likewise.
12120
12121         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12122         file.
12123         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12124         file.
12125         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12126         multiarch rawmemchr for PPC32.
12127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12128         multiarch objects.
12129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12130         (__libc_ifunc_impl_list): Likewise.
12131
12132         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12133         file.
12134         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12135         file.
12136         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12137         file: memrchr multiarch for PPC32.
12138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12139         multiarch objects.
12140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12141         (__libc_ifunc_impl_list): Likewise.
12142
12143         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12145         file.
12146         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12147         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12148         multiarch memchr for PPC32.
12149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12150         multiarch objects.
12151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12152         (__libc_ifunc_impl_list): Likewise.
12153
12154         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12155         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12156         file.
12157         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12158         file.
12159         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12160         file: multiarch mempcpy for PPC32.
12161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12162         multiarch objects.
12163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12164         (__libc_ifunc_impl_list): Likewise.
12165
12166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12167         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12168         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12169         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12170         multiarch bzero for PPC32.
12171         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12172         file.
12173         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12174         file.
12175         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12176         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12177         file: multiarch memset for PPC32.
12178         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12180         memset multiarch objects.
12181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12182         (__libc_ifunc_impl_list): Likewise.
12183
12184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12185         file.
12186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12187         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12188         memcmp for PPC32.
12189         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12191         multiarch objects.
12192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12193         (__libc_ifunc_impl_list): Likewise.
12194
12195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12198         file.
12199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12200         file.
12201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12202         file.
12203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12204         multiarch memcpy for PPC32.
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12206         multiarch objects.
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12208         (__libc_ifunc_impl_list): Likewise.
12209
12210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12211         support multiarch for POWER/PPC32.
12212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12213         Likewise.
12214         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12216         Implies file to make multiarch folder appers before the fpu and
12217         default folder for power4 configuration.
12218
12219 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12220
12221         * scripts/bench.pl: Append volatile keyword to type.
12222
12223 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12224
12225         * sysdeps/sh/sotruss-lib.c: New file.
12226         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12227
12228 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12229
12230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12231
12232 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12233
12234         [BZ #6810]
12235         * math/w_tgamma.c: Include <errno.h>.
12236         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12237         * math/w_tgammaf.c: Include <errno.h>.
12238         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12239         * math/w_tgammal.c: Include <errno.h>.
12240         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12241         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12242         underflow.  Add more tgamma tests.
12243         * math/auto-libm-test-out: Regenerated.
12244         * sysdeps/i386/fpu/libm-test-ulps: Update.
12245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12246
12247         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12248         sin, sinh, tan, tanh, tgamma, y0 and y1.
12249         * math/auto-libm-test-out: Regenerated.
12250         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12251         (TEST_COND_x86): Likewise.
12252         (M_E2l): Remove macro.
12253         (M_E3l): Likewise.
12254         (M_2_SQRT_PIl): Likewise.
12255         (M_SQRT_PIl): Likewise.
12256         (M_1_DIV_El): Likewise.
12257         (log_test_data): Use AUTO_TESTS_f_f.
12258         (log10_test_data): Likewise.
12259         (log1p_test_data): Likewise.
12260         (log2_test_data): Likewise.
12261         (sin_test_data): Likewise.
12262         (sin_tonearest_test_data): Likewise.
12263         (sin_towardzero_test_data): Likewise.
12264         (sin_downward_test_data): Likewise.
12265         (sin_upward_test_data): Likewise.
12266         (sinh_test_data): Likewise.
12267         (sinh_tonearest_test_data): Likewise.
12268         (sinh_towardzero_test_data): Likewise.
12269         (sinh_downward_test_data): Likewise.
12270         (sinh_upward_test_data): Likewise.
12271         (tan_test_data): Likewise.
12272         (tan_tonearest_test_data): Likewise.
12273         (tan_towardzero_test_data): Likewise.
12274         (tan_downward_test_data): Likewise.
12275         (tan_upward_test_data): Likewise.
12276         (tanh_test_data): Likewise.
12277         (tgamma_test_data): Likewise.
12278         (y0_test_data): Likewise.
12279         (y1_test_data): Likewise.
12280         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12281         (special_real_inputs): Add pi/4.
12282         * sysdeps/i386/fpu/libm-test-ulps: Update.
12283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12284
12285 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12286
12287         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12288         "longjmp_target" static probes.
12289         (__longjmp): Rename to __longjmp_symbol.
12290         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12291         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12292         on which longjmp to generate.
12293         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12294         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12295         probe.
12296         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12297         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12298         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12299         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12300         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12301         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12303         __longjmp_symbol based on which __longjmp to generate.
12304         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12305         probe.
12306         (setjmp): Rename to setjmp_symbol.
12307         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12308         (_setjmp): Rename to _setjmp_symbol.
12309         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12310         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12311         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12312         which setjmp to generate.
12313         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12314         "longjmp_target" static probes.
12315
12316 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12317
12318         * benchtests/README: Add note about output arguments.
12319         * benchtests/bench-sincos.c: Remove file.
12320         * benchtests/sincos-inputs: New file.
12321         * scripts/bench.pl: Identify output arguments and define
12322         static variables for them.
12323
12324         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12325
12326         [BZ #15941]
12327         * Makefile (INSTALL): Add install-plain.texi as the primary
12328         dependency.
12329         * manual/install-plain.texi: New file.
12330         * manual/install.texi: Include node directive only for
12331         non-plaintext output.
12332
12333 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12334
12335         * stdlib/longlong.h: Update from GCC.
12336
12337         [BZ #6807]
12338         [BZ #15901]
12339         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12340         * math/w_j0f.c (y0f): Likewise.
12341         * math/w_j0l.c (__y0l): Likewise.
12342         * math/w_j1.c (y1): Likewise.
12343         * math/w_j1f.c (y1f): Likewise.
12344         * math/w_j1l.c (__y1l): Likewise
12345         * math/w_jn.c (yn): Likewise.
12346         * math/w_jnf.c (ynf): Likewise.
12347         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12348         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12349         value for Bessel function domain errors outside _SVID_ mode.
12350         Adjust sign of return value for yn (negative integer, 0).
12351         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12352         by zero in return for negative x and set sign appropriately for
12353         negative n.
12354         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12355         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12356         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12357         expectations in error cases.
12358         (y1_test_data): Likewise.
12359         (yn_test_data): Likewise.
12360         * sysdeps/i386/fpu/libm-test-ulps: Update.
12361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12362
12363 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12364
12365         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12366         "64" to "64-v1".  Add "64-v2".
12367         (abi-64-options): Rename to ...
12368         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12369         (abi-64-condition): Rename to ...
12370         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12371         (abi-64-ld-soname): Rename to ...
12372         (abi-64-v1-ld-soname): ... this.
12373         (abi-64-v2-options): Define.
12374         (abi-64-v2-condition): Likewise.
12375         (abi-64-v2-ld-soname): Likewise.
12376         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12377         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12381
12382 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12383             Alan Modra  <amodra@gmail.com>
12384
12385         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12386         New versions for use with the ELFv2 ABI.
12387         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12388         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12389         declaration.
12390         (struct La_ppc64v2_retval): Likewise.
12391         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12392         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12393         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12394         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12395         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12396         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12397         Do not save or restore CR.
12398         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12399         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12400         return values for ELFv2 ABI.  Fix location of FPR return registers.
12401         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12402         updated values for _CALL_ELF == 2.
12403         (La_regs, La_retval, int_retval): Likewise.
12404
12405 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12406
12407         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12408         (FRAME_MIN_SIZE_PARM): Likewise.
12409         (FRAME_BACKCHAIN): Likewise.
12410         (FRAME_CR_SAVE): Likewise.
12411         (FRAME_LR_SAVE): Likewise.
12412         (FRAME_TOC_SAVE): Likewise.
12413         (FRAME_PARM_SAVE): Likewise.
12414         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12415         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12416         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12417         (call_mcount_parm_offset): New macro.
12418         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12419         (PROF): Use symbolic stack frame offsets.
12420         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12421         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12422         Redefine in terms of FRAME_MIN_SIZE.
12423         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12424         (_dl_profile_resolve): Likewise.  Update comment.
12425         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12426         symbols stack frame offsets.
12427         (__sigsetjmp): Likewise.
12428         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12429         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12430         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12431         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12432
12433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12434         (FRAME_BACKCHAIN): Remove.
12435         (FRAME_CR_SAVE): Likewise.
12436         (FRAME_LR_SAVE): Likewise.
12437         (FRAME_COMPILER_DW): Likewise.
12438         (FRAME_LINKER_DW): Likewise.
12439         (FRAME_TOC_SAVE): Likewise.
12440         (FRAME_PARM_SAVE): Likewise.
12441         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12442         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12443         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12445         (CHECK_SP): Use symbolic stack frame offsets.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12447         zone" instead of caller's parameter save area for temp storage.
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12449         Likewise.  Also, use symbolic stack frame offsets.
12450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12451         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12452         our own stack frame instead of the caller's.
12453         (__socket): Use symbolic stack frame offsets.
12454
12455 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12456             Alan Modra  <amodra@gmail.com>
12457
12458         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12459         Define.
12460         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12461         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12462         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12463         New function.
12464         (elf_machine_fixup_plt): Call it.
12465         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12466         reloc arguments.
12467         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12468         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12469         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12470         r2 before calling target.
12471
12472 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12473             Alan Modra  <amodra@gmail.com>
12474
12475         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12476         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12477         versions of macros to support ELFv2 ABI.
12478         (LOCALENTRY): New macro.
12479         (ENTRY, EALIGN): Use it.
12480         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12481         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12482         fall through into ENTRY entry point.
12483         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12484         Only define if _CALL_ELF != 2.
12485
12486         (elf_machine_matches_host): Verify ABI version matches.
12487         (RTLD_START): Use LOCALENTRY.
12488         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12489         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12490         (PLT_ENTRY_WORDS): New macro.
12491         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12492         (elf_machine_runtime_setup): Support ELFv2 ABI.
12493         (elf_machine_fixup_plt): Likewise.
12494         (elf_machine_plt_conflict): Likewise.
12495         (resolve_ifunc): Likewise.
12496         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12497         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12498         Likewise.
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12500         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12502         (makecontext): Support ELFv2 ABI.
12503         * elf/elf.h (EF_PPC64_ABI): Define.
12504
12505 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12506
12507         * sysdeps/powerpc/powerpc64/sysdep.h
12508         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12509         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12510         (ENTRY) [ASSEMBLER]: ... but instead here ...
12511         (EALIGN) [ASSEMBLER]: ... and here.
12512         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12513         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12514         (ENTRY_2) [!ASSEMBLER]: Use it.
12515         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12516         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12517         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12518         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12519         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12521         Use PPC64_LOAD_FUNCPTR.
12522
12523         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12524
12525 2013-12-04  Alan Modra  <amodra@gmail.com>
12526
12527         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12528         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12529         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12530         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12531
12532         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12533         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12534         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12535         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12536         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12537         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12538
12539 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12540
12541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12542         (__makecontext): Fix incorrect CFI when backtracing out of
12543         context created via makecontext.
12544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12545         (__setcontext): Fix incorrect CFI during switch to new context.
12546         (__novec_setcontext): Likewise.
12547
12548 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12549
12550         [BZ #4772]
12551         * time/strptime_l.c (__strptime_internal): Allow modifiers
12552         in strptime.
12553         * time/tst-strptime.c (day_tests): Add testcase.
12554
12555 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12556
12557         * scripts/bench.pl: Skip over blank lines.
12558
12559 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12560
12561         [BZ #926]
12562         * manual/time.texi (Calendar Time): Clarify what timezone functions
12563         use.
12564
12565 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12566
12567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12568
12569 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12570
12571         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12572         implementation.
12573         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12574         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12575         * debug/memset_chk.c (__memset_chk): Likewise.
12576         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12577         * debug/strncpy_chk.c: Likewise.
12578
12579 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12580
12581         [BZ #15268]
12582         [BZ #15425]
12583         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12584         (__ieee754_exp): For possibly underflowing results, check size of
12585         result and force underflow exception if required.
12586         * math/auto-libm-test-in: Add more tests of exp.
12587         * math/auto-libm-test-out: Regenerated.
12588         * sysdeps/i386/fpu/libm-test-ulps: Update.
12589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590
12591         [BZ #16283]
12592         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12593         * math/w_exp2f.c (__exp2f): Likewise.
12594         * math/w_exp2l.c (__exp2l): Likewise.
12595         * math/auto-libm-test-in: Do not allow missing errno on exp2
12596         underflow.
12597         * math/auto-libm-test-out: Regenerated.
12598
12599 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12600
12601         [BZ #16274]
12602         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12603         handle filename validation.
12604         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12605         (do_open): Delete.
12606
12607 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12608
12609         [BZ #6786]
12610         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12611         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12612         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12613         <float.h>.
12614         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12615         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12616         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12617         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12618         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12619         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12620         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12621         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12622         Add more erfc tests.
12623         * math/auto-libm-test-out: Regenerated.
12624         * sysdeps/i386/fpu/libm-test-ulps: Update.
12625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12626
12627         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12628         exp2, expm1, j0 and j1.
12629         * math/auto-libm-test-out: Regenerated.
12630         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12631         (erfc_test_data): Likewise.
12632         (exp_test_data): Likewise.
12633         (exp_tonearest_test_data): Likewise.
12634         (exp_towardzero_test_data): Likewise.
12635         (exp_downward_test_data): Likewise.
12636         (exp_upward_test_data): Likewise.
12637         (exp10_test_data): Likewise.
12638         (exp2_test_data): Likewise.
12639         (expm1_test_data): Likewise.
12640         (j0_test_data): Likewise.
12641         (j1_test_data): Likewise.
12642         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12643         (input_flag_type): Add flag_xfail_rounding.
12644         (input_flags): Add xfail-rounding.
12645         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12646         (output_for_one_input_case): Handle flag_xfail_rounding.
12647         * sysdeps/i386/fpu/libm-test-ulps: Update.
12648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12649
12650 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12651
12652         [BZ #16289]
12653         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12654         division by 0.
12655
12656 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12657
12658         [BZ #16195]
12659         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12660         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12661         (STAP_PROBE0): New macro.
12662         (STAP_PROBE1): Likewise.
12663         (STAP_PROBE2): Likewise.
12664         (STAP_PROBE3): Likewise.
12665         (STAP_PROBE4): Likewise.
12666
12667 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12668
12669         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12670
12671 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12672
12673         * benchtests/Makefile (bench): Add sqrt.
12674         (LDLIBS-bench-sqrt): New.
12675         * benchtests/sqrt-input: New.
12676
12677 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12678
12679         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12680         (GAIH_EAI): Likewise.
12681         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12682         (gaih_inet): Likewise.
12683         (getaddrinfo): Don't use GAIH_EAI.
12684
12685         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12686         (struct gaih): Remove definition.
12687
12688 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12689
12690         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12691         Use HERRNOP directly.
12692
12693 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12694
12695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12696
12697 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12698
12699         * math/gen-auto-libm-tests.c (test_functions): Add more
12700         single-argument functions.
12701         (special_fill_pi_2): New function.
12702         (special_fill_minus_pi_2): Likewise.
12703         (special_fill_pi_6): Likewise.
12704         (special_fill_minus_pi_6): Likewise.
12705         (special_fill_pi_3): Likewise.
12706         (special_fill_2pi_3): Likewise.
12707         (special_fill_e): Likewise.
12708         (special_fill_1_e): Likewise.
12709         (special_fill_e_minus_1): Likewise.
12710         (special_real_inputs): Add more special inputs.
12711         (output_for_one_input_case): Do not require ERANGE on underflow to
12712         zero if round-to-nearest result does not underflow to zero, unless
12713         exact results required.
12714         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12715         atan, atanh, cbrt, cos and cosh.
12716         * math/auto-libm-test-out: Regenerated.
12717         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12718         (acos_tonearest_test_data): Likewise.
12719         (acos_towardzero_test_data): Likewise.
12720         (acos_downward_test_data): Likewise.
12721         (acos_upward_test_data): Likewise.
12722         (acosh_test_data): Likewise.
12723         (asin_test_data): Likewise.
12724         (asin_tonearest_test_data): Likewise.
12725         (asin_towardzero_test_data): Likewise.
12726         (asin_upward_test_data): Likewise.
12727         (asinh_test_data): Likewise.
12728         (atan_test_data): Likewise.
12729         (atanh_test_data): Likewise.
12730         (cbrt_test_data): Likewise.
12731         (cos_test_data): Likewise.
12732         (cos_tonearest_test_data): Likewise.
12733         (cos_towardzero_test_data): Likewise.
12734         (cos_downward_test_data): Likewise.
12735         (cos_upward_test_data): Likewise.
12736         (cosh_test_data): Likewise.
12737         (cosh_tonearest_test_data): Likewise.
12738         (cosh_towardzero_test_data): Likewise.
12739         (cosh_downward_test_data): Likewise.
12740         (cosh_upward_test_data): Likewise.
12741         * sysdeps/i386/fpu/libm-test-ulps: Update.
12742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12743
12744 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12745
12746         [BZ #6787]
12747         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12748         * math/w_exp10f.c (__exp10f): Likewise.
12749         * math/w_exp10l.c (__exp10l): Likewise.
12750         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12751         errno settings in existing tests.
12752
12753         [BZ #14032]
12754         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12755         precision control set to double precision.
12756         * sysdeps/i386/fpu/w_sqrt.c: New file.
12757         * math/auto-libm-test-in: Add more tests.
12758         * math/auto-libm-test-out: Update.
12759
12760         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12761         (sqrt_test_tonearest): New function.
12762         (sqrt_towardzero_test_data): New variable.
12763         (sqrt_test_towardzero): New function.
12764         (sqrt_downward_test_data): New variable.
12765         (sqrt_test_downward): New function.
12766         (sqrt_upward_test_data): New variable.
12767         (sqrt_test_upward): New function.
12768         (main): Call the new functions.
12769
12770         * math/gen-auto-libm-tests.c: New file.
12771         * math/auto-libm-test-in: Likewise.
12772         * math/auto-libm-test-out: New generated file.
12773         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12774         variables.
12775         (%beautify): Add generated representations of zero.
12776         (top level): Set $auto_input and call parse_auto_input.
12777         (beautify): Remove trailing "f" from hex float constants.
12778         (parse_args): Handle XFAIL_TEST.
12779         (convert_condition): New function.
12780         (or_value): Likewise.
12781         (or_cond_value): Likewise.
12782         (generate_testfile): Handle AUTO_TESTS_* lines.
12783         (parse_auto_input): New function.
12784         * math/libm-test.inc (XFAIL_TEST): New macro.
12785         (ERRNO_UNCHANGED): Update value.
12786         (ERRNO_EDOM): Likewise.
12787         (ERRNO_ERANGE): Likewise.
12788         (IGNORE_RESULT): Likewise.
12789         (TEST_COND_flt_32): New macro.
12790         (TEST_COND_dbl_64): Likewise.
12791         (TEST_COND_ldbl_96_intel): Likewise.
12792         (TEST_COND_ldbl_96_m68k): Likewise.
12793         (TEST_COND_ldbl_128): Likewise.
12794         (TEST_COND_ldbl_128ibm): Likewise.
12795         (TEST_COND_long32): Likewise.
12796         (TEST_COND_long64): Likewise.
12797         (TEST_COND_before_rounding): Likewise.
12798         (TEST_COND_after_rounding): Likewise.
12799         (enable_test): Handle XFAIL_TEST flag.
12800         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12801         with finite results.
12802         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12803         auto-libm-test-out.
12804
12805 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12806             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12807
12808         [BZ #16214]
12809         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12810         __tls_get_addr_internal instead of __tls_get_offset in order to
12811         avoid GOT pointer dependency.  Make rtld export
12812         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12813         __tls_get_addr since we are a __tls_get_offset platform.
12814         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12815         GOT pointer being set up before.
12816         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12817
12818 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12819
12820         * manual/math.texi (Errors in Math Functions): Document accuracy
12821         goals.
12822
12823         [BZ #15004]
12824         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12825         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12826         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12827         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12828         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12829         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12830         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12831         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12832         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12833         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12834         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12835         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12836         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12837         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12838         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12839         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12840
12841         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12842         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12843         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12844         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12845         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12846         Likewise.
12847         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12848         Likewise.
12849         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12850         Likewise.
12851         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12852         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12853         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12854         atomic-feupdateenv and flt-rounds.
12855         * sysdeps/powerpc/nofpu/Versions (libc): Add
12856         __atomic_feholdexcept, __atomic_feclearexcept,
12857         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12858         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12859         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12860         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12861         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12862         here.
12863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12864         Update.
12865
12866         * manual/arith.texi (FP Exceptions): Document that exceptions may
12867         not be raised when matherr is used.
12868         (Math Error Reporting): Document overflow in directed rounding
12869         modes.  Document that errno may not be set when finite values are
12870         returned on overflow.  Document intent to set errno on underflow
12871         only for underflow to zero.
12872
12873         [BZ #16271]
12874         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12875         round-to-nearest then adjust result for other rounding modes.
12876         * include/fenv.h (fegetround): Use libm_hidden_proto.
12877         * math/fegetround.c (fegetround): Use libm_hidden_def.
12878         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12879         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12880         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12881         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12882         Likewise.
12883         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12884         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12885         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12886         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12887
12888 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12889
12890         [BZ #16077]
12891         * nss/Versions (libnss_files): Add
12892         _nss_files_gethostbyname3_r.
12893         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12894         New function.
12895         (HOST_DB_LOOKUP): Remove macro.
12896         (_nss_files_gethostbyname_r): Implement function without the
12897         HOST_DB_LOOKUP macro.
12898         (_nss_files_gethostbyname2_r): Likewise.
12899
12900 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12901
12902         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12903
12904 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12905
12906         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12907         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12908         warning.
12909
12910 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12911
12912         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12913         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12914         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12915         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12916         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12917         __fe_nomask_env_priv and attribute_hidden.
12918         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12919         (libc_feupdateenv_test_ppc): Likewise.
12920         (libc_feresetround_ppc): Likewise.
12921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12922         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12923         compat_symbol macro.
12924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12925         (__fe_nomask_env): Likewise.
12926         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12927
12928 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12929
12930         * string/Makefile: Remove ifunc tests.
12931         * string/test-string.h: Define TEST_IFUNC.
12932         * string/test-bcopy-ifunc.c: Remove.
12933         * string/test-bzero-ifunc.c: Likewise.
12934         * string/test-memccpy-ifunc.c: Likewise.
12935         * string/test-memchr-ifunc.c: Likewise.
12936         * string/test-memcmp-ifunc.c: Likewise.
12937         * string/test-memcpy-ifunc.c: Likewise.
12938         * string/test-memmem-ifunc.c: Likewise.
12939         * string/test-memmove-ifunc.c: Likewise.
12940         * string/test-mempcpy-ifunc.c: Likewise.
12941         * string/test-memrchr-ifunc.c: Likewise.
12942         * string/test-memset-ifunc.c: Likewise.
12943         * string/test-rawmemchr-ifunc.c: Likewise.
12944         * string/test-stpcpy-ifunc.c: Likewise.
12945         * string/test-stpncpy-ifunc.c: Likewise.
12946         * string/test-strcasecmp-ifunc.c: Likewise.
12947         * string/test-strcasestr-ifunc.c: Likewise.
12948         * string/test-strcat-ifunc.c: Likewise.
12949         * string/test-strchr-ifunc.c: Likewise.
12950         * string/test-strchrnul-ifunc.c: Likewise.
12951         * string/test-strcmp-ifunc.c: Likewise.
12952         * string/test-strcpy-ifunc.c: Likewise.
12953         * string/test-strcspn-ifunc.c: Likewise.
12954         * string/test-strlen-ifunc.c: Likewise.
12955         * string/test-strncasecmp-ifunc.c: Likewise.
12956         * string/test-strncat-ifunc.c: Likewise.
12957         * string/test-strncmp-ifunc.c: Likewise.
12958         * string/test-strncpy-ifunc.c: Likewise.
12959         * string/test-strnlen-ifunc.c: Likewise.
12960         * string/test-strpbrk-ifunc.c: Likewise.
12961         * string/test-strrchr-ifunc.c: Likewise.
12962         * string/test-strspn-ifunc.c: Likewise.
12963         * string/test-strstr-ifunc.c: Likewise.
12964
12965 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12966
12967         * benchtests/Makefile: Remove ifunc tests.
12968         * benchtests/bench-string.h: Define TEST_IFUNC.
12969         * benchtests/bench-bcopy-ifunc.c: Remove.
12970         * benchtests/bench-bzero-ifunc.c: Likewise.
12971         * benchtests/bench-memccpy-ifunc.c: Likewise.
12972         * benchtests/bench-memchr-ifunc.c: Likewise.
12973         * benchtests/bench-memcmp-ifunc.c: Likewise.
12974         * benchtests/bench-memcpy-ifunc.c: Likewise.
12975         * benchtests/bench-memmem-ifunc.c: Likewise.
12976         * benchtests/bench-memmove-ifunc.c: Likewise.
12977         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12978         * benchtests/bench-memrchr-ifunc.c: Likewise.
12979         * benchtests/bench-memset-ifunc.c: Likewise.
12980         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12981         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12982         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12983         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12984         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12985         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12986         * benchtests/bench-strcat-ifunc.c: Likewise.
12987         * benchtests/bench-strchr-ifunc.c: Likewise.
12988         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12989         * benchtests/bench-strcmp-ifunc.c: Likewise.
12990         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12991         * benchtests/bench-strcpy-ifunc.c: Likewise.
12992         * benchtests/bench-strcspn-ifunc.c: Likewise.
12993         * benchtests/bench-strlen-ifunc.c: Likewise.
12994         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12995         * benchtests/bench-strncat-ifunc.c: Likewise.
12996         * benchtests/bench-strncmp-ifunc.c: Likewise.
12997         * benchtests/bench-strncpy-ifunc.c: Likewise.
12998         * benchtests/bench-strnlen-ifunc.c: Likewise.
12999         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13000         * benchtests/bench-strrchr-ifunc.c: Likewise.
13001         * benchtests/bench-strsep-ifunc.c: Likewise.
13002         * benchtests/bench-strspn-ifunc.c: Likewise.
13003         * benchtests/bench-strstr-ifunc.c: Likewise.
13004
13005 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13006
13007         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13008
13009 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13010
13011         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13012         * rt/aio.h: Likewise.
13013         * sysdeps/gnu/bits/utmp.h: Likewise.
13014         * sysdeps/gnu/bits/utmpx.h: Likewise.
13015         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13016         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13017         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13018         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13019         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13020         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13021         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13022         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13023         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13024         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13025         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13026         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13027         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13029         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13030         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13031         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13032         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13033         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13034         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13035         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13036         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13037         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13038         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13039         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13041         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13042         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13043         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13044         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13045         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13046         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13047         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13048         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13049         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13050         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13051         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13052         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13053         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13054         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13055         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13056         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13057
13058 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13059
13060         [BZ #16245]
13061         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13062         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13063
13064 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13065
13066         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13067         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13068         Likewise.
13069
13070 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13071
13072         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13073         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13074         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13075         (__fesetround): Remove define.
13076         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13077         rounding and exceptions handling.
13078         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13079         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13080         (__fe_nomask_env): Likewise.
13081         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13082         __fegetround instead of fegetround.
13083         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13084         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13085
13086 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13087
13088         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13089         it's there.
13090
13091         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13092
13093 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13094
13095         [BZ #11157]
13096         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13097         (encrypt_r): Likewise.
13098         * malloc/obstack.h (obstack_free): Likewise.
13099         * posix/unistd.h (encrypt): Likewise.
13100
13101 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13102
13103         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13104         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13105         DL_CALL_DT_FINI() that call the functions directly.
13106         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13107         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13108         * elf/dl-fini.c: Likewise.
13109
13110 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13111
13112         * malloc/hooks.c (memalign_check): Add alignment rounding.
13113         * malloc/malloc.c (_mid_memalign): New function.
13114         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13115         Implement by calling _mid_memalign.
13116         * manual/probes.texi (Memory Allocation Probes): Remove
13117         memory_valloc_retry and memory_pvalloc_retry.
13118
13119 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13120
13121         * locale/programs/locarchive.c (open_archive): Add const
13122         qualifier to ARCHIVEFNAME and copy default fname to
13123         DEFAULT_FNAME.
13124
13125         [BZ #15601]
13126         * libio/tst-widetext.input: Rename Oriya to Odia.
13127         * locale/iso-639.def: Likewise.
13128
13129         * manual/probes.texi (Mathematical Function Probes): Add
13130         documentation for sin, cos, asin and acos probes.
13131         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13132         (__sin32): Add slowasin probe.
13133         (__cos32): Add slowacos probe.
13134         (__mpsin): Add slowsin probe.
13135         (__mpcos): Add slowcos probe.
13136
13137 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13138
13139         [BZ #15483]
13140         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13141         thread-local __sim_exceptions_thread and global
13142         __sim_exceptions_global.
13143         (__sim_disabled_exceptions): Change to thread-local
13144         __sim_disabled_exceptions_thread and global
13145         __sim_disabled_exceptions_global.
13146         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13147         and global __sim_round_mode_global.
13148         (__simulate_exceptions): Use thread-local floating-point state and
13149         set global state from it as needed.
13150         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13151         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13152         __sim_round_mode_thread.
13153         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13154         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13155         and global __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         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13162         (SIM_SET_GLOBAL): Likewise.
13163         * sysdeps/powerpc/soft-fp/sfp-machine.h
13164         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13165         __sim_round_mode_thread.
13166         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13167         __sim_disabled_exceptions_thread.
13168         (__sim_exceptions): Change to __sim_exceptions_thread.
13169         (__sim_disabled_exceptions): Change to
13170         __sim_disabled_exceptions_thread.
13171         (__sim_round_mode): Change to __sim_round_mode_thread.
13172         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13173         thread-local floating-point state and set global state from it as
13174         needed.
13175         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13176         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13177         (__sim_disabled_exceptions): Remove extern declaration.
13178         (feenableexcept): Use thread-local floating-point state and set
13179         global state from it as needed.
13180         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13181         extern declaration.
13182         (__sim_disabled_exceptions): Likewise.
13183         (__sim_round_mode): Likewise.
13184         (__fegetenv): Use thread-local floating-point state.
13185         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13186         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13187         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13188         floating-point state and set global state from it as needed.
13189         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13190         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13191         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13192         Likewise.
13193         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13194         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13195         Likewise.
13196         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13197         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13198         Use __sim_round_mode_thread.
13199         * math/test-fenv-tls.c: New file.
13200         * math/Makefile (tests): Add test-fenv-tls.
13201         ($(objpfx)test-fenv-tls): Depend on
13202         $(common-objpfx)nptl/libpthread.so.
13203
13204 2013-11-19  Andreas Schwab  <schwab@suse.de>
13205
13206         * locale/programs/locale.c (show_info): Decode wordarray elements.
13207         * locale/categories.def (LC_MONETARY): Add element for
13208         _NL_MONETARY_CRNCYSTR.
13209         * locale/C-monetary.c (conversion_rate): New variable.
13210         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13211         element.
13212
13213 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13214
13215         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13216         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13217
13218 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13219
13220         * elf/Makefile (tst-auxv): New test.
13221         * elf/tst-auxv.c: New
13222         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13223
13224 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13225
13226         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13227         (hidden_proto): Caller changed.
13228         (hidden_tls_proto): New macro.
13229         (libc_hidden_tls_proto): Likewise.
13230         (rtld_hidden_tls_proto): Likewise.
13231         (libm_hidden_tls_proto): Likewise.
13232         (libresolv_hidden_tls_proto): Likewise.
13233         (librt_hidden_tls_proto): Likewise.
13234         (libdl_hidden_tls_proto): Likewise.
13235         (libnss_files_hidden_tls_proto): Likewise.
13236         (libnsl_hidden_tls_proto): Likewise.
13237         (libnss_nisplus_hidden_tls_proto): Likewise.
13238         (libutil_hidden_tls_proto): Likewise.
13239
13240 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13241
13242         [BZ #10253]
13243         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13244         (decompose_rpath): Defer expansion to fillin_rpath.
13245         (_dl_init_paths): Pass linkmap to fillin_rpath.
13246
13247 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13248
13249         * benchtests/Makefile: Add strsep.
13250         * benchtests/bench-strsep.c: New file: strsep benchtest.
13251         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13252
13253 2013-11-18  Andreas Schwab  <schwab@suse.de>
13254
13255         * locale/programs/locale.c (show_info) [case byte]: Check for
13256         '\377' instead of '\177'.
13257         * locale/C-monetary.c (not_available): Always use "\377".
13258         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13259         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13260         detect unavailable sign_posn locale elements.
13261         * locale/localeconv.c (__localeconv): For grouping and
13262         mon_grouping handle "\177" and "\377" like no grouping.
13263         (INT_ELEM): New macro.  Use it to set all numeric members.
13264         * locale/programs/ld-monetary.c (monetary_read)
13265         <tok_mon_grouping>: Normalize single -1 to the empty string.
13266         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13267         Likewise.
13268
13269 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13270
13271         [BZ #16055]
13272         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13273         when we match (nil).
13274         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13275
13276 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13277
13278         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13279         (NO_TEST_INLINE): Update value.
13280         (ERRNO_UNCHANGED): Likewise.
13281         (ERRNO_EDOM): Likewise.
13282         (ERRNO_ERANGE): Likewise.
13283         (IGNORE_RESULT): Likewise.
13284         (check_float_internal): Check signs of NaN results if
13285         TEST_NAN_SIGN used.
13286         (check_complex): Pass TEST_NAN_SIGN flag through to second
13287         check_float_internal call.
13288         (copysign_test_data): Add tests with quiet NaNs as second
13289         argument.  Use TEST_NAN_SIGN.
13290         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13291         TEST_NAN_SIGN.
13292         (signbit_test_data): Add tests of quiet NaN argument.
13293         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13294
13295         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13296         $ignore_result.
13297         (parse_args): Handle function results specified as IGNORE.
13298         * math/libm-test.inc (IGNORE_RESULT): New macro.
13299         (check_float_internal): Do not check numerical result if flag
13300         IGNORE_RESULT set.
13301         (check_complex): Pass through IGNORE_RESULT to second
13302         check_float_internal call.
13303         (check_int): Do not check numerical result if flag IGNORE_RESULT
13304         set.
13305         (check_long): Likewise.
13306         (check_bool): Likewise.
13307         (check_longlong): Likewise.
13308         (lrint_test_data): Add tests of infinite and NaN arguments.
13309         (lrint_tonearest_test_data): Likewise.
13310         (lrint_towardzero_test_data): Likewise.
13311         (lrint_downward_test_data): Likewise.
13312         (lrint_upward_test_data): Likewise.
13313         (llrint_test_data): Likewise.
13314         (llrint_tonearest_test_data): Likewise.
13315         (llrint_towardzero_test_data): Likewise.
13316         (llrint_downward_test_data): Likewise.
13317         (llrint_upward_test_data): Likewise.
13318         (lround_test_data): Likewise.
13319         (llround_test_data): Likewise.
13320
13321         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13322         (ERRNO_UNCHANGED): Update value.
13323         (ERRNO_EDOM): Likewise.
13324         (ERRNO_ERANGE): Likewise.
13325         (NO_TEST_INLINE_FLOAT): New macro.
13326         (NO_TEST_INLINE_DOUBLE): Likewise.
13327         (enable_test): New function.
13328         (RUN_TEST_f_f): Check enable_test before running test.
13329         (RUN_TEST_2_f): Likewise.
13330         (RUN_TEST_fff_f): Likewise.
13331         (RUN_TEST_c_f): Likewise.
13332         (RUN_TEST_f_f1): Likewise.
13333         (RUN_TEST_fF_f1): Likewise.
13334         (RUN_TEST_fI_f1): Likewise.
13335         (RUN_TEST_ffI_f1): Likewise.
13336         (RUN_TEST_c_c): Likewise.
13337         (RUN_TEST_cc_c): Likewise.
13338         (RUN_TEST_f_i): Likewise.
13339         (RUN_TEST_f_i_tg): Likewise.
13340         (RUN_TEST_ff_i_tg): Likewise.
13341         (RUN_TEST_f_b): Likewise.
13342         (RUN_TEST_f_b_tg): Likewise.
13343         (RUN_TEST_f_l): Likewise.
13344         (RUN_TEST_f_L): Likewise.
13345         (RUN_TEST_fFF_11): Likewise.
13346         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13347         conditionals.
13348         (cosh_test_data): Likewise.
13349         (exp_test_data): Likewise.
13350         (expm1_test_data): Likewise.
13351         (hypot_test_data): Likewise.
13352         (pow_test_data): Likewise.
13353         (sinh_test_data): Likewise.
13354         (tanh_test_data): Likewise.
13355         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13356         flags argument.
13357
13358         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13359         tests with quiet NaN input and output.
13360         (acosh_test_data): Likewise.
13361         (asin_test_data): Likewise.
13362         (asinh_test_data): Likewise.
13363         (atan_test_data): Likewise.
13364         (atanh_test_data): Likewise.
13365         (atan2_test_data): Likewise.
13366         (cbrt_test_data): Likewise.
13367         (cos_test_data): Likewise.
13368         (cosh_test_data): Likewise.
13369         (erf_test_data): Likewise.
13370         (erfc_test_data): Likewise.
13371         (exp_test_data): Likewise.
13372         (exp10_test_data): Likewise.
13373         (exp2_test_data): Likewise.
13374         (expm1_test_data): Likewise.
13375         (hypot_test_data): Likewise.
13376         (j0_test_data): Likewise.
13377         (j1_test_data): Likewise.
13378         (jn_test_data): Likewise.
13379         (lgamma_test_data): Likewise.
13380         (log_test_data): Likewise.
13381         (log10_test_data): Likewise.
13382         (log1p_test_data): Likewise.
13383         (log2_test_data): Likewise.
13384         (pow_test_data): Likewise.
13385         (scalb_test_data): Likewise.
13386         (sin_test_data): Likewise.
13387         (sincos_test_data): Likewise.
13388         (sinh_test_data): Likewise.
13389         (tan_test_data): Likewise.
13390         (tanh_test_data): Likewise.
13391         (tgamma_test_data): Likewise.
13392         (y0_test_data): Likewise.
13393         (y1_test_data): Likewise.
13394         (yn_test_data): Likewise.
13395
13396         [BZ #16167]
13397         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13398         argument being NaN and avoid computations with second argument in
13399         that case.
13400         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13401         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13402         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13403
13404 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13405
13406         * locale/iso-639.def: Add Chitwani Tharu (the).
13407
13408 2013-11-14  Andreas Schwab  <schwab@suse.de>
13409
13410         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13411         word instead of empty string.
13412
13413 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13414
13415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13416         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13418         (__fe_nomask_env): Likewise.
13419
13420 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13421
13422         * benchtests/bench-timing.h: Include time.h.
13423
13424 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13425
13426         [BZ #15997]
13427         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13428         to 3.4.0 for x32.
13429         * sysdeps/unix/sysv/linux/configure: Regenerated.
13430
13431 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13432
13433         [BZ #16151]
13434         * stdlib/strtod_l.c (round_and_return): Do not consider
13435         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13436         exponent one less than half the least subnormal exponent.
13437         * stdlib/test-strtod-round-data: Add more tests.
13438         * stdlib/tst-strtod-round.c (tests): Regenerated.
13439
13440 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13441
13442         [BZ #14143]
13443         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13444         (__fe_mask_env): Likewise.
13445         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13446         libm_hidden_proto and add function prototype.
13447         (__fe_mask_env): Add function prototype.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13449         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13451         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13453         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13454
13455 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13456
13457         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13458         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13459
13460 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13461
13462         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13463         of htab_find_slot().
13464
13465 2013-11-11  David S. Miller  <davem@davemloft.net>
13466
13467         [BZ #16150]
13468         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13469         symbol in the non-vis3 case in static builds.
13470         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13471         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13472         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13473         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13474
13475 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13476
13477         [BZ #387]
13478         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13479         it is empty.
13480
13481 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13482
13483         * benchtests/Makefile: Add bench-strtod.
13484         * benchtests/bench-strtod.c: New file: strtod benchtest
13485
13486 2013-11-11  Andreas Schwab  <schwab@suse.de>
13487
13488         [BZ #16153]
13489         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13490         terminating NUL in key length.
13491
13492 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13493
13494         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13495         Add artificial ODP entry for vDSO symbol for PPC64.
13496         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13497         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13498
13499 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13500
13501         [BZ #15374]
13502         * nss/getent.c (services_keys): Recognize services starting with digit.
13503
13504 2013-11-06  David S. Miller  <davem@davemloft.net>
13505
13506         [BZ #15985]
13507         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13508         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13509
13510 2013-11-06  Will Newton  <will.newton@linaro.org>
13511
13512         * manual/memory.texi (Malloc Examples): Remove register
13513         keyword from examples.
13514
13515 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13516
13517         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13518
13519 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13520
13521         [BZ #6981]
13522         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13523         depending on [__GCC_IEC_559 > 0].
13524         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13525         depending on [__GCC_IEC_559_COMPLEX > 0].
13526
13527 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13528
13529         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13530         to iso-639.def.
13531
13532 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13533
13534         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13535
13536 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13537
13538         [BZ #16112]
13539         * malloc/malloc (malloc_info): Do not handle first bin as
13540         special case.
13541
13542 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13543
13544         * locale/iso-639.def: Add Central Nahuatl (nhn).
13545
13546 2013-11-01  Bruno Haible  <bruno@clisp.org>
13547
13548         [BZ #7003]
13549         * manual/math.texi (BSD Random): Specify range upper bound as
13550         in POSIX.
13551
13552 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13553
13554         * locale/iso-639.def: Add Meadow Mari (mhr).
13555
13556 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13557
13558         [BZ #14752], [BZ #15763]
13559         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13560         Validate name.
13561         * rt/tst_shm.c: Add test for escaping directory.
13562
13563 2013-10-31  Andreas Schwab  <schwab@suse.de>
13564
13565         [BZ #15917]
13566         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13567         followed by 'x' as part of digit sequence.
13568         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13569
13570 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13571
13572         [BZ #16037]
13573         * configure.ac: allow GNU Make 4.0 and greater.
13574         * configure: Regenerated.
13575
13576 2013-10-30  Will Newton  <will.newton@linaro.org>
13577
13578         [BZ #16038]
13579         * malloc/hooks.c (memalign_check): Limit alignment to the
13580         maximum representable power of two.
13581         * malloc/malloc.c (__libc_memalign): Likewise.
13582         * malloc/tst-memalign.c (do_test): Add test for very
13583         large alignment values.
13584         * malloc/tst-posix_memalign.c (do_test): Likewise.
13585
13586 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13587
13588         [BZ #11087]
13589         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13590         (munmap_chunk): Likewise.
13591         (mremap_chunk): Likewise.
13592
13593 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13594
13595         [BZ #15799]
13596         * stdlib/div.c (div): Remove obsolete code.
13597         * stdlib/ldiv.c (ldiv): Likewise.
13598         * stdlib/lldiv.c (lldiv): Likewise.
13599
13600 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13601
13602         [BZ #16071]
13603         * nss/nss_files/files-XXX.c (get_contents_ret): New
13604         enumerator.
13605         (get_contents): New function.
13606         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13607
13608 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13609
13610         * configure.in: Moved to ...
13611         * configure.ac: ... here. Change reference to configure.in
13612         to configure.ac.
13613         * sysdeps/arm/preconfigure.ac: ... here.
13614         configure.in to configure.ac.
13615         * sysdeps/gnu/configure.in: Moved to ...
13616         * sysdeps/gnu/configure.ac: ... here.
13617         * sysdeps/i386/configure.in: Moved to ...
13618         * sysdeps/i386/configure.ac: ... here.
13619         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13620         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13621         * sysdeps/mach/configure.in: Moved to ...
13622         * sysdeps/mach/configure.ac: ... here.
13623         * sysdeps/mach/hurd/configure.in: Moved to ...
13624         * sysdeps/mach/hurd/configure.ac: ... here.
13625         * sysdeps/powerpc/configure.in: Moved to ...
13626         * sysdeps/powerpc/configure.ac: ... here.
13627         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13628         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13629         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13630         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13631         * sysdeps/s390/s390-32/configure.in: Moved to ...
13632         * sysdeps/s390/s390-32/configure.ac: ... here.
13633         * sysdeps/s390/s390-64/configure.in: Moved to ...
13634         * sysdeps/s390/s390-64/configure.ac: ... here.
13635         * sysdeps/sh/configure.in: Moved to ...
13636         * sysdeps/sh/configure.ac: ... here.
13637         * sysdeps/sparc/configure.in: Moved to ...
13638         * sysdeps/sparc/configure.ac: ... here.
13639         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13640         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13641         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13642         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13643         * sysdeps/x86_64/configure.in: Moved to ...
13644         * sysdeps/x86_64/configure.ac: ... here.
13645         * sysdeps/x86_64/preconfigure.in: Moved to ...
13646         * sysdeps/x86_64/preconfigure.ac: ... here.
13647         * aclocal.m4: Change reference to configure.in to configure.ac.
13648         * config.h.in: Likewise.
13649         * manual/install.texi: Likewise.
13650         * manual/maint.texi: Likewise.
13651         * Makefile: Likewise.
13652         * malloc/Makefile: Likewise.
13653         * nscd/Makefile: Likewise.
13654         * Makeconfig: Change reference to configure.in and
13655         preconfigure.in to configure.ac and preconfigure.ac
13656         respectively.
13657         * INSTALL: Regenerated.
13658         * configure: Likewise.
13659         * sysdeps/gnu/configure: Likewise.
13660         * sysdeps/i386/configure: Likewise.
13661         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13662         * sysdeps/mach/configure: Likewise.
13663         * sysdeps/mach/hurd/configure: Likewise.
13664         * sysdeps/powerpc/configure: Likewise.
13665         * sysdeps/powerpc/powerpc32/configure: Likewise.
13666         * sysdeps/powerpc/powerpc64/configure: Likewise.
13667         * sysdeps/s390/s390-32/configure: Likewise.
13668         * sysdeps/s390/s390-64/configure: Likewise.
13669         * sysdeps/sh/configure: Likewise.
13670         * sysdeps/sparc/configure: Likewise.
13671         * sysdeps/unix/sysv/linux/configure: Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13673         * sysdeps/x86_64/configure: Likewise.
13674         * sysdeps/x86_64/preconfigure: Likewise.
13675
13676 2013-10-29  Andreas Schwab  <schwab@suse.de>
13677
13678         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13679
13680 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13681
13682         * benchtests/pow-inputs: Add new inputs.
13683
13684         * benchtests/exp-inputs: Add new inputs.
13685
13686         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13687         conditional check for return value.
13688         (__cos32): Likewise.
13689
13690 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13691
13692         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13693         to provide a boost for large inputs with word alignment.
13694         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13695         implementation based on optimized PPC64 strcpy.
13696         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13697         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13698         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13699         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13700
13701 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13702
13703         [BZ #2801]
13704         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13705
13706 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13707
13708         [BZ #14876]
13709         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13710         * time/tst-strptime.c (day_tests): Add testcase.
13711
13712 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13713
13714         [BZ #14029]
13715         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13716
13717 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13718
13719         [BZ #16074]
13720         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13721         MAP_FAILED on error.
13722
13723 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13724
13725         [BZ #16072]
13726         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13727         heap for large requests.
13728
13729 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13730
13731         [BZ #9954]
13732         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13733         result if the result has no associated interface.
13734         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13735         interface for all 127.X.Y.Z addresses.
13736
13737 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13738
13739         * locale/iso-639.def: Add Ligurian (lij)
13740
13741 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13742
13743         [BZ #15825]
13744         * sunrpc/rpc_main.c: Document rpcgen -5.
13745
13746 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13747
13748         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13749
13750 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13751
13752         [BZ #10278]
13753         * posix/glob.c: Match only directories when trailing slash is present.
13754         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13755         (main): Add testcase.
13756
13757 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13758
13759         [BZ #15670]
13760         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13761
13762 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13763
13764         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13765         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13766         AUTH_DES and cindex for FIPS 140-2.
13767         (DES Encryption): Add cindex FIPS 46-3.
13768
13769         * locale/locarchive.h (struct locarhandle): Add fname.
13770         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13771         if an optional argument was specified to --list-archive,
13772         otherwise NULL.
13773         * locale/programs/locarchive.c (show_archive_content): Take new
13774         argument fname and pass it via ah.fname to open_archive.
13775         * locale/programs/localedef.h: Update decl.
13776         (open_archive): If AH->fname is non-null, open that file
13777         rather than the default file name, and don't ignore ENOENT.
13778         (create_archive): Set AH.fname to NULL.
13779         (delete_locales_from_archive): Likewise.
13780         (add_locales_to_archive): Likewise.
13781         * locale/programs/locfile.c (write_all_categories): Likewise.
13782
13783 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13784             Aldy Hernandez  <aldyh@redhat.com>
13785
13786         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13787         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13788         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13789         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13790         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13791         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13792         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13793         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13794         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13795         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13796         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13797         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13798         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13799         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13800         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13801         Likewise.
13802         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13803         Likewise.
13804         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13805         Likewise.
13806         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13807         Likewise.
13808         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13809         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13810         Likewise.
13811         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13812         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13813         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13814         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13815         Likewise.
13816         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13817         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13818         * sysdeps/powerpc/preconfigure: Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13820         Likewise.
13821         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13822         Replace contents of file by #include of <fenv_libc.h>.
13823         * sysdeps/powerpc/soft-fp/sfp-machine.h
13824         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13825         and <sys/prctl.h>.
13826         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13827         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13828         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13829         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13839         Allow copysignl PLT reference to be missing.
13840
13841 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13842             Joseph Myers  <joseph@codesourcery.com
13843
13844         [BZ #15948]
13845         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13846         single character.
13847         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13848
13849 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13850
13851         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13852         * elf/tst-tls1.c: Likewise.
13853         * elf/tst-tls10.h: Likewise.
13854         * elf/tst-tls14.c: Likewise.
13855         * elf/tst-tls2.c: Likewise.
13856         * elf/tst-tls3.c: Likewise.
13857         * elf/tst-tls4.c: Likewise.
13858         * elf/tst-tls5.c: Likewise.
13859         * elf/tst-tls6.c: Likewise.
13860         * elf/tst-tls7.c: Likewise.
13861         * elf/tst-tls8.c: Likewise.
13862         * elf/tst-tls9.c: Likewise.
13863         * elf/tst-tlsmod1.c: Likewise.
13864         * elf/tst-tlsmod13.c: Likewise.
13865         * elf/tst-tlsmod13a.c: Likewise.
13866         * elf/tst-tlsmod14a.c: Likewise.
13867         * elf/tst-tlsmod16a.c: Likewise.
13868         * elf/tst-tlsmod16b.c: Likewise.
13869         * elf/tst-tlsmod2.c: Likewise.
13870         * elf/tst-tlsmod3.c: Likewise.
13871         * elf/tst-tlsmod4.c: Likewise.
13872         * elf/tst-tlsmod5.c: Likewise.
13873         * elf/tst-tlsmod6.c: Likewise.
13874
13875 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13876
13877         [BZ #12486]
13878         * malloc/malloc.c: remove checks for statistics.
13879
13880 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13881
13882         [BZ #15277]
13883         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13884         * inet/tst-network.c: Add testcase.
13885
13886 2013-10-17  Andreas Schwab  <schwab@suse.de>
13887
13888         [BZ #15218]
13889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13890         to determine canonical name.
13891
13892 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13893
13894         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13895         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13896         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13897         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13898         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13899         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13900         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13901         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13902         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13903         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13904         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13905         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13906         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13907         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13908         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13909         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13911         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13912         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13913         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13914         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13915         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13916         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13917         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13918         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13919         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13920         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13921         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13922         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13923         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13924         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13925         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13926         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13927         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13928         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13929         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13930         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13931         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13932         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13933         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13934         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13935         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13936         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13937         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13938         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13939         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13940         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13941         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13943         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13944         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13945         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13946         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13951         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13952
13953 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13954
13955         [BZ #16041]
13956         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13957         make result into a quiet NaN.
13958
13959 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13960
13961         * soft-fp/adddf3.c: Fix horizontal whitespace.
13962         * soft-fp/addsf3.c: Likewise.
13963         * soft-fp/addtf3.c: Likewise.
13964         * soft-fp/divdf3.c: Likewise.
13965         * soft-fp/divsf3.c: Likewise.
13966         * soft-fp/divtf3.c: Likewise.
13967         * soft-fp/double.h: Likewise.
13968         * soft-fp/eqdf2.c: Likewise.
13969         * soft-fp/eqsf2.c: Likewise.
13970         * soft-fp/eqtf2.c: Likewise.
13971         * soft-fp/extenddftf2.c: Likewise.
13972         * soft-fp/extended.h: Likewise.
13973         * soft-fp/extendsfdf2.c: Likewise.
13974         * soft-fp/extendsftf2.c: Likewise.
13975         * soft-fp/extendxftf2.c: Likewise.
13976         * soft-fp/fixdfdi.c: Likewise.
13977         * soft-fp/fixdfsi.c: Likewise.
13978         * soft-fp/fixdfti.c: Likewise.
13979         * soft-fp/fixsfdi.c: Likewise.
13980         * soft-fp/fixsfsi.c: Likewise.
13981         * soft-fp/fixsfti.c: Likewise.
13982         * soft-fp/fixtfdi.c: Likewise.
13983         * soft-fp/fixtfsi.c: Likewise.
13984         * soft-fp/fixtfti.c: Likewise.
13985         * soft-fp/fixunsdfdi.c: Likewise.
13986         * soft-fp/fixunsdfsi.c: Likewise.
13987         * soft-fp/fixunsdfti.c: Likewise.
13988         * soft-fp/fixunssfdi.c: Likewise.
13989         * soft-fp/fixunssfsi.c: Likewise.
13990         * soft-fp/fixunssfti.c: Likewise.
13991         * soft-fp/fixunstfdi.c: Likewise.
13992         * soft-fp/fixunstfsi.c: Likewise.
13993         * soft-fp/fixunstfti.c: Likewise.
13994         * soft-fp/floatdidf.c: Likewise.
13995         * soft-fp/floatdisf.c: Likewise.
13996         * soft-fp/floatditf.c: Likewise.
13997         * soft-fp/floatsidf.c: Likewise.
13998         * soft-fp/floatsisf.c: Likewise.
13999         * soft-fp/floatsitf.c: Likewise.
14000         * soft-fp/floattidf.c: Likewise.
14001         * soft-fp/floattisf.c: Likewise.
14002         * soft-fp/floattitf.c: Likewise.
14003         * soft-fp/floatundidf.c: Likewise.
14004         * soft-fp/floatundisf.c: Likewise.
14005         * soft-fp/floatunditf.c: Likewise.
14006         * soft-fp/floatunsidf.c: Likewise.
14007         * soft-fp/floatunsisf.c: Likewise.
14008         * soft-fp/floatunsitf.c: Likewise.
14009         * soft-fp/floatuntidf.c: Likewise.
14010         * soft-fp/floatuntisf.c: Likewise.
14011         * soft-fp/floatuntitf.c: Likewise.
14012         * soft-fp/fmadf4.c: Likewise.
14013         * soft-fp/fmasf4.c: Likewise.
14014         * soft-fp/fmatf4.c: Likewise.
14015         * soft-fp/gedf2.c: Likewise.
14016         * soft-fp/gesf2.c: Likewise.
14017         * soft-fp/getf2.c: Likewise.
14018         * soft-fp/ledf2.c: Likewise.
14019         * soft-fp/lesf2.c: Likewise.
14020         * soft-fp/letf2.c: Likewise.
14021         * soft-fp/muldf3.c: Likewise.
14022         * soft-fp/mulsf3.c: Likewise.
14023         * soft-fp/multf3.c: Likewise.
14024         * soft-fp/negdf2.c: Likewise.
14025         * soft-fp/negsf2.c: Likewise.
14026         * soft-fp/negtf2.c: Likewise.
14027         * soft-fp/op-1.h: Likewise.
14028         * soft-fp/op-2.h: Likewise.
14029         * soft-fp/op-4.h: Likewise.
14030         * soft-fp/op-8.h: Likewise.
14031         * soft-fp/op-common.h: Likewise.
14032         * soft-fp/quad.h: Likewise.
14033         * soft-fp/single.h: Likewise.
14034         * soft-fp/soft-fp.h: Likewise.
14035         * soft-fp/sqrtdf2.c: Likewise.
14036         * soft-fp/sqrtsf2.c: Likewise.
14037         * soft-fp/sqrttf2.c: Likewise.
14038         * soft-fp/subdf3.c: Likewise.
14039         * soft-fp/subsf3.c: Likewise.
14040         * soft-fp/subtf3.c: Likewise.
14041         * soft-fp/truncdfsf2.c: Likewise.
14042         * soft-fp/trunctfdf2.c: Likewise.
14043         * soft-fp/trunctfsf2.c: Likewise.
14044         * soft-fp/trunctfxf2.c: Likewise.
14045         * soft-fp/unorddf2.c: Likewise.
14046         * soft-fp/unordsf2.c: Likewise.
14047         * soft-fp/unordtf2.c: Likewise.
14048
14049 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14050
14051         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14052         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14053
14054 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14055
14056         * elf/dl-libc.c: Clear initfini list after freeing.
14057
14058 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14059
14060         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14061         * soft-fp/addsf3.c: Likewise.
14062         * soft-fp/addtf3.c: Likewise.
14063         * soft-fp/divdf3.c: Likewise.
14064         * soft-fp/divsf3.c: Likewise.
14065         * soft-fp/divtf3.c: Likewise.
14066         * soft-fp/double.h: Likewise.
14067         * soft-fp/eqdf2.c: Likewise.
14068         * soft-fp/eqsf2.c: Likewise.
14069         * soft-fp/eqtf2.c: Likewise.
14070         * soft-fp/extenddftf2.c: Likewise.
14071         * soft-fp/extended.h: Likewise.
14072         * soft-fp/extendsfdf2.c: Likewise.
14073         * soft-fp/extendsftf2.c: Likewise.
14074         * soft-fp/extendxftf2.c: Likewise.
14075         * soft-fp/fixdfdi.c: Likewise.
14076         * soft-fp/fixdfsi.c: Likewise.
14077         * soft-fp/fixdfti.c: Likewise.
14078         * soft-fp/fixsfdi.c: Likewise.
14079         * soft-fp/fixsfsi.c: Likewise.
14080         * soft-fp/fixsfti.c: Likewise.
14081         * soft-fp/fixtfdi.c: Likewise.
14082         * soft-fp/fixtfsi.c: Likewise.
14083         * soft-fp/fixtfti.c: Likewise.
14084         * soft-fp/fixunsdfdi.c: Likewise.
14085         * soft-fp/fixunsdfsi.c: Likewise.
14086         * soft-fp/fixunsdfti.c: Likewise.
14087         * soft-fp/fixunssfdi.c: Likewise.
14088         * soft-fp/fixunssfsi.c: Likewise.
14089         * soft-fp/fixunssfti.c: Likewise.
14090         * soft-fp/fixunstfdi.c: Likewise.
14091         * soft-fp/fixunstfsi.c: Likewise.
14092         * soft-fp/fixunstfti.c: Likewise.
14093         * soft-fp/floatdidf.c: Likewise.
14094         * soft-fp/floatdisf.c: Likewise.
14095         * soft-fp/floatditf.c: Likewise.
14096         * soft-fp/floatsidf.c: Likewise.
14097         * soft-fp/floatsisf.c: Likewise.
14098         * soft-fp/floatsitf.c: Likewise.
14099         * soft-fp/floattidf.c: Likewise.
14100         * soft-fp/floattisf.c: Likewise.
14101         * soft-fp/floattitf.c: Likewise.
14102         * soft-fp/floatundidf.c: Likewise.
14103         * soft-fp/floatundisf.c: Likewise.
14104         * soft-fp/floatunsidf.c: Likewise.
14105         * soft-fp/floatunsisf.c: Likewise.
14106         * soft-fp/floatuntidf.c: Likewise.
14107         * soft-fp/floatuntisf.c: Likewise.
14108         * soft-fp/floatuntitf.c: Likewise.
14109         * soft-fp/fmadf4.c: Likewise.
14110         * soft-fp/fmasf4.c: Likewise.
14111         * soft-fp/fmatf4.c: Likewise.
14112         * soft-fp/gedf2.c: Likewise.
14113         * soft-fp/gesf2.c: Likewise.
14114         * soft-fp/getf2.c: Likewise.
14115         * soft-fp/ledf2.c: Likewise.
14116         * soft-fp/lesf2.c: Likewise.
14117         * soft-fp/letf2.c: Likewise.
14118         * soft-fp/muldf3.c: Likewise.
14119         * soft-fp/mulsf3.c: Likewise.
14120         * soft-fp/multf3.c: Likewise.
14121         * soft-fp/negdf2.c: Likewise.
14122         * soft-fp/negsf2.c: Likewise.
14123         * soft-fp/negtf2.c: Likewise.
14124         * soft-fp/op-1.h: Likewise.
14125         * soft-fp/op-2.h: Likewise.
14126         * soft-fp/op-4.h: Likewise.
14127         * soft-fp/op-8.h: Likewise.
14128         * soft-fp/op-common.h: Likewise.
14129         * soft-fp/quad.h: Likewise.
14130         * soft-fp/single.h: Likewise.
14131         * soft-fp/soft-fp.h: Likewise.
14132         * soft-fp/sqrtdf2.c: Likewise.
14133         * soft-fp/sqrtsf2.c: Likewise.
14134         * soft-fp/sqrttf2.c: Likewise.
14135         * soft-fp/subdf3.c: Likewise.
14136         * soft-fp/subsf3.c: Likewise.
14137         * soft-fp/subtf3.c: Likewise.
14138         * soft-fp/truncdfsf2.c: Likewise.
14139         * soft-fp/trunctfdf2.c: Likewise.
14140         * soft-fp/trunctfsf2.c: Likewise.
14141         * soft-fp/trunctfxf2.c: Likewise.
14142         * soft-fp/unorddf2.c: Likewise.
14143         * soft-fp/unordsf2.c: Likewise.
14144         * soft-fp/unordtf2.c: Likewise.
14145
14146 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14147
14148         [BZ #15672]
14149         * misc/error.c (error_tail): Fix possible buffer overflow.
14150
14151 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14152
14153         [BZ #13028]
14154         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14155         address.
14156
14157 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14158
14159         [BZ #832]
14160         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14161         testing pipefail option.
14162
14163 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14164
14165         * soft-fp/double.h: Indent preprocessor directives inside #if.
14166         * soft-fp/extended.h: Likewise.
14167         * soft-fp/op-2.h: Likewise.
14168         * soft-fp/op-4.h: Likewise.
14169         * soft-fp/op-common.h: Likewise.
14170         * soft-fp/quad.h: Likewise.
14171         * soft-fp/single.h: Likewise.
14172         * soft-fp/soft-fp.h: Likewise.
14173
14174 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14175
14176         * iconv/iconv_prog.c: Fix typos.
14177         * stdio-common/psiginfo-data.h: Likewise.
14178
14179 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14180
14181         [BZ #15764]
14182         * locale/setlocale.c: Fix typo.
14183
14184 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14185
14186         [BZ #16036]
14187         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14188         signaling NaN arguments.
14189         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14190         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14191
14192         [BZ #14910]
14193         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14194         unordered operands.
14195         * soft-fp/gesf2.c (__gesf2): Likewise.
14196         * soft-fp/getf2.c (__getf2): Likewise.
14197         * soft-fp/ledf2.c (__ledf2): Likewise.
14198         * soft-fp/lesf2.c (__lesf2): Likewise.
14199         * soft-fp/letf2.c (__letf2): Likewise.
14200
14201         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14202         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14203         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14204         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14205         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14206         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14207         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14208         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14209         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14210         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14211         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14212         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14213         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14214         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14215         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14216         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14217         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14218         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14219         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14220         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14221         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14222         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14223         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14224         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14225         * soft-fp/floattidf.c (__floattidf): Likewise.
14226         * soft-fp/floattisf.c (__floattisf): Likewise.
14227         * soft-fp/floattitf.c (__floattitf): Likewise.
14228         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14229         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14230         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14231         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14232         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14233         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14234         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14235         * soft-fp/gesf2.c (__gesf2): Likewise.
14236         * soft-fp/getf2.c (__getf2): Likewise.
14237         * soft-fp/ledf2.c (__ledf2): Likewise.
14238         * soft-fp/lesf2.c (__lesf2): Likewise.
14239         * soft-fp/letf2.c (__letf2): Likewise.
14240
14241         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14242         Undefine and redefine.
14243         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14244         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14245         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14246         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14247         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14248         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14249         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14250         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14251         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14252         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14253         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14254         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14255         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14256         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14257         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14258
14259         [BZ #16032]
14260         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14261         without decrementing exponent if mantissa >= that for the
14262         denominator, not >.
14263         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14264         denominator, not >.  Decrement exponent in < case instead of
14265         incrementing in >= case.
14266         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14267         without decrementing exponent if mantissa >= that for the
14268         denominator, not >.
14269
14270         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14271         computing saturated result for unsigned overflow.
14272
14273 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14274             Jeff Law  <law@redhat.com>
14275
14276         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14277         (atan2Mp): Add systemtap probe marker.
14278         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14279         (__ieee754_log): Add systemtap probe marker.
14280         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14281         (atanMp): Add systemtap probe marker.
14282         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14283         (tanMp): Add systemtap probe marker.
14284         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14285         (__slowexp): Add systemtap probe marker.
14286         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14287         (__slowpow): Add systemtap probe marker.
14288         * manual/probes.texi: Document probes.
14289
14290 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14291
14292         [BZ #15362]
14293         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14294         written.
14295         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14296         written.
14297         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14298         written to buffer but not flushed.
14299         * libio/iofwrite_u.c:  Likewise.
14300         * libio/iopadn.c:  Return bytes returned even if EOF was
14301         encountered.
14302         * libio/iowpadn.c:  Likewise.
14303         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14304         if _IO_padn does not write the whole buffer.
14305         [!COMPILE_WPRINTF] (PAD): Likewise.
14306
14307 2013-10-10  David S. Miller  <davem@davemloft.net>
14308
14309         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14310         directory block.
14311
14312 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14313
14314         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14315         instead of FSF address.
14316         * soft-fp/fixdfti.c: Likewise.
14317         * soft-fp/fixsfti.c: Likewise.
14318         * soft-fp/fixtfti.c: Likewise.
14319         * soft-fp/fixunsdfti.c: Likewise.
14320         * soft-fp/fixunssfti.c: Likewise.
14321         * soft-fp/fixunstfti.c: Likewise.
14322         * soft-fp/floattidf.c: Likewise.
14323         * soft-fp/floattisf.c: Likewise.
14324         * soft-fp/floattitf.c: Likewise.
14325         * soft-fp/floatuntidf.c: Likewise.
14326         * soft-fp/floatuntisf.c: Likewise.
14327         * soft-fp/floatuntitf.c: Likewise.
14328         * soft-fp/trunctfxf2.c: Likewise.
14329
14330         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14331         * soft-fp/fixdfti.c: Likewise.
14332         * soft-fp/fixsfti.c: Likewise.
14333         * soft-fp/fixtfti.c: Likewise.
14334         * soft-fp/fixunsdfti.c: Likewise.
14335         * soft-fp/fixunssfti.c: Likewise.
14336         * soft-fp/fixunstfti.c: Likewise.
14337         * soft-fp/floattidf.c: Likewise.
14338         * soft-fp/floattisf.c: Likewise.
14339         * soft-fp/floattitf.c: Likewise.
14340         * soft-fp/floatuntidf.c: Likewise.
14341         * soft-fp/floatuntisf.c: Likewise.
14342         * soft-fp/floatuntitf.c: Likewise.
14343         * soft-fp/trunctfxf2.c: Likewise.
14344
14345 2013-10-10  David S. Miller  <davem@davemloft.net>
14346
14347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14348
14349 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14350
14351         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14352         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14353         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14354         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14355         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14356         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14357         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14358
14359         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14360         for NaNs before doing comparisons on argument.
14361         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14362         Likewise.
14363
14364 2013-10-10  Will Newton  <will.newton@linaro.org>
14365
14366         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14367         passed to _int_memalign does not overflow.
14368
14369 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14370
14371         * scripts/bench.pl: Add include-sources directive.
14372         * benchtests/README: Update documentation.
14373
14374 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14375
14376         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14377         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14378         instead of FP_INIT_ROUNDMODE.
14379         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14380         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14381
14382         [BZ #16034]
14383         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14384         copy class of input value.
14385         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14386         not handle exceptions.
14387         * soft-fp/negsf2.c (__negsf2): Likewise.
14388         * soft-fp/negtf2.c (__negtf2): Likewise.
14389         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14390
14391 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14392
14393         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14394         semicolon.  From Linux kernel.
14395
14396 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14397
14398         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14399
14400 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14401
14402         [BZ #156]
14403         * manual/socket.texi: Added statement about buffer
14404         for gethostbyname2_r.
14405
14406 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14407
14408         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14409         Use .p2align directive instead, throughout.
14410         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14411         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14412         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14414         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14415         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14416         * sysdeps/x86_64/strchr.S: Likewise.
14417         * sysdeps/x86_64/strrchr.S: Likewise.
14418
14419 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14420
14421         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14422
14423         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14424
14425         * sysdeps/generic/math_private.h (__mpsin1): Remove
14426         declaration.
14427         (__mpcos1): Likewise.
14428         (__mpsin): New argument __range_reduce.
14429         (__mpcos): Likewise.
14430         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14431         (slow): Use __mpsin and __mpcos.
14432         (slow1): Likewise.
14433         (slow2): Likewise.
14434         (sloww): Likewise.
14435         (sloww1): Likewise.
14436         (sloww2): Likewise.
14437         (bsloww): Likewise.
14438         (bsloww1): Likewise.
14439         (bsloww2): Likewise.
14440         (cslow2): Likewise.
14441         (csloww): Likewise.
14442         (csloww1): Likewise.
14443         (csloww2): Likewise.
14444         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14445         range_reduce.  Merge in __mpsin1.
14446         (__mpcos): Likewise.
14447         (__mpsin1): Remove.
14448         (__mpcos1): Likewise.
14449
14450 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14451
14452         * locale/loadlocale.c (_nl_intern_locale_data): Use
14453         LOCFILE_ALIGNED_P.
14454         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14455         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14456         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14457         obstack data is appropriately aligned.
14458         (obstack_int32_grow_fast): Likewise.
14459         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14460         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14461         (add_locale_uint32_array): Likewise.
14462
14463 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14464
14465         * benchtests/Makefile: Remove ARGLIST and RET variables.
14466         ($(objpfx)bench-%.c): Pass only function name to the script.
14467         * benchtests/README: Update documentation.
14468         * benchtests/acos-inputs: Add new directives.
14469         * benchtests/acosh-inputs: Likewise.
14470         * benchtests/asin-inputs: Likewise.
14471         * benchtests/asinh-inputs: Likewise.
14472         * benchtests/atan-inputs: Likewise.
14473         * benchtests/atanh-inputs: Likewise.
14474         * benchtests/cos-inputs: Likewise.
14475         * benchtests/cosh-inputs: Likewise.
14476         * benchtests/exp-inputs: Likewise.
14477         * benchtests/log-inputs: Likewise.
14478         * benchtests/pow-inputs: Likewise.
14479         * benchtests/rint-inputs: Likewise.
14480         * benchtests/sin-inputs: Likewise.
14481         * benchtests/sinh-inputs: Likewise.
14482         * benchtests/tan-inputs: Likewise.
14483         * benchtests/tanh-inputs: Likewise.
14484         * scripts/bench.pl: Add support for new directives.
14485
14486 2013-10-07  Alan Modra  <amodra@gmail.com>
14487
14488         * README: Fix careless merge.
14489
14490 2013-10-05  Alan Modra  <amodra@gmail.com>
14491
14492         * NEWS: Mention powerpc64le support and bugs fixed.
14493         * README: Both big-endian and little-endian powerpc64 supported.
14494
14495 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14496
14497         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14498         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14499         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14500         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14501
14502 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14503
14504         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14505         match prototype.
14506
14507 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14508
14509         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14510         Move -mhard-float appending from
14511         ports/sysdeps/powerpc/powerpc32/Makefile.
14512         [$(with-fp) = yes] (ASFLAGS): Likewise.
14513         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14514         * sysdeps/powerpc/nofpu: Move directory from
14515         ports/sysdeps/powerpc/nofpu.
14516         * sysdeps/powerpc/soft-fp: Move directory from
14517         ports/sysdeps/powerpc/soft-fp.
14518         * sysdeps/powerpc/powerpc32/405: Move directory from
14519         ports/sysdeps/powerpc/powerpc32/405.
14520         * sysdeps/powerpc/powerpc32/440: Move directory from
14521         ports/sysdeps/powerpc/powerpc32/440.
14522         * sysdeps/powerpc/powerpc32/464: Move directory from
14523         ports/sysdeps/powerpc/powerpc32/464.
14524         * sysdeps/powerpc/powerpc32/476: Move directory from
14525         ports/sysdeps/powerpc/powerpc32/476.
14526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14527         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14529         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14531         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14533         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14535         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14536         * README: Update for powerpc-*-linux-gnu software floating point
14537         support in libc.
14538
14539         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14540         case to powerpc/powerpc32*.
14541         * sysdeps/unix/sysv/linux/configure: Regenerated.
14542
14543         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14544         (_FPU_MASK_OM): Define as 0x04.
14545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14547         0x00c10080.
14548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14549         0x0000003c.
14550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14551
14552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14553         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14554         getcontext_e500.
14555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14556         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14557         setcontext_e500.
14558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14559         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14560         and setcontext_e500.
14561
14562 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14563
14564         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14565
14566 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14567
14568         * manual/threads.texi (Default Thread Attributes): Fix typo.
14569
14570 2013-10-04  Will Newton  <will.newton@linaro.org>
14571
14572         * malloc/Makefile: Add tst-memalign.
14573         * malloc/tst-memalign.c: New file.
14574
14575         * malloc/tst-posix_memalign.c: Add comments.
14576         (do_test): Add comments and call free on all potentially
14577         allocated pointers. Add space after cast.
14578
14579         * malloc/tst-pvalloc.c: Add comments.
14580         (do_test): Add comments and call free on all potentially
14581         allocated pointers. Remove duplicate check for NULL pointer.
14582         Add space after cast.
14583
14584         * malloc/tst-valloc.c: Add comments.
14585         (do_test): Add comments and call free on all potentially
14586         allocated pointers. Remove duplicate check for NULL pointer.
14587         Add space after cast.
14588
14589 2013-10-04  Alan Modra  <amodra@gmail.com>
14590
14591         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14592         Use stdint types in rather than __attribute__((mode())).
14593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14594
14595 2013-10-04  Alan Modra  <amodra@gmail.com>
14596
14597         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14598         Correct handling of unaligned relocs for little-endian.
14599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14600
14601 2013-10-04  Alan Modra  <amodra@gmail.com>
14602
14603         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14604         * configure: Regenerate.
14605         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14606         * shlib-versions: Likewise.
14607
14608 2013-10-04  Alan Modra  <amodra@gmail.com>
14609
14610         * string/tester.c (test_memrchr): Increment reported test cycle.
14611
14612 2013-10-04  Alan Modra  <amodra@gmail.com>
14613
14614         * string/test-memcpy.c (do_one_test): When reporting errors, print
14615         string address and don't overrun end of string.
14616
14617 2013-10-04  Alan Modra  <amodra@gmail.com>
14618
14619         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14620         insrdi.  Make better use of reg selection to speed exit slightly.
14621         Schedule entry path a little better.  Remove useless "are we done"
14622         checks on entry to main loop.  Handle wrapping around zero address.
14623         Correct main loop count.  Handle single left-over word from main
14624         loop inline rather than by using loop_small.  Remove extra word
14625         case in loop_small caused by wrong loop count.  Add little-endian
14626         support.
14627         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14628         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14629         cache hint.
14630         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14631         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14632         support.  Avoid rlwimi.
14633         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14634
14635 2013-10-04  Alan Modra  <amodra@gmail.com>
14636
14637         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14638         insrdi.  Formatting.
14639         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14640         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14641         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14642         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14643         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14644         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14645
14646 2013-10-04  Alan Modra  <amodra@gmail.com>
14647
14648         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14649         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14650         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14651         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14652         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14653         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14654         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14655         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14656         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14657         use of regs.  Use power7 mtocrf.  Tidy function tails.
14658
14659 2013-10-04  Alan Modra  <amodra@gmail.com>
14660
14661         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14662         Formatting.  Consistently use rXXX register defines or rN defines.
14663         Use early exit labels that avoid restoring unused non-volatile regs.
14664         Make cr field use more consistent with rWORDn compares.  Rename
14665         regs used as shift registers for unaligned loop, using rN defines
14666         for short lifetime/multiple use regs.
14667         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14668         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14669         addi 1,1,64 to pop stack frame.  Simplify return value code.
14670         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14671
14672 2013-10-04  Alan Modra  <amodra@gmail.com>
14673
14674         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14675         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14676         rather than rlwimi.
14677         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14678         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14679         little-endian support.  Correct typos.
14680         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14681         rather than rlwimi.
14682         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14683         in loop and entry code to keep "and." results.
14684         (strchr): Add little-endian support.  Comment.  Move cntlzd
14685         earlier in tail.
14686         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14687
14688 2013-10-04  Alan Modra  <amodra@gmail.com>
14689
14690         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14691         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14692         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14693         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14694
14695 2013-10-04  Alan Modra  <amodra@gmail.com>
14696
14697         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14698         (rTMP): Define as r11.
14699         (strcmp): Add little-endian support.  Optimise tail.
14700         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14701         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14702         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14703         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14704         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14705         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14707
14708 2013-10-04  Alan Modra  <amodra@gmail.com>
14709
14710         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14711         little-endian support.  Remove unnecessary "are we done" tests.
14712         Handle "s" wrapping around zero and extremely large "size".
14713         Correct main loop count.  Handle single left-over word from main
14714         loop inline rather than by using small_loop.  Correct comments.
14715         Delete "zero" tail, use "end_max" instead.
14716         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14717
14718 2013-10-04  Alan Modra  <amodra@gmail.com>
14719
14720         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14721         support.  Don't branch over align.
14722         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14723         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14724         support.  Rearrange tmp reg use to suit.  Comment.
14725         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14726
14727 2013-10-04  Alan Modra  <amodra@gmail.com>
14728
14729         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14730
14731 2013-10-04  Alan Modra  <amodra@gmail.com>
14732
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14734         conditional form of branch and link when obtaining pc.
14735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14736
14737 2013-10-04  Alan Modra  <amodra@gmail.com>
14738
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14740         HIWORD/LOWORD.
14741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14743
14744 2013-10-04  Alan Modra  <amodra@gmail.com>
14745
14746         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14747         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14748         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14749         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14750         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14751         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14752         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14753         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14754         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14755         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14756
14757 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14758             Alistair Popple <alistair@ozlabs.au.ibm.com>
14759             Alan Modra <amodra@gmail.com>
14760
14761         [BZ #15723]
14762         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14763         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14764         _dl_hwcap access for little-endian.
14765         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14766         destroy vmx regs when saving unaligned.
14767         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14768         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14769         destroy vmx regs when saving unaligned.
14770
14771 2013-10-04  Alan Modra  <amodra@gmail.com>
14772
14773         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14774         Don't use a union to pack hi/low value.
14775
14776 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14777
14778         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14779         for little-endian.
14780         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14781         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14782         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14783         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14784         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14785
14786 2013-10-04  Alan Modra  <amodra@gmail.com>
14787
14788         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14789         constants to usual value for .cst8 section, and remove redundant
14790         high address load.
14791         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14792         constant for 0x1p52.  Load little-endian words of double from
14793         correct stack offsets.
14794
14795 2013-10-04  Alan Modra  <amodra@gmail.com>
14796
14797         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14798         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14799         words of double from correct stack offsets.
14800         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14801         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14802         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14803         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14804         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14805         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14806         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14807         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14808         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14809         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14810         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14812         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14813         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14814         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14815         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14816         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14817
14818 2013-10-04  Alan Modra  <amodra@gmail.com>
14819
14820         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14821         64-bit int/double union.
14822         (_FPU_SETCW): Likewise.
14823         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14824         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14825
14826 2013-10-04  Alan Modra  <amodra@gmail.com>
14827
14828         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14829         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14830
14831 2013-10-04  Alan Modra  <amodra@gmail.com>
14832
14833         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14834         use vector int constants.
14835         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14836
14837 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14838
14839         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14840         array with long long.
14841         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14842         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14843         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14844         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14845         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14846         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14847         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14848         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14849         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14850         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14851         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14852         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14853         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14854
14855 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14856
14857         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14858         (__signbit): Likewise.  Correct for little-endian.
14859         (__signbitl): Call __signbit.
14860         (lrint): Correct for little-endian.
14861         (lrintf): Call lrint.
14862
14863 2013-10-04  Alan Modra  <amodra@gmail.com>
14864
14865         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14866         union 32-bit int array member with 64-bit int array.
14867         (t515, tm256): Double rather than long double.
14868         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14869
14870 2013-10-04  Alan Modra  <amodra@gmail.com>
14871
14872         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14873         Delete.
14874         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14876         version of math_ldbl.h.
14877
14878 2013-10-04  Alan Modra  <amodra@gmail.com>
14879
14880         [BZ #15734], [BZ #15735]
14881         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14882         all uses of ieee875 long double macros and unions.  Simplify test
14883         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14884         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14885         normalize after ldbl_extract_mantissa, and don't add hidden bit
14886         already handled.  Don't treat low word of ieee854 mantissa like
14887         low word of IBM long double and mask off bit when testing for
14888         zero.
14889         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14890         all uses of ieee875 long double macros and unions.  Simplify tests
14891         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14892         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14893         two1022, instead use their values.  Recognise that tests for large
14894         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14895         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14896         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14897         test for 0.0L and nan.  Correct negation.
14898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14899         ieee875 long double macros and unions.  Correct output for large
14900         magnitude x.  Correct absolute value calculation.
14901         (__erfcl): Likewise.
14902         * math/libm-test.inc: Add tests for errors discovered in IBM long
14903         double versions of fmodl, remainderl, erfl and erfcl.
14904
14905 2013-10-04  Alan Modra  <amodra@gmail.com>
14906
14907         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14908         all uses of ieee854 long double macros and unions.  Simplify tests
14909         for long doubles that are fully specified by the high double.
14910         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14911         Likewise.
14912         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14913         Remove dead code too.
14914         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14915         (__ieee754_ynl): Likewise.
14916         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14917         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14918         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14919         Remove dead code too.
14920         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14921         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14923         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14924         Simplify.
14925         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14926         Simplify.
14927         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14928         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14930         Comment on variable precision.
14931         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14932         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14933         Likewise.
14934         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14938         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14939
14940 2013-10-04  Alan Modra  <amodra@gmail.com>
14941
14942         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14943         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14944         all uses of ieee854 long double macros and unions.
14945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14947         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14948         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14949         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14950         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14951         Likewise.
14952         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14953         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14954         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14956         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14957         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14958         Simplify sign and nan test too.
14959         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14960         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14961         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14963         Likewise.
14964         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14965         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14966         Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14968         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14969         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14970         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14971         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14972         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14973
14974 2013-10-04  Alan Modra  <amodra@gmail.com>
14975
14976         * stdio-common/printf_size.c (__printf_size): Don't use
14977         union ieee854_long_double in fpnum union.
14978         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14979         signbit macro to retrieve sign from long double.
14980         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14981         retrieve sign from long double.
14982         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14983         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14984         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14985         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14986         * math/test-misc.c (main): Don't use union ieee854_long_double.
14987
14988 2013-10-04  Alan Modra  <amodra@gmail.com>
14989
14990         [BZ #15680]
14991         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14992         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14993         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14994         calculation.  Remove unnecessary test for denormal exponent.
14995         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14996         Correct handling of denormals.  Avoid undefined shift behaviour.
14997         Correct normalisation of low mantissa when low double is denormal.
14998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14999         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15000         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15001         Correct normalisation of low mantissa.  Test for overflow of high
15002         mantissa and normalise.
15003         (ldbl_nearbyint): Use more readable constant for two52.
15004         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15005         (__mpn_construct_long_double): Fix test for overflow of high
15006         mantissa and correct normalisation.  Avoid undefined shift.
15007
15008 2013-10-04  Alan Modra  <amodra@gmail.com>
15009
15010         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15011         (union ibm_extended_long_double): Define as an array of ieee754_double.
15012         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15013         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15014         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15015         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15016         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15017         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15019         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15020         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15021         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15023
15024 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15025
15026         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15027         page size instead of calling getpagesize.
15028
15029         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15030         (LOCFILE_ALIGN_MASK): Likewise.
15031         (LOCFILE_ALIGN_UP): Likewise.
15032         (LOCFILE_ALIGNED_P): Likewise.
15033         * locale/programs/ld-collate.c (collate_output): Use the new
15034         macros instead of __alignof__ (int32_t).
15035         * locale/weight.h (findidx): Likewise.
15036
15037 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15038
15039         [BZ #431]
15040         * manual/string.texi: Fix strncat and wcsncat.
15041
15042 2013-10-03  Brooks Moses  <bmoses@google.com>
15043
15044         [BZ #15915]
15045         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15046         * Makerules: ...here, and adjust associated comments.
15047
15048 2013-10-02  Will Newton  <will.newton@linaro.org>
15049
15050         * malloc/Makefile: Add tst-pvalloc.
15051         * malloc/tst-pvalloc.c: New file.
15052
15053 2013-10-02  Will Newton  <will.newton@linaro.org>
15054
15055         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15056         improve test coverage.
15057
15058 2013-10-02  Will Newton  <will.newton@linaro.org>
15059
15060         * malloc/Makefile: Add tst-posix_memalign.
15061         * malloc/tst-posix_memalign.c: New file.
15062
15063 2013-10-01  Eric Blake  <eblake@redhat.com>
15064
15065         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15066         Use __THROWNL rather than __THROW on static functions.
15067
15068 2013-09-30  Petr Machata  <pmachata@redhat.com>
15069
15070         * elf/elf.h (R_AARCH64_ABS16): New macro.
15071         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15072         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15073         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15074         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15075         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15076         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15077         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15078         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15079         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15080         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15081         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15082         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15083         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15084         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15085         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15086         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15087         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15088         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15089         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15090         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15091         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15092         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15093         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15094         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15095         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15096         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15097         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15098         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15099         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15100         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15101         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15102         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15103         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15104         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15105         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15106         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15107         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15108         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15109         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15110         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15111         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15112         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15113         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15114         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15115         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15116         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15117         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15118         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15119         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15120         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15121         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15122         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15123         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15124         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15125         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15126         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15127         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15128         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15129         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15130         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15131         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15132         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15133         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15134         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15135         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15136         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15137         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15138         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15139         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15140         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15141         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15142         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15143         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15144         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15145         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15146         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15147         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15148         (R_AARCH64_TLSDESC_LDR): Likewise.
15149         (R_AARCH64_TLSDESC_ADD): Likewise.
15150         (R_AARCH64_TLSDESC_CALL): Likewise.
15151
15152 2013-09-30  Andreas Schwab  <schwab@suse.de>
15153
15154         [BZ #15048]
15155         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15156         the nss database lookup.
15157         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15159
15160 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15161
15162         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15163
15164 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15165
15166         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15167         ${Bash-specific parameter/pattern/string} parameter expansion.
15168         * sysdeps/unix/make-syscalls.sh: Likewise.
15169
15170 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15171
15172         * sysdeps/sh/stackguard-macros.h: New file.
15173
15174 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15175
15176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15178         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15179         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15180         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15181         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15182
15183 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15184
15185         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15186         Fix thread ID register.
15187
15188 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15189
15190         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15191         [POSIX || UNIX98]: Require rather than permitting all symbols from
15192         <time.h>.
15193         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15194         element of struct sched_param.
15195         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15196         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15197         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15198         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15199         constant.
15200
15201 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15202
15203         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15204         argument calculation.
15205
15206 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15207
15208         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15209         Expect macro.
15210         [POSIX] (pthread_attr_t): Do not require type.
15211         [POSIX] (pthread_cond_t): Likewise.
15212         [POSIX] (pthread_condattr_t): Likewise.
15213         [POSIX] (pthread_key_t): Likewise.
15214         [POSIX] (pthread_mutex_t): Likewise.
15215         [POSIX] (pthread_mutexattr_t): Likewise.
15216         [POSIX] (pthread_once_t): Likewise.
15217         [POSIX] (pthread_t): Likewise.
15218         [POSIX-based standards] (pthread_atfork): Expect function.
15219
15220 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15221             Richard Sandiford  <richard@codesourcery.com>
15222
15223         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15224         (swap_endianness_p): New extern variable.
15225         (set_big_endian): New inline function.
15226         (maybe_swap_uint32): Likewise.
15227         (maybe_swap_uint32_array): Likewise.
15228         (maybe_swap_uint32_obstack): Likewise.
15229         * locale/programs/locfile.c: Include <stdbool.h>.
15230         (swap_endianness_p): New variable.
15231         (add_locale_uint32): Call maybe_swap_uint32.
15232         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15233         (write_locale_data): Call maybe_swap_uint32_array.
15234         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15235         maybe_swap_uint32.
15236         (obstack_int32_grow_fast): Likewise.
15237         (output_weightwc): Call maybe_swap_uint32_obstack.
15238         (collate_output): Likewise.
15239         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15240         (OPT_LITTLE_ENDIAN): Likewise.
15241         (options): Add --little-endian and --big-endian options.
15242         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15243         * locale/programs/locarchive.c: Include "locfile.h".
15244         (GET): New macro.
15245         (SET): Likewise.
15246         (INC): Likewise.
15247         (create_archive): Use the new macros to access fields of
15248         structures directly mapped from or written to locale archives.
15249         (oldlocrecentcmp): Likewise.
15250         (enlarge_archive): Likewise.
15251         (insert_name): Likewise.
15252         (add_alias): Likewise.
15253         (add_locale): Likewise.
15254         (delete_locales_from_archive): Likewise.
15255         (show_archive_content): Likewise.
15256         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15257         locale data.
15258
15259 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15260
15261         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15262         http://www.gnu.org/doc/freemanuals.texi.
15263         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15264
15265 2013-09-24  Will Newton  <will.newton@linaro.org>
15266
15267         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15268         macro.
15269
15270 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15271
15272         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15273         unsigned char.
15274
15275 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15276
15277         * manual/threads.texi (POSIX Threads): Fix a typo.
15278
15279 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15280
15281         [BZ #14547]
15282         * string/tst-strcoll-overflow.c: New test case.
15283         * string/Makefile (xtests): Add tst-strcoll-overflow.
15284         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15285         cache if string sizes may cause integer overflow.
15286
15287         [BZ #14547]
15288         * string/strcoll_l.c (coll_seq): New members rule, idx,
15289         save_idx and back_us.
15290         (get_next_seq_nocache): New function.
15291         (do_compare_nocache): New function.
15292         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15293         when malloc fails.
15294
15295 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15296
15297         [BZ #15754]
15298         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15299         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15300         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15301
15302         [BZ #15754]
15303         * elf/Makefile (tests): Add tst-ptrguard1.
15304         (tests-static): Add tst-ptrguard1-static.
15305         (tst-ptrguard1-ARGS): Define.
15306         (tst-ptrguard1-static-ARGS): Define.
15307         * elf/tst-ptrguard1.c: New file.
15308         * elf/tst-ptrguard1-static.c: New file.
15309         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15310         * sysdeps/i386/stackguard-macros.h: Likewise.
15311         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15312         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15313         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15314         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15315         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15316         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15317
15318 2013-09-23  Hector Marco  <hecmargi@upv.es>
15319             Ismael Ripoll  <iripoll@disca.upv.es>
15320             Carlos O'Donell  <carlos@redhat.com>
15321
15322         [BZ #15754]
15323         * sysdeps/generic/stackguard-macros.h: Define
15324         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15325         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15326         Define __pointer_chk_guard_local.
15327         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15328         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15329
15330 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15331
15332         [BZ #15859]
15333         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15334
15335 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15336
15337         * include/string.h (__ffs): Declare as hidden.
15338         * string/ffs.c (__ffs): Define as hidden.
15339         * sysdeps/i386/ffs.c (__ffs): Likewise.
15340         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15341         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15342         * sysdeps/s390/ffs.c (__ffs): Likewise.
15343         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15344
15345 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15346
15347         * NEWS: Mention malloc probes.
15348
15349         * malloc/arena.c (new_heap): New memory_heap_new probe.
15350         (grow_heap): New memory_heap_more probe.
15351         (shrink_heap): New memory_heap_less probe.
15352         (heap_trim): New memory_heap_free probe.
15353         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15354         (systrim): New memory_sbrk_less probe.
15355         * manual/probes.texi: Document them.
15356
15357         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15358         * manual/probes.texi: Document it.
15359
15360         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15361         (__libc_realloc): Add memory_realloc_retry probe.
15362         (__libc_memalign): Add memory_memalign_retry probe.
15363         (__libc_valloc): Add memory_valloc_retry probe.
15364         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15365         (__libc_calloc): Add memory_calloc_retry probe.
15366         * manual/probes.texi: Document them.
15367
15368         * malloc/arena.c (get_free_list): Add probe
15369         memory_arena_reuse_free_list.
15370         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15371         and memory_arena_reuse.
15372         (arena_get2) [!PER_THREAD]: Likewise.
15373         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15374         memory_arena_reuse_realloc.
15375         * manual/probes.texi: Document them.
15376
15377         * malloc/malloc.c (__libc_free): Add
15378         memory_mallopt_free_dyn_thresholds probe.
15379         (__libc_mallopt): Add multiple memory_mallopt probes.
15380         * manual/probes.texi: Document them.
15381
15382         * malloc/malloc.c: Include stap-probe.h.
15383         (__libc_mallopt): Add memory_mallopt probe.
15384         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15385         * manual/probes.texi: New.
15386         * manual/Makefile (chapters): Add probes.
15387         * manual/threads.texi: Set next node.
15388
15389 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15390
15391         [BZ #15963, #13985]
15392         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15393         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15394         Add `Chinese' to `nan' entry name.
15395
15396 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15397
15398         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15399         (POLYNOMIAL): Likewise.
15400         (TAYLOR_SINCOS): Likewise.
15401         (TAYLOR_SLOW): Likewise.
15402         (__sin): Use TAYLOR_SINCOS.
15403         (__cos): Likewise.
15404         (slow): Use TAYLOR_SLOW.
15405         (sloww): Likewise.
15406         (bsloww): Likewise.
15407         (csloww): Likewise.
15408
15409 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15410
15411         * stdlib/strtod_l.c: Fix buffer overrun.
15412
15413 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15414
15415         * benchtests/Makefile (bench): Add sincos.
15416         * benchtests/bench-sincos.c: New file.
15417
15418         * math/libm-test.inc (cos_test_data): New test inputs.
15419         (sin_test_data): Likewise.
15420
15421         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15422         macro.
15423         (__sin): Use it.
15424         (__cos): Likewise.
15425         (slow1): Likewise.
15426         (slow2): Likewise.
15427         (sloww1): Likewise.
15428         (sloww2): Likewise.
15429         (bsloww1): Likewise.
15430         (bsloww2): Likewise.
15431         (cslow2): Likewise.
15432         (csloww1): Likewise.
15433         (csloww2): Likewise.
15434
15435         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15436         function.
15437         (__sin): Use it.
15438         (__cos): Likewise.
15439
15440         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15441         gotos.
15442         (__cos): Likewise.
15443
15444 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15445
15446         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15447         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15448         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15449         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15450         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15451         * elf/cache.c (print_entry): Handle the new cache flags.
15452
15453 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15454             Aldy Hernandez  <aldyh@redhat.com>
15455
15456         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15457         Change condition to [_SOFT_FLOAT].
15458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15470         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15473         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15474         declaration.
15475
15476 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15477
15478         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15479         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15480         (__longjmp): Use LOAD_GP to load saved GPRs.
15481         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15482         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15483         (__sigsetjmp): Use SAVE_GP to save GPRs.
15484
15485         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15486         Do not append -msoft-float.
15487         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15488
15489 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15490
15491         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15492
15493 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15494
15495         [BZ #15966]
15496         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15497         (_FPU_GETCW): Use initial "__" on variable and field names but not
15498         on macro parameter name.
15499         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15500         parentheses around reference to macro parameter.
15501
15502 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15503
15504         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15505         prototype.
15506         (ctype_startup): Use uint32_t in cast and sizeof for
15507         ctype->charnames.
15508
15509 2013-09-11  Jia Liu  <proljc@gmail.com>
15510
15511         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15512         __daddr_t_defined.
15513         [__FreeBSD__]: Likewise.
15514
15515 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15516
15517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15518         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15519         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15520         (strchr): Remove __strchr_sse42 ifunc selection.
15521         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15522         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15523
15524 2013-09-11  Will Newton  <will.newton@linaro.org>
15525
15526         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15527         parameter to RES. Remove hardcoded 1000 value.
15528         * benchtests/bench-skeleton.c (main): Pass RES parameter
15529         to TIMING_INIT and multiply result by 1000.
15530
15531 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15532
15533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15534
15535 2013-09-11  Andreas Schwab  <schwab@suse.de>
15536
15537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15538         if not defined.
15539         (O_TMPFILE) [__USE_GNU]: Define.
15540         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15541         Define.
15542
15543 2013-09-11  Will Newton  <will.newton@linaro.org>
15544
15545         [BZ #15857]
15546         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15547         does not overflow.
15548
15549 2013-09-11  Will Newton  <will.newton@linaro.org>
15550
15551         [BZ #15856]
15552         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15553         does not overflow.
15554
15555 2013-09-11  Will Newton  <will.newton@linaro.org>
15556
15557         [BZ #15855]
15558         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15559         does not overflow.
15560
15561 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15562
15563         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15564         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15565         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15566         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15567         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15568
15569 2013-09-10  Allan McRae  <allan@archlinux.org>
15570
15571         [BZ #15748]
15572         * manual/arith.texi (Parsing of Floats): Clarify
15573         cross-reference.
15574
15575         [BZ #15849]
15576         * manual/install.texi (Running make install): Mention
15577         --enable-pt-chown.
15578         * INSTALL: Regenerated.
15579
15580 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15581
15582         * csu/init-first.c (_init): Remove the !SHARED condition around
15583         FPU control word initialization.
15584         * elf/dl-support.c (_dl_fpu_control): New variable.
15585         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15586         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15587         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15588         * math/test-fpucw-static.c: New file.
15589         * math/test-fpucw-ieee.c: New file.
15590         * math/test-fpucw-ieee-static.c: New file.
15591         * math/Makefile (tests): Add `test-fpucw-ieee' and
15592         `$(tests-static)'.
15593         (tests-static): New variable.
15594         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15595         dependency to...
15596         [($(build-shared),yes)]
15597         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15598         ... this.
15599         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15600         New dependency.
15601
15602 2013-09-09  Allan McRae  <allan@archlinux.org>
15603
15604         [BZ #15939]
15605         * manual/string.texi (Collation Functions): Fix typo in
15606         strcoll example.
15607         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15608
15609         [BZ #15893]
15610         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15611
15612         [BZ #15892]
15613         * libio/memstream.c (open_memstream): Fix memory leak.
15614         * libio/wmemstream.c (open_wmemstream): Likewise.
15615
15616         [BZ #15895]
15617         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15618
15619 2013-09-09  Will Newton  <will.newton@linaro.org>
15620
15621         * malloc/Makefile: Add tst-realloc to tests.
15622         * malloc/tst-realloc.c: New file.
15623
15624 2013-09-09  Allan McRae  <allan@archlinux.org>
15625
15626         [BZ #15844]
15627         * COPYING: Update from GNU website to fix FSF address.
15628         * COPYING.LIB: Likewise.
15629
15630 2013-09-06  David S. Miller  <davem@davemloft.net>
15631
15632         * po/zh_TW.po: Update Chinese (traditional) translation from
15633         translation project.
15634
15635 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15636             Joseph Myers  <joseph@codesourcery.com>
15637
15638         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15639         "localeinfo.h".
15640         (obstack_chunk_alloc): New macro.
15641         (obstack_chunk_free): Likewise.
15642         (record_offset): New function.
15643         (init_locale_data): Likewise.
15644         (align_locale_data): Likewise.
15645         (add_locale_empty): Likewise.
15646         (add_locale_raw_data): Likewise.
15647         (add_locale_raw_obstack): Likewise.
15648         (add_locale_string): Likewise.
15649         (add_locale_wstring): Likewise.
15650         (add_locale_uint32): Likewise.
15651         (add_locale_uint32_array): Likewise.
15652         (add_locale_char): Likewise.
15653         (start_locale_structure): Likewise.
15654         (end_locale_structure): Likewise.
15655         (start_locale_prelude): Likewise.
15656         (end_locale_prelude): Likewise.
15657         (write_locale_data): Take locale_file structure rather than an
15658         iovec.
15659         * locale/programs/locfile.h: Include "obstack.h".
15660         (struct locale_file): Change to store locale file contents instead
15661         of header.
15662         (init_locale_data): New prototype.
15663         (align_locale_data): Likewise.
15664         (add_locale_empty): Likewise.
15665         (add_locale_raw_data): Likewise.
15666         (add_locale_raw_obstack): Likewise.
15667         (add_locale_string): Likewise.
15668         (add_locale_wstring): Likewise.
15669         (add_locale_uint32): Likewise.
15670         (add_locale_uint32_array): Likewise.
15671         (add_locale_char): Likewise.
15672         (start_locale_structure): Likewise.
15673         (end_locale_structure): Likewise.
15674         (start_locale_prelude): Likewise.
15675         (end_locale_prelude): Likewise.
15676         (write_locale_data): Update prototype.
15677         * locale/programs/3level.h (struct TABLE): Remove result field.
15678         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15679         Use new locale_file interface.
15680         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15681         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15682         * locale/programs/ld-address.c (address_output): Use new
15683         locale_file interface.
15684         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15685         NO_ADD_LOCALE.
15686         (collate_finish): Don't call collseq_table_finalize.
15687         (collate_output): Use new locale_file interface.
15688         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15689         in file.
15690         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15691         (TABLE): Move defines earlier in file.
15692         (ELEMENT): Likewise.
15693         (DEFAULT): Likewise.
15694         (wctrans_table_add): Move macro and inline function earlier in
15695         file.
15696         (struct wctype_table): Move type earlier in file.
15697         (add_locale_wctype_table): New static prototype.
15698         (struct locale_ctype_t): Use logical types instead of struct iovec
15699         pointers for members.
15700         (ctype_output): Use new locale_file interface.
15701         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15702         new locale_file interface.
15703         (allocate_arrays): Update for use of new locale_file interface.
15704         * locale/programs/ld-identification.c (identification_output): Use
15705         new locale_file interface.
15706         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15707         * locale/programs/ld-messages.c (messages_output): Likewise.
15708         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15709         * locale/programs/ld-name.c (name_output): Likewise.
15710         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15711         * locale/programs/ld-paper.c (paper_output): Likewise.
15712         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15713         * locale/programs/ld-time.c (time_output): Likewise.
15714
15715 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15716
15717         * benchtests/Makefile: Add memrchr benchmark.
15718         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15719         benchmark as memrchr.
15720         * benchtests/bench-memrchr-ifunc.c: New file.
15721         * benchtests/bench-memrchr.c: New file.
15722
15723 2013-09-06   Will Newton  <will.newton@linaro.org>
15724
15725         * benchtests/Makefile (string-bench): Add memcpy.
15726
15727 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15728             Cong Wang  <amwang@redhat.com>
15729
15730         [BZ #15850]
15731         * sysdeps/unix/sysv/linux/bits/in.h
15732         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15733         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15734         before __USE_KERNEL_IPV6_DEFS uses.
15735         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15736         IPPROTO_BEETPH.
15737         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15738         sockaddr_in6, or ipv6_mreq.
15739
15740 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15741
15742         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15743         memory access for final bytes in some large inputs.
15744         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15745
15746 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15747
15748         * string/test-memrchr.c: New file.
15749         * string/test-memrchr-ifunc.c: New file.
15750         * string/Makefile: Add new memrchr testcase.
15751
15752 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15753
15754         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15755         fanotify_init returns EPERM.
15756
15757 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15758
15759         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15760         errors.
15761         (top level): Treat second token from macro or constant entries for
15762         allowed headers as allowed.
15763         * include/complex.h: Condition internal declarations on
15764         [!_ISOMAC].
15765         * include/fenv.h: Condition include of <stdbool.h> and internal
15766         declarations on [!_ISOMAC].
15767
15768 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15769
15770         [BZ #15923]
15771         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15772
15773 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15774
15775         * configure.in (--enable-versioning): Remove configure option.
15776         (libc_cv_asm_symver_directive): Remove configure test.
15777         (libc_cv_ld_version_script_option): Likewise.
15778         (VERSIONING): Remove variable and AC_SUBST.
15779         (DO_VERSIONING): Remove AC_DEFINE.
15780         * configure: Regenerated.
15781         * config.h.in (DO_VERSIONING): Remove macro.
15782         * Makerules [$(versioning) = yes]: Change conditionals to
15783         [$(build-shared) = yes].
15784         * config.make.in (versioning): Remove variable.
15785         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15786         [$(build-shared) = yes].
15787         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15788         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15789         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15790         [$(build-shared) = yes].
15791         * extra-lib.mk [$(versioning) = yes]: Likewise.
15792         * hurd/Makefile [$(versioning) = yes]: Likewise.
15793         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15794         [SHARED].
15795         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15796         [SHARED].
15797         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15798         [SHARED && !NO_HIDDEN].
15799         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15800         [SHARED].
15801         [SHARED && DO_VERSIONING]: Likewise..
15802         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15803         [$(build-shared) = yes].
15804         * manual/install.texi (--disable-versioning): Remove
15805         documentation.
15806         * INSTALL: Regenerated.
15807         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15808         to [SHARED].
15809         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15810         [$(build-shared) = yes].
15811         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15812         * sysdeps/i386/i686/multiarch/strstr-c.c
15813         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15814         [SHARED && !NO_HIDDEN].
15815         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15816         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15817         * sysdeps/powerpc/powerpc32/dl-machine.c
15818         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15819         * sysdeps/powerpc/powerpc32/sysdep.h
15820         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15821         to [SHARED && PIC && !NO_HIDDEN].
15822         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15823         conditional to [SHARED].
15824
15825 2013-09-04   Will Newton  <will.newton@linaro.org>
15826
15827         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15828         * benchtests/bench-string.h: Include bench-timing.h instead
15829         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15830         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15831         call to HP_TIMING_DIFF_INIT.
15832         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15833         instead of hp-timing.h macros.
15834         * benchtests/bench-memchr.c: Likewise.
15835         * benchtests/bench-memcmp.c: Likewise.
15836         * benchtests/bench-memcpy.c: Likewise.
15837         * benchtests/bench-memmem.c: Likewise.
15838         * benchtests/bench-memmove.c: Likewise.
15839         * benchtests/bench-memset.c: Likewise.
15840         * benchtests/bench-rawmemchr.c: Likewise.
15841         * benchtests/bench-strcasecmp.c: Likewise.
15842         * benchtests/bench-strcasestr.c: Likewise.
15843         * benchtests/bench-strcat.c: Likewise.
15844         * benchtests/bench-strchr.c: Likewise.
15845         * benchtests/bench-strcmp.c: Likewise.
15846         * benchtests/bench-strcpy.c: Likewise.
15847         * benchtests/bench-strcpy_chk.c: Likewise.
15848         * benchtests/bench-strlen.c: Likewise.
15849         * benchtests/bench-strncasecmp.c: Likewise.
15850         * benchtests/bench-strncat.c: Likewise.
15851         * benchtests/bench-strncmp.c: Likewise.
15852         * benchtests/bench-strncpy.c: Likewise.
15853         * benchtests/bench-strnlen.c: Likewise.
15854         * benchtests/bench-strpbrk.c: Likewise.
15855         * benchtests/bench-strrchr.c: Likewise.
15856         * benchtests/bench-strspn.c: Likewise.
15857         * benchtests/bench-strstr.c: Likewise.
15858
15859 2013-09-04  Will Newton  <will.newton@linaro.org>
15860
15861         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15862
15863 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15864
15865         [BZ #15427]
15866         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15867         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15868         * math/libm-test.inc (lgamma_test_data): Add more tests.
15869         * sysdeps/i386/fpu/libm-test-ulps: Update.
15870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15871
15872 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15873
15874         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15876         Add ifunc.
15877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15878         Add strcmp-sse2-unaligned
15879         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15880
15881 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15882
15883         * Versions.def (libc): Add GLIBC_2.19.
15884
15885 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15886
15887         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15888         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15889
15890 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15891
15892         [BZ #14155]
15893         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15894         intermediate calculations in recurrence.
15895         (__ieee754_ynf): Likewise.
15896         * math/libm-test.inc (jn_test_data): Do not allow spurious
15897         underflow exception.  Add more tests.
15898         (yn_test_data): Add more tests.
15899         * sysdeps/i386/fpu/libm-test-ulps: Update.
15900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15901
15902 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15903
15904         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15905
15906 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15907
15908         * csu/init-first.c: Fix then/than typos.
15909         * locale/programs/ld-collate.c: Likewise.
15910         * locale/programs/linereader.h: Likewise.
15911         * manual/charset.texi: Likewise.
15912         * manual/filesys.texi: Likewise.
15913         * manual/stdio.texi: Likewise.
15914         * manual/string.texi: Likewise.
15915         * stdlib/fmtmsg.c: Likewise.
15916         * sysdeps/i386/stpncpy.S: Likewise.
15917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15918         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15919         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15920         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15921
15922 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15923
15924         * elf/dl-open.c: Fix typos.
15925         * iconvdata/gbbig5.c: Likewise.
15926         * iconvdata/iso-2022-jp.c: Likewise.
15927         * iconv/gconv_int.h: Likewise.
15928         * iconv/loop.c: Likewise.
15929         * nis/rpcsvc/nis.h: Likewise.
15930         * resolv/ns_name.c: Likewise.
15931         * stdio-common/vfscanf.c: Likewise.
15932         * streams/stropts.h: Likewise.
15933         * sunrpc/rpc_thread.c: Likewise.
15934         * sysdeps/i386/strpbrk.S: Likewise.
15935         * sysdeps/ieee754/k_standard.c: Likewise.
15936         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15937         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15938         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15939         * sysdeps/mach/hurd/profil.c: Likewise.
15940         * sysdeps/s390/dl-procinfo.h: Likewise.
15941         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15942         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15943         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15944         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15945         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15946
15947 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15948
15949         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15951
15952 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15953
15954         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15955         aix specific files.
15956         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15957         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15958         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15959         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15960         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15961         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15962         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15963         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15964
15965 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15966             Roland McGrath  <roland@hack.frob.com>
15967
15968         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15969         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15970
15971 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15972
15973         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15974         __executable_start symbol instead of _start.
15975
15976 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15977
15978         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15979         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15980         Move macros to...
15981         * sysdeps/gnu/ldsodefs.h: ... this new file.
15982
15983         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15984         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15985         instead of ELFOSABI_LINUX.
15986
15987         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15988         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15989         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15990         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15991         Likewise.
15992         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15993         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15994         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15995         Likewise.
15996         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15997         (ibm_extended_long_double): Add ieee_nan member.
15998         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15999         (do_test): New function.
16000
16001         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16002         TEST_TRUNC.
16003         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16004         functions, renamed from truncdfsf_test, trunctfsf_test,
16005         trunctfdf_test.
16006         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16007         functions.
16008         (do_test): Run all these.
16009
16010 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16011
16012         * argp/argp-help.c: Fix typos.
16013         * argp/argp-parse.c: Likewise.
16014         * debug/backtracesyms.c: Likewise.
16015         * elf/elf.h: Likewise.
16016         * malloc/malloc.c: Likewise.
16017         * nis/nis_print.c: Likewise.
16018         * resolv/res_comp.c: Likewise.
16019         * stdlib/stdlib.h: Likewise.
16020         * sunrpc/clnt_tcp.c: Likewise.
16021         * sunrpc/clnt_udp.c: Likewise.
16022         * sunrpc/clnt_unix.c: Likewise.
16023         * sysdeps/unix/bsd/ptsname.c: Likewise.
16024         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16025         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16027         Likewise.
16028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16029         Likewise.
16030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16031         Likewise.
16032         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16033
16034 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16035
16036         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16038
16039 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16040
16041         [BZ #15897]
16042         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16043         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16044         ($(objpfx)bug-dl-leaf): New rule.
16045         ($(objpfx)bug-dl-leaf.so): Likewise.
16046         ($(objpfx)bug-dl-leaf.out): Likewise.
16047         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16048         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16049         * dlfcn/bug-dl-leaf.c: New test.
16050         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16051         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16052         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16053         (dlclose): Likewise.
16054         (dlmopen): Likewise.
16055
16056 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16057
16058         * include/netdb.h [!_ISOMAC]:
16059         Don't include <tls.h>.
16060         (h_errno, __libc_h_errno): Move declaration and macros out of
16061         [_LIBC_REENTRANT].
16062
16063         * include/resolv.h [_RESOLV_H_]:
16064         Don't include <tls.h>.
16065         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16066         * resolv/res_libc.c: Don't include <tls.h>.
16067         (_res): Use __attribute__ ((nocommon)) in place of
16068         __attribute__ ((section (".bss"))).
16069
16070         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16071         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16072
16073         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16074
16075         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16076         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16077
16078         * resolv/res_mkquery.c: Include <sys/time.h>.
16079
16080         * inet/ifreq.c: Moved to ...
16081         * sysdeps/unix/ifreq.c: ... here.
16082         * inet/ifreq.c: New file, true stub version.
16083
16084         * socket/sa_len.c: New file.
16085         * socket/Makefile (aux): Add it.
16086         * sysdeps/unix/sysv/linux/Makefile
16087         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16088         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16089         and #include <socket/sa_len.c>.
16090         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16091         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16092
16093         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16094         * bits/socket.h: ... here.
16095
16096         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16097         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16098         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16099
16100 2013-08-27  Andreas Schwab  <schwab@suse.de>
16101
16102         [BZ #15736]
16103         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16104         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16105         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16106         * string/test-strcasecmp.c (test_main): Run tests in several
16107         locales.
16108         * string/test-strncasecmp.c (test_main): Likewise.
16109
16110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16111         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16112         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16114         (__strncasecmp_ssse3) [PIC]: Likewise.
16115
16116 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16117
16118         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16119
16120         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16121         instead of explicitly declaring xdecrypt.
16122         * nis/nss_nis/nis-publickey.c: Likewise.
16123
16124 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16125
16126         [BZ #15890]
16127         * nscd/aicache.c: Include res_hconf.h.
16128         (addhstaiX): Initialize res_hconf.
16129
16130 2013-08-26  Andreas Schwab  <schwab@suse.de>
16131
16132         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16133         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16134
16135 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16136
16137         * nscd/aicache.c (addhstaiX): Fix indentation.
16138
16139 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16140
16141         * configure.ac: Quote $build_pt_chown test.
16142         * configure: Regenerated.
16143
16144 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16145
16146         [BZ #15532]
16147         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16148         * math/s_cexpf.c (__cexpf): Likewise.
16149         * math/s_cexpl.c (__cexpl): Likewise.
16150         * math/libm-test.inc (cexp_test_data): Correct expected return
16151         value for NaN + i0.  Add another test.
16152
16153 2013-08-22  David S. Miller  <davem@davemloft.net>
16154
16155         * po/ca.po: Update Catalan translation from translation project.
16156         * po/uk.po: Add Ukrainian translations from translation project.
16157
16158 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16159
16160         [BZ #15797]
16161         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16162         is infinite, not alongside NaN test.
16163         * math/s_fdimf.c (__fdimf): Likewise.
16164         * math/s_fdiml.c (__fdiml): Likewise.
16165         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16166         errno is unchanged.
16167
16168 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16169
16170         * argp/argp-help.c: Fix typos.
16171         * crypt/speeds.c: Likewise.
16172         * csu/check_fds.c: Likewise.
16173         * elf/dl-load.c: Likewise.
16174         * elf/dl-open.c: Likewise.
16175         * elf/reldep3.c: Likewise.
16176         * elf/reldep.c: Likewise.
16177         * elf/sprof.c: Likewise.
16178         * iconv/iconv_charmap.c: Likewise.
16179         * iconv/skeleton.c: Likewise.
16180         * iconv/strtab.c: Likewise.
16181         * io/lockf64.c: Likewise.
16182         * libio/libioP.h: Likewise.
16183         * resolv/gai_notify.c: Likewise.
16184         * resolv/ns_name.c: Likewise.
16185         * resolv/ns_samedomain.c: Likewise.
16186         * resolv/res_send.c: Likewise.
16187         * stdlib/random.c: Likewise.
16188         * sunrpc/rpc/xdr.h: Likewise.
16189         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16190         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16191         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16192         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16193         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16195         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16196         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16197         * sysdeps/mach/hurd/check_fds.c: Likewise.
16198         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16199         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16200         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16201         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16202         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16203         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16204         * sysdeps/pthread/aio_notify.c: Likewise.
16205         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16206         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16208         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16209         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16210
16211 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16212
16213         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16214         version if bit_Slow_SSE4_2 is set.
16215         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16216         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16217
16218 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16219
16220         [BZ #15867]
16221         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16222         trampoline stack frame information.
16223         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16224         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16225         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16226         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16227         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16228         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16229         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16230         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16231         sa_flags value.
16232         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16233         interrupting a syscall and set with option SA_SIGINFO.
16234
16235 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16236
16237         [BZ #15531]
16238         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16239         argument is infinite.
16240         * math/s_cprojf.c (__cprojf): Likewise.
16241         * math/s_cprojl.c (__cprojl): Likewise.
16242         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16243         * math/libm-test.inc (cproj_test_data): Add more tests.
16244
16245         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16246
16247         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16248         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16249         size.  Use __ffs to determine corresponding shift.
16250
16251 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16252             Roland McGrath  <roland@hack.frob.com>
16253
16254         * Makefile (INSTALL): Remove trailing blank lines from output of
16255         makeinfo.
16256
16257 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16258
16259         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16260         Align 32 bit compat elf_greg to 8 bytes.
16261
16262 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16263
16264         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16265
16266 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16267
16268         * string/strcoll_l.c (coll_seq): New structure.
16269         (get_next_seq_cached): New function.
16270         (get_next_seq): New function.
16271         (do_compare): New function.
16272         (STRCOLL): Use GNU style definition.  Simplify implementation
16273         by using get_next_seq, get_next_seq_cached and do_compare.
16274
16275 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16276
16277         [BZ #14699]
16278         CVE-2013-4237
16279         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16280         member.
16281         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16282         member.
16283         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16284         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16285         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16286         conditional.
16287         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16288         GETDENTS_64BIT_ALIGNED.
16289         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16290         * manual/filesys.texi (Reading/Closing Directory): Document
16291         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16292         strongly.
16293         * manual/conf.texi (Limits for Files): Add portability note to
16294         NAME_MAX, PATH_MAX.
16295         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16296
16297 2013-08-13  Andreas Schwab  <schwab@suse.de>
16298
16299         [BZ #15749]
16300         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16301         of fabs.
16302         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16303         LDBL_MAX_EXP >= 16384]: Add tests for it.
16304
16305 2013-08-12  David S. Miller  <davem@davemloft.net>
16306
16307         * version.h (RELEASE): Set to "development".
16308         (VERSION): Set to "2.18.90".
16309         * NEWS: Add 2.19 section.
16310
16311 2013-08-03  David S. Miller  <davem@davemloft.net>
16312
16313         * po/ko.po: Update Korean translation from translation project.
16314
16315 2013-08-01  David S. Miller  <davem@davemloft.net>
16316
16317         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16318         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16319         Bilka.
16320
16321 2013-07-30  David S. Miller  <davem@davemloft.net>
16322
16323         * po/fr.po: Update French translation from translation project.
16324
16325 2013-07-28  David S. Miller  <davem@davemloft.net>
16326
16327         * po/cs.po: Update Czech translation from translation project.
16328
16329         * po/sv.po: Update Swedish translation from translation project.
16330
16331 2013-07-27  David S. Miller  <davem@davemloft.net>
16332
16333         * po/eo.po: Update Esperanto translation from translation project.
16334
16335         * po/vi.po: Update Vietnamese translation from translation project.
16336
16337         * po/de.po: Update German translation from translation project.
16338
16339 2013-07-26  David S. Miller  <davem@davemloft.net>
16340
16341         * po/bg.po: Update Bulgarian translation from translation project.
16342
16343         * po/nl.po: Update Dutch translation from translation project.
16344         * po/pl.po: Update Polish translation from translation project.
16345         * po/ru.po: Update Russian translation from translation project.
16346
16347 2013-07-24  David S. Miller  <davem@davemloft.net>
16348
16349         * po/libc.pot: Update.
16350
16351 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16352
16353         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16354         variable page size.
16355         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16356         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16357         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16358
16359 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16360
16361         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16362
16363 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16364             Andreas Schwab  <schwab@suse.de>
16365             Roland McGrath  <roland@hack.frob.com>
16366             Joseph Myers  <joseph@codesourcery.com>
16367             Carlos O'Donell  <carlos@redhat.com>
16368
16369         [BZ #15755]
16370         * config.h.in: Define HAVE_PT_CHOWN.
16371         * config.make.in (build-pt-chown): New variable.
16372         * configure.in (--enable-pt_chown): New configure option.
16373         * configure: Regenerate.
16374         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16375         build-pt-chown is enabled.
16376         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16377         pt_chown to fix pty ownership.
16378         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16379         CLOSE_ALL_FDS.
16380         * manual/install.texi (Configuring and compiling): Mention
16381         --enable-pt_chown. Add @findex for grantpt.
16382         * INSTALL: Regenerate.
16383
16384 2013-07-20  David S. Miller  <davem@davemloft.net>
16385
16386         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16387         difference between 32-bit and 64-bit.
16388
16389 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16390
16391         [BZ #15711]
16392         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16393         Avoid system header dependency with -ffreestanding.
16394         ($(objpfx)bits/syscall%d): Likewise.
16395
16396 2013-07-13  David S. Miller  <davem@davemloft.net>
16397
16398         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16399         underflows from atanl/atan2l due to bug 15319.
16400         (casinh_test_data): Likewise.
16401
16402 2013-07-07  David S. Miller  <davem@davemloft.net>
16403
16404         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16405
16406 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16407
16408         * sysdeps/i386/fpu/libm-test-ulps: Update.
16409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16410
16411 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16412
16413         * configure.in (--enable-lock-elision): Fix message text.
16414         * INSTALL: Regenerate.
16415         * configure: Regenerate.
16416
16417 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16418
16419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16420
16421 2013-07-03  Andreas Jaeger  <aj@suse.de>
16422
16423         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16424         define.
16425         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16426         (ptrace_peeksiginfo_args): Add.
16427         (__ptrace_peeksiginfo_flags): Add.
16428         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16429         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16431
16432 2013-07-03  Allan McRae  <allan@archlinux.org>
16433
16434         * sysdeps/i386/fpu/libm-test-ulps: Update.
16435
16436 2013-07-02  David S. Miller  <davem@davemloft.net>
16437
16438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16439
16440 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16441
16442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16443
16444 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16445
16446         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16448
16449 2013-07-02  Andi Kleen <ak@linux.intel.com>
16450
16451         * config.h.in (ENABLE_LOCK_ELISION): Add.
16452         * configure.in (--enable-lock-elision): Add option.
16453         * manual/install.texi: Document --enable lock elision.
16454         * configure: Regenerate
16455         * INSTALL: Regenerate.
16456
16457 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16458
16459         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16460         SSE4.2 strcasecmp for libc.a.
16461         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16462
16463 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16464
16465         [BZ #13304]
16466         * soft-fp/op-common.h (_FP_FMA): New macro.
16467         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16468         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16469         (_FP_MUL_MEAT_1_imm): ... here.
16470         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16471         (_FP_MUL_MEAT_1_wide): ... here.
16472         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16473         (_FP_MUL_MEAT_1_hard): ... here.
16474         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16475         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16476         (_FP_MUL_MEAT_2_wide): ... here.
16477         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16478         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16479         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16480         (_FP_MUL_MEAT_2_gmp): ... here.
16481         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16482         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16483         (_FP_MUL_MEAT_4_wide): ... here.
16484         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16485         (_FP_MUL_MEAT_4_gmp): ... here.
16486         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16487         (_FP_WFRACBITS_DW_S): Likewise.
16488         (_FP_WFRACXBITS_DW_S): Likewise.
16489         (_FP_HIGHBIT_DW_S): Likewise.
16490         (FP_FMA_S): Likewise.
16491         (_FP_FRAC_HIGH_DW_S): Likewise.
16492         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16493         (_FP_WFRACBITS_DW_D): Likewise.
16494         (_FP_WFRACXBITS_DW_D): Likewise.
16495         (_FP_HIGHBIT_DW_D): Likewise.
16496         (FP_FMA_D): Likewise.
16497         (_FP_FRAC_HIGH_DW_D): Likewise.
16498         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16499         (_FP_WFRACBITS_DW_E): Likewise.
16500         (_FP_WFRACXBITS_DW_E): Likewise.
16501         (_FP_HIGHBIT_DW_E): Likewise.
16502         (FP_FMA_E): Likewise.
16503         (_FP_FRAC_HIGH_DW_E): Likewise.
16504         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16505         (_FP_WFRACBITS_DW_Q): Likewise.
16506         (_FP_WFRACXBITS_DW_Q): Likewise.
16507         (_FP_HIGHBIT_DW_Q): Likewise.
16508         (FP_FMA_Q): Likewise.
16509         (_FP_FRAC_HIGH_DW_Q): Likewise.
16510         * soft-fp/fmasf4.c: New file.
16511         * soft-fp/fmadf4.c: Likewise.
16512         * soft-fp/fmatf4.c: Likewise.
16513
16514 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16515
16516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16517         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16518         Silvermont.
16519         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16520         macro.
16521         (index_Slow_SSE4_2): Likewise.
16522         (index_Prefer_PMINUB_for_stringop): Likewise.
16523         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16524         bit_Slow_SSE4_2 is set.
16525         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16526         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16527
16528 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16529
16530         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16531         rtld_global._dl_hwcap2.
16532         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16533         POWER8.
16534         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16535         POWER8 feature descriptions defined in _dl_hwcap2.
16536         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16537         string handling for POWER8 feature bits.
16538         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16539         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16540         _dl_powerpc_cap_flags.
16541         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16542         * sysdeps/powerpc/rtld-global-offsets.sym
16543         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16544         _dl_hwcap2 in the rtld_global_ro structure.
16545
16546 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16547
16548         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16549         hardware capabilities in support of AT_HWCAP2.
16550         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16551         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16552         GLRO(dl_hwcap2).
16553         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16554         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16555         explicitly the unknown a_type display mechanism is used.
16556         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16557         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16558         struct member.
16559         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16560         to macro prototype for AT_HWCAP2 support.
16561         * sysdeps/i386/dl-procinfo.h: Likewise.
16562         * sysdeps/s390/dl-procinfo.h: Likewise.
16563         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16564         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16565         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16566         return -1 for unknown a_type display fallback.
16567         * sysdeps/sparc/dl-procinfo.h: Likewise.
16568         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16569         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16570
16571 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16572
16573         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16574         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16575
16576 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16577
16578         [BZ #12492]
16579         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16580         mprotect making __stack_prot writable.
16581
16582 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16583             Joseph Myers  <joseph@codesourcery.com>
16584
16585         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16586         as being properly aligned.
16587
16588 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16589
16590         * dlfcn/modstatic5.c: New file.
16591         * dlfcn/tststatic5.c: New file.
16592         * dlfcn/Makefile (tests): Add tststatic5.
16593         (tests-static): Likewise.
16594         (modules-names): Add modstatic5.
16595         (tststatic5-ENV): New variable.
16596         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16597
16598         [BZ #15022]
16599         * elf/dl-support.c (_dl_main_map): New variable.
16600         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16601         (_dl_nns, _dl_load_adds): Set to 1.
16602         (_dl_initial_searchlist): Refer to _dl_main_map.
16603         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16604         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16605         call to _dl_get_origin.
16606         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16607         around call_map.
16608         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16609         * dlfcn/modstatic3.c: New file.
16610         * dlfcn/tststatic3.c: New file.
16611         * dlfcn/tststatic4.c: New file.
16612         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16613         (tests-static): Likewise.
16614         (modules-names): Add modstatic3.
16615         (tststatic3-ENV, tststatic4-ENV): New variables.
16616         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16617         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16618
16619 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16620
16621         * configure.in (CC): Require GCC version 4.4 or later.
16622         * configure: Regenerated.
16623         * manual/install.texi (Tools for Compilation): Update GCC version
16624         requirement.
16625         * INSTALL: Regenerated.
16626
16627 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16628
16629         [BZ #15674]
16630         * string/test-memcmp.c (check2): New.
16631         (main): Call check2.
16632
16633         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16634
16635 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16636
16637         [BZ #15022]
16638         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16639         over to...
16640         (dl_open_worker) [!SHARED]: ... here.
16641
16642 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16643
16644         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16645
16646 2013-06-25  Richard Henderson  <rth@redhat.com>
16647
16648         * locale/programs/locarchive.c: Include <libc-internal.h>
16649
16650 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16651
16652         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16653         trailing whitespace removed.
16654
16655 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16656
16657         [BZ #10283]
16658         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16659         * locale/programs/locarchive.c: Include libc-mmap.h.
16660         (prepare_address_space): Take two new outputs (the mmap base and len).
16661         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16662         values.
16663         (create_archive): Declare new mmap base and len values for
16664         prepare_address_space, and store the result in ah.
16665         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16666         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16667         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16668         Declare new mmap base and len values for
16669         prepare_address_space, and store the result in new_ah.
16670         (open_archive): Declare new mmap base and len values for
16671         prepare_address_space, and store the result in ah.
16672         (close_archive): If ah->mmap_base is not NULL, use that and
16673         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16674         * sysdeps/generic/libc-mmap.h: New file.
16675
16676 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16677
16678         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16679         (ALIGN_UP): Likewise.
16680         (PTR_ALIGN_DOWN): Likewise.
16681         (PTR_ALIGN_UP): Likewise.
16682
16683 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16684
16685         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16686         entry mapped to PPC_PLATFORM_POWER8.
16687         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16688         POWER8.
16689         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16690         (_dl_string_platform): Add case for exporting platform position for
16691         POWER8.
16692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16693         search path to sysdeps/powerpc/powerpc32/power8 directory.
16694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16695         search path to sysdeps/powerpc/powerpc64/power8 directory.
16696         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16697         power7 directories.
16698         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16699         power7 directories.
16700
16701 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16702
16703         * INSTALL: Regenerate.
16704
16705         * nscd/connections.c (nscd_init): Fix comment.
16706
16707 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16708
16709         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16710
16711         [BZ #15667]
16712         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16713         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16714
16715 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16716
16717         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16718         DL_DST_REQ_STATIC.
16719         (DL_DST_REQ_STATIC): Remove macro.
16720
16721 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16722
16723         [BZ #7006]
16724         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16725         with a shift of 0 bits.
16726
16727 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16728
16729         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16730         $(tststatic-ENV).
16731
16732 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16733
16734         [BZ #15655]
16735         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16736
16737 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16738
16739         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16740         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16741         accepts -fno-tree-loop-distribute-patterns.
16742         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16743         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16744         recursive call.
16745         * string/memset.c (memset): Likewise.
16746         * string/test-memmove.c (simple_memmove): Disable loop transformation
16747         to library calls.
16748         * string/test-memset.c (simple_memset): Likewise.
16749         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16750         * benchtests/bench-memset.c (simple_memset): Likewise.
16751         * configure: Regenerated.
16752
16753 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16754
16755         * math/test-misc.c (main): Ignore fesetround failure when failures
16756         of subsequent rounding tests would be ignored.
16757
16758         [BZ #15654]
16759         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16760         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16761         * math/fegetenv.c (__fegetenv): Return 0.
16762         * math/fegetexcept.c (fegetexcept): Return 0.
16763         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16764         FE_TONEAREST.
16765         * math/feholdexcpt.c (feholdexcept): Return 0.
16766         * math/fesetenv.c (__fesetenv): Return 0.
16767         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16768         argument FE_TONEAREST.
16769         * math/feupdateenv.c (__feupdateenv): Return 0.
16770         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16771
16772 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16773
16774         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16775         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16776         ($(objpfx)rtld-%.os rules): Use them.
16777
16778 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16779
16780         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16781         fields.
16782
16783 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16784
16785         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16786         length of target pattern, then descending length of dependency pattern.
16787         * configure.in (AWK): Require gawk 3.1.2 or newer.
16788         * manual/install.texi (Tools for Compilation): Say that we do.
16789         * configure: Regenerated.
16790
16791         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16792         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16793         * scripts/sysd-rules.awk: ... this new script.
16794         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16795         than a glob-style pattern.
16796
16797 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16798
16799         * math/test-misc.c (main): Do not treat incorrectly rounded
16800         conversions as failure unless ROUNDING_TESTS passes.
16801
16802 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16803
16804         [BZ #15631]
16805         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16806         restore exception state around main square root computation, then
16807         check for inexactness explicitly.
16808
16809         * math/libm-test.inc (fma_test_data): Add another test.
16810
16811 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16812
16813         * manual/threads.texi (Non-POSIX Extensions): New document
16814         node.  Document pthread_getattr_default_np and
16815         pthread_setattr_default_np.
16816
16817         * Versions.def (libpthread): Add GLIBC_2.18.
16818         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16820         Likewise.
16821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16822         Likewise.
16823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16824         Likewise.
16825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16826         Likewise.
16827         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16828         Likewise.
16829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16832         Likewise.
16833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16834         Likewise.
16835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16836         Likewise.
16837
16838 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16839
16840         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16841         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16842
16843 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16844             H.J. Lu  <hjl.tools@gmail.com>
16845
16846         [BZ #15627]
16847         * sysdeps/x86_64/rtld-memset.c: Remove file.
16848         * sysdeps/x86_64/rtld-memset.S: New file.
16849
16850 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16851
16852         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16853         (test_in_one_mode): Take arguments for whether the rounding mode
16854         is supported for each floating-point type.
16855         (do_test): Pass new arguments to test_in_one_mode using
16856         ROUNDING_TESTS.
16857
16858 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16859
16860         * posix/tst-waitid.c (do_test): Distinguish different instances of
16861         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16862         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16863         before entering the kernel for waitpid.
16864
16865 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16866
16867         * NEWS: Fix note on clock function precision.  Text by Roland
16868         McGrath.
16869
16870 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16871
16872         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16873         it into place only when and if the sanity check passes.
16874
16875 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16876
16877         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16878         output for whether conversion result is exact.  Take argument
16879         indicating whether type is IBM long double.
16880         (round_for_all): Change need_exact field to ibm_ld.
16881         * stdlib/tst-strtod-round.c (struct exactness): New type.
16882         (struct test): Change bool ld_ok field to struct exactness exact.
16883         (TEST): Update all definitions for change to field.
16884         (tests): Regenerate array contents.
16885         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16886         field value.  Check for IBM long double here.
16887         (do_test): Update calls to test_in_one_mode.
16888
16889 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16890
16891         [BZ #12515]
16892         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16893         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16894
16895 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16896
16897         [BZ #15605]
16898         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16899         generated by the compiler on loop optimizations.
16900         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16901         general definitions.
16902
16903 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16904
16905         * math/bug-nextafter.c: Include <math-tests.h>.
16906         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16907         the relevant type.
16908         * math/bug-nexttoward.c: Include <math-tests.h>.
16909         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16910         the relevant type.
16911         * math/test-misc.c: Include <math-tests.h>.
16912         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16913         the relevant type.
16914
16915 2013-06-12  Andreas Jaeger  <aj@suse.de>
16916
16917         * po/ia.po: Update Interlingua translation from translation
16918         project.
16919
16920 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16921
16922         * include/fenv.h: Include stdbool.h.
16923         (struct rm_ctx): New structure.
16924         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16925         Define macro.
16926         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16927         (SET_RESTORE_ROUNDF): Likewise.
16928         (SET_RESTORE_ROUNDL): Likewise.
16929         (SET_RESTORE_ROUND_NOEX): Likewise.
16930         (SET_RESTORE_ROUND_NOEXF): Likewise.
16931         (SET_RESTORE_ROUND_NOEXL): Likewise.
16932         (SET_RESTORE_ROUND_53BIT): Likewise.
16933         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16934         (libc_feresetround_noexf_ctx): Likewise.
16935         (libc_feresetround_noexl_ctx): Likewise.
16936         (libc_feholdsetround_53bit_ctx): Likewise.
16937         (libc_feresetround_53bit_ctx): Likewise.
16938         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16939         (libc_feholdexcept_setround_sse_ctx): New function.
16940         (libc_fesetenv_sse_ctx): Likewise.
16941         (libc_feupdateenv_sse_ctx): Likewise.
16942         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16943         (libc_feholdexcept_setround_387_ctx): Likewise.
16944         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16945         (libc_feholdsetround_387_prec_ctx): Likewise.
16946         (libc_feholdsetround_387_ctx): Likewise.
16947         (libc_feholdsetround_387_53bit_ctx): Likewise.
16948         (libc_feholdsetround_sse_ctx): Likewise.
16949         (libc_feresetround_sse_ctx): Likewise.
16950         (libc_feresetround_387_ctx): Likewise.
16951         (libc_feupdateenv_387_ctx): Likewise.
16952         (libc_feholdexcept_setroundf_ctx): Define macro.
16953         (libc_fesetenvf_ctx): Likewise.
16954         (libc_feupdateenvf_ctx): Likewise.
16955         (libc_feholdsetroundf_ctx): Likewise.
16956         (libc_feresetroundf_ctx): Likewise.
16957         (libc_feholdexcept_setround_ctx): Likewise.
16958         (libc_fesetenv_ctx): Likewise.
16959         (libc_feupdateenv_ctx): Likewise.
16960         (libc_feholdsetround_ctx): Likewise.
16961         (libc_feresetround_ctx): Likewise.
16962         (libc_feholdexcept_setroundl_ctx): Likewise.
16963         (libc_feupdateenvl_ctx): Likewise.
16964         (libc_feholdsetroundl_ctx): Likewise.
16965         (libc_feresetroundl_ctx): Likewise.
16966         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16967         (libc_feresetround_53bit_ctx): Likewise.
16968
16969 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16970
16971         * locale/iso-639.def: Convert to UTF-8.
16972
16973 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16974
16975         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16976         (EXCEPTION_TESTS_double): Likewise.
16977         (EXCEPTION_TESTS_long_double): Likewise.
16978         (EXCEPTION_TESTS): Likewise.
16979         * math/libm-test.inc (test_exceptions): Only test exceptions if
16980         EXCEPTION_TESTS (FLOAT).
16981
16982 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16983
16984         * benchtests/Makefile (string-bench): Add strcpy_chk and
16985         stpcpy_chk.
16986         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16987         * benchtests/bench-stpcpy_chk.c: New file.
16988         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16989         * benchtests/bench-strcpy_chk.c: New file.
16990         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16991         code.
16992         (do_test): Likewise.
16993
16994 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16995
16996         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16997         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16998         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16999         with tabs where appropriate.
17000         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17001         dl-procinfo.h.
17002         [PPC_PLATFORM_PPC440]: Likewise.
17003         [PPC_PLATFORM_PPC464]: Likewise.
17004         [PPC_PLATFORM_PPC476]: Likewise.
17005         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17006         ppc464, and ppc476 platform strings merging from ports/
17007         dl-procinfo.h.
17008
17009 2013-06-11  Andreas Schwab  <schwab@suse.de>
17010
17011         [BZ #14991]
17012         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17013         (from_ucs4_idx): Regenerate.
17014         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17015         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17016         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17017         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17018         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17019         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17020         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17021         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17022         from FROM_LOOP and TO_LOOP specific macros.
17023         (BODY): Handle combining characters.
17024         * iconvdata/BIG5HKSCS.irreversible: Update.
17025         * iconvdata/BIG5HKSCS.precomposed: New file.
17026         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17027         characters.
17028         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17029
17030 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17031
17032         * include/sys/time.h: Fix indentation and add copyright header.
17033
17034         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17035         (do_test): Likewise.
17036         * string/test-memchr.c (do_one_test): Likewise.
17037         (do_test): Likewise.
17038         * string/test-memcmp.c (do_one_test): Likewise.
17039         (do_test): Likewise.
17040         * string/test-memcpy.c (do_one_test): Likewise.
17041         (do_test): Likewise.
17042         * string/test-memmem.c (do_one_test): Likewise.
17043         (do_test): Likewise.
17044         (do_random_tests): Likewise.
17045         * string/test-memmove.c (do_one_test): Likewise.
17046         (do_test): Likewise.
17047         * string/test-memset.c (do_one_test): Likewise.
17048         (do_test): Likewise.
17049         * string/test-rawmemchr.c (do_one_test): Likewise.
17050         (do_test): Likewise.
17051         * string/test-strcasecmp.c (do_one_test): Likewise.
17052         (do_test): Likewise.
17053         * string/test-strcasestr.c (do_one_test): Likewise.
17054         (do_test): Likewise.
17055         * string/test-strcat.c (do_one_test): Likewise.
17056         (do_test): Likewise.
17057         * string/test-strchr.c (do_one_test): Likewise.
17058         (do_test): Likewise.
17059         * string/test-strcmp.c (do_one_test): Likewise.
17060         (do_test): Likewise.
17061         * string/test-strcpy.c (do_one_test): Likewise.
17062         (do_test): Likewise.
17063         * string/test-string.h: Likewise.
17064         (test_init): Likewise.
17065         * string/test-strlen.c (do_one_test): Likewise.
17066         (do_test): Likewise.
17067         * string/test-strncasecmp.c (do_one_test): Likewise.
17068         (do_test): Likewise.
17069         * string/test-strncat.c (do_one_test): Likewise.
17070         (do_test): Likewise.
17071         * string/test-strncmp.c (do_one_test): Likewise.
17072         (do_test_limit): Likewise.
17073         (do_test): Likewise.
17074         * string/test-strncpy.c (do_one_test): Likewise.
17075         (do_test): Likewise.
17076         * string/test-strnlen.c (do_one_test): Likewise.
17077         (do_test): Likewise.
17078         * string/test-strpbrk.c (do_one_test): Likewise.
17079         (do_test): Likewise.
17080         * string/test-strrchr.c (do_one_test): Likewise.
17081         (do_test): Likewise.
17082         * string/test-strspn.c (do_one_test): Likewise.
17083         (do_test): Likewise.
17084         * string/test-strstr.c (do_one_test): Likewise.
17085         (do_test): Likewise.
17086
17087         * benchtests/Makefile (string-bench): Add string benchmarks.
17088         * benchtests/bench-bcopy-ifunc.c: New file.
17089         * benchtests/bench-bcopy.c: New file.
17090         * benchtests/bench-bzero-ifunc.c: New file.
17091         * benchtests/bench-bzero.c: New file.
17092         * benchtests/bench-memccpy-ifunc.c: New file.
17093         * benchtests/bench-memccpy.c: New file.
17094         * benchtests/bench-memchr-ifunc.c: New file.
17095         * benchtests/bench-memchr.c: New file.
17096         * benchtests/bench-memcmp-ifunc.c: New file.
17097         * benchtests/bench-memcmp.c: New file.
17098         * benchtests/bench-memmem-ifunc.c: New file.
17099         * benchtests/bench-memmem.c: New file.
17100         * benchtests/bench-memmove-ifunc.c: New file.
17101         * benchtests/bench-memmove.c: New file.
17102         * benchtests/bench-mempcpy-ifunc.c: New file.
17103         * benchtests/bench-mempcpy.c: New file.
17104         * benchtests/bench-memset-ifunc.c: New file.
17105         * benchtests/bench-memset.c: New file.
17106         * benchtests/bench-rawmemchr-ifunc.c: New file.
17107         * benchtests/bench-rawmemchr.c: New file.
17108         * benchtests/bench-stpcpy-ifunc.c: New file.
17109         * benchtests/bench-stpcpy.c: New file.
17110         * benchtests/bench-stpncpy-ifunc.c: New file.
17111         * benchtests/bench-stpncpy.c: New file.
17112         * benchtests/bench-strcasecmp-ifunc.c: New file.
17113         * benchtests/bench-strcasecmp.c: New file.
17114         * benchtests/bench-strcasestr-ifunc.c: New file.
17115         * benchtests/bench-strcasestr.c: New file.
17116         * benchtests/bench-strcat-ifunc.c: New file.
17117         * benchtests/bench-strcat.c: New file.
17118         * benchtests/bench-strchr-ifunc.c: New file.
17119         * benchtests/bench-strchr.c: New file.
17120         * benchtests/bench-strchrnul-ifunc.c: New file.
17121         * benchtests/bench-strchrnul.c: New file.
17122         * benchtests/bench-strcmp-ifunc.c: New file.
17123         * benchtests/bench-strcmp.c: New file.
17124         * benchtests/bench-strcpy-ifunc.c: New file.
17125         * benchtests/bench-strcpy.c: New file.
17126         * benchtests/bench-strcspn-ifunc.c: New file.
17127         * benchtests/bench-strcspn.c: New file.
17128         * benchtests/bench-strlen-ifunc.c: New file.
17129         * benchtests/bench-strlen.c: New file.
17130         * benchtests/bench-strncasecmp-ifunc.c: New file.
17131         * benchtests/bench-strncasecmp.c: New file.
17132         * benchtests/bench-strncat-ifunc.c: New file.
17133         * benchtests/bench-strncat.c: New file.
17134         * benchtests/bench-strncmp-ifunc.c: New file.
17135         * benchtests/bench-strncmp.c: New file.
17136         * benchtests/bench-strncpy-ifunc.c: New file.
17137         * benchtests/bench-strncpy.c: New file.
17138         * benchtests/bench-strnlen-ifunc.c: New file.
17139         * benchtests/bench-strnlen.c: New file.
17140         * benchtests/bench-strpbrk-ifunc.c: New file.
17141         * benchtests/bench-strpbrk.c: New file.
17142         * benchtests/bench-strrchr-ifunc.c: New file.
17143         * benchtests/bench-strrchr.c: New file.
17144         * benchtests/bench-strspn-ifunc.c: New file.
17145         * benchtests/bench-strspn.c: New file.
17146         * benchtests/bench-strstr-ifunc.c: New file.
17147         * benchtests/bench-strstr.c: New file.
17148
17149         * benchtests/Makefile: Disable parallel execution of targets.
17150         (string-bench): Add memcpy.
17151         (benchset): New variable to store a list of benchmark sets.
17152         (bench-func): Renamed from bench.
17153         (bench-set): New target.
17154         (bench): Depend on bench-func and bench-set.
17155         * benchtests/README: Add section on benchmark sets.
17156         * benchtests/bench-memcpy-ifunc.c: New file.
17157         * benchtests/bench-memcpy.c: New file.
17158         * benchtests/bench-string.h: New file.
17159
17160 2013-06-11  Andreas Schwab  <schwab@suse.de>
17161
17162         [BZ #15577]
17163         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17164         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17165         values in the triple.
17166         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17167         terminator in the group key.
17168
17169 2013-06-11  Andreas Jaeger  <aj@suse.de>
17170
17171         * po/zh_TW.po: Update Chinese (traditional) translation from
17172         translation project.
17173
17174 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17175
17176         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17177         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17178         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17179         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17180         (clock_getcpuclockid): Likewise.
17181         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17182         Add weak_alias and libc_hidden_def.
17183         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17184         * rt/clock_gettime.c (clock_gettime): Rename to
17185         __clock_gettime.  Add weak_alias and libc_hidden_def.
17186         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17187         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17188         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17189         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17190         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17191         Likewise.
17192         * rt/clock_settime.c (clock_settime): Rename to
17193         __clock_settime.  Add weak_alias and libc_hidden_def.
17194         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17195
17196 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17197
17198         * mach/err_boot.sub: Remove trailing whitespace.
17199         * mach/err_ipc.sub: Likewise.
17200         * mach/err_mach.sub: Likewise.
17201
17202         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17203         (ROUNDING_TESTS_double): Likewise.
17204         (ROUNDING_TESTS_long_double): Likewise.
17205         (ROUNDING_TESTS): Likewise.
17206         * math/libm-test.inc: Include <math-tests.h>.
17207         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17208         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17209         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17210         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17211
17212 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17213
17214         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17215         of assigning.
17216
17217 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17218
17219         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17220         otherwise empty TRANS lines.
17221         * sysdeps/gnu/errlist.c: Regenerated.
17222
17223         * catgets/gencat.c (error_print): Use (void) in function
17224         definition.
17225         * crypt/crypt_util.c (__init_des): Likewise.
17226         * crypt/speeds.c (Stop): Likewise.
17227         (main): Likewise.
17228         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17229         * inet/ruserpass.c (token): Likewise.
17230         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17231         * intl/localealias.c (extend_alias_table): Likewise.
17232         * intl/plural-exp.c (init_germanic_plural): Likewise.
17233         * libio/fcloseall.c (__fcloseall): Likewise.
17234         * libio/genops.c (_IO_flush_all): Likewise.
17235         (_IO_flush_all_linebuffered): Likewise.
17236         (_IO_cleanup): Likewise.
17237         (_IO_iter_begin): Likewise.
17238         (_IO_iter_end): Likewise.
17239         (_IO_list_lock): Likewise.
17240         (_IO_list_unlock): Likewise.
17241         (_IO_list_resetlock): Likewise.
17242         * libio/getchar.c (getchar): Likewise.
17243         * libio/getchar_u.c (getchar_unlocked): Likewise.
17244         * libio/getwchar.c (getwchar): Likewise.
17245         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17246         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17247         * login/getpt.c (__getpt): Likewise.
17248         * login/tst-utmp.c (main): Likewise.
17249         * malloc/hooks.c (__malloc_check_init): Likewise.
17250         * malloc/malloc.c (__malloc_stats): Likewise.
17251         * malloc/mtrace.c (tr_break): Likewise.
17252         (mtrace): Likewise.
17253         (muntrace): Likewise.
17254         * misc/fstab.c (endfsent): Likewise.
17255         * misc/getclktck.c (__getclktck): Likewise.
17256         * misc/getdtsz.c (__getdtablesize): Likewise.
17257         * misc/gethostid.c (gethostid): Likewise.
17258         * misc/getpagesize.c (__getpagesize): Likewise.
17259         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17260         (__get_nprocs): Likewise.
17261         (__get_phys_pages): Likewise.
17262         (__get_avphys_pages): Likewise.
17263         * misc/getttyent.c (getttyent): Likewise.
17264         (setttyent): Likewise.
17265         (endttyent): Likewise.
17266         * misc/getusershell.c (getusershell): Likewise.
17267         (endusershell): Likewise.
17268         (setusershell): Likewise.
17269         (initshells): Likewise.
17270         * misc/hsearch.c (__hdestroy): Likewise.
17271         * misc/sync.c (sync): Likewise.
17272         * misc/syslog.c (closelog_internal): Likewise.
17273         (closelog): Likewise.
17274         * misc/ttyslot.c (ttyslot): Likewise.
17275         * misc/vhangup.c (vhangup): Likewise.
17276         * posix/fork.c (__fork): Likewise.
17277         * posix/getegid.c (__getegid): Likewise.
17278         * posix/geteuid.c (__geteuid): Likewise.
17279         * posix/getgid.c (__getgid): Likewise.
17280         * posix/getpid.c (__getpid): Likewise.
17281         * posix/getppid.c (__getppid): Likewise.
17282         * posix/getuid.c (__getuid): Likewise.
17283         * posix/pause.c (pause): Likewise.
17284         * posix/setpgrp.c (setpgrp): Likewise.
17285         * posix/setsid.c (__setsid): Likewise.
17286         * posix/test-vfork.c (noop): Likewise.
17287         * resolv/gethnamaddr.c (_endhtent): Likewise.
17288         (_gethtent): Likewise.
17289         (ht_endhostent): Likewise.
17290         (gethostent): Likewise.
17291         (dns_service): Likewise.
17292         * stdlib/drand48.c (drand48): Likewise.
17293         * stdlib/lrand48.c (lrand48): Likewise.
17294         * stdlib/mrand48.c (mrand48): Likewise.
17295         * stdlib/rand.c (rand): Likewise.
17296         * stdlib/random.c (__random): Likewise.
17297         * stdlib/setenv.c (clearenv): Likewise.
17298         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17299         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17300         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17301         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17302         (__get_nprocs): Likewise.
17303         (__get_phys_pages): Likewise.
17304         (__get_avphys_pages): Likewise.
17305         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17306         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17307         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17308         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17309         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17310         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17311         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17312         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17313         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17314         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17315         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17316         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17317         * sysdeps/posix/clock.c (clock): Likewise.
17318         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17319         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17320         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17321         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17322         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17324         (__get_nprocs_conf): Likewise.
17325         (__get_phys_pages): Likewise.
17326         (__get_avphys_pages): Likewise.
17327         * time/clock.c (clock): Likewise.
17328         * time/tzset.c (__tzname_max): Likewise.
17329
17330 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17331
17332         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17333         (__bswap_32): Do not use "register".
17334         * crypt/crypt.c (_ufc_doit_r): Likewise.
17335         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17336         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17337         * gmon/gmon.c (__monstartup): Likewise.
17338         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17339         * hurd/hurdmalloc.c (more_memory): Likewise.
17340         (malloc): Likewise.
17341         (free): Likewise.
17342         (realloc): Likewise.
17343         (malloc_fork_prepare): Likewise.
17344         (malloc_fork_parent): Likewise.
17345         (malloc_fork_child): Likewise.
17346         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17347         (_svcauth_des): Likewise.
17348         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17349         * inet/inet_net.c (inet_network): Likewise.
17350         * inet/inet_netof.c (inet_netof): Likewise.
17351         * inet/rcmd.c (__validuser2_sa): Likewise.
17352         * io/fts.c (fts_open): Likewise.
17353         (fts_load): Likewise.
17354         (fts_close): Likewise.
17355         (fts_read): Likewise.
17356         (fts_children): Likewise.
17357         (fts_build): Likewise.
17358         (fts_stat): Likewise.
17359         (fts_sort): Likewise.
17360         (fts_alloc): Likewise.
17361         (fts_lfree): Likewise.
17362         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17363         (_IO_file_xsgetn): Likewise.
17364         (_IO_file_xsgetn_mmap): Likewise.
17365         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17366         (_IO_cookie_write): Likewise.
17367         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17368         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17369         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17370         * malloc/obstack.c (_obstack_begin): Likewise.
17371         (_obstack_begin_1): Likewise.
17372         (_obstack_newchunk): Likewise.
17373         (_obstack_allocated_p): Likewise.
17374         (obstack_free): Likewise.
17375         (_obstack_memory_used): Likewise.
17376         * misc/getttyent.c (getttynam): Likewise.
17377         (getttyent): Likewise.
17378         (skip): Likewise.
17379         (value): Likewise.
17380         * misc/getusershell.c (initshells): Likewise.
17381         * misc/syslog.c (__vsyslog_chk): Likewise.
17382         * misc/ttyslot.c (ttyslot): Likewise.
17383         * nis/nis_hash.c (__nis_hash): Likewise.
17384         * posix/fnmatch_loop.c (FCT): Likewise.
17385         * posix/getconf.c (print_all): Likewise.
17386         (main): Likewise.
17387         * posix/getopt.c (exchange): Likewise.
17388         * posix/glob.c (globfree): Likewise.
17389         (prefix_array): Likewise.
17390         (__glob_pattern_type): Likewise.
17391         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17392         (NS_GET32): Likewise.
17393         (NS_PUT16): Likewise.
17394         (NS_PUT32): Likewise.
17395         * resolv/gethnamaddr.c (getanswer): Likewise.
17396         (gethostbyname2): Likewise.
17397         (gethostbyaddr): Likewise.
17398         (_gethtent): Likewise.
17399         (_gethtbyname2): Likewise.
17400         (_gethtbyaddr): Likewise.
17401         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17402         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17403         * resolv/res_init.c (__res_vinit): Likewise.
17404         (net_mask): Likewise.
17405         * resolv/res_mkquery.c (outchar): Likewise.
17406         (PRINT): Likewise.
17407         * stdio-common/printf_fp.c (outchar): Likewise.
17408         (PRINT): Likewise.
17409         * stdio-common/printf_fphex.c (outchar): Likewise.
17410         (PRINT): Likewise.
17411         * stdio-common/printf_size.c (outchar): Likewise.
17412         (PRINT): Likewise.
17413         * stdio-common/test_rdwr.c (main): Likewise.
17414         * stdio-common/tfformat.c (matches): Likewise.
17415         * stdio-common/vfprintf.c (outchar): Likewise.
17416         (printf_unknown): Likewise.
17417         (buffered_vfprintf): Likewise.
17418         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17419         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17420         (ReadFile): Likewise.
17421         * stdlib/qsort.c (SWAP): Likewise.
17422         (_quicksort): Likewise.
17423         * stdlib/setenv.c (__add_to_environ): Likewise.
17424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17425         * stdlib/strtol_l.c (__strtol_l): Likewise.
17426         * stdlib/tst-strtod.c (main): Likewise.
17427         * stdlib/tst-strtol.c (main): Likewise.
17428         * stdlib/tst-strtoll.c (main): Likewise.
17429         * string/bits/string2.h (__strcmp_cc): Likewise.
17430         (__strcmp_cg): Likewise.
17431         (__strcspn_c1): Likewise.
17432         (__strcspn_c2): Likewise.
17433         (__strcspn_c3): Likewise.
17434         (__strspn_c1): Likewise.
17435         (__strspn_c2): Likewise.
17436         (__strspn_c3): Likewise.
17437         (__strsep_1c): Likewise.
17438         (__strsep_2c): Likewise.
17439         (__strsep_3c): Likewise.
17440         * string/memccpy.c (__memccpy): Likewise.
17441         * string/stpcpy.c (__stpcpy): Likewise.
17442         * string/strcmp.c (strcmp): Likewise.
17443         * string/strrchr.c (strrchr): Likewise.
17444         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17445         Likewise.
17446         * sysdeps/mach/hurd/getcwd.c
17447         (_hurd_canonicalize_directory_name_internal): Likewise.
17448         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17449         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17450         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17451         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17452         Likewise, in both definitions.
17453         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17454         definitions.
17455         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17456         64] (__bswap_64): Likewise.
17457         * time/test_time.c (main): Likewise.
17458         * time/tzfile.c (__tzfile_read): Likewise.
17459         (__tzfile_compute): Likewise.
17460         * time/tzset.c (__tzset_parse_tz): Likewise.
17461         (tzset_internal): Likewise.
17462         (compute_change): Likewise.
17463         * wcsmbs/wcscat.c (__wcscat): Likewise.
17464         * wcsmbs/wcschr.c (wcschr): Likewise.
17465         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17466         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17467         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17468         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17469         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17470         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17471         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17472         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17473         * wcsmbs/wmemset.c (wmemset): Likewise.
17474
17475 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17476
17477         * scripts/config.guess: Update to version 2013-05-16.
17478         * scripts/config.sub: Update to version 2013-04-24.
17479         * scripts/install-sh: Update to version 2011-11-20.07.
17480         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17481         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17482
17483 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17484
17485         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17486         * elf/sln.c: Likewise.
17487         * hurd/hurd/ioctl.h: Likewise.
17488         * hurd/hurdmalloc.c: Likewise.
17489         * hurd/xattr.c: Likewise.
17490         * include/shlib-compat.h: Likewise.
17491         * inet/ruserpass.c: Likewise.
17492         * libio/iofgets_u.c: Likewise.
17493         * libio/iofgetws_u.c: Likewise.
17494         * locale/programs/ld-identification.c: Likewise.
17495         * locale/programs/ld-time.c: Likewise.
17496         * mach/msg-destroy.c: Likewise.
17497         * nss/nss_files/files-netgrp.c: Likewise.
17498         * resolv/res_data.c: Likewise.
17499         * soft-fp/op-1.h: Likewise.
17500         * soft-fp/op-2.h: Likewise.
17501         * soft-fp/op-4.h: Likewise.
17502         * soft-fp/op-common.h: Likewise.
17503         * stdio-common/printf_fphex.c: Likewise.
17504         * stdlib/strtod_l.c: Likewise.
17505         * sunrpc/rpc/clnt.h: Likewise.
17506         * sysdeps/generic/framestate.c: Likewise.
17507         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17508         * sysdeps/i386/bsd-setjmp.S: Likewise.
17509         * sysdeps/i386/__longjmp.S: Likewise.
17510         * sysdeps/i386/setjmp.S: Likewise.
17511         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17512         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17513         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17514         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17515         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17516         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17517         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17520         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17521         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17522         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17523         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17524         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17525         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17526         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17527         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17528         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17529         * sysdeps/ieee754/support.c: Likewise.
17530         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17531         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17532         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17533         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17534         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17535         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17536         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17537         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17538         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17539         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17540         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17541         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17542         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17543         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17544         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17545         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17546         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17548
17549 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17550
17551         * posix/transbug.c: Remove executable mode.
17552
17553 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17554
17555         * crypt/speeds.c: Remove trailing whitespace.
17556         * dlfcn/default.c: Likewise.
17557         * elf/ifuncdep2.c: Likewise.
17558         * elf/ifuncmain1.c: Likewise.
17559         * elf/ifuncmain1vis.c: Likewise.
17560         * elf/testobj.h: Likewise.
17561         * elf/tst-stackguard1.c: Likewise.
17562         * gmon/sys/gmon.h: Likewise.
17563         * hurd/hurdmsg.c: Likewise.
17564         * hurd/new-fd.c: Likewise.
17565         * hurd/ports-get.c: Likewise.
17566         * iconvdata/ibm1008_420.c: Likewise.
17567         * inet/tst-getni1.c: Likewise.
17568         * inet/tst-getni2.c: Likewise.
17569         * libio/ioungetc.c: Likewise.
17570         * libio/wfiledoalloc.c: Likewise.
17571         * manual/libm-err-tab.pl: Likewise.
17572         * math/w_dremf.c: Likewise.
17573         * misc/ftruncate.c: Likewise.
17574         * posix/bug-glob2.c: Likewise.
17575         * posix/tst-pcre.c: Likewise.
17576         * posix/wait4.c: Likewise.
17577         * resolv/README: Likewise.
17578         * resolv/res_debug.h: Likewise.
17579         * resolv/tst-inet_ntop.c: Likewise.
17580         * setjmp/bug269-setjmp.c: Likewise.
17581         * soft-fp/extended.h: Likewise.
17582         * soft-fp/op-1.h: Likewise.
17583         * soft-fp/op-2.h: Likewise.
17584         * soft-fp/op-4.h: Likewise.
17585         * soft-fp/op-8.h: Likewise.
17586         * soft-fp/testit.c: Likewise.
17587         * stdio-common/bug16.c: Likewise.
17588         * stdlib/random.c: Likewise.
17589         * sunrpc/rpcsvc/rquota.x: Likewise.
17590         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17591         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17592         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17593         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17594         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17595         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17596         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17597         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17598         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17599         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17600         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17601         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17602         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17603         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17604         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17605         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17606         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17607         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17608         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17609         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17610         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17611         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17612         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17613         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17615         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17616         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17618         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17619         * sysdeps/ieee754/s_lib_version.c: Likewise.
17620         * sysdeps/mach/hurd/check_fds.c: Likewise.
17621         * sysdeps/mach/hurd/getsockname.c: Likewise.
17622         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17623         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17624         * sysdeps/powerpc/bits/link.h: Likewise.
17625         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17626         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17627         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17628         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17629         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17630         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17631         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17632         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17633         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17634         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17635         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17636         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17637         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17638         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17639         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17640         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17641         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17642         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17643         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17644         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17645         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17646         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17648         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17649         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17650         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17651         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17652         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17653         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17655         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17656         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17657         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17658         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17659         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17660         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17661         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17662         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17663         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17664         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17665         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17666         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17667         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17668         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17669         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17670         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17671         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17672         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17673         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17674         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17675         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17676         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17677         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17678         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17679         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17680         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17681         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17682         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17683         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17684         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17685         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17686         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17687         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17688         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17689         * sysdeps/powerpc/sysdep.h: Likewise.
17690         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17691         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17692         * sysdeps/sh/dl-trampoline.S: Likewise.
17693         * sysdeps/sh/memset.S: Likewise.
17694         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17695         * sysdeps/sh/strlen.S: Likewise.
17696         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17697         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17698         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17699         * sysdeps/sparc/sparc32/rem.S: Likewise.
17700         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17701         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17702         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17703         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17704         * sysdeps/sparc/sparc32/urem.S: Likewise.
17705         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17706         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17707         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17708         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17709         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17710         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17711         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17712         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17713         * sysdeps/unix/bsd/times.c: Likewise.
17714         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17715         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17719         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17720         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17721         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17722         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17723         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17724         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17725         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17726         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17727         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17728         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17729         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17730         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17731         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17732         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17733         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17734         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17735         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17736         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17737         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17738         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17739         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17740         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17741         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17742         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17743         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17744         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17745         * sysdeps/x86_64/strcspn.S: Likewise.
17746
17747 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17748
17749         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17750         generated file.  Regenerate properly from gen-translit.pl.
17751         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17752         locale/C-translit.h.
17753
17754 2013-06-05  Andreas Schwab  <schwab@suse.de>
17755
17756         [BZ #15100]
17757         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17758         week as 6 instead of -1.
17759         * time/tst-strptime.c (day_tests): Add test case.
17760
17761 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17762
17763         * sysdeps/generic/math_private.h
17764         (libc_feholdexcept_setround_53bit): Replace with
17765         libc_feholdsetround_53bit.
17766         (libc_feupdateenv_53bit): Replace with
17767         libc_feresetround_53bit.
17768         (SET_RESTORE_ROUND_53BIT): Adjust.
17769
17770 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17771
17772         * string/test-strchrnul.c: Add copyright header.
17773
17774         * posix/tst-getaddrinfo4.c: Increase test timeout.
17775
17776 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17777
17778         [BZ #15536]
17779         * math/libm-test.inc (MAX_EXP): Remove
17780         (MIN_EXP): Define.
17781         (ulp): Use MIN_EXP - MANT_DIG.
17782         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17783
17784 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17785
17786         * po/be.po: Revert last change.
17787         * po/zh_CN.po: Likewise.
17788         * po/header.pot: Likewise.
17789
17790 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17791
17792         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17793         link-libc-deps to empty as target-specific variable.
17794         * Makerules (link-libc-args): New variable.
17795         (libc-for-link): Likewise.
17796         (link-libc-deps): Likewise.
17797         (lib%.so): Depend on $(link-libc-deps).  Link with
17798         $(link-libc-args).
17799         (build-module): Link with $(link-libc-args).
17800         (build-module-asneeded): Likewise.
17801         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17802         list of objects.
17803         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17804         target-specific variable.
17805         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17806         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17807         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17808         libc.
17809         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17810         libc and ld.so.
17811         ($(objpfx)libpcprofile.so): Likewise.
17812         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17813         libc_nonshared.a.
17814         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17815         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17816         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17817         $(link-libc-deps).
17818         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17819         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17820         * login/Makefile ($(objpfx)libutil.so): Likewise.
17821         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17822         * math/Makefile ($(objpfx)libm.so): Likewise.
17823         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17824         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17825         variable instead of depending directly on libc.
17826         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17827         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17828         $(link-libc-deps).
17829         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17830         libc.
17831         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17832         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17833         ($(objpfx)libanl.so): Likewise.
17834         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17835         ld.so.
17836         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17837         $(link-libc-deps).
17838         * sysdeps/i386/fpu/Makefile: Remove file.
17839         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17840         ($(objpfx)libm.so): Remove dependency on ld.so.
17841
17842 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17843
17844         [BZ # 15553]
17845         * nis/yp_xdr.c (XDRMAXNAME): Define.
17846         (XDRMAXRECORD): Define.
17847         (xdr_domainname): Use XDRMAXNAME.
17848         (xdr_mapname): Likewise.
17849         (xdr_peername): Likewise.
17850         (xdr_keydat): Use XDRMAXRECORD.
17851         (xdr_valdat): Likewise.
17852
17853 2013-05-30  Jeff Law  <law@redhat.com>
17854
17855         [BZ #14256]
17856         * manual/errno.texi (ESTALE): Update to account for more than
17857         just NFS file systems.
17858         * sysdeps/gnu/errlist.c: Regenerated.
17859
17860 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17861
17862         [BZ #15465]
17863         * elf/Makefile (tests): Add tst-null-argv.
17864         (modules-names):  Add tst-null-argv-lib.
17865         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17866         (tst-null-argv-ENV): Set environment for tst-null-argv.
17867         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17868         (RTLD_PROGNAME): New macro.
17869         * elf/tst-null-argv.c: New test case.
17870         * elf/tst-null-argv-lib.c: Library for test case.
17871         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17872         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17873         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17874         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17875         * elf/dl-init.c (call_init): Likewise.
17876         (_dl_init): Likewise.
17877         * elf/dl-load.c (print_search_path): Likewise.
17878         (_dl_map_object): Likewise.
17879         * elf/dl-lookup.c (do_lookup_x): Likewise.
17880         (add_dependency): Likewise.
17881         (_dl_lookup_symbol_x): Likewise.
17882         (_dl_debug_bindings): Likewise.
17883         * elf/dl-open.c (_dl_show_scope): Likewise.
17884         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17885         * elf/dl-version.c (match_symbol): Likewise.
17886         (_dl_check_map_versions): Likewise.
17887         * elf/rtld.c (dl_main): Likewise.
17888         (print_unresolved): Use RTLD_PROGNAME.
17889         (print_missing_version): Likewise.
17890         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17891         (elf_machine_rela): Likewise.
17892         * sysdeps/powerpc/powerpc32/dl-machine.c
17893         (__process_machine_rela): Likewise.
17894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17895         Likewise.
17896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17897         Likewise.
17898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17899         Likewise.
17900         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17901         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17902         Likewise.
17903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17904         Likewise.
17905         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17906
17907 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17908
17909         * po/be.po: Add descriptive title.
17910         * po/zh_CN.po: Likewise.
17911         * po/header.pot: Likewise.
17912
17913 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17914
17915         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17916         error message.
17917         (enlarge_archive): Likewise.
17918
17919 2013-05-28  Ben North  <ben@redfrontdoor.org>
17920
17921         * manual/arith.texi (frexp): It is the magnitude of the return
17922         value which lies in [0.5, 1), not the return value itself.
17923
17924 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17925
17926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17927
17928 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17929
17930         * stdio-common/bug26.c (main): Correct fscanf template.
17931
17932         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17933         declare _dl_skip_args.
17934
17935         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17936         Don't declare.
17937
17938         * manual/platform.texi: Add missing @end deftypefun.
17939
17940 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17941
17942         [BZ #15529]
17943         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17944         bit of mantissa of 2^16382.
17945         * math/libm-test.inc (hypot_test_data): Add more tests.
17946
17947         * math/libm-test.inc: Add drem and pow10 to list of tested
17948         functions.
17949         (pow10_test): New function.
17950         (drem_test): Likewise.
17951         (drem_test_tonearest): Likewise.
17952         (drem_test_towardzero): Likewise.
17953         (drem_test_downward): Likewise.
17954         (drem_test_upward): Likewise.
17955         (main): Call the new functions.
17956
17957         * math/libm-test.inc (finite_test_data): Remove.
17958         (finite_test): Run tests from isfinite_test_data.
17959         (gamma_test_data): Remove.
17960         (gamma_test): Run tests from lgamma_test_data.
17961         * sysdeps/i386/fpu/libm-test-ulps: Update.
17962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17963
17964 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17965
17966         * manual/platform.texi: Add PowerPC PPR function set documentation.
17967         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17968         implementation.
17969
17970 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17971
17972         * math/libm-test.inc (MAX_EXP): Define.
17973         (ULPDIFF): Define.
17974         (ulp): New function.
17975         (check_float_internal): Use ULPDIFF.
17976         (cpow_test): Disable failing test.
17977         (check_ulp): Test ulp() implemetnation.
17978         (main): Call check_ulp before starting tests.
17979
17980 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17981
17982         * math/gen-libm-test.pl (generate_testfile): Do not handle
17983         START_DATA and END_DATA.
17984         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17985         END_DATA.
17986         (acos_tonearest_test_data): Likewise.
17987         (acos_towardzero_test_data): Likewise.
17988         (acos_downward_test_data): Likewise.
17989         (acos_upward_test_data): Likewise.
17990         (acosh_test_data): Likewise.
17991         (asin_test_data): Likewise.
17992         (asin_tonearest_test_data): Likewise.
17993         (asin_towardzero_test_data): Likewise.
17994         (asin_downward_test_data): Likewise.
17995         (asin_upward_test_data): Likewise.
17996         (asinh_test_data): Likewise.
17997         (atan_test_data): Likewise.
17998         (atanh_test_data): Likewise.
17999         (atan2_test_data): Likewise.
18000         (cabs_test_data): Likewise.
18001         (cacos_test_data): Likewise.
18002         (cacosh_test_data): Likewise.
18003         (carg_test_data): Likewise.
18004         (casin_test_data): Likewise.
18005         (casinh_test_data): Likewise.
18006         (catan_test_data): Likewise.
18007         (catanh_test_data): Likewise.
18008         (cbrt_test_data): Likewise.
18009         (ccos_test_data): Likewise.
18010         (ccosh_test_data): Likewise.
18011         (ceil_test_data): Likewise.
18012         (cexp_test_data): Likewise.
18013         (cimag_test_data): Likewise.
18014         (clog_test_data): Likewise.
18015         (clog10_test_data): Likewise.
18016         (conj_test_data): Likewise.
18017         (copysign_test_data): Likewise.
18018         (cos_test_data): Likewise.
18019         (cos_tonearest_test_data): Likewise.
18020         (cos_towardzero_test_data): Likewise.
18021         (cos_downward_test_data): Likewise.
18022         (cos_upward_test_data): Likewise.
18023         (cosh_test_data): Likewise.
18024         (cosh_tonearest_test_data): Likewise.
18025         (cosh_towardzero_test_data): Likewise.
18026         (cosh_downward_test_data): Likewise.
18027         (cosh_upward_test_data): Likewise.
18028         (cpow_test_data): Likewise.
18029         (cproj_test_data): Likewise.
18030         (creal_test_data): Likewise.
18031         (csin_test_data): Likewise.
18032         (csinh_test_data): Likewise.
18033         (csqrt_test_data): Likewise.
18034         (ctan_test_data): Likewise.
18035         (ctan_tonearest_test_data): Likewise.
18036         (ctan_towardzero_test_data): Likewise.
18037         (ctan_downward_test_data): Likewise.
18038         (ctan_upward_test_data): Likewise.
18039         (ctanh_test_data): Likewise.
18040         (ctanh_tonearest_test_data): Likewise.
18041         (ctanh_towardzero_test_data): Likewise.
18042         (ctanh_downward_test_data): Likewise.
18043         (ctanh_upward_test_data): Likewise.
18044         (erf_test_data): Likewise.
18045         (erfc_test_data): Likewise.
18046         (exp_test_data): Likewise.
18047         (exp_tonearest_test_data): Likewise.
18048         (exp_towardzero_test_data): Likewise.
18049         (exp_downward_test_data): Likewise.
18050         (exp_upward_test_data): Likewise.
18051         (exp10_test_data): Likewise.
18052         (exp2_test_data): Likewise.
18053         (expm1_test_data): Likewise.
18054         (fabs_test_data): Likewise.
18055         (fdim_test_data): Likewise.
18056         (finite_test_data): Likewise.
18057         (floor_test_data): Likewise.
18058         (fma_test_data): Likewise.
18059         (fma_towardzero_test_data): Likewise.
18060         (fma_downward_test_data): Likewise.
18061         (fma_upward_test_data): Likewise.
18062         (fmax_test_data): Likewise.
18063         (fmin_test_data): Likewise.
18064         (fmod_test_data): Likewise.
18065         (fpclassify_test_data): Likewise.
18066         (frexp_test_data): Likewise.
18067         (gamma_test_data): Likewise.
18068         (hypot_test_data): Likewise.
18069         (ilogb_test_data): Likewise.
18070         (isfinite_test_data): Likewise.
18071         (isgreater_test_data): Likewise.
18072         (isgreaterequal_test_data): Likewise.
18073         (isinf_test_data): Likewise.
18074         (isless_test_data): Likewise.
18075         (islessequal_test_data): Likewise.
18076         (islessgreater_test_data): Likewise.
18077         (isnan_test_data): Likewise.
18078         (isnormal_test_data): Likewise.
18079         (issignaling_test_data): Likewise.
18080         (isunordered_test_data): Likewise.
18081         (j0_test_data): Likewise.
18082         (j1_test_data): Likewise.
18083         (jn_test_data): Likewise.
18084         (ldexp_test_data): Likewise.
18085         (lgamma_test_data): Likewise.
18086         (lrint_test_data): Likewise.
18087         (lrint_tonearest_test_data): Likewise.
18088         (lrint_towardzero_test_data): Likewise.
18089         (lrint_downward_test_data): Likewise.
18090         (lrint_upward_test_data): Likewise.
18091         (llrint_test_data): Likewise.
18092         (llrint_tonearest_test_data): Likewise.
18093         (llrint_towardzero_test_data): Likewise.
18094         (llrint_downward_test_data): Likewise.
18095         (llrint_upward_test_data): Likewise.
18096         (log_test_data): Likewise.
18097         (log10_test_data): Likewise.
18098         (log1p_test_data): Likewise.
18099         (log2_test_data): Likewise.
18100         (logb_test_data): Likewise.
18101         (logb_downward_test_data): Likewise.
18102         (lround_test_data): Likewise.
18103         (llround_test_data): Likewise.
18104         (modf_test_data): Likewise.
18105         (nearbyint_test_data): Likewise.
18106         (nextafter_test_data): Likewise.
18107         (nexttoward_test_data): Likewise.
18108         (pow_test_data): Likewise.
18109         (pow_tonearest_test_data): Likewise.
18110         (pow_towardzero_test_data): Likewise.
18111         (pow_downward_test_data): Likewise.
18112         (pow_upward_test_data): Likewise.
18113         (remainder_test_data): Likewise.
18114         (remainder_tonearest_test_data): Likewise.
18115         (remainder_towardzero_test_data): Likewise.
18116         (remainder_downward_test_data): Likewise.
18117         (remainder_upward_test_data): Likewise.
18118         (remquo_test_data): Likewise.
18119         (rint_test_data): Likewise.
18120         (rint_tonearest_test_data): Likewise.
18121         (rint_towardzero_test_data): Likewise.
18122         (rint_downward_test_data): Likewise.
18123         (rint_upward_test_data): Likewise.
18124         (round_test_data): Likewise.
18125         (scalb_test_data): Likewise.
18126         (scalbn_test_data): Likewise.
18127         (scalbln_test_data): Likewise.
18128         (signbit_test_data): Likewise.
18129         (sin_test_data): Likewise.
18130         (sin_tonearest_test_data): Likewise.
18131         (sin_towardzero_test_data): Likewise.
18132         (sin_downward_test_data): Likewise.
18133         (sin_upward_test_data): Likewise.
18134         (sincos_test_data): Likewise.
18135         (sinh_test_data): Likewise.
18136         (sinh_tonearest_test_data): Likewise.
18137         (sinh_towardzero_test_data): Likewise.
18138         (sinh_downward_test_data): Likewise.
18139         (sinh_upward_test_data): Likewise.
18140         (sqrt_test_data): Likewise.
18141         (tan_test_data): Likewise.
18142         (tan_tonearest_test_data): Likewise.
18143         (tan_towardzero_test_data): Likewise.
18144         (tan_downward_test_data): Likewise.
18145         (tan_upward_test_data): Likewise.
18146         (tanh_test_data): Likewise.
18147         (tgamma_test_data): Likewise.
18148         (trunc_test_data): Likewise.
18149         (y0_test_data): Likewise.
18150         (y1_test_data): Likewise.
18151         (yn_test_data): Likewise.
18152         (significand_test_data): Likewise.
18153
18154         * math/gen-libm-test.pl (@functions): Remove variable.
18155         (generate_testfile): Don't handle START and END lines.
18156         * math/libm-test.inc (START): New macro.
18157         (END): Likewise.
18158         (END_COMPLEX): Likewise.
18159         (acos_test): Use END macro without arguments.
18160         (acos_test_tonearest): Likewise.
18161         (acos_test_towardzero): Likewise.
18162         (acos_test_downward): Likewise.
18163         (acos_test_upward): Likewise.
18164         (acosh_test): Likewise.
18165         (asin_test): Likewise.
18166         (asin_test_tonearest): Likewise.
18167         (asin_test_towardzero): Likewise.
18168         (asin_test_downward): Likewise.
18169         (asin_test_upward): Likewise.
18170         (asinh_test): Likewise.
18171         (atan_test): Likewise.
18172         (atanh_test): Likewise.
18173         (atan2_test): Likewise.
18174         (cabs_test): Likewise.
18175         (cacos_test): Use END_COMPLEX macro without arguments.
18176         (cacosh_test): Likewise.
18177         (carg_test): Use END macro without arguments.
18178         (casin_test): Use END_COMPLEX macro without arguments.
18179         (casinh_test): Likewise.
18180         (catan_test): Likewise.
18181         (catanh_test): Likewise.
18182         (cbrt_test): Use END macro without arguments.
18183         (ccos_test): Use END_COMPLEX macro without arguments.
18184         (ccosh_test): Likewise.
18185         (ceil_test): Use END macro without arguments.
18186         (cexp_test): Use END_COMPLEX macro without arguments.
18187         (cimag_test): Use END macro without arguments.
18188         (clog_test): Use END_COMPLEX macro without arguments.
18189         (clog10_test): Likewise.
18190         (conj_test): Likewise.
18191         (copysign_test): Use END macro without arguments.
18192         (cos_test): Likewise.
18193         (cos_test_tonearest): Likewise.
18194         (cos_test_towardzero): Likewise.
18195         (cos_test_downward): Likewise.
18196         (cos_test_upward): Likewise.
18197         (cosh_test): Likewise.
18198         (cosh_test_tonearest): Likewise.
18199         (cosh_test_towardzero): Likewise.
18200         (cosh_test_downward): Likewise.
18201         (cosh_test_upward): Likewise.
18202         (cpow_test): Use END_COMPLEX macro without arguments.
18203         (cproj_test): Likewise.
18204         (creal_test): Use END macro without arguments.
18205         (csin_test): Use END_COMPLEX macro without arguments.
18206         (csinh_test): Likewise.
18207         (csqrt_test): Likewise.
18208         (ctan_test): Likewise.
18209         (ctan_test_tonearest): Likewise.
18210         (ctan_test_towardzero): Likewise.
18211         (ctan_test_downward): Likewise.
18212         (ctan_test_upward): Likewise.
18213         (ctanh_test): Likewise.
18214         (ctanh_test_tonearest): Likewise.
18215         (ctanh_test_towardzero): Likewise.
18216         (ctanh_test_downward): Likewise.
18217         (ctanh_test_upward): Likewise.
18218         (erf_test): Use END macro without arguments.
18219         (erfc_test): Likewise.
18220         (exp_test): Likewise.
18221         (exp_test_tonearest): Likewise.
18222         (exp_test_towardzero): Likewise.
18223         (exp_test_downward): Likewise.
18224         (exp_test_upward): Likewise.
18225         (exp10_test): Likewise.
18226         (exp2_test): Likewise.
18227         (expm1_test): Likewise.
18228         (fabs_test): Likewise.
18229         (fdim_test): Likewise.
18230         (finite_test): Likewise.
18231         (floor_test): Likewise.
18232         (fma_test): Likewise.
18233         (fma_test_towardzero): Likewise.
18234         (fma_test_downward): Likewise.
18235         (fma_test_upward): Likewise.
18236         (fmax_test): Likewise.
18237         (fmin_test): Likewise.
18238         (fmod_test): Likewise.
18239         (fpclassify_test): Likewise.
18240         (frexp_test): Likewise.
18241         (gamma_test): Likewise.
18242         (hypot_test): Likewise.
18243         (ilogb_test): Likewise.
18244         (isfinite_test): Likewise.
18245         (isgreater_test): Likewise.
18246         (isgreaterequal_test): Likewise.
18247         (isinf_test): Likewise.
18248         (isless_test): Likewise.
18249         (islessequal_test): Likewise.
18250         (islessgreater_test): Likewise.
18251         (isnan_test): Likewise.
18252         (isnormal_test): Likewise.
18253         (issignaling_test): Likewise.
18254         (isunordered_test): Likewise.
18255         (j0_test): Likewise.
18256         (j1_test): Likewise.
18257         (jn_test): Likewise.
18258         (ldexp_test): Likewise.
18259         (lgamma_test): Likewise.
18260         (lrint_test): Likewise.
18261         (lrint_test_tonearest): Likewise.
18262         (lrint_test_towardzero): Likewise.
18263         (lrint_test_downward): Likewise.
18264         (lrint_test_upward): Likewise.
18265         (llrint_test): Likewise.
18266         (llrint_test_tonearest): Likewise.
18267         (llrint_test_towardzero): Likewise.
18268         (llrint_test_downward): Likewise.
18269         (llrint_test_upward): Likewise.
18270         (log_test): Likewise.
18271         (log10_test): Likewise.
18272         (log1p_test): Likewise.
18273         (log2_test): Likewise.
18274         (logb_test): Likewise.
18275         (logb_test_downward): Likewise.
18276         (lround_test): Likewise.
18277         (llround_test): Likewise.
18278         (modf_test): Likewise.
18279         (nearbyint_test): Likewise.
18280         (nextafter_test): Likewise.
18281         (nexttoward_test): Likewise.
18282         (pow_test): Likewise.
18283         (pow_test_tonearest): Likewise.
18284         (pow_test_towardzero): Likewise.
18285         (pow_test_downward): Likewise.
18286         (pow_test_upward): Likewise.
18287         (remainder_test): Likewise.
18288         (remainder_test_tonearest): Likewise.
18289         (remainder_test_towardzero): Likewise.
18290         (remainder_test_downward): Likewise.
18291         (remainder_test_upward): Likewise.
18292         (remquo_test): Likewise.
18293         (rint_test): Likewise.
18294         (rint_test_tonearest): Likewise.
18295         (rint_test_towardzero): Likewise.
18296         (rint_test_downward): Likewise.
18297         (rint_test_upward): Likewise.
18298         (round_test): Likewise.
18299         (scalb_test): Likewise.
18300         (scalbn_test): Likewise.
18301         (scalbln_test): Likewise.
18302         (signbit_test): Likewise.
18303         (sin_test): Likewise.
18304         (sin_test_tonearest): Likewise.
18305         (sin_test_towardzero): Likewise.
18306         (sin_test_downward): Likewise.
18307         (sin_test_upward): Likewise.
18308         (sincos_test): Likewise.
18309         (sinh_test): Likewise.
18310         (sinh_test_tonearest): Likewise.
18311         (sinh_test_towardzero): Likewise.
18312         (sinh_test_downward): Likewise.
18313         (sinh_test_upward): Likewise.
18314         (sqrt_test): Likewise.
18315         (tan_test): Likewise.
18316         (tan_test_tonearest): Likewise.
18317         (tan_test_towardzero): Likewise.
18318         (tan_test_downward): Likewise.
18319         (tan_test_upward): Likewise.
18320         (tanh_test): Likewise.
18321         (tgamma_test): Likewise.
18322         (trunc_test): Likewise.
18323         (y0_test): Likewise.
18324         (y1_test): Likewise.
18325         (yn_test): Likewise.
18326         (significand_test): Likewise.
18327
18328 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18329
18330         [BZ #15381]
18331         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18332
18333 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18334
18335         [BZ #14894]
18336         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18337         __ppc_mdoio and __ppc_mdoom.
18338         * manual/platform.texi: Document new functions __ppc_yield,
18339         __ppc_mdoio and __ppc_mdoom.
18340
18341 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18342
18343         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18344         (main): Mention "tls" pseudo-hwcap is legacy.
18345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18346
18347 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18348
18349         * math/gen-libm-test.pl (parse_args): Output only string of
18350         arguments as text for test name, not full call or descriptions of
18351         tests for extra outputs.
18352         (generate_testfile): Do not pass function name to parse_args.
18353         Generate this_func variable from START.
18354         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18355         field to arg_str.
18356         (struct test_ff_f_data): Likewise.
18357         (test_ff_f_data_nexttoward): Likewise.
18358         (struct test_fi_f_data): Likewise.
18359         (struct test_fl_f_data): Likewise.
18360         (struct test_if_f_data): Likewise.
18361         (struct test_fff_f_data): Likewise.
18362         (struct test_c_f_data): Likewise.
18363         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18364         (struct test_fF_f1_data): Likewise.
18365         (struct test_ffI_f1_data): Likewise.
18366         (struct test_c_c_data): Rename test_name field to arg_str.
18367         (struct test_cc_c_data): Likewise.
18368         (struct test_f_i_data): Likewise.
18369         (struct test_ff_i_data): Likewise.
18370         (struct test_f_l_data): Likewise.
18371         (struct test_f_L_data): Likewise.
18372         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18373         and extra2_name.
18374         (COMMON_TEST_SETUP): New macro.
18375         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18376         (COMMON_TEST_CLEANUP): Likewise.
18377         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18378         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18379         macros.
18380         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18381         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18382         macros.
18383         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18384         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18385         cleanup macros.
18386         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18387         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18388         macros.
18389         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18390         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18391         macros.
18392         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18393         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18394         cleanup macros.
18395         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18396         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18397         cleanup macros.
18398         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18399         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18400         cleanup macros.
18401         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18402         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18403         macros.
18404         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18405         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18406         macros.
18407         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18408         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18409         macros.
18410         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18411         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18412         cleanup macros.
18413         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18414         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18415         cleanup macros.
18416         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18417         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18418         macros.
18419         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18420         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18421         cleanup macros.
18422         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18423         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18424         macros.
18425         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18426         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18427         macros.
18428         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18429         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18430         cleanup macros.
18431         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18432
18433 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18434
18435         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18436         to _sifields.sigfault.
18437         (si_addr_lsb): Define new macro.
18438         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18440         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18441
18442 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18443
18444         [BZ #15441]
18445         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18446         returns -1.
18447         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18448         null return -1.
18449         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18450         loading the domain.
18451
18452 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18453
18454         * math/gen-libm-test.pl (parse_args): Do not include expected
18455         result in test name.
18456         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18457         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18458         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18459         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18460         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18462
18463 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18464
18465         * benchtests/Makefile: Sort function entries.
18466
18467         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18468         tanh, asinh, acosh, atanh.
18469         * benchtests/acos-inputs: New file.
18470         * benchtests/acosh-inputs: New file.
18471         * benchtests/asin-inputs: New file.
18472         * benchtests/asinh-inputs: New file.
18473         * benchtests/atanh-inputs: New file.
18474         * benchtests/cosh-inputs: New file.
18475         * benchtests/log-inputs: New file.
18476         * benchtests/sinh-inputs: New file.
18477         * benchtests/tanh-inputs: New file.
18478
18479 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18480
18481         [BZ #15339]
18482         * posix/tst-getaddrinfo4.c: New test.
18483         * posix/Makefile (tests): Add it.
18484
18485 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18486
18487         [BZ #15339]
18488         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18489         when no services were used.
18490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18491         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18492
18493 2013-05-21  Andreas Schwab  <schwab@suse.de>
18494
18495         [BZ #15014]
18496         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18497         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18498         successful.
18499         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18500         redundant variable declarations and reallocation of buffer when
18501         parsing as IPv6 address.  Always set NSS status when called from
18502         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18503         buffer too small.  Correct computation of needed size.
18504         * nss/Makefile (tests): Add test-digits-dots.
18505         * nss/test-digits-dots.c: New test.
18506
18507 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * benchtests/Makefile: Remove instructions for adding
18510         benchmark tests.
18511         * benchtests/README: New file to explain how to execute and
18512         enhance the benchmark tests.
18513
18514 2013-05-21  Andreas Schwab  <schwab@suse.de>
18515
18516         [BZ #15493]
18517         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18518         * setjmp/tst-sigsetjmp.c: New test.
18519
18520 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18521
18522         * sysdeps/x86_64/memset.S (memset): New implementation.
18523         (__bzero): Likewise.
18524         (__memset_tail): New function.
18525
18526 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18527
18528         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18529         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18530         __memcpy_sse2_unaligned ifunc selection.
18531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18532         Add memcpy-sse2-unaligned.S.
18533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18534         Add: __memcpy_sse2_unaligned.
18535
18536 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18537
18538         [BZ #15490]
18539         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18540         math_force_eval before restoring floating-point envrionment.
18541         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18543         Likewise.
18544         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18545         <math_private.h>.
18546         (__nearbyintl): Use math_force_eval before restoring
18547         floating-point environment.
18548         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18549
18550         * math/gen-libm-test.pl (special_functions): Remove.
18551         (parse_args): Don't handle TEST_extra.  Handle functions with no
18552         return value.
18553         * math/libm-test.inc (struct test_sincos_data): Replace with
18554         struct test_fFF_11_data.
18555         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18556         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18557         (sincos_test_data): Change element type to struct
18558         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18559         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18560         RUN_TEST_LOOP_sincos.
18561         * math/README.libm-test: Don't mention special handling of
18562         individual functions.
18563         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18564         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18565         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18566         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18567         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569
18570         * math/gen-libm-test.pl (get_variable): Remove function.
18571         (parse_args): Don't show pointer parameters to call in test
18572         names.  Use "extra output N" in test names for extra outputs
18573         rather than naming variables.
18574
18575 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18576
18577         [BZ #15488]
18578         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18579         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18580         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18581         double tests.
18582         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18583         disable.
18584         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18585         check_long_double.
18586
18587         * math/gen-libm-test.pl (@tests): Remove variable.
18588         ($count): Likewise.
18589         (new_test): Remove function.
18590         (show_exceptions): New function.
18591         (special_functions): Use show_exceptions instead of new_test.
18592         (parse_args): Likewise.
18593         (generate_testfile): Pass only function name in generated call to
18594         print_max_error or print_complex_max_error.
18595         (get_ulps): Do not handle complex tests specially.
18596         (output_test): Rename to ...
18597         (get_all_ulps_for_test): ... this.  Return a string rather than
18598         printing to a file.  Require ulps to be present.
18599         (output_ulps): Generate arrays rather than #defines.
18600         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18601         (struct ulp_data): New type.
18602         (BUILD_COMPLEX_ULP): Remove macro.
18603         (compare_ulp_data): New function.
18604         (find_ulps): Likewise.
18605         (find_test_ulps): Likewise.
18606         (find_function_ulps): Likewise.
18607         (find_complex_function_ulps): Likewise.
18608         (print_max_error): Determine allowed ulps using
18609         find_function_ulps.
18610         (print_complex_max_error): Determine allowed ulps using
18611         find_complex_function_ulps.
18612         (check_float_internal): Determine max ulps using find_test_ulps.
18613         (check_float): Do not take max_ulp parameter.  Update call to
18614         check_float_internal.
18615         (check_complex): Likewise.
18616         (check_int): Do not take max_ulp parameter.
18617         (check_long): Likewise.
18618         (check_bool): Likewise.
18619         (check_longlong): Likewise.
18620         (struct test_f_f_data): Remove max_ulp field.
18621         (struct test_ff_f_data): Likewise.
18622         (struct test_ff_f_data_nexttoward): Likewise.
18623         (struct test_fi_f_data): Likewise.
18624         (struct test_fl_f_data): Likewise.
18625         (struct test_if_f_data): Likewise.
18626         (struct test_fff_f_data): Likewise.
18627         (struct test_c_f_data): Likewise.
18628         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18629         (struct test_fF_f1_data): Likewise.
18630         (struct test_ffI_f1_data): Likewise.
18631         (struct test_c_c_data): Remove max_ulp field.
18632         (struct test_cc_c_data): Likewise.
18633         (struct test_f_i_data): Likewise.
18634         (struct test_ff_i_data): Likewise.
18635         (struct test_f_l_data): Likewise.
18636         (struct test_f_L_data): Likewise.
18637         (struct test_sincos_data): Likewise.
18638         (RUN_TEST_f_f): Do not handle ulps.
18639         (RUN_TEST_LOOP_f_f): Likewise.
18640         (RUN_TEST_2_f): Likewise.
18641         (RUN_TEST_LOOP_2_f): Likewise.
18642         (RUN_TEST_fff_f): Likewise.
18643         (RUN_TEST_LOOP_fff_f): Likewise.
18644         (RUN_TEST_c_f): Likewise.
18645         (RUN_TEST_LOOP_c_f): Likewise.
18646         (RUN_TEST_f_f1): Likewise.
18647         (RUN_TEST_LOOP_f_f1): Likewise.
18648         (RUN_TEST_fF_f1): Likewise.
18649         (RUN_TEST_LOOP_fF_f1): Likewise.
18650         (RUN_TEST_fI_f1): Likewise.
18651         (RUN_TEST_LOOP_fI_f1): Likewise.
18652         (RUN_TEST_ffI_f1): Likewise.
18653         (RUN_TEST_LOOP_ffI_f1): Likewise.
18654         (RUN_TEST_c_c): Likewise.
18655         (RUN_TEST_LOOP_c_c): Likewise.
18656         (RUN_TEST_cc_c): Likewise.
18657         (RUN_TEST_LOOP_cc_c): Likewise.
18658         (RUN_TEST_f_i): Likewise.
18659         (RUN_TEST_LOOP_f_i): Likewise.
18660         (RUN_TEST_f_i_tg): Likewise.
18661         (RUN_TEST_LOOP_f_i_tg): Likewise.
18662         (RUN_TEST_ff_i_tg): Likewise.
18663         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18664         (RUN_TEST_f_b): Likewise.
18665         (RUN_TEST_LOOP_f_b): Likewise.
18666         (RUN_TEST_f_b_tg): Likewise.
18667         (RUN_TEST_LOOP_f_b_tg): Likewise.
18668         (RUN_TEST_f_l): Likewise.
18669         (RUN_TEST_LOOP_f_l): Likewise.
18670         (RUN_TEST_f_L): Likewise.
18671         (RUN_TEST_LOOP_f_L): Likewise.
18672         (RUN_TEST_sincos): Likewise.
18673         (RUN_TEST_LOOP_sincos): Likewise.
18674
18675 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18676
18677         [BZ #15480]
18678         [BZ #15485]
18679         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18680         main case of finite arguments, set rounding mode to FE_TONEAREST
18681         and discard exceptions.
18682         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18683         exceptions.
18684         (remainder_tonearest_test_data): New variable.
18685         (remainder_test_tonearest): New function.
18686         (remainder_towardzero_test_data): New variable.
18687         (remainder_test_towardzero): New function.
18688         (remainder_downward_test_data): New variable.
18689         (remainder_test_downward): New function.
18690         (remainder_upward_test_data): New variable.
18691         (remainder_test_upward): New function.
18692         (main): Call the new test functions.
18693
18694         * math/libm-test.inc (struct test_f_f1_data): Remove field
18695         extra_init.
18696         (struct test_fF_f1_data): Likewise.
18697         (struct test_ffI_f1_data): Likewise.
18698         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18699         based on value of EXTRA_EXPECTED.
18700         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18701         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18702         EXTRA_VAR based on value of EXTRA_EXPECTED.
18703         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18704         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18705         EXTRA_VAR based on value of EXTRA_EXPECTED.
18706         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18707         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18708         EXTRA_VAR based on value of EXTRA_EXPECTED.
18709         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18710         * math/gen-libm-test.pl (parse_args): Don't output initializers
18711         for extra output values.
18712
18713         * math/libm-test.inc (check_int): Expect result to be exactly
18714         equal to expected value and do not handle ulps.
18715         (check_long): Likewise.
18716         (check_longlong): Likewise.
18717
18718         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18719         exceptions.
18720         (cimag_test_data): Likewise.
18721         (conj_test_data): Likewise.
18722         (copysign_test_data): Likewise.
18723         (cproj_test_data): Likewise.
18724         (creal_test_data): Likewise.
18725         (fabs_test_data): Likewise.
18726         (fdim_test_data): Likewise.
18727         (finite_test_data): Likewise.
18728         (floor_test_data): Likewise.
18729         (fmax_test_data): Likewise.
18730         (fmin_test_data): Likewise.
18731         (fmod_test_data): Likewise.
18732         (fpclassify_test_data): Likewise.
18733         (frexp_test_data): Likewise.
18734         (ilogb_test_data): Likewise.
18735         (isfinite_test_data): Likewise.
18736         (isgreater_test_data): Likewise.
18737         (isgreaterequal_test_data): Likewise.
18738         (isinf_test_data): Likewise.
18739         (isless_test_data): Likewise.
18740         (islessequal_test_data): Likewise.
18741         (islessgreater_test_data): Likewise.
18742         (isnan_test_data): Likewise.
18743         (isnormal_test_data): Likewise.
18744         (issignaling_test_data): Likewise.
18745         (isunordered_test_data): Likewise.
18746         (ldexp_test_data): Likewise.
18747         (lrint_test_data): Likewise.
18748         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18749         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18750         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18751         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18752         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18753         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18754         test input.
18755         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18756         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18757         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18758         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18759         that test input.
18760         (lrint_downward_test_data): Test for "inexact" exceptions.
18761         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18762         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18763         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18764         test input.
18765         (lrint_upward_test_data): Test for "inexact" exceptions.
18766         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18767         test input.
18768         (llrint_test_data): Test for "inexact" exceptions.
18769         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18770         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18771         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18772         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18773         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18774         (llrint_downward_test_data): Test for "inexact" exceptions.
18775         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18776         (llrint_upward_test_data): Test for "inexact" exceptions.
18777         (logb_test_data): Likewise.
18778         (logb_downward_test_data): Likewise.
18779         (nextafter_test_data): Likewise.
18780         (nexttoward_test_data): Likewise.
18781         (remainder_test_data): Likewise.
18782         (remquo_test_data): Likewise.
18783         (scalbn_test_data): Likewise.
18784         (scalbln_test_data): Likewise.
18785         (signbit_test_data): Likewise.
18786         (sqrt_test_data): Likewise.
18787         (significand_test_data): Likewise.
18788
18789 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18790
18791         [BZ #15424]
18792         * benchtests/bench-modf.c (struct args): Mark arg0 as
18793         volatile.
18794         * scripts/bench.pl: Mark members of struct args as volatile.
18795
18796 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18797
18798         [BZ # 15497]
18799         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18800         negative infinity on POWER6 or lower.
18801         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18802
18803 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18804
18805         [BZ #15442]
18806         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18807         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18808         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18809         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18810         (_FP_SETQNAN): New macro.
18811         (_FP_SETQNAN_SEMIRAW): Likewise.
18812         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18813         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18814         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18815         (FP_EXTEND): Use _FP_FRAC_SNANP.
18816         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18817         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18818         into account.
18819         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18820         New macro.
18821         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18822         Likewise.
18823
18824 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18825
18826         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18827         with DIVIDE_BY_ZERO_EXCEPTION.
18828         (gamma_test_data): Likewise.
18829         (lgamma_test_data): Likewise.
18830         (log_test_data): Likewise.
18831         (log10_test_data): Likewise.
18832         (log2_test_data): Likewise.
18833         (tgamma_test_data): Likewise.
18834
18835         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18836         (acos_test_tonearest): Likewise.
18837         (acos_test_towardzero): Likewise.
18838         (acos_test_downward): Likewise.
18839         (acos_test_upward): Likewise.
18840         (acosh_test): Likewise.
18841         (asin_test): Likewise.
18842         (asin_test_tonearest): Likewise.
18843         (asin_test_towardzero): Likewise.
18844         (asin_test_downward): Likewise.
18845         (asin_test_upward): Likewise.
18846         (asinh_test): Likewise.
18847         (atan_test): Likewise.
18848         (atanh_test): Likewise.
18849         (atan2_test): Likewise.
18850         (cabs_test): Likewise.
18851         (cacos_test): Likewise.
18852         (cacosh_test): Likewise.
18853         (casin_test): Likewise.
18854         (casinh_test): Likewise.
18855         (catan_test): Likewise.
18856         (catanh_test): Likewise.
18857         (cbrt_test): Likewise.
18858         (ccos_test): Likewise.
18859         (ccosh_test): Likewise.
18860         (cexp_test): Likewise.
18861         (clog_test): Likewise.
18862         (clog10_test): Likewise.
18863         (cos_test): Likewise.
18864         (cos_test_tonearest): Likewise.
18865         (cos_test_towardzero): Likewise.
18866         (cos_test_downward): Likewise.
18867         (cos_test_upward): Likewise.
18868         (cosh_test): Likewise.
18869         (cosh_test_tonearest): Likewise.
18870         (cosh_test_towardzero): Likewise.
18871         (cosh_test_downward): Likewise.
18872         (cosh_test_upward): Likewise.
18873         (cpow_test): Likewise.
18874         (csin_test): Likewise.
18875         (csinh_test): Likewise.
18876         (csqrt_test): Likewise.
18877         (ctan_test): Likewise.
18878         (ctan_test_tonearest): Likewise.
18879         (ctan_test_towardzero): Likewise.
18880         (ctan_test_downward): Likewise.
18881         (ctan_test_upward): Likewise.
18882         (ctanh_test): Likewise.
18883         (ctanh_test_tonearest): Likewise.
18884         (ctanh_test_towardzero): Likewise.
18885         (ctanh_test_downward): Likewise.
18886         (ctanh_test_upward): Likewise.
18887         (erf_test): Likewise.
18888         (erfc_test): Likewise.
18889         (exp_test): Likewise.
18890         (exp_test_tonearest): Likewise.
18891         (exp_test_towardzero): Likewise.
18892         (exp_test_downward): Likewise.
18893         (exp_test_upward): Likewise.
18894         (exp10_test): Likewise.
18895         (exp2_test): Likewise.
18896         (expm1_test): Likewise.
18897         (fmod_test): Likewise.
18898         (gamma_test): Likewise.
18899         (hypot_test): Likewise.
18900         (j0_test): Likewise.
18901         (j1_test): Likewise.
18902         (jn_test): Likewise.
18903         (lgamma_test): Likewise.
18904         (log_test): Likewise.
18905         (log10_test): Likewise.
18906         (log1p_test): Likewise.
18907         (log2_test): Likewise.
18908         (logb_test_downward): Likewise.
18909         (pow_test): Likewise.
18910         (pow_test_tonearest): Likewise.
18911         (pow_test_towardzero): Likewise.
18912         (pow_test_downward): Likewise.
18913         (pow_test_upward): Likewise.
18914         (remainder_test): Likewise.
18915         (remquo_test): Likewise.
18916         (sin_test): Likewise.
18917         (sin_test_tonearest): Likewise.
18918         (sin_test_towardzero): Likewise.
18919         (sin_test_downward): Likewise.
18920         (sin_test_upward): Likewise.
18921         (sincos_test): Likewise.
18922         (sinh_test): Likewise.
18923         (sinh_test_tonearest): Likewise.
18924         (sinh_test_towardzero): Likewise.
18925         (sinh_test_downward): Likewise.
18926         (sinh_test_upward): Likewise.
18927         (sqrt_test): Likewise.
18928         (tan_test): Likewise.
18929         (tan_test_tonearest): Likewise.
18930         (tan_test_towardzero): Likewise.
18931         (tan_test_downward): Likewise.
18932         (tan_test_upward): Likewise.
18933         (tanh_test): Likewise.
18934         (tgamma_test): Likewise.
18935         (y0_test): Likewise.
18936         (y1_test): Likewise.
18937         (yn_test): Likewise.
18938
18939         * math/gen-libm-test.pl (adjust_arg): Remove function.
18940         (special_function): Remove argument $in_func.  Only handle
18941         generating output for tables of tests, not inside functions.
18942         (parse_args): Likewise.
18943         (generate_testfile): Remove variable $in_func.  Update call to
18944         parse_args.
18945         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18946         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18947         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18948         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18949         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18950         (MAX_VALUE_INIT): Rename macro to max_value.
18951         (MIN_VALUE_INIT): Rename macro to min_value.
18952         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18953         (plus_zero): Remove variable.
18954         (minus_zero): Likewise.
18955         (plus_infty): Likewise.
18956         (minus_infty): Likewise.
18957         (qnan_value): Likewise.
18958         (max_value): Likewise.
18959         (min_value): Likewise.
18960         (min_subnorm_value): Likewise.
18961
18962 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18963
18964         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18965         uint64_t or uint32_t usage.
18966         * crypt/sha256-block.c: Likewise.
18967         * crypt/sha256-crypt.c: Likewise.
18968         * crypt/sha256.c: Likewise.
18969         * crypt/sha512-block.c: Likewise.
18970         * crypt/sha512-crypt.c: Likewise.
18971         * crypt/sha512.c: Likewise.
18972         * debug/backtrace-tst.c: Likewise.
18973         * debug/pcprofiledump.c: Likewise.
18974         * elf/cache.c: Likewise.
18975         * elf/dl-cache.c: Likewise.
18976         * elf/dl-misc.c: Likewise.
18977         * elf/dl-profile.c: Likewise.
18978         * elf/dl-support.c: Likewise.
18979         * elf/ldconfig.c: Likewise.
18980         * elf/sprof.c: Likewise.
18981         * iconv/dummy-repertoire.c: Likewise.
18982         * iconv/iconv_charmap.c: Likewise.
18983         * iconv/skeleton.c: Likewise.
18984         * iconvdata/8bit-generic.c: Likewise.
18985         * iconvdata/cp737.h: Likewise.
18986         * iconvdata/cp775.h: Likewise.
18987         * iconvdata/ibm1008.h: Likewise.
18988         * iconvdata/ibm1025.h: Likewise.
18989         * iconvdata/ibm1046.h: Likewise.
18990         * iconvdata/ibm1097.h: Likewise.
18991         * iconvdata/ibm1112.h: Likewise.
18992         * iconvdata/ibm1122.h: Likewise.
18993         * iconvdata/ibm1123.h: Likewise.
18994         * iconvdata/ibm1124.h: Likewise.
18995         * iconvdata/ibm1129.h: Likewise.
18996         * iconvdata/ibm1130.h: Likewise.
18997         * iconvdata/ibm1132.h: Likewise.
18998         * iconvdata/ibm1133.h: Likewise.
18999         * iconvdata/ibm1137.h: Likewise.
19000         * iconvdata/ibm1140.h: Likewise.
19001         * iconvdata/ibm1141.h: Likewise.
19002         * iconvdata/ibm1142.h: Likewise.
19003         * iconvdata/ibm1143.h: Likewise.
19004         * iconvdata/ibm1144.h: Likewise.
19005         * iconvdata/ibm1145.h: Likewise.
19006         * iconvdata/ibm1146.h: Likewise.
19007         * iconvdata/ibm1147.h: Likewise.
19008         * iconvdata/ibm1148.h: Likewise.
19009         * iconvdata/ibm1149.h: Likewise.
19010         * iconvdata/ibm1153.h: Likewise.
19011         * iconvdata/ibm1154.h: Likewise.
19012         * iconvdata/ibm1155.h: Likewise.
19013         * iconvdata/ibm1156.h: Likewise.
19014         * iconvdata/ibm1157.h: Likewise.
19015         * iconvdata/ibm1158.h: Likewise.
19016         * iconvdata/ibm1160.h: Likewise.
19017         * iconvdata/ibm1161.h: Likewise.
19018         * iconvdata/ibm1162.h: Likewise.
19019         * iconvdata/ibm1163.h: Likewise.
19020         * iconvdata/ibm1164.h: Likewise.
19021         * iconvdata/ibm1166.h: Likewise.
19022         * iconvdata/ibm1167.h: Likewise.
19023         * iconvdata/ibm12712.h: Likewise.
19024         * iconvdata/ibm1390.h: Likewise.
19025         * iconvdata/ibm1399.h: Likewise.
19026         * iconvdata/ibm16804.h: Likewise.
19027         * iconvdata/ibm4517.h: Likewise.
19028         * iconvdata/ibm4899.h: Likewise.
19029         * iconvdata/ibm4909.h: Likewise.
19030         * iconvdata/ibm4971.h: Likewise.
19031         * iconvdata/ibm5347.h: Likewise.
19032         * iconvdata/ibm803.h: Likewise.
19033         * iconvdata/ibm856.h: Likewise.
19034         * iconvdata/ibm901.h: Likewise.
19035         * iconvdata/ibm902.h: Likewise.
19036         * iconvdata/ibm9030.h: Likewise.
19037         * iconvdata/ibm9066.h: Likewise.
19038         * iconvdata/ibm921.h: Likewise.
19039         * iconvdata/ibm922.h: Likewise.
19040         * iconvdata/ibm9448.h: Likewise.
19041         * iconvdata/isiri-3342.h: Likewise.
19042         * iconvdata/jis0201.h: Likewise.
19043         * include/link.h: Likewise.
19044         * include/netdb.h: Likewise.
19045         * inet/check_native.c: Likewise.
19046         * inet/check_pf.c: Likewise.
19047         * inet/getipv4sourcefilter.c: Likewise.
19048         * inet/getnameinfo.c: Likewise.
19049         * inet/getsourcefilter.c: Likewise.
19050         * inet/htonl.c: Likewise.
19051         * inet/setipv4sourcefilter.c: Likewise.
19052         * inet/setsourcefilter.c: Likewise.
19053         * inet/test-inet6_opt.c: Likewise.
19054         * inet/tst-network.c: Likewise.
19055         * locale/C-collate.c: Likewise.
19056         * locale/C-ctype.c: Likewise.
19057         * locale/C-time.c: Likewise.
19058         * locale/C-translit.h: Likewise.
19059         * locale/loadarchive.c: Likewise.
19060         * locale/programs/3level.h: Likewise.
19061         * locale/programs/charmap.c: Likewise.
19062         * locale/programs/charmap.h: Likewise.
19063         * locale/programs/ld-address.c: Likewise.
19064         * locale/programs/ld-collate.c: Likewise.
19065         * locale/programs/ld-ctype.c: Likewise.
19066         * locale/programs/ld-identification.c: Likewise.
19067         * locale/programs/ld-measurement.c: Likewise.
19068         * locale/programs/ld-messages.c: Likewise.
19069         * locale/programs/ld-monetary.c: Likewise.
19070         * locale/programs/ld-name.c: Likewise.
19071         * locale/programs/ld-numeric.c: Likewise.
19072         * locale/programs/ld-paper.c: Likewise.
19073         * locale/programs/ld-telephone.c: Likewise.
19074         * locale/programs/ld-time.c: Likewise.
19075         * locale/programs/linereader.c: Likewise.
19076         * locale/programs/locale.c: Likewise.
19077         * locale/programs/locarchive.c: Likewise.
19078         * locale/programs/locfile.h: Likewise.
19079         * locale/programs/repertoire.c: Likewise.
19080         * locale/programs/simple-hash.c: Likewise.
19081         * locale/programs/simple-hash.h: Likewise.
19082         * malloc/memusage.c: Likewise.
19083         * malloc/memusagestat.c: Likewise.
19084         * nis/nis_defaults.c: Likewise.
19085         * nis/nis_hash.c: Likewise.
19086         * nis/nis_print.c: Likewise.
19087         * nis/nis_xdr.c: Likewise.
19088         * nscd/connections.c: Likewise.
19089         * nscd/hstcache.c: Likewise.
19090         * nscd/nscd_gethst_r.c: Likewise.
19091         * nscd/nscd_getserv_r.c: Likewise.
19092         * nscd/nscd_helper.c: Likewise.
19093         * nscd/servicescache.c: Likewise.
19094         * nss/makedb.c: Likewise.
19095         * nss/nss_db/db-XXX.c: Likewise.
19096         * nss/nss_db/db-initgroups.c: Likewise.
19097         * nss/nss_db/db-netgrp.c: Likewise.
19098         * nss/nss_files/files-network.c: Likewise.
19099         * nss/nss_files/files-parse.c: Likewise.
19100         * posix/bug-regex5.c: Likewise.
19101         * posix/fnmatch_loop.c: Likewise.
19102         * posix/regcomp.c: Likewise.
19103         * posix/regexec.c: Likewise.
19104         * posix/tst-rfc3484-2.c: Likewise.
19105         * posix/tst-rfc3484-3.c: Likewise.
19106         * posix/tst-rfc3484.c: Likewise.
19107         * resolv/nss_dns/dns-canon.c: Likewise.
19108         * resolv/nss_dns/dns-network.c: Likewise.
19109         * resolv/res_init.c: Likewise.
19110         * resolv/res_mkquery.c: Likewise.
19111         * resolv/tst-aton.c: Likewise.
19112         * stdlib/cxa_atexit.c: Likewise.
19113         * stdlib/cxa_finalize.c: Likewise.
19114         * stdlib/gen-fpioconst.c: Likewise.
19115         * stdlib/strtol_l.c: Likewise.
19116         * string/tst-endian.c: Likewise.
19117         * sunrpc/auth_des.c: Likewise.
19118         * sunrpc/clnt_udp.c: Likewise.
19119         * sunrpc/rtime.c: Likewise.
19120         * sunrpc/svcauth_des.c: Likewise.
19121         * sunrpc/xdr.c: Likewise.
19122         * sunrpc/xdr_intXX_t.c: Likewise.
19123         * sunrpc/xdr_rec.c: Likewise.
19124         * sysdeps/generic/ldconfig.h: Likewise.
19125         * sysdeps/generic/ldsodefs.h: Likewise.
19126         * sysdeps/generic/memusage.h: Likewise.
19127         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19128         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19129         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19130         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19131         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19133         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19134         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19135         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19136         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19137         * sysdeps/posix/getaddrinfo.c: Likewise.
19138         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19139         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19140         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19141         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19142         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19143         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19144         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19145         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19146         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19147         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19148         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19149         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19150         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19151         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19152         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19153         * sysdeps/x86_64/dl-tls.h: Likewise.
19154         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19155         * time/alt_digit.c: Likewise.
19156         * time/era.c: Likewise.
19157         * wcsmbs/tst-c16c32-1.c: Likewise.
19158
19159 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19160
19161         * math/libm-test.inc (struct test_sincos_data): New type.
19162         (RUN_TEST_LOOP_sincos): New macro.
19163         (sincos_test_data): New variable.
19164         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19165
19166 2013-05-16  Richard Henderson  <rth@redhat.com>
19167
19168         * math/atest-exp2.c (LIMB64): New macro.
19169         (CONSTSZ): New macro.
19170         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19171         (hexdig): Move ...
19172         (print_mpn_fp): ... to function scope.
19173         (read_mpn_hex): Remove.
19174         (get_log2): Remove.
19175         (exp2_mpn): Use mp_log2.
19176         (main): Use mp_exp1.
19177
19178 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19179
19180         * math/libm-test.inc: Remove comment about not testing "inexact"
19181         exceptions.
19182         (INEXACT_EXCEPTION): New macro.
19183         (NO_INEXACT_EXCEPTION): Likewise.
19184         (INVALID_EXCEPTION_OK): Update value.
19185         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19186         (OVERFLOW_EXCEPTION_OK): Likewise.
19187         (UNDERFLOW_EXCEPTION_OK): Likewise.
19188         (IGNORE_ZERO_INF_SIGN): Likewise.
19189         (ERRNO_UNCHANGED): Likewise.
19190         (ERRNO_EDOM): Likewise.
19191         (ERRNO_ERANGE): Likewise.
19192         (test_exceptions): Handle testing "inexact" exceptions.
19193         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19194         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19195         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19196         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19197         INEXACT_EXCEPTION.
19198         (rint_towardzero_test_data): Likewise.
19199         (rint_downward_test_data): Likewise.
19200         (rint_upward_test_data): Likewise.
19201
19202         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19203         with OVERFLOW_EXCEPTION.
19204         (exp10_test_data): Likewise.
19205         (exp2_test_data): Likewise.
19206         (expm1_test_data): Likewise.
19207         (lgamma_test_data): Likewise.
19208         (pow_test_data): Likewise.
19209         (tgamma_test_data): Likewise.
19210         (yn_test_data): Remove duplicate test of overflow.
19211
19212         * math/libm-test.inc (struct test_cc_c_data): New type.
19213         (RUN_TEST_LOOP_cc_c): New macro.
19214         (cpow_test_data): New variable.
19215         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19216
19217         * math/libm-test.inc (struct test_f_L_data): New type.
19218         (RUN_TEST_LOOP_f_L): New macro.
19219         (llrint_test_data): New variable.
19220         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19221         (llrint_tonearest_test_data): New variable.
19222         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19223         (llrint_towardzero_test_data): New variable.
19224         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19225         (llrint_downward_test_data): New variable.
19226         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19227         (llrint_upward_test_data): New variable.
19228         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19229         (llround_test_data): New variable.
19230         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19231
19232 2013-05-13  Peter Collingbourne  <pcc@google.com>
19233
19234         * math/atest-exp2.c (get_log2): Remove const attribute.
19235
19236 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19237
19238         * math/libm-test.inc (struct test_f_l_data): New type.
19239         (RUN_TEST_LOOP_f_l): New macro.
19240         (lrint_test_data): New variable.
19241         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19242         (lrint_tonearest_test_data): New variable.
19243         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19244         (lrint_towardzero_test_data): New variable.
19245         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19246         (lrint_downward_test_data): New variable.
19247         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19248         (lrint_upward_test_data): New variable.
19249         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19250         (lround_test_data): New variable.
19251         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19252
19253 2013-05-15  Peter Collingbourne  <pcc@google.com>
19254
19255         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19256         (EXTRACT_WORDS64) Use where appropriate.
19257         (INSERT_WORDS64) Likewise.
19258
19259         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19260         constraints with x constraints.
19261         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19262
19263         * malloc/obstack.c (_obstack_compat): Add initializer.
19264
19265 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19266
19267         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19268         si_trapno and add si_addr_lsb to _sifields.sigfault.
19269         (si_trapno): Remove macro.
19270         (si_addr_lsb): Define new macro.
19271         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19272
19273 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19274
19275         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19276         instead of TEST_f_l.
19277         (llrint_test_tonearest): Likewise.
19278         (llrint_test_towardzero): Likewise.
19279         (llrint_test_downward): Likewise.
19280         (llrint_test_upward): Likewise.
19281         (llround_test): Likewise.
19282
19283         * math/libm-test.inc (struct test_f_i_data): Add comment.
19284         (RUN_TEST_LOOP_f_b): New macro.
19285         (RUN_TEST_LOOP_f_b_tg): Likewise.
19286         (finite_test_data): New variable.
19287         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19288         (isfinite_test_data): New variable.
19289         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19290         (isinf_test_data): New variable.
19291         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19292         (isnan_test_data): New variable.
19293         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19294         (isnormal_test_data): New variable.
19295         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19296         (issignaling_test_data): New variable.
19297         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19298         (signbit_test_data): New variable.
19299         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19300
19301         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19302         with INVALID_EXCEPTION.
19303         (acosh_test_data): Likewise.
19304         (asin_test_data): Likewise.
19305         (atanh_test_data): Likewise.
19306         (fmod_test_data): Likewise.
19307         (log_test_data): Likewise.
19308         (log10_test_data): Likewise.
19309         (log2_test_data): Likewise.
19310         (pow_test_data): Likewise.
19311         (sqrt_test_data): Likewise.
19312         (y0_test_data): Likewise.
19313         (y1_test_data): Likewise.
19314         (yn_test_data): Likewise.
19315
19316         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19317         function contents.
19318
19319         * math/libm-test.inc (struct test_ff_i_data): New type.
19320         (RUN_TEST_LOOP_ff_i_tg): New macro.
19321         (isgreater_test_data): New variable.
19322         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19323         (isgreaterequal_test_data): New variable.
19324         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19325         (isless_test_data): New variable.
19326         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19327         (islessequal_test_data): New variable.
19328         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19329         (islessgreater_test_data): New variable.
19330         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19331         (isunordered_test_data): New variable.
19332         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19333
19334 2013-05-14  David S. Miller  <davem@davemloft.net>
19335
19336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19337
19338 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19339
19340         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19341
19342         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19343         extra_test to int.
19344         (struct test_f_i_data): Change type of max_ulp to int.
19345
19346         * math/libm-test.inc (test_ffI_f1_data): New type.
19347         (RUN_TEST_LOOP_ffI_f1): New macro.
19348         (remquo_test_data): New variable.
19349         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19350
19351         * setjmp/tst-setjmp-fp.c: New file.
19352         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19353         (link-libm): New variable.
19354         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19355
19356         * math/libm-test.inc (struct test_f_i_data): New type.
19357         (RUN_TEST_LOOP_f_i): New macro.
19358         (RUN_TEST_LOOP_f_i_tg): Likewise.
19359         (fpclassify_test_data): New variable.
19360         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19361         (ilogb_test_data): New variable.
19362         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19363
19364         * math/libm-test.inc (scalbln_test): Correct function name in END
19365         call.
19366
19367         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19368         (RUN_TEST_LOOP_fI_f1): New macro.
19369         (frexp_test_data): New variable.
19370         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19371
19372         * math/libm-test.inc (struct test_fF_f1_data): New type.
19373         (RUN_TEST_LOOP_fF_f1): New macro.
19374         (modf_test_data): New variable.
19375         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19376
19377         * math/libm-test.inc (struct test_f_f1_data): New type.
19378         (RUN_TEST_LOOP_f_f1): New macro.
19379         (gamma_test_data): New variable.
19380         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19381         (lgamma_test_data): New variable.
19382         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19383
19384 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19385
19386         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19387         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19388         (main): Comment "tls" pseudo-hwcap.
19389
19390 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19391
19392         * math/libm-test.inc (struct test_fl_f_data): New type.
19393         (RUN_TEST_LOOP_fl_f): New variable.
19394         (scalbln_test_data): New variable.
19395         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19396
19397         * math/libm-test.inc (struct test_fi_f_data): New type.
19398         (RUN_TEST_LOOP_fi_f): New macro.
19399         (ldexp_test_data): New variable.
19400         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19401         (scalbn_test_data): New variable.
19402         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19403
19404         * math/libm-test.inc (struct test_c_f_data): New type.
19405         (RUN_TEST_LOOP_c_f): New macro.
19406         (cabs_test_data): New variable.
19407         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19408         (carg_test_data): New variable.
19409         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19410         (cimag_test_data): New variable.
19411         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19412         (creal_test_data): New variable.
19413         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19414
19415         * math/libm-test.inc (struct test_if_f_data): New type.
19416         (RUN_TEST_LOOP_if_f): New macro.
19417         (jn_test_data): New variable.
19418         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19419         (yn_test_data): New variable.
19420         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19421
19422         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19423
19424 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19425
19426         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19427         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19428
19429 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19430
19431         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19432         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19433         (bench-deps): Add bench-timing.h.
19434         * benchtests-bench-skeleton.c: Include bench-timing.h.
19435         (main): Use TIMING_* macros instead of clock_gettime.
19436         * benchtests/bench-timing.h: New file.
19437
19438         [BZ #14582]
19439         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19440         Renamed from _LIB_VERSION.
19441         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19442
19443 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19444
19445         * math/libm-test.inc (struct test_fff_f_data): New type.
19446         (RUN_TEST_LOOP_fff_f): New macro.
19447         (fma_test_data): New variable.
19448         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19449         (fma_towardzero_test_data): New variable.
19450         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19451         (fma_downward_test_data): New variable.
19452         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19453         (fma_upward_test_data): New variable.
19454         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19455
19456         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19457         (struct test_c_c_data): New type.
19458         (RUN_TEST_LOOP_c_c): New macro.
19459         (cacos_test_data): New variable.
19460         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19461         (cacosh_test_data): New variable.
19462         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19463         (casin_test_data): New variable.
19464         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19465         (casinh_test_data): New variable.
19466         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19467         (catan_test_data): New variable.
19468         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19469         (catanh_test_data): New variable.
19470         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19471         (ccos_test_data): New variable.
19472         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19473         (ccosh_test_data): New variable.
19474         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19475         (cexp_test_data): New variable.
19476         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19477         (clog_test_data): New variable.
19478         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19479         (clog10_test_data): New variable.
19480         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19481         (conj_test_data): New variable.
19482         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19483         (cproj_test_data): New variable.
19484         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19485         (csin_test_data): New variable.
19486         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19487         (csinh_test_data): New variable.
19488         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19489         (csqrt_test_data): New variable.
19490         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19491         (ctan_test_data): New variable.
19492         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19493         (ctan_tonearest_test_data): New variable.
19494         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19495         (ctan_towardzero_test_data): New variable.
19496         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19497         (ctan_downward_test_data): New variable.
19498         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19499         (ctan_upward_test_data): New variable.
19500         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19501         (ctanh_test_data): New variable.
19502         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19503         (ctanh_tonearest_test_data): New variable.
19504         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19505         (ctanh_towardzero_test_data): New variable.
19506         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19507         (ctanh_downward_test_data): New variable.
19508         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19509         (ctanh_upward_test_data): New variable.
19510         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19511         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19512         of BUILD_COMPLEX.
19513
19514         * math/libm-test.inc (struct test_ff_f_data): New type.
19515         (struct test_ff_f_data_nexttoward): Likewise.
19516         (RUN_TEST_LOOP_2_f): New macro.
19517         (RUN_TEST_LOOP_ff_f): Likewise.
19518         (atan2_test_data): New variable.
19519         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19520         (copysign_test_data): New variable.
19521         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19522         (fdim_test_data): New variable.
19523         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19524         (fmax_test_data): New variable.
19525         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19526         (fmin_test_data): New variable.
19527         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19528         (fmod_test_data): New variable.
19529         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19530         (hypot_test_data): New variable.
19531         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19532         (nextafter_test_data): New variable.
19533         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19534         (nexttoward_test_data): New variable.
19535         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19536         (pow_test_data): New variable.
19537         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19538         (pow_tonearest_test_data): New variable.
19539         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19540         (pow_towardzero_test_data): New variable.
19541         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19542         (pow_downward_test_data): New variable.
19543         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19544         (pow_upward_test_data): New variable.
19545         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19546         (remainder_test_data): New variable.
19547         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19548         (scalb_test_data): New variable.
19549         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19550         * sysdeps/i386/fpu/libm-test-ulps: Update.
19551
19552 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19553
19554         * math/libm-test.inc (fma_test): Use max_value instead of local
19555         variable fltmax.
19556         (nextafter_test): Likewise.
19557
19558         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19559         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19560         (acos_downward_test_data): New variable.
19561         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19562         (acos_upward_test_data): New variable.
19563         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19564         (acosh_test_data): New variable.
19565         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19566         (asin_test_data): New variable.
19567         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19568         (asin_tonearest_test_data): New variable.
19569         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19570         (asin_towardzero_test_data): New variable.
19571         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19572         (asin_downward_test_data): New variable.
19573         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19574         (asin_upward_test_data): New variable.
19575         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19576         (asinh_test_data): New variable.
19577         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19578         (atan_test_data): New variable.
19579         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19580         (atanh_test_data): New variable.
19581         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19582         (cbrt_test_data): New variable.
19583         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19584         (ceil_test_data): New variable.
19585         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19586         (cos_test_data): New variable.
19587         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19588         (cos_tonearest_test_data): New variable.
19589         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19590         (cos_towardzero_test_data): New variable.
19591         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19592         (cos_downward_test_data): New variable.
19593         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19594         (cos_upward_test_data): New variable.
19595         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19596         (cosh_test_data): New variable.
19597         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19598         (cosh_tonearest_test_data): New variable.
19599         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19600         (cosh_towardzero_test_data): New variable.
19601         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19602         (cosh_downward_test_data): New variable.
19603         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19604         (cosh_upward_test_data): New variable.
19605         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19606         (erf_test_data): New variable.
19607         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19608         (erfc_test_data): New variable.
19609         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19610         (exp_test_data): New variable.
19611         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19612         (exp_tonearest_test_data): New variable.
19613         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19614         (exp_towardzero_test_data): New variable.
19615         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19616         (exp_downward_test_data): New variable.
19617         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19618         (exp_upward_test_data): New variable.
19619         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19620         (exp10_test_data): New variable.
19621         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19622         (exp2_test_data): New variable.
19623         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19624         (expm1_test_data): New variable.
19625         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19626         (fabs_test_data): New variable.
19627         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19628         (floor_test_data): New variable.
19629         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19630         (j0_test_data): New variable.
19631         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19632         (j1_test_data): New variable.
19633         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19634         (log_test_data): New variable.
19635         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19636         (log10_test_data): New variable.
19637         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19638         (log1p_test_data): New variable.
19639         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19640         (log2_test_data): New variable.
19641         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19642         (logb_test_data): New variable.
19643         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19644         (logb_downward_test_data): New variable.
19645         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19646         (nearbyint_test_data): New variable.
19647         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19648         (rint_test_data): New variable.
19649         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19650         (rint_tonearest_test_data): New variable.
19651         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19652         (rint_towardzero_test_data): New variable.
19653         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19654         (rint_downward_test_data): New variable.
19655         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19656         (rint_upward_test_data): New variable.
19657         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19658         (round_test_data): New variable.
19659         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19660         (sin_test_data): New variable.
19661         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19662         (sin_tonearest_test_data): New variable.
19663         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19664         (sin_towardzero_test_data): New variable.
19665         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19666         (sin_downward_test_data): New variable.
19667         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19668         (sin_upward_test_data): New variable.
19669         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19670         (sinh_test_data): New variable.
19671         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19672         (sinh_tonearest_test_data): New variable.
19673         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19674         (sinh_towardzero_test_data): New variable.
19675         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19676         (sinh_downward_test_data): New variable.
19677         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19678         (sinh_upward_test_data): New variable.
19679         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19680         (sqrt_test_data): New variable.
19681         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19682         (tan_test_data): New variable.
19683         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19684         (tan_tonearest_test_data): New variable.
19685         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19686         (tan_towardzero_test_data): New variable.
19687         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19688         (tan_downward_test_data): New variable.
19689         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19690         (tan_upward_test_data): New variable.
19691         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19692         (tanh_test_data): New variable.
19693         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19694         (tgamma_test_data): New variable.
19695         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19696         (trunc_test_data): New variable.
19697         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19698         (y0_test_data): New variable.
19699         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19700         (y1_test_data): New variable.
19701         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19702         (significand_test_data): New variable.
19703         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19704
19705 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19706
19707         [BZ #12387]
19708         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19709
19710 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19711
19712         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19713
19714 2013-05-10  Andreas Jaeger  <aj@suse.de>
19715
19716         [BZ #15448]
19717         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19718         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19719
19720 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19721
19722         * math/gen-libm-test.pl (adjust_arg): New function.
19723         (special_functions): Handle generating output in both functions
19724         and arrays.
19725         (parse_args): Likewise.
19726         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19727         $in_func argument to parse_args.
19728         * math/libm-test.inc (struct test_f_f_data): New type.
19729         (IF_ROUND_INIT_): New macro.
19730         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19731         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19732         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19733         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19734         (ROUND_RESTORE_): Likewise.
19735         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19736         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19737         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19738         (ROUND_RESTORE_FE_UPWARD): Likewise.
19739         (RUN_TEST_LOOP_f_f): New macro.
19740         (acos_test_data): New variable.
19741         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19742         (acos_tonearest_test_data): New variable.
19743         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19744
19745 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19746
19747         * benchtests/bench-skeleton.c (startup): Fix coding style.
19748
19749 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19750
19751         [BZ #6809]
19752         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19753         negative infinity argument.
19754         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19755         negative infinity argument.
19756         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19757         negative infinity argument.
19758         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19759         domain errors.
19760
19761 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19762
19763         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19764         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19765         * iconv/iconv_prog.c (main): Likewise.
19766         * locale/programs/charmap-dir.c (charmap_readdir)
19767         (fopen_uncompressed): Likewise.
19768         * locale/programs/locfile.c (siblings_uncached)
19769         (write_locale_data): Use lstat64 instead of lstat.
19770         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19771         stat.
19772
19773 2013-05-10  Andreas Jaeger  <aj@suse.de>
19774
19775         [BZ #15395]
19776         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19777         localization.
19778         Include <locale.h>.
19779
19780 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19781
19782         * elf/dl-close.c (_dl_close_worker): Add comments.
19783
19784 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19785
19786         [BZ #15359]
19787         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19788         high part of pi/2.
19789         (__ieee754_rem_pio2l): Update comments.
19790
19791         [BZ #15429]
19792         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19793         high part of pi/2.
19794         (__ieee754_rem_pio2l): Update comments.
19795
19796         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19797         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19798
19799         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19800         M_PI_4l.
19801
19802         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19803         (M_PI_34_LOG10El): Likewise.
19804         (M_PI2_LOG10El): Likewise.
19805         (M_PI4_LOG10El): Likewise.
19806         (M_PI_LOG10El): Likewise.
19807
19808 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19809
19810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19811
19812 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19813
19814         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19815         (MINUS_ZERO_INIT): Likewise.
19816         (PLUS_INFTY_INIT): Likewise.
19817         (MINUS_INFTY_INIT): Likewise.
19818         (QNAN_VALUE_INIT): Likewise.
19819         (MAX_VALUE_INIT): Likewise.
19820         (MIN_VALUE_INIT): Likewise.
19821         (MIN_SUBNORM_VALUE_INIT): Likewise.
19822         (plus_zero): Initialize with PLUS_ZERO_INIT.
19823         (minus_zero): Initialize with MINUS_ZERO_INIT.
19824         (plus_infty): Initialize with PLUS_INFTY_INIT.
19825         (minus_infty): Initialize with MINUS_INFTY_INIT.
19826         (qnan_value): Initialize with QNAN_VALUE_INIT.
19827         (max_value): Initialize with MAX_VALUE_INIT.
19828         (min_value): Initialize with MIN_VALUE_INIT.
19829         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19830
19831         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19832         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19833         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19834         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19835
19836         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19837         (RUN_TEST_2_f): Likewise.
19838         (RUN_TEST_ff_f): Likewise.
19839         (RUN_TEST_fi_f): Likewise.
19840         (RUN_TEST_fl_f): Likewise.
19841         (RUN_TEST_fff_f): Likewise.
19842         (RUN_TEST_c_f): Likewise.
19843         (RUN_TEST_f_f1): Likewise.
19844         (RUN_TEST_fF_f1): Likewise.
19845         (RUN_TEST_fI_f1): Likewise.
19846         (RUN_TEST_ffI_f1): Likewise.
19847         (RUN_TEST_c_c): Likewise.
19848         (RUN_TEST_cc_c): Likewise.
19849         (RUN_TEST_f_i): Likewise.
19850         (RUN_TEST_f_i_tg): Likewise.
19851         (RUN_TEST_ff_i_tg): Likewise.
19852         (RUN_TEST_f_b): Likewise.
19853         (RUN_TEST_f_b_tg): Likewise.
19854         (RUN_TEST_f_l): Likewise.
19855         (RUN_TEST_f_L): Likewise.
19856         (RUN_TEST_sincos): Likewise.
19857         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19858         whether to show exceptions.  Do not include ");\n" in return
19859         value.
19860         (special_functions): Output call to RUN_TEST_sincos instead of
19861         check_float calls.  Update calls to new_test.
19862         (parse_args): Output call to single RUN_TEST_* macro instead of
19863         check_* calls and other assignments.  Update calls to new_test.
19864
19865         [BZ #2546]
19866         [BZ #2560]
19867         [BZ #5159]
19868         [BZ #15426]
19869         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19870         input to result for tgamma overflow.
19871         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19872         (gamma_coeff): New variable.
19873         (NCOEFF): New macro.
19874         (gamma_positive): New function.
19875         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19876         underflow here.  Use gamma_positive instead of exp (lgamma) for
19877         other arguments.
19878         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19879         (gamma_coeff): New variable.
19880         (NCOEFF): New macro.
19881         (gammaf_positive): New function.
19882         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19883         underflow here.  Use gamma_positive instead of exp (lgamma) for
19884         other arguments.
19885         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19886         (gamma_coeff): New variable.
19887         (NCOEFF): New macro.
19888         (gammal_positive): New function.
19889         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19890         underflow here.  Use gamma_positive instead of exp (lgamma) for
19891         other arguments.
19892         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19893         (gamma_coeff): New variable.
19894         (NCOEFF): New macro.
19895         (gammal_positive): New function.
19896         (__ieee754_gammal_r): Handle positive infinity, overflow and
19897         underflow here.  Handle NaN the same as positive infinity.  Remove
19898         check x < 0xffffffff for negative integers.  Use gamma_positive
19899         instead of exp (lgamma) for other arguments.
19900         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19901         (gamma_coeff): New variable.
19902         (NCOEFF): New macro.
19903         (gammal_positive): New function.
19904         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19905         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19906         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19907         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19908         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19909         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19910         * sysdeps/generic/math_private.h (__gamma_productf): New
19911         prototype.
19912         (__gamma_product): Likewise.
19913         (__gamma_productl): Likewise.
19914         * math/Makefile (libm-calls): Add gamma_product.
19915         * math/libm-test.inc (tgamma_test): Add more tests.
19916         * sysdeps/i386/fpu/libm-test-ulps: Update.
19917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19918
19919 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19920
19921         * benchtests/bench-skeleton.c (main): Preheat CPU.
19922
19923 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19924
19925         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19926
19927 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19928
19929         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19930         and _dl_skip_args_internal.
19931
19932 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19933
19934         * manual/message.texi (Message Translation): Talk about users.
19935         Message to key mapping impacts design.
19936
19937 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19938
19939         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19940
19941         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19942
19943         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19944         * sysdeps/wordsize-64/glob64.c: ... here.
19945
19946         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19947         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19948         New macros.
19949
19950         * debug/getlogin_r_chk.c: Moved to ...
19951         * login/getlogin_r_chk.c: ... here.
19952         * debug/Makefile (routines): Move getlogin_r_chk to ...
19953         * login/Makefile (routines): ... here.
19954         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19955         * login/Versions (libc: GLIBC_2.4): ... here.
19956
19957         * io/poll.c (__poll): Renamed from poll.
19958         Add libc_hidden_def.
19959         (poll): Define as weak alias.
19960
19961         * debug/ptsname_r_chk.c: Moved to ...
19962         * login/ptsname_r_chk.c: ... here.
19963         * debug/Makefile (routines): Move ptsname_r_chk to ...
19964         * login/Makefile (routines): ... here.
19965         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19966         * login/Versions (libc: GLIBC_2.4): ... here.
19967
19968         * posix/getlogin.c: Moved to ...
19969         * login/getlogin.c: ... here.
19970         * posix/getlogin_r.c: Moved to ...
19971         * login/getlogin_r.c: ... here.
19972         * posix/getlogin_r.c: Moved to ...
19973         * login/getlogin_r.c: ... here.
19974         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19975         * login/Makefile (routines): ... here.
19976         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19977         * login/Versions (libc: GLIBC_2.0): ... here.
19978
19979         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19980         (setrlimit): Define as weak alias.
19981
19982         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19983         Call __ names for open, ftruncate, and close.
19984         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19985         (truncate): Define as weak alias.
19986
19987 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19988
19989         * math/gen-libm-test.pl (parse_args): Initialize x before each
19990         test of frexp, modf and remquo.
19991
19992         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19993         test signgam value.
19994
19995 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19996
19997         [BZ #15418]
19998         [BZ #15419]
19999         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20000         internal tests.
20001         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20002
20003 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20004
20005         * elf/dl-writev.h: New file.
20006         * elf/dl-misc.c: Include it.
20007         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20008         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20009
20010 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20011
20012         * math/libm-test.inc (noXFails): Remove variable.
20013         (noXPasses): Likewise.
20014         (BUILD_COMPLEX_INT): Remove macro.
20015         (print_screen): Remove xfail argument.
20016         (print_screen_max_error): Likewise.
20017         (update_stats): Likewise.
20018         (print_max_error): Likewise.  Update calls to other affected
20019         functions.
20020         (print_complex_max_error): Likewise.
20021         (test_single_exception): Update calls to print_screen.
20022         (test_single_errno): Likewise.
20023         (check_float_internal): Remove xfail argument.  Update calls to
20024         other affected functions.
20025         (check_float): Likewise.
20026         (check_complex): Likewise.
20027         (check_int): Likewise.
20028         (check_long): Likewise.
20029         (check_bool): Likewise.
20030         (check_longlong): Likewise.
20031         (main): Don't print noXFails and noXPasses.
20032         * math/gen-libm-test.pl (top level): Don't mention expected
20033         failure handling in comment.
20034         (new_test): Don't handle expected failures.
20035         (parse_args): Don't mention expected failure handling in comment.
20036         (generate_testfile): Don't handle expected failures.
20037         (parse_ulps): Likewise.
20038         (print_ulps_file): Likewise.
20039         (get_failure): Remove function.
20040         (output_test): Don't handle expected failures.
20041         * make/README.libm-test: Don't mention expected failure handling.
20042
20043         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20044         (minus_zero): Likewise.
20045         (plus_infty): Likewise.
20046         (minus_infty): Likewise.
20047         (qnan_value): Likewise.
20048         (max_value): Likewise.
20049         (min_value): Likewise.
20050         (min_subnorm_value): Likewise.
20051         (initialize): Do not initialize those variables dynamically.
20052
20053 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20054
20055         * io/open.c (__open_2): Moved to ...
20056         * io/open_2.c: ... this new file.
20057         * io/open64.c (__open64_2): Moved to ...
20058         * io/open64_2.c: ... this new file.
20059         * io/openat.c (__openat_2): Moved to ...
20060         * io/openat_2.c: ... this new file.
20061         * io/openat64.c (__openat64_2): Moved to ...
20062         * io/openat64_2.c: ... this new file.
20063         * io/Makefile (routines): Add them.
20064         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20065         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20066         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20067         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20068         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20069         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20070         (__openat64): Add hidden_ver.
20071         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20072         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20073
20074         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20075         Separately conditionalize setting of GLRO(dl_sysinfo) so
20076         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20077         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20078
20079 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20080
20081         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20082         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20083         definition.
20084         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20085         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20086         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20087         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20088         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20089
20090 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20091
20092         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20093         test signgam value.
20094
20095         * math/libm-test.inc (hypot_test): Do not use
20096         IGNORE_ZERO_INF_SIGN.
20097
20098 2013-05-03  Andreas Jaeger  <aj@suse.de>
20099
20100         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20101         Linux 3.9.
20102         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20103         (PF_MAX): Adjust for VSOCK change.
20104
20105 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20106
20107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20108
20109 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20110
20111         [BZ #15264]
20112         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20113         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20114         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20115
20116 2013-05-02  David S. Miller  <davem@davemloft.net>
20117
20118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20119
20120 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20121
20122         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20123
20124 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20125
20126         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20127
20128 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20129
20130         [BZ #14952]
20131         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20132         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20133         Use __attribute__ ((__gnu_inline__)).
20134         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20135         Don't use __attribute__ ((__gnu_inline__)).
20136
20137 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20138
20139         [BZ #15423]
20140         * math/s_catan.c (__catan): Handle small real or imaginary part of
20141         input specially to avoid spurious underflow.
20142         * math/s_catanf.c (__catanf): Likewise.
20143         * math/s_catanh.c (__catanh): Likewise.
20144         * math/s_catanhf.c (__catanhf): Likewise.
20145         * math/s_catanhl.c (__catanhl): Likewise.
20146         * math/s_catanl.c (__catanl): Likewise.
20147         * math/libm-test.inc (catan_test): Add more tests.
20148         (catanh_test): Likewise.
20149         * sysdeps/i386/fpu/libm-test-ulps: Update.
20150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20151
20152 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20153
20154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20155
20156 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20157
20158         [BZ #15416]
20159         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20160         accurately for denominator in atan2.
20161         * math/s_catanf.c (__catanf): Likewise.
20162         * math/s_catanh.c (__catanh): Likewise.
20163         * math/s_catanhf.c (__catanhf): Likewise.
20164         * math/s_catanhl.c (__catanhl): Likewise.
20165         * math/s_catanl.c (__catanl): Likewise.
20166         * math/libm-test.inc (catan_test): Add more tests.
20167         (catanh_test): Likewise.
20168         * sysdeps/i386/fpu/libm-test-ulps: Update.
20169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20170
20171 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20172
20173         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20174
20175         * benchtests/Makefile (bench): Remove slow benchmarks.
20176         * benchtests/atan-inputs: Add slow benchmark inputs.
20177         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20178         (BENCH_FUNC): Accept variant offset.
20179         (VARIANT): Define.
20180         * benchtests/bench-skeleton.c (main): Run benchmark for each
20181         variant.
20182         * benchtests/cos-inputs: Add slow benchmark inputs.
20183         * benchtests/exp-inputs: Likewise.
20184         * benchtests/pow-inputs: Likewise.
20185         * benchtests/sin-inputs: Likewise.
20186         * benchtests/slowatan-inputs: Remove.
20187         * benchtests/slowatan.c: Remove.
20188         * benchtests/slowcos-inputs: Remove.
20189         * benchtests/slowcos.c: Remove.
20190         * benchtests/slowexp-inputs: Remove.
20191         * benchtests/slowexp.c: Remove.
20192         * benchtests/slowpow-inputs: Remove.
20193         * benchtests/slowpow.c: Remove.
20194         * benchtests/slowsin-inputs: Remove.
20195         * benchtests/slowsin.c: Remove.
20196         * benchtests/slowtan-inputs: Remove.
20197         * benchtests/slowtan.c: Remove.
20198         * benchtests/tan-inputs: Add slow benchmark inputs.
20199         * scripts/bench.pl: Parse comments and directives.
20200
20201         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20202         in CPPFLAGS.
20203         ($(objpfx)bench-%.c): Remove *-ITER.
20204         * benchtests/bench-modf.c: Remove definition of ITER.
20205         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20206         (main): Loop for DURATION seconds instead of fixed number of
20207         iterations.
20208         * scripts/bench.pl: Don't expect iterations in parameters.
20209
20210 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20211
20212         * io/fchdir.c (__fchdir): Renamed from fchdir.
20213         (fchdir): Define as weak alias.
20214
20215 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20216
20217         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20218         (ERRNO_EDOM): Likewise.
20219         (ERRNO_ERANGE): Likewise.
20220         (noErrnoTests): New variable.
20221         (init_max_error): Set errno to 0.
20222         (test_single_errno): New function.
20223         (test_errno): Likewise.
20224         (check_float_internal): Call test_errno.  Set errno to 0.
20225         (check_complex): Refer to errno tests in comment.
20226         (check_int): Call test_errno.  Set errno to 0.
20227         (check_long): Likewise.
20228         (check_bool): Likewise.
20229         (check_longlong): Likewise.
20230         (cos_test): Use ERRNO_* flags for errno tests instead of
20231         check_int.
20232         (expm1_test): Likewise.
20233         (fmod_test): Likewise.
20234         (ilogb_test): Likewise.
20235         (lgamma_test): Likewise.
20236         (pow_test): Likewise.
20237         (remainder_test): Likewise.
20238         (sin_test): Likewise.
20239         (tan_test): Likewise.
20240         (yn_test): Likewise.
20241         (initialize): Set errno to 0.
20242         (main): Print number of errno tests.
20243         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20244
20245 2013-04-29  Andreas Jaeger  <aj@suse.de>
20246
20247         [BZ #15084]
20248         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20249         and RES_USEVC.
20250
20251         [BZ #15085]
20252         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20253         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20254         unimplemented.
20255
20256         [BZ #15380]
20257         * stdlib/random.c (__initstate): Return NULL if
20258         __initstate fails.
20259
20260         [BZ #15086]
20261         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20262         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20263         RES_SNGLKUPREOP.
20264
20265 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20266
20267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20268
20269 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20270
20271         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20272         of individual tests.
20273         (casin_test): Likewise.
20274         (casinh_test): Likewise.
20275
20276 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20277
20278         [BZ #15409]
20279         * math/s_catan.c (__catan): Handle arguments with large real or
20280         imaginary part separately without squaring.
20281         * math/s_catanf.c (__catanf): Likewise.
20282         * math/s_catanh.c (__catanh): Likewise.
20283         * math/s_catanhf.c (__catanhf): Likewise.
20284         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20285         and redefine.
20286         (__catanhl): Handle arguments with large real or imaginary part
20287         separately without squaring.
20288         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20289         and redefine.
20290         (__catanl): Handle arguments with large real or imaginary part
20291         separately without squaring.
20292         * math/libm-test.inc (catan_test): Add more tests.
20293         (catanh_test): Likewise.
20294         * sysdeps/i386/fpu/libm-test-ulps: Update.
20295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296
20297 2013-04-27  Andreas Jaeger  <aj@suse.de>
20298
20299         [BZ #15007]
20300         * stdlib/stdlib.h: Update guards for qecvt.
20301         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20302         <stdlib.h>.
20303
20304 2013-04-27  Allan McRae  <allan@archlinux.org>
20305
20306         * sysdeps/i386/fpu/libm-test-ulps: Update.
20307
20308 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20309
20310         [BZ #15406]
20311         * math/s_catan.c: Include <float.h>.
20312         (__catan): Ensure underflow exception occurs for underflowed
20313         result.
20314         * math/s_catanf.c: Include <float.h>.
20315         (__catanf): Ensure underflow exception occurs for underflowed
20316         result.
20317         * math/s_catanh.c: Include <float.h>.
20318         (__catanh): Ensure underflow exception occurs for underflowed
20319         result.
20320         * math/s_catanhf.c: Include <float.h>.
20321         (__catanhf): Ensure underflow exception occurs for underflowed
20322         result.
20323         * math/s_catanhl.c: Include <float.h>.
20324         (__catanhl): Ensure underflow exception occurs for underflowed
20325         result.
20326         * math/s_catanl.c: Include <float.h>.
20327         (__catanl): Ensure underflow exception occurs for underflowed
20328         result.
20329         * math/libm-test.inc (catan_test): Add more tests.
20330         (catanh_test): Likewise.
20331
20332         [BZ #15405]
20333         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20334         underflowed result.
20335         * math/s_ccoshf.c (__ccoshf): Likewise.
20336         * math/s_ccoshl.c (__ccoshl): Likewise.
20337         * math/s_csin.c (__csin): Likewise.
20338         * math/s_csinf.c (__csinf): Likewise.
20339         * math/s_csinh.c (__csinh): Likewise.
20340         * math/s_csinhf.c (__csinhf): Likewise.
20341         * math/s_csinhl.c (__csinhl): Likewise.
20342         * math/s_csinl.c (__csinl): Likewise.
20343         * math/libm-test.inc (ccos_test): Add more tests.
20344         (ccosh_test): Likewise.
20345         (csin_test): Likewise.
20346         (csinh_test): Likewise.
20347
20348 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20349
20350         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20351         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20352         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20353         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20354         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20355         powerpc/power5+/fpu folders.
20356         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20357
20358
20359 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20360
20361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20362
20363 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20364
20365         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20366         additions to variable.
20367         [$(config-machine) = x86_64] (modules-names): Likewise.
20368         ($(objpfx)tst-audit3): Remove dependency.
20369         ($(objpfx)tst-audit3.out): Likewise.
20370         ($(objpfx)tst-audit4): Likewise.
20371         ($(objpfx)tst-audit4.out): Likewise.
20372         ($(objpfx)tst-audit5): Likewise.
20373         ($(objpfx)tst-audit5.out): Likewise.
20374         ($(objpfx)tst-audit6): Likewise.
20375         ($(objpfx)tst-audit6.out): Likewise.
20376         ($(objpfx)tst-audit7): Likewise.
20377         ($(objpfx)tst-audit7.out): Likewise.
20378         (tst-audit3-ENV): Remove variable.
20379         (tst-audit4-ENV): Likewise.
20380         (tst-audit5-ENV): Likewise.
20381         (tst-audit6-ENV): Likewise.
20382         (tst-audit7-ENV): Likewise.
20383         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20384         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20385         addition to variable.
20386         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20387         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20388         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20389         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20390         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20391         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20392         tst-audit3, tst-audit4 and tst-audit5.
20393         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20394         tst-audit6 and tst-audit7.
20395         [$(subdir) = elf] (modules-names): Add audit modules for those
20396         tests.
20397         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20398         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20399         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20400         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20401         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20402         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20403         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20404         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20405         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20406         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20407         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20408         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20409         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20410         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20411         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20412         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20413         Likewise.
20414         [$(subdir) = elf && $(config-cflags-avx) = yes]
20415         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20416         [$(subdir) = elf && $(config-cflags-avx) = yes]
20417         (CFLAGS-tst-auditmod4a.c): Likewise.
20418         [$(subdir) = elf && $(config-cflags-avx) = yes]
20419         (CFLAGS-tst-auditmod4b.c): Likewise.
20420         [$(subdir) = elf && $(config-cflags-avx) = yes]
20421         (CFLAGS-tst-auditmod6b.c): Likewise.
20422         [$(subdir) = elf && $(config-cflags-avx) = yes]
20423         (CFLAGS-tst-auditmod6c.c): Likewise.
20424         [$(subdir) = elf && $(config-cflags-avx) = yes]
20425         (CFLAGS-tst-auditmod7b.c): Likewise.
20426         * elf/tst-audit3.c: Move to ...
20427         * sysdeps/x86_64/tst-audit3.c: ... here.
20428         * elf/tst-audit4.c: Move to ...
20429         * sysdeps/x86_64/tst-audit4.c: ... here.
20430         * elf/tst-audit5.c: Move to ...
20431         * sysdeps/x86_64/tst-audit5.c: ... here.
20432         * elf/tst-audit6.c: Move to ...
20433         * sysdeps/x86_64/tst-audit6.c: ... here.
20434         * elf/tst-audit7.c: Move to ...
20435         * sysdeps/x86_64/tst-audit7.c: ... here.
20436         * elf/tst-auditmod3a.c: Move to ...
20437         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20438         * elf/tst-auditmod3b.c: Move to ...
20439         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20440         * elf/tst-auditmod4a.c: Move to ...
20441         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20442         * elf/tst-auditmod4b.c: Move to ...
20443         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20444         * elf/tst-auditmod5a.c: Move to ...
20445         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20446         * elf/tst-auditmod5b.c: Move to ...
20447         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20448         * elf/tst-auditmod6a.c: Move to ...
20449         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20450         * elf/tst-auditmod6b.c: Move to ...
20451         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20452         * elf/tst-auditmod6c.c: Move to ...
20453         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20454         * elf/tst-auditmod7a.c: Move to ...
20455         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20456         * elf/tst-auditmod7b.c: Move to ...
20457         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20458
20459 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20460
20461         [BZ #15366]
20462         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20463         define unconditionally.
20464         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20465         define unconditionally.
20466         (INT8_C, INT16_C, etc.): Likewise.
20467
20468 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20469
20470         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20471         __ehdr_start with hidden visibility.
20472
20473         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20474
20475 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20476
20477         * math/libm-test.inc (cos_test): Use accurate hex constants.
20478         (sincost_test): Likewise.
20479
20480 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20481
20482         * math/libm-test.inc (catan_test): Add more tests.
20483         (catanh_test): Likewise.
20484
20485         * math/s_catanf.c (__catanf): Use suffixed floating-point
20486         constants.
20487         * math/s_catanhf.c (__catanhf): Likewise.
20488         * math/s_catanhl.c (__catanhl): Likewise.
20489         * math/s_catanl.c (__catanl): Likewise.
20490
20491         [BZ #15394]
20492         * math/s_catan.c (__catan): Calculate imaginary part of result
20493         with log1p not log unless computing log of number close to 0.
20494         * math/s_catanf.c (__catanf): Likewise.
20495         * math/s_catanl.c (__catanl): Likewise.
20496         * math/s_catanh.c (__catanh): Calculate real part of result with
20497         log1p not log unless computing log of number close to 0.
20498         * math/s_catanhf.c (__catanhf): Likewise.
20499         * math/s_catanhl.c (__catanhl): Likewise.
20500         * math/libm-test.inc (catan_test): Add more tests.
20501         (catanh_test): Likewise.
20502         * sysdeps/i386/fpu/libm-test-ulps: Update.
20503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20504
20505 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20506
20507         * benchtests/Makefile: Mention files in which fast and slow
20508         paths of math functions are implemented.
20509
20510 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20511
20512         * sysdeps/posix/timespec_get.c: New file.
20513
20514 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20515
20516         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20517         POWER.
20518         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20519         for POWER.
20520         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20521         powerpc/power5/fpu folders.
20522         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20523         * benchtests/Makefile: Add modf testcase.
20524         * benchtests/bench-modf.c: New file: Benchmark test for mo
20525
20526 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20527
20528         [BZ #14888]
20529         * time/Makefile (tests): Add tst-strptime-whitespace.
20530         * time/strptime_l.c (get_number): Use ISSPACE.
20531         (__strptime_internal): Likewise.
20532         * time/tst-strptime-whitespace.c: New test case.
20533
20534 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20535
20536         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20537         member.
20538         (_nss_files_init): Set it here.
20539
20540 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20541
20542         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20543         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20544         unsigned.
20545
20546 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20547
20548         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20549
20550 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20551
20552         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20553         size just once.
20554
20555 2013-04-21  David S. Miller  <davem@davemloft.net>
20556
20557         * po/ru.po: Update Russion translation from translation project.
20558
20559 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20560
20561         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20562         and setfsgid.
20563
20564 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20565
20566         * configure.in: Remove i386 configure warning. Remove i386 case.
20567         * configure: Regenerate.
20568         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20569         Add example to error message.
20570         * sysdeps/i386/configure: Regenerate.
20571
20572 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20573
20574         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20575         slowtan.
20576         * benchtests/cos-inputs: New file.
20577         * benchtests/slowcos-inputs: New file.
20578         * benchtests/slowcos.c: New file.
20579         * benchtests/slowtan-inputs: New file.
20580         * benchtests/slowtan.c: New file.
20581         * benchtests/tan-inputs: New file.
20582
20583 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20584
20585         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20586         considered kosher.
20587
20588 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20589
20590         * benchtests/Makefile: Include cppflags-iterator.mk to add
20591         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20592
20593         * Makefile.in (bench-clean): New target.
20594         * benchtests/Makefile (bench-clean): Likewise.
20595
20596 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20597
20598         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20599
20600 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20601
20602         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20603
20604 2013-04-15  Andreas Schwab  <schwab@suse.de>
20605
20606         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20607         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20608         * nscd/pwdcache.c (cache_addpw): Likewise.
20609         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20610         more than recsize.
20611
20612 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20613
20614         * benchtests/Makefile (bench): Write all output to
20615         bench-out.tmp together.
20616
20617 2013-04-15  Andreas Schwab  <schwab@suse.de>
20618
20619         * nscd/nscd.c (main): Don't fork again after closing files.
20620
20621 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20622
20623         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20624
20625         * benchtests/Rules (bench-deps): Collect dependencies into a
20626         single variable.  Add Makefile to dependencies.
20627         ($(objpfx)bench-%.c): Depend on bench-deps.
20628
20629 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20630             Xavier Roche  <roche+kml2@exalead.com>
20631
20632         [BZ #15361]
20633         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20634         just that it's a file descriptor.
20635         * manual/llio.texi (Synchronizing AIO Operations): Update description
20636         for EBADF error from aio_fsync.
20637
20638 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20639
20640         * Rules (bench): Move target definition...
20641         * benchtests/Makefile: ... here.
20642
20643 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20644
20645         * math/libm-test.inc (cos_test): Fix PI/2 test.
20646         (sincos_test): Likewise.
20647         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20648         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20649
20650 2013-04-11  Andreas Schwab  <schwab@suse.de>
20651
20652         [BZ #13988]
20653         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20654         accept exponent character only when digits were seen.
20655         * stdio-common/Makefile (tests): Add bug26.
20656         * stdio-common/bug26.c: New file.
20657
20658         [BZ #14293]
20659         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20660         non-freeable.
20661
20662 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20663
20664         * Makeconfig (rtld-prefix): Define built linker prefix.
20665         * Rules (run-bench): Use it.
20666         * math/Makefile (run-regen-ulps): Likewise.
20667
20668         * Rules (bench): Remove eval.
20669
20670 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671             Roland McGrath  <roland@hack.frob.com>
20672             Ondrej Bilka  <neleai@seznam.cz>
20673
20674         [BZ #15346]
20675         * time/getdate.c: Include ctype.h and alloca.h.
20676         (__getdate_r): Trim leading and trailing spaces of input.
20677         * time/tst-getdate.c (tests): Add tests with leading and
20678         trailing spaces.
20679
20680 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20681
20682         [BZ #14280]
20683         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20684         when computing value.
20685
20686 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20687
20688         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20689         Use testrun.sh to run libm tests.
20690
20691         [BZ #15309]
20692         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20693
20694 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20695
20696         [BZ #15264]
20697         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20698
20699 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20700
20701         * Makefile.in (regen-ulps): New target.
20702         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20703         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20704         [ifneq (no,$(PERL)] (regen-ulps): New target.
20705         [ifeq (no,$(PERL)] (regen-ulps): New target.
20706         * math/libm-test.inc (ulps_file_name): Define.
20707         (output_dir): New variable.
20708         (options): Add "output-dir" option.
20709         (parse_opt): Handle 'o' case.
20710         (main): If output_dir is non-NULL use it as a prefix
20711         otherwise use "".
20712         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20713
20714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20715
20716         [BZ #10060, #10062]
20717         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20718         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20719         fail configure if __sync_val_compare_and_swap is not inlined.
20720         * sysdeps/i386/configure: Regenerate.
20721         * configure.in: Build for i686 when configured for i386.
20722         * configure: Regenerate.
20723         * README: Remove i386 reference.
20724
20725 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20726
20727         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20728         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20729
20730 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20731
20732         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20733         (lmsnanval): New variables.
20734         (F): Add conversion tests.
20735         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20736         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20737
20738         * stdio-common/tstdiomisc.c (F): Properly collect individual
20739         tests' results.
20740
20741         [BZ #14686, #15336]
20742         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20743         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20744         Instead, use input NaN values or generate a qNaN by arithmetic
20745         operation.  Also fix bugs to comply with the standard.
20746         * math/libm-test.inc (remainder_test): Add more tests.
20747
20748         [BZ #15335, #15342]
20749         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20751         input NaN values or generate a qNaN by arithmetic operation.
20752
20753         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20754         unreachable code.
20755
20756         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20757         definitions.
20758
20759 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20760
20761         [BZ #14478]
20762         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20763         underflowed result.
20764         * math/s_cexpf.c (__cexpf): Likewise.
20765         * math/s_cexpl.c (__cexpl): Likewise.
20766         * math/libm-test.inc (cexp_test): Add more tests.
20767
20768 2013-04-03  Andreas Schwab  <schwab@suse.de>
20769
20770         [BZ #15330]
20771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20772         order arrays from heap if bigger than alloca cutoff.
20773
20774 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20775
20776         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20777         (SNAN_TESTS_double): Refer to GCC PR56831.
20778         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20779         GCC PR56828.
20780
20781 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20782
20783         * Rules (bench): Move bench.out after the run is complete.
20784
20785         * Rules (bench): Echo currently running benchmark.
20786
20787         * benchtests/Makefile (bench): Add atan and slowatan.
20788         * benchtests/atan-inputs: New file.
20789         * benchtests/slowatan-inputs: New file.
20790         * benchtests/slowatan.c: New file.
20791
20792         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20793         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20794         its value.
20795
20796         [BZ #15305]
20797         * sysdeps/unix/sysv/linux/kernel-features.h
20798         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20799         __ASSUME_XFS_RESTRICTED_CHOWN.
20800         * sysdeps/unix/sysv/linux/pathconf.c
20801         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20802         Save and restore errno.
20803
20804 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20805
20806         [BZ #15327]
20807         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20808         arguments using __kernel_casinh.
20809         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20810         arguments using __kernel_casinhf.
20811         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20812         arguments using __kernel_casinhl.
20813         * math/libm-test.inc (cacosh_test): Add more tests.
20814         * sysdeps/i386/fpu/libm-test-ulps: Update.
20815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20816
20817 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20818
20819         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20821
20822         * bench/Makefile (bench): Add sin and slowsin.
20823         * benchtests/sin-inputs: New file.
20824         * benchtests/slowsin-inputs: New file.
20825         * benchtests/slowsin.c: New file.
20826
20827         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20828         (bench): Add slowexp and slowpow.
20829         (exp-ITER): Increase iterations.
20830         (pow-ITER): Likewise.
20831         * benchtests/exp-inputs: Change input.
20832         * benchtests/pow-inputs: Likewise.
20833         * benchtests/slowexp-inputs: New file.
20834         * benchtests/slowexp.c: New file.
20835         * benchtests/slowpow-inputs: New file.
20836         * benchtests/slowpow.c: New file.
20837
20838 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20839
20840         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20841         instructions.
20842         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20843         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20844         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20845         * benchtests/Makefile: Add rint benchtest.
20846         * benchtests/rint-inputs: Input for rint benchtest.
20847
20848 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20849
20850         * Versions.def (libm): Add GLIBC_2.18.
20851         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20852         hidden libm prototypes.
20853         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20854         * math/Makefile (libm-calls): Add s_issignaling.
20855         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20856         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20857         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20858         declaration.
20859         * math/math.h [__USE_GNU] (issignaling): New macro.
20860         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20861         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20862         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20863         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20864         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20865         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20866         * manual/arith.texi (issignaling): New section.
20867         * manual/libm-err-tab.pl (@all_functions): Update comment.
20868         * math/gen-libm-test.pl (parse_args): Apply special handling for
20869         issignaling.
20870         * math/libm-test.inc (print_float, issignaling_test): New
20871         functions.
20872         (check_float_internal): Add issignaling checks.
20873         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20874         default definition.
20875         * sysdeps/powerpc/math-tests.h: New file.
20876         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20877         tests.
20878         * math/test-snan.c (TEST_FUNC): Likewise.
20879
20880 2013-03-30  David S. Miller  <davem@davemloft.net>
20881
20882         * po/de.po: Update from translation team.
20883
20884 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20885
20886         [BZ #10357]
20887         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20888         imaginary part less than 1.0 and real part less than 0.5
20889         specially.
20890         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20891         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20892         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20893         (cacos_test): Add more tests.
20894         (casin_test): Likewise.
20895         (casinh_test): Likewise.
20896         * sysdeps/i386/fpu/libm-test-ulps: Update.
20897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20898
20899 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20900
20901         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20902         ONE with its value.
20903
20904         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20905         (__pow_mp): Replace ONE and MONE with their values.
20906         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20907         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20908         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20909         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20910         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20911         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20912
20913         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20914
20915         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20916         (__pow_mp): Replace ZERO and MZERO with their values.
20917         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20918         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20919         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20921         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20922         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20923         (__sqr): Likewise.
20924
20925         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20926
20927         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20928
20929 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20930
20931         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20932         Declare with __attribute__ ((weak)).
20933         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20934         Call __call_tls_dtors only if it's not NULL.
20935
20936 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20937
20938         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20939         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20940         magic __ehdr_start linker symbol if it's defined.
20941         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20942         them up here if it was already done.
20943
20944         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20945         (_dl_aux_init): Use const in cast when setting it.
20946         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20947         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20948         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20949
20950         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20951         Declare them here.
20952         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20953         * csu/libc-tls.c: Nor here.
20954         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20955
20956         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20957         (__libc_message): Never call vsyslog.
20958
20959 2013-03-28  Alan Modra  <amodra@gmail.com>
20960
20961         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20962         Define as empty.
20963         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20964         Likewise.
20965
20966 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20967
20968         [BZ #15214]
20969         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20970         underflow.
20971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20972
20973 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20974
20975         [BZ #15304]
20976         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20977         Don't add gid passed as argument.
20978
20979         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20980
20981 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20982
20983         [BZ #15307]
20984         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20985         imaginary part between 1.0 and 1.5 and real part less than 0.5
20986         specially.
20987         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20988         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20989         * math/libm-test.inc (cacos_test): Add more tests.
20990         (casin_test): Likewise.
20991         (casinh_test): Likewise.
20992         * sysdeps/i386/fpu/libm-test-ulps: Update.
20993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20994
20995 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20996
20997         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20998         constants.
20999         (norm): Likewise.
21000         (denorm): Likewise.
21001         (__dbl_mp): Likewise.
21002         (add_magnitudes): Likewise.
21003         (sub_magnitudes): Likewise.
21004         (__add): Likewise.
21005         (__sub): Likewise.
21006         (__mul): Likewise.
21007         (__sqr): Likewise.
21008         (__inv): Likewise.
21009         (__dvd): Likewise.
21010
21011         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21012         commented code.
21013         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21014         (__dubcos): Likewise.
21015         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21016         (__ieee754_acos): Likewise.
21017         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21018         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21019         (__exp1): Likewise.
21020         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21022         (log1): Likewise.
21023         (my_log2): Likewise.
21024         (checkint): Likewise.
21025         * sysdeps/ieee754/dbl-64/e_remainder.c
21026         (__ieee754_remainder): Likewise.
21027         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21028         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21029         (bsloww): Likewise.
21030         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21031
21032         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21033         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21034         MANTISSA_STORE_T to store computations on mantissa.  Use
21035         macros for rounding and division.
21036         (denorm): Likewise.
21037         (__dbl_mp): Likewise.
21038         (add_magnitudes): Likewise.
21039         (sub_magnitudes): Likewise.
21040         (__mul): Likewise.
21041         (__sqr): Likewise.
21042         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21043         powers of two in terms of TWOPOW macro.
21044         (mp_no): Make type of mantissa as MANTISSA_T.
21045         [!RADIXI]: Define RADIXI.
21046         [!TWO52]: Define TWO52.
21047         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21048
21049 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21050
21051         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21052         llroundl symbol when building for PPC32.
21053
21054 2013-03-24  Mark H Weaver  <mhw@netris.org>
21055
21056         * manual/arith.texi (Normalization Functions): Fix prototypes for
21057         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21058
21059 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21060
21061         [BZ #13889]
21062         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21063         high value to check if expl overflow.
21064         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21065         to check for underflow and overflow.
21066         * math/libm-test.inc: Add exp test.
21067
21068 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21069
21070         [BZ #11120]
21071         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21072         with NOT_IN_libc.
21073
21074 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21075
21076         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21077         symbol.
21078
21079 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21080
21081         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21082         wrap blocks consisting of several statements.
21083
21084         * sysdeps/generic/math-tests.h: New file.
21085         * sysdeps/i386/fpu/math-tests.h: Likewise.
21086         * math/test-snan.c: Include it.
21087         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21088
21089 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21090
21091         [BZ #15285]
21092         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21093         (__ieee754_j0l): Do not improve calculations using cos of twice
21094         input for inputs above LDBL_MAX / 2.0L.
21095         (__ieee754_y0l): Likewise.
21096         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21097         (__ieee754_j1l): Do not improve calculations using cos of twice
21098         input for inputs above LDBL_MAX / 2.0L.
21099         (__ieee754_y1l): Likewise.
21100         * math/libm-test.inc (j0_test): Add another test.
21101         (j1_test): Likewise.
21102         (y0_test): Likewise.
21103         (y1_test): Likewise.
21104         * sysdeps/i386/fpu/libm-test-ulps: Update.
21105
21106 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21107
21108         * Rules ($(objpfx)bench-%.c): Include code from a C source
21109         file.
21110
21111 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21112
21113         [BZ #15287]
21114         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21115         imaginary part 1.0 and real part less than 0.5 specially.
21116         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21117         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21118         * math/libm-test.inc (cacos_test): Add more tests.
21119         (casin_test): Likewise.
21120         (casinh_test): Likewise.
21121         * sysdeps/i386/fpu/libm-test-ulps: Update.
21122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21123
21124 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21125
21126         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21127         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21128
21129 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21130
21131         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21132         * config.make.in (config-cflags-sse4): Remove variable.
21133         (config-cflags-avx): Likewise.
21134         (config-cflags-sse2avx): Likewise.
21135         (config-cflags-novzeroupper): Likewise.
21136         (config-asflags-i686): Likewise.
21137         (have-mfma4): Likewise.
21138         (have-as-vis3): Likewise.
21139         (MIG): Likewise.
21140         * configure.in (MIG): Do not AC_SUBST.
21141         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21142         (libc_cv_cc_sse4): Do not AC_SUBST.
21143         (libc_cv_cc_avx): Likewise.
21144         (libc_cv_cc_sse2avx): Likewise.
21145         (libc_cv_cc_novzeroupper): Likewise.
21146         (libc_cv_cc_fma4): Likewise.
21147         (libc_cv_as_i686): Likewise.
21148         (libc_cv_sparc_as_vis3): Likewise.
21149         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21150         LIBC_CONFIG_VAR.
21151         (config-asflags-i686): Likewise.
21152         (config-cflags-avx): Likewise.
21153         (config-cflags-sse2avx): Likewise.
21154         (have-mfma4): Likewise.
21155         (config-cflags-novzeroupper): Likewise.
21156         * sysdeps/mach/configure.in (MIG): Likewise.
21157         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21158         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21159         LIBC_CONFIG_VAR.
21160         (config-cflags-avx): Likewise.
21161         (config-cflags-sse2avx): Likewise.
21162         (have-mfma4): Likewise.
21163         (config-cflags-novzeroupper): Likewise.
21164         * configure: Regenerated.
21165         * sysdeps/i386/configure: Likewise.
21166         * sysdeps/mach/configure: Likewise.
21167         * sysdeps/sparc/configure: Likewise.
21168         * sysdeps/x86_64/configure: Likewise.
21169
21170 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21171
21172         [BZ #14812]
21173         * locale/programs/localedef.c (options): Put N_ translation marker
21174         on argument names, not just descriptions.
21175
21176 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21177
21178         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21179
21180 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21181
21182         [BZ #14176]
21183         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21184
21185 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21186
21187         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21188         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21189         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21190         [!BEFORE_ABORT] (before_abort): New function.
21191         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21192         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21193         (writev_for_fatal): New function.
21194         (WRITEV_FOR_FATAL): New macro; call that.
21195         (backtrace_and_maps): New function.
21196         (BEFORE_ABORT): New macro; call that.
21197         (struct str_list): Type removed.
21198         (__libc_message, __libc_fatal): Functions removed.
21199         Include <sysdeps/posix/libc_fatal.c> instead.
21200
21201 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21202
21203         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21204         constants.
21205         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21206         double constants.
21207
21208 2013-03-19  Andreas Schwab  <schwab@suse.de>
21209
21210         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21211         * sysdeps/gnu/configure: Regenerate.
21212
21213         * configure.in: Substitute libc_cv_rtlddir.
21214         * configure: Regenerate.
21215         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21216         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21217         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21218         * elf/Makefile (install-others, CFLAGS-interp.c)
21219         (ldso_install, common-ldd-rewrite): Likewise.
21220         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21221         $(inst_slibdir)/$(rtld-installed-name).
21222         * scripts/rellns-sh: Add -p option.
21223         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21224         for source.
21225
21226 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21227
21228         * manual/nptl.texi: Renamed to ...
21229         * manual/threads.texi: ... this.
21230         * manual/Makefile (chapters): Update.
21231
21232 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21233
21234         [BZ #14812]
21235         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21236         on argument names, not just descriptions.
21237         * malloc/memusagestat.c (options): Likewise.
21238         * nss/getent.c (options): Likewise.
21239
21240 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21241
21242         [BZ #14812]
21243         * iconv/iconv_prog.c (options): Put N_ translation marker
21244         on argument names, not just descriptions.
21245         * iconv/iconvconfig.c (options): Likewise.
21246
21247 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21248
21249         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21250         implementation which is faster on all x86_64 architectures.
21251         Tested on AMD, Intel Nehalem, SNB, IVB.
21252         * sysdeps/x86_64/strnlen.S: Likewise.
21253
21254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21255         Remove all multiarch strlen and strnlen versions.
21256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21257         Remove strlen and strnlen related parts.
21258
21259         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21260         Inline strlen part.
21261         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21262
21263         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21264         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21265         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21266         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21267         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21268         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21269
21270 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21271
21272         * manual/memory.texi (Malloc Tunable Parameters):
21273         Sort parameters alphabetically. Add comments for missing entries.
21274
21275 2013-03-17  David S. Miller  <davem@davemloft.net>
21276
21277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21278
21279 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21280
21281         [BZ #15283]
21282         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21283         for arguments at most half maximum finite value.
21284         * math/libm-test.inc (j0_test): Add more tests.
21285         (j1_test): Likewise.
21286         (y0_test): Likewise.
21287         (y1_test): Likewise.
21288         * sysdeps/i386/fpu/libm-test-ulps: Update.
21289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21290
21291         [BZ #14155]
21292         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21293         1 / x and functions P and Q for arguments above 0x1p256L.
21294         (__ieee754_y0l): Likewise.
21295         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21296         (__ieee754_y1l): Likewise.
21297         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21298         (j1_test): Likewise.
21299         (y0_test): Likewise.
21300         (y1_test): Likewise.
21301
21302 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21303
21304         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21305         variable.
21306
21307 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21308
21309         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21310         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21311         zero since it's initialized to EXEC_PAGESIZE.
21312
21313         * sysdeps/unix/sysv/linux/ldsodefs.h
21314         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21315         * sysdeps/generic/ldsodefs.h: ... here.
21316
21317 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21318
21319         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21320
21321         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21322         math/test-snan.c.
21323         * math/test-snan.c: Renamed from
21324         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21325         * math/Makefile (tests): Add test-snan.
21326         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21327         test-powerpc-snan.
21328
21329         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21330         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21331         functions.
21332         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21333         __builtin_nan family of functions.
21334         * math/libm-test.inc (initialize): Initialize qnan_value with
21335         __builtin_nan family of functions.
21336         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21337         Remove variables.
21338         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21339         Remove functions.
21340         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21341         storage class.  Initialize qNaN_var and sNaN_var with
21342         __builtin_nan and __builtin_nans families of functions,
21343         respectively.
21344
21345         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21346         (sqrt_test): Remove duplicate test with qNaN input.
21347         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21348         (round_test, signbit_test, significand_test): Note missing +/-Inf
21349         as well as qNaN tests.
21350
21351         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21352         qNaN_var.  Fix a few strings, too.
21353         * math/libm-test.inc (nan_value): Rename to qnan_value.
21354         * math/gen-libm-test.pl (%beautify): Adjust to that.
21355         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21356         * math/test-misc.c (main): Likewise.
21357         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21358         to __qnan_bytes, and __qnan_union, respectively.
21359         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21360         Likewise.
21361         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21362         and lqnanval, respectively.
21363         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21364         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21365         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21366         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21367
21368         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21369         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21370         doubles.
21371
21372         * math/test-misc.c (main): Fix copy'n'pastos.
21373         * misc/tst-efgcvt.c (special): Likewise.
21374
21375         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21376         Remove declarations.
21377
21378 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21379
21380         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21381         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21382         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21383         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21384
21385 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21386
21387         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21388         macro to return vdso values correctly in IFUNC implementations.
21389         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21390         Optimization by using IFUNC.
21391
21392 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21393             Richard Henderson  <rth@redhat.com>
21394             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21395
21396         * Makefile.in (bench): New target.
21397         * NEWS: Mention the benchmark framework.
21398         * Rules (bench): Likewise.
21399         (binaries-bench): Generate binaries for functions to
21400         benchmark.
21401         * benchtests/Makefile: New makefile for benchmark tests.
21402         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21403         programs.
21404         * benchtests/exp-inputs: New input file for EXP function.
21405         * benchtests/pow-inputs: New input file for POW function.
21406         * scripts/bench.pl: New script to generate source files for
21407         benchmark programs.
21408
21409 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21410
21411         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21412         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21413         computations on mantissa.  Use macros for rounding and
21414         division.
21415         (denorm): Likewise.
21416         (__dbl_mp): Likewise.
21417         (add_magnitudes): Likewise.
21418         (sub_magnitudes): Likewise.
21419         (__mul): Likewise.
21420         (__sqr): Likewise.
21421         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21422         powers of two in terms of TWOPOW macro.
21423         (mp_no): Make type of mantissa as MANTISSA_T.
21424         [!RADIXI]: Define RADIXI.
21425         [!TWO52]: Define TWO52.
21426         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21427
21428         * manual/nptl.texi (cindex): Modify threads to pthreads.
21429
21430 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21431
21432         * sysdeps/x86_64/preconfigure: Regenerated.
21433
21434 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21435
21436         [BZ #14155]
21437         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21438         0x1p28 and above.
21439         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21440         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21441         0x1p28 and above.
21442         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21443         * math/libm-test.inc (j0_test): Do not allow one spurious
21444         underflow exception.
21445         (y1_test): Likewise.
21446
21447 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21448
21449         * manual/Makefile (chapters): Add nptl.
21450         * manual/debug.texi (Debugging Support): Add link to Threads
21451         chapter.
21452         * manual/nptl.texi: New file.
21453
21454         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21455
21456 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21457
21458         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21459         for non-NULL pointer before the memory validity test. Pointed
21460         out by Holger Brunck <holger.brunck@keymile.com>.
21461
21462 2013-03-13  Andreas Schwab  <schwab@suse.de>
21463
21464         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21465         instead of .os.
21466
21467 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21468
21469         * timezone/zic.c: Update from tzcode 2013b.
21470
21471 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21472
21473         * manual/install.texi (Configuring and compiling):
21474         Mention i686 and i586.
21475         * INSTALL: Regenerate.
21476
21477 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21478
21479         * sysdeps/init_array/elf-init.c: New file.
21480         * csu/elf-init.c
21481         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21482         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21483
21484         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21485         __gmon_start__ as global, but as static with a .preinit_array pointer.
21486         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21487         * sysdeps/init_array/crti.S: New file, empty except for comments.
21488         * sysdeps/init_array/crtn.S: Likewise.
21489
21490 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21491
21492         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21493         definining bcopy.
21494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21495         Remove Prefer_SSE_for_memop.
21496         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21497         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21498         HAS_PREFER_SSE_FOR_MEMOP.
21499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21500         memset-x86-64.
21501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21502         Remove bzero, memset ifunc support.
21503         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21504         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21505         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21506         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21507
21508 2013-03-11  Andreas Schwab  <schwab@suse.de>
21509
21510         [BZ #15234]
21511         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21512         by SHLIB_COMPAT.
21513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21514         (GLIBC_2.16): Remove pthread_atfork.
21515
21516 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21517
21518         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21519         (ptestcases.h): Likewise.
21520
21521 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21522
21523         * Makeconfig ($(common-objpfx)config.status): Depend on
21524         sysdeps/*/preconfigure{,.in} too.
21525
21526 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21527
21528         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21529         (__free_hook): Use void * instead of __malloc_ptr_t.
21530         (__malloc_hook): Likewise.
21531         (__realloc_hook): Likewise.
21532         (__memalign_hook): Likewise.
21533         (__after_morecore_hook): Likewise.
21534         * malloc/arena.c (save_malloc_hook): Likewise.
21535         (save_free_hook): Likewise.
21536         * malloc/hooks.c (malloc_hook_ini): Likewise.
21537         (realloc_hook_ini): Likewise.
21538         (memalign_hook_ini): Likewise.
21539         * malloc/malloc.c (malloc_hook_ini): Likewise.
21540         (realloc_hook_ini): Likewise.
21541         (memalign_hook_ini): Likewise.
21542         (__free_hook): Likewise.
21543         (__malloc_hook): Likewise.
21544         (__realloc_hook): Likewise.
21545         (__memalign_hook): Likewise.
21546         (__libc_malloc): Likewise.
21547         (__libc_free): Likewise.
21548         (__libc_realloc): Likewise.
21549         (__libc_memalign): Likewise.
21550         (__libc_valloc): Likewise.
21551         (__libc_pvalloc): Likewise.
21552         (__libc_calloc): Likewise.
21553         (__posix_memalign): Likewise.
21554         * malloc/morecore.c (__sbrk): Likewise.
21555         (__default_morecore): Likewise.
21556
21557         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21558
21559         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21560         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21561         __malloc_ptrdiff_t.
21562
21563         * malloc/malloc.h (__malloc_size_t): Remove macro.
21564         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21565         __malloc_size_t.
21566         (old_memalign_hook): Likewise.
21567         (old_realloc_hook): Likewise.
21568         (struct hdr): Likewise.
21569         (flood): Likewise.
21570         (mallochook): Likewise.
21571         (memalignhook): Likewise.
21572         (reallochook): Likewise.
21573         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21574         (tr_old_realloc_hook): Likewise.
21575         (tr_old_memalign_hook): Likewise.
21576         (tr_mallochook): Likewise.
21577         (tr_reallochook): Likewise.
21578         (tr_memalignhook): Likewise.
21579
21580 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21581
21582         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21583         default_ldbl_pack and using as default implementation.
21584         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21585         implementation.
21586         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21587         redundant definition.
21588         (ldbl_insert_mantissa): Likewise.
21589         (ldbl_canonicalize): Likewise.
21590         (ldbl_nearbyint): Likewise.
21591         (ldbl_pack): Rename to ldbl_pack_ppc.
21592         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21593         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21594         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21595
21596 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21597
21598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21599         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21600         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21601         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21603         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21604         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21605         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21606
21607 2013-03-07  Andreas Jaeger  <aj@suse.de>
21608
21609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21610         bits/mman-linux.h.
21611
21612 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21613
21614         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21615         Include mpa.h and declare __MPEXP.
21616         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21617         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21618         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21619         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21620         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21621         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21622         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21623
21624         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21625         (__slowpow): Use long double EXPL and LOGL functions to
21626         compute POW.
21627         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21628         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21629         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21630         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21631         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21632         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21633
21634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21635         intermediate variable to calculate exponent.
21636         (__sqr): Likewise.
21637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21638         Likewise.
21639         (__sqr): Likewise.
21640
21641         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21642         [!NO__SQR]: Define __sqr.
21643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21644         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21645         sysdeps/ieee754/dbl-64/mpa.c.
21646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21647
21648         [BZ #12723]
21649         * posix/Makefile (tests): Add tst-pathconf.
21650         * posix/tst-pathconf.c: New test case.
21651         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21652         _PC_PIPE_BUF.
21653         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21654
21655 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21656
21657         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21658
21659 2013-03-06  Andreas Jaeger  <aj@suse.de>
21660
21661         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21662         definition via __MAP_ANONYMOUS.
21663
21664         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21665         it's not part of Linux headers.
21666
21667         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21668         (MAP_HUGE_MASK): Define.
21669
21670         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21671         Define.
21672         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21673         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21674         Define.
21675         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21676         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21677         Define.
21678         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21679         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21680         Define.
21681         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21682
21683         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21684         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21685         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21686         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21687         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21688         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21689
21690         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21691         Handle f2fs.
21692
21693         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21694         Handle f2fs and efivarfs.
21695
21696         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21697         f2fs.
21698
21699         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21700         (EFIVARFS_MAGIC): Add.
21701         (F2FS_LINK_MAX): Add.
21702
21703 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21704
21705         * stdio-common/vfprintf.c: Replace __builtin_expect with
21706         __glibc_unlikely.
21707
21708 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21709
21710         [BZ #13550]
21711         * sysdeps/generic/bp-sym.h: Remove file.
21712         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21713         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21714         <bp-sym.h> and <bp-asm.h>.
21715         (__longjmp): Don't use BP_SYM.
21716         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21717         and <bp-asm.h>.
21718         (memcpy): Don't use BP_SYM.
21719         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21720         <bp-sym.h> and <bp-asm.h>.
21721         (memcpy): Don't use BP_SYM.
21722         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21723         <bp-asm.h>.
21724         (memcpy): Don't use BP_SYM.
21725         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21726         <bp-asm.h>.
21727         (memset): Don't use BP_SYM.
21728         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21729         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21730         (__bzero): Don't use BP_SYM.
21731         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21732         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21733         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21734         <bp-sym.h> and <bp-asm.h>.
21735         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21736         pointers.
21737         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21738         <bp-sym.h> and <bp-asm.h>.
21739         (memcpy): Don't use BP_SYM.
21740         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21741         <bp-sym.h> and <bp-asm.h>.
21742         (memset): Don't use BP_SYM.
21743         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21744         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21745         (__bzero): Don't use BP_SYM.
21746         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21747         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21748         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21749         <bp-sym.h> and <bp-asm.h>.
21750         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21751         pointers.
21752         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21753         <bp-sym.h> and <bp-asm.h>.
21754         (memcpy): Don't use BP_SYM.
21755         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21756         <bp-sym.h> and <bp-asm.h>.
21757         (memset): Don't use BP_SYM.
21758         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21759         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21760         (__bzero): Don't use BP_SYM.
21761         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21762         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21763         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21764         <bp-sym.h> and <bp-asm.h>.
21765         (__memchr): Don't use BP_SYM.
21766         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21767         <bp-sym.h> and <bp-asm.h>.
21768         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21769         pointers.
21770         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21771         <bp-sym.h> and <bp-asm.h>.
21772         (memcpy): Don't use BP_SYM.
21773         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21774         <bp-sym.h> and <bp-asm.h>.
21775         (__mempcpy): Don't use BP_SYM.
21776         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21777         <bp-sym.h> and <bp-asm.h>.
21778         (__memrchr): Don't use BP_SYM.
21779         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21780         <bp-sym.h> and <bp-asm.h>.
21781         (memset): Don't use BP_SYM.
21782         (__bzero): Likewise.
21783         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21784         <bp-sym.h> and <bp-asm.h>.
21785         (__rawmemchr): Don't use BP_SYM.
21786         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21787         <bp-sym.h> and <bp-asm.h>.
21788         (__STRCMP): Don't use BP_SYM.
21789         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21790         <bp-sym.h> and <bp-asm.h>.
21791         (strchr): Don't use BP_SYM.
21792         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21793         <bp-sym.h> and <bp-asm.h>.
21794         (__strchrnul): Don't use BP_SYM.
21795         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21796         <bp-sym.h> and <bp-asm.h>.
21797         (strlen): Don't use BP_SYM.
21798         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21799         <bp-sym.h> and <bp-asm.h>.
21800         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21801         pointers.
21802         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21803         <bp-sym.h> and <bp-asm.h>.
21804         (__strnlen): Don't use BP_SYM.
21805         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21806         <bp-sym.h> and <bp-asm.h>.
21807         (__GI__setjmp): Don't use BP_SYM.
21808         (_setjmp): Likewise.
21809         (__sigsetjmp): Likewise.
21810         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21811         (L(start_addresses)): Don't use BP_SYM.
21812         (_start): Likewise.
21813         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21814         <bp-asm.h>.
21815         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21816         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21817         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21818         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21819         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21820         <bp-asm.h>.
21821         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21822         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21823         about bounded pointers.
21824         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21825         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21826         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21827         <bp-asm.h>.
21828         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21829         about bounded pointers.  Remove GKM FIXME comments.
21830         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21831         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21832         <bp-asm.h>.
21833         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21834         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21835         Remove GKM FIXME comments.
21836         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21837         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21838         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21839         <bp-asm.h>.
21840         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21841         about bounded pointers.  Remove GKM FIXME comment.
21842         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21843         and <bp-asm.h>.
21844         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21845         pointers.
21846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21847         <bp-sym.h> and <bp-asm.h>.
21848         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21850         <bp-sym.h> and <bp-asm.h>.
21851         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21852         comment.
21853
21854 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21855
21856         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21857         call free(NULL).
21858
21859 2013-03-05  David S. Miller  <davem@davemloft.net>
21860
21861         * po/es.po: Update from translation team.
21862
21863 2013-03-05  Andreas Jaeger  <aj@suse.de>
21864
21865         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21866         <bits/mman-linux.h>.
21867         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21868         is fine.
21869         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21870         <bits/mman-linux.h> to end of file.
21871         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21872         is fine.
21873         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21874         <bits/mman-linux.h> to end of file.
21875         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21876         is fine.
21877         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21878         <bits/mman-linux.h> to end of file.
21879
21880         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21881         (MCL_CURRENT, MCL_FUTURE): Define here.
21882
21883 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21884
21885         [BZ #15232]
21886         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21887         attribute_hidden.
21888         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21889
21890 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21891
21892         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21893         fourth parameter needed for rt_sigprocmask syscall.
21894         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21895         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21896         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21897         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21898         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21899         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21900
21901 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21902
21903         [BZ #13550]
21904         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21905         comment about bounded pointers.
21906         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21907         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21908
21909 2013-03-04  Andreas Jaeger  <aj@suse.de>
21910
21911         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21912         common definitions.
21913
21914         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21915         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21916         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21917         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21918         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21919         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21920
21921 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21922
21923         [BZ #15055]
21924         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21925         __ieee754_sqrl instead of __sqrl.
21926
21927 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21928
21929         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21930         * sysdeps/powerpc/fpu_control.h: ... here.
21931         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21932         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21933         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21934         * sysdeps/powerpc/bits/mathinline.h: ... here.
21935
21936 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21937
21938         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21939         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21940         to just [NEED_DL_SYSINFO_DSO].
21941         * elf/dl-support.c: Likewise.
21942         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21943         * elf/rtld.c (dl_main): Likewise.
21944         * elf/setup-vdso.h (setup_vdso): Likewise.
21945         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21946         * sysdeps/unix/sysv/linux/dl-sysdep.c
21947         (_dl_discover_osversion): Likewise.
21948
21949 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21950
21951         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21952         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21953
21954 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21955
21956         * NEWS: Mention libm performance improvements and non-x86 PI
21957         futex support.
21958
21959         * csu/libc-start.c (__pthread_initialize_minimal): Change
21960         function arguments.
21961         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21962
21963 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21964
21965         [BZ #13550]
21966         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21967         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21968         <bp-sym.h> and <bp-asm.h>.
21969         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21970         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21971         and <bp-asm.h>.
21972         (memcpy): Don't use BP_SYM.
21973         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21974         <bp-asm.h>.
21975         (__mpn_add_n): Don't use BP_SYM.
21976         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21977         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21978         and <bp-asm.h>.
21979         (__mpn_addmul_1): Don't use BP_SYM.
21980         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21981         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21982         <bp-sym.h>.
21983         (_setjmp): Don't use BP_SYM.
21984         (__novmx_setjmp): Likewise.
21985         (__GI__setjmp): Likewise.
21986         (__vmx_setjmp): Likewise.
21987         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21988         <bp-sym.h>.
21989         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21990         (__bzero): Don't use BP_SYM.
21991         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21992         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21993         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21994         <bp-sym.h> and <bp-asm.h>.
21995         (memcpy): Don't use BP_SYM.
21996         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21997         <bp-sym.h> and <bp-asm.h>.
21998         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21999         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22000         <bp-sym.h> and <bp-asm.h>.
22001         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22002         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22003         <bp-asm.h>.
22004         (__mpn_lshift): Don't use BP_SYM.
22005         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22006         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22007         <bp-asm.h>.
22008         (memset): Don't use BP_SYM.
22009         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22010         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22011         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22012         <bp-asm.h>.
22013         (__mpn_mul_1): Don't use BP_SYM.
22014         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22015         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22016         <bp-sym.h> and <bp-asm.h>.
22017         (memcmp): Don't use BP_SYM.
22018         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22019         <bp-sym.h> and <bp-asm.h>.
22020         (memcpy): Don't use BP_SYM.
22021         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22022         <bp-sym.h> and <bp-asm.h>.
22023         (memset): Don't use BP_SYM.
22024         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22025         <bp-sym.h> and <bp-asm.h>.
22026         (strncmp): Don't use BP_SYM.
22027         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22028         <bp-sym.h> and <bp-asm.h>.
22029         (memcpy): Don't use BP_SYM.
22030         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22031         <bp-sym.h> and <bp-asm.h>.
22032         (memset): Don't use BP_SYM.
22033         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22034         <bp-sym.h> and <bp-asm.h>.
22035         (__memchr): Don't use BP_SYM.
22036         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22037         <bp-sym.h> and <bp-asm.h>.
22038         (memcmp): Don't use BP_SYM.
22039         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22040         <bp-sym.h> and <bp-asm.h>.
22041         (memcpy): Don't use BP_SYM.
22042         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22043         <bp-sym.h> and <bp-asm.h>.
22044         (__mempcpy): Don't use BP_SYM.
22045         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22046         <bp-sym.h> and <bp-asm.h>.
22047         (__memrchr): Don't use BP_SYM.
22048         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22049         <bp-sym.h> and <bp-asm.h>.
22050         (memset): Don't use BP_SYM.
22051         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22052         <bp-sym.h> and <bp-asm.h>.
22053         (__rawmemchr): Don't use BP_SYM.
22054         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22055         <bp-sym.h> and <bp-asm.h>.
22056         (__STRCMP): Don't use BP_SYM.
22057         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22058         <bp-sym.h> and <bp-asm.h>.
22059         (strchr): Don't use BP_SYM.
22060         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22061         <bp-sym.h> and <bp-asm.h>.
22062         (__strchrnul): Don't use BP_SYM.
22063         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22064         <bp-sym.h> and <bp-asm.h>.
22065         (strlen): Don't use BP_SYM.
22066         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22067         <bp-sym.h> and <bp-asm.h>.
22068         (strncmp): Don't use BP_SYM.
22069         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22070         <bp-sym.h> and <bp-asm.h>.
22071         (__strnlen): Don't use BP_SYM.
22072         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22073         <bp-asm.h>.
22074         (__mpn_rshift): Don't use BP_SYM.
22075         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22076         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22077         <bp-sym.h> and <bp-asm.h>.
22078         (__sigsetjmp): Don't use BP_SYM.
22079         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22080         (L(start_addresses)): Don't use BP_SYM.
22081         (_start): Likewise.
22082         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22083         <bp-asm.h>.
22084         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22085         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22086         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22087         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22088         <bp-asm.h>.
22089         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22090         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22091         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22092         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22093         <bp-asm.h>.
22094         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22095         comments.
22096         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22097         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22098         <bp-asm.h>.
22099         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22100         FIXME comments.
22101         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22102         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22103         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22104         <bp-asm.h>.
22105         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22106         comment.
22107         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22108         and <bp-asm.h>.
22109         (strncmp): Don't use BP_SYM,
22110         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22111         <bp-asm.h>.
22112         (__mpn_sub_n): Don't use BP_SYM.
22113         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22114         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22115         and <bp-asm.h>.
22116         (__mpn_submul_1): Don't use BP_SYM.
22117         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22119         <bp-sym.h> and <bp-asm.h>.
22120         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22122         <bp-sym.h> and <bp-asm.h>.
22123         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22124         comment.
22125
22126 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22127
22128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22129         Use ZK to minimize writes to Z.
22130         (sub_magnitudes): Simplify code a bit.
22131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22132         Use ZK to minimize writes to Z.
22133         (sub_magnitudes): Simplify code a bit.
22134
22135 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22136
22137         * csu/gmon-start.c: Add special exception to license text.
22138
22139 2013-02-27  Richard Henderson  <rth@redhat.com>
22140
22141         * scripts/config.guess: Update from config.git.
22142         * scripts/config.sub: Likewise.
22143
22144 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22145
22146         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22147
22148         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22149
22150         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22151
22152         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22153
22154         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22155
22156 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22157
22158         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22159         [$(build-shared = yes].
22160
22161 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22162
22163         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22164         (__mul): Reduce iterations for calculating mantissa.
22165
22166         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22167         MPTWO.
22168         (__mpranred): Likewise.
22169
22170         [BZ #15160]
22171         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22172         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22173
22174 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22175
22176         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22177         Define __attribute__.
22178
22179 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22180
22181         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22182         unused.
22183         * posix/regex_internal.h (__attribute): Remove.
22184         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22185         (re_string_context_at): Likewise.
22186         (bitset_not): Use __attribute__ and mark function as possibly
22187         unused.
22188         (bitset_merge): Likewise.
22189         (bitset_mask): Likewise.
22190         (re_string_char_size_at): Likewise.
22191         (re_string_wchar_at): Likewise.
22192         (re_string_elem_size_at): Likewise.
22193
22194 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22195
22196         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22197         code.
22198         (cc32): Likewise.
22199
22200         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22201         (__acr): Likewise.
22202         (__cpy): Likewise.
22203         (norm): Likewise.
22204         (denorm): Likewise.
22205         (__dbl_mp): Likewise.
22206         (add_magnitudes): Likewise.
22207         (sub_magnitudes): Likewise.
22208         (__mul): Likewise.
22209         (__inv): Likewise.
22210
22211         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22212         style.
22213
22214         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22215         style.
22216
22217         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22218         code.
22219
22220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22221         up changes with default code.
22222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22223         Likewise.
22224
22225 2013-02-24  Allan McRae  <allan@archlinux.org>
22226
22227         * manual/socket.texi (The Internet Namespace): Order menu items
22228         to match that in the file.
22229
22230         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22231         node listing of the info page menu.
22232
22233 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22234
22235         [BZ #13550]
22236         * sysdeps/i386/bp-asm.h: Remove file.
22237         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22238         (PARMS): Do not use macros from bp-asm.h.
22239         (S1): Likewise.
22240         (S2): Likewise.
22241         (SIZE): Likewise.
22242         (__mpn_add_n): Do not use BP_SYM
22243         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22244         "bp-asm.h".
22245         (PARMS): Do not use macros from bp-asm.h.
22246         (S1): Likewise.
22247         (SIZE): Likewise.
22248         (__mpn_addmul_1): Do not use BP_SYM
22249         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22250         "bp-asm.h".
22251         (PARMS): Do not use macros from bp-asm.h.
22252         (SIGMSK): Likewise.
22253         (_setjmp): Likewise.  Do not use BP_SYM.
22254         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22255         "bp-asm.h".
22256         (PARMS): Do not use macros from bp-asm.h.
22257         (SIGMSK): Likewise.
22258         (setjmp): Likewise.  Do not use BP_SYM.
22259         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22260         "bp-asm.h".
22261         (PARMS): Do not use macros from bp-asm.h.
22262         (__frexp): Do not use BP_SYM.
22263         (frexp): Likewise.
22264         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22265         "bp-asm.h".
22266         (PARMS): Do not use macros from bp-asm.h.
22267         (__frexpf): Do not use BP_SYM.
22268         (frexpf): Likewise.
22269         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22270         "bp-asm.h".
22271         (PARMS): Do not use macros from bp-asm.h.
22272         (__frexpl): Do not use BP_SYM.
22273         (frexpl): Likewise.
22274         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22275         "bp-asm.h".
22276         (PARMS): Do not use macros from bp-asm.h.
22277         (__remquo): Do not use BP_SYM.
22278         (remquo): Likewise.
22279         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22280         "bp-asm.h".
22281         (PARMS): Do not use macros from bp-asm.h.
22282         (__remquof): Do not use BP_SYM.
22283         (remquof): Likewise.
22284         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22285         "bp-asm.h".
22286         (PARMS): Do not use macros from bp-asm.h.
22287         (__remquol): Do not use BP_SYM.
22288         (remquol): Likewise.
22289         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22290         "bp-asm.h".
22291         (PARMS): Do not use macros from bp-asm.h.
22292         (DEST): Likewise.
22293         (SRC): Likewise.
22294         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22295         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22296         "bp-asm.h".
22297         (PARMS): Do not use macros from bp-asm.h.
22298         (strlen): Do not use BP_SYM.
22299         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22300         "bp-asm.h".
22301         (PARMS): Do not use macros from bp-asm.h.
22302         (S1): Likewise.
22303         (S2): Likewise.
22304         (SIZE): Likewise.
22305         (__mpn_add_n): Do not use BP_SYM.
22306         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22307         "bp-asm.h".
22308         (PARMS): Do not use macros from bp-asm.h.
22309         (S1): Likewise.
22310         (SIZE): Likewise.
22311         (__mpn_addmul_1): Do not use BP_SYM.
22312         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22313         weak_alias.
22314         (bzero): Likewise.
22315         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22316         "bp-asm.h".
22317         (PARMS): Do not use macros from bp-asm.h.
22318         (S): Likewise.
22319         (SIZE): Likewise.
22320         (__mpn_lshift): Do not use BP_SYM.
22321         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22322         "bp-asm.h".
22323         (PARMS): Do not use macros from bp-asm.h.
22324         (DEST): Likewise.
22325         (SRC): Likewise.
22326         (LEN): Likewise.
22327         (memcpy): Likewise.  Do not use BP_SYM.
22328         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22329         libc_hidden_def and weak_alias.
22330         (mempcpy): Do not use BP_SYM in weak_alias.
22331         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22332         "bp-asm.h".
22333         (PARMS): Do not use macros from bp-asm.h.
22334         (DEST): Likewise.
22335         (LEN): Likewise.
22336         [!BZERO_P] (CHR): Likewise.
22337         (memset): Likewise.  Do not use BP_SYM.
22338         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22339         "bp-asm.h".
22340         (PARMS): Do not use macros from bp-asm.h.
22341         (S1): Likewise.
22342         (SIZE): Likewise.
22343         (__mpn_mul_1): Do not use BP_SYM.
22344         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22345         "bp-asm.h".
22346         (PARMS): Do not use macros from bp-asm.h.
22347         (S): Likewise.
22348         (SIZE): Likewise.
22349         (__mpn_rshift): Do not use BP_SYM.
22350         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22351         "bp-asm.h".
22352         (PARMS): Do not use macros from bp-asm.h.
22353         (STR): Likewise.
22354         (CHR): Likewise.
22355         (strchr): Likewise.  Do not use BP_SYM.
22356         (index): Do not use BP_SYM in weak_alias.
22357         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22358         "bp-asm.h".
22359         (PARMS): Do not use macros from bp-asm.h.
22360         (DEST): Likewise.
22361         (SRC): Likewise.
22362         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22363         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22364         "bp-asm.h".
22365         (PARMS): Do not use macros from bp-asm.h.
22366         (strlen): Do not use BP_SYM.
22367         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22368         "bp-asm.h".
22369         (PARMS): Do not use macros from bp-asm.h.
22370         (S1): Likewise.
22371         (S2): Likewise.
22372         (SIZE): Likewise.
22373         (__mpn_sub_n): Do not use BP_SYM.
22374         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22375         "bp-asm.h".
22376         (PARMS): Do not use macros from bp-asm.h.
22377         (S1): Likewise.
22378         (SIZE): Likewise.
22379         (__mpn_submul_1): Do not use BP_SYM.
22380         * sysdeps/i386/i686/add_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_add_n): Do not use BP_SYM.
22387         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22388         weak_alias.
22389         (bzero): Likewise.
22390         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22391         "bp-asm.h".
22392         (PARMS): Do not use macros from bp-asm.h.
22393         (BLK2): Likewise.
22394         (LEN): Likewise.
22395         (memcmp): Do not use BP_SYM.
22396         (bcmp): Do not use BP_SYM in weak_alias.
22397         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22398         "bp-asm.h".
22399         (PARMS): Do not use macros from bp-asm.h.
22400         (DEST): Likewise.
22401         (SRC): Likewise.
22402         (LEN): Likewise.
22403         (memcpy): Likewise.  Do not use BP_SYM.
22404         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22405         "bp-asm.h".
22406         (PARMS): Do not use macros from bp-asm.h.
22407         (DEST): Likewise.
22408         (SRC): Likewise.
22409         (LEN): Likewise.
22410         (memmove): Likewise.  Do not use BP_SYM.
22411         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22412         "bp-asm.h".
22413         (PARMS): Do not use macros from bp-asm.h.
22414         (DEST): Likewise.
22415         (SRC): Likewise.
22416         (LEN): Likewise.
22417         (__mempcpy): Likewise.  Do not use BP_SYM.
22418         (mempcpy): Do not use BP_SYM in weak_alias.
22419         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22420         "bp-asm.h".
22421         (PARMS): Do not use macros from bp-asm.h.
22422         (DEST): Likewise.
22423         (LEN): Likewise.
22424         [!BZERO_P] (CHR): Likewise.
22425         (memset): Likewise.  Do not use BP_SYM.
22426         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22427         "bp-asm.h".
22428         (PARMS): Do not use macros from bp-asm.h.
22429         (STR2): Likewise.
22430         (strcmp): Do not use BP_SYM.
22431         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22432         "bp-asm.h".
22433         (PARMS): Do not use macros from bp-asm.h.
22434         (STR): Likewise.
22435         (DELIM): Likewise.
22436         [USE_AS_STRTOK_R] (SAVE): Likewise.
22437         (FUNCTION): Likewise.  Do not use BP_SYM.
22438         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22439         aliases.
22440         (strtok_r): Likewise.
22441         (__GI___strtok_r): Likewise.
22442         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22443         (PARMS): Do not use macros from bp-asm.h.
22444         (S): Likewise.
22445         (SIZE): Likewise.
22446         (__mpn_lshift): Do not use BP_SYM.
22447         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22448         (PARMS): Do not use macros from bp-asm.h.
22449         (STR): Likewise.
22450         (CHR): Likewise.
22451         (__memchr): Do not use BP_SYM.
22452         (memchr): Do not use BP_SYM in weak_alias.
22453         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22454         (PARMS): Do not use macros from bp-asm.h.
22455         (BLK2): Likewise.
22456         (LEN): Likewise.
22457         (memcmp): Do not use BP_SYM.
22458         (bcmp): Do not use BP_SYM in weak_alias.
22459         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22460         (PARMS): Do not use macros from bp-asm.h.
22461         (S1): Likewise.
22462         (SIZE): Likewise.
22463         (__mpn_mul_1): Do not use BP_SYM.
22464         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22465         "bp-asm.h".
22466         (PARMS): Do not use macros from bp-asm.h.
22467         (STR): Likewise.
22468         (CHR): Likewise.
22469         (__rawmemchr): Do not use BP_SYM.
22470         (rawmemchr): Do not use BP_SYM in weak_alias.
22471         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22472         (PARMS): Do not use macros from bp-asm.h.
22473         (S): Likewise.
22474         (SIZE): Likewise.
22475         (__mpn_rshift): Do not use BP_SYM.
22476         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22477         (PARMS): Do not use macros from bp-asm.h.
22478         (SIGMSK): Likewise.
22479         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22480         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22481         (_start): Do not use BP_SYM.
22482         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22483         (PARMS): Do not use macros from bp-asm.h.
22484         (DEST): Likewise.
22485         (SRC): Likewise.
22486         (__stpcpy): Likewise.  Do not use BP_SYM.
22487         (stpcpy): Do not use BP_SYM in weak_alias.
22488         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22489         "bp-asm.h".
22490         (PARMS): Do not use macros from bp-asm.h.
22491         (DEST): Likewise.
22492         (SRC): Likewise.
22493         (LEN): Likewise.
22494         (__stpncpy): Likewise.  Do not use BP_SYM.
22495         (stpncpy): Do not use BP_SYM in weak_alias.
22496         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22497         (PARMS): Do not use macros from bp-asm.h.
22498         (STR): Likewise.
22499         (CHR): Likewise.
22500         (strchr): Likewise.  Do not use BP_SYM.
22501         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22502         "bp-asm.h".
22503         (PARMS): Do not use macros from bp-asm.h.
22504         (STR): Likewise.
22505         (CHR): Likewise.
22506         (__strchrnul): Likewise.  Do not use BP_SYM.
22507         (strchrnul): Do not use BP_SYM in weak_alias.
22508         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22509         "bp-asm.h".
22510         (PARMS): Do not use macros from bp-asm.h.
22511         (STOP): Likewise.
22512         (strcspn): Do not use BP_SYM.
22513         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22514         "bp-asm.h".
22515         (PARMS): Do not use macros from bp-asm.h.
22516         (STR): Likewise.
22517         (STOP): Likewise.
22518         (strpbrk): Likewise.  Do not use BP_SYM.
22519         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22520         "bp-asm.h".
22521         (PARMS): Do not use macros from bp-asm.h.
22522         (STR): Likewise.
22523         (CHR): Likewise.
22524         (strrchr): Likewise.  Do not use BP_SYM.
22525         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22526         (PARMS): Do not use macros from bp-asm.h.
22527         (SKIP): Likewise.
22528         (strspn): Do not use BP_SYM.
22529         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22530         (PARMS): Do not use macros from bp-asm.h.
22531         (STR): Likewise.
22532         (DELIM): Likewise.
22533         (SAVE): Likewise.
22534         (FUNCTION): Likewise.  Do not use BP_SYM.
22535         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22536         aliases.
22537         (strtok_r): Likewise.
22538         (__GI___strtok_r): Likewise.
22539         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22540         (PARMS): Do not use macros from bp-asm.h.
22541         (S1): Likewise.
22542         (S2): Likewise.
22543         (SIZE): Likewise.
22544         (__mpn_sub_n): Do not use BP_SYM.
22545         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22546         "bp-asm.h".
22547         (PARMS): Do not use macros from bp-asm.h.
22548         (S1): Likewise.
22549         (SIZE): Likewise.
22550         (__mpn_submul_1): Do not use BP_SYM.
22551         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22552         <bp-sym.h>.
22553         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22554         and <bp-asm.h>.
22555         (PARMS): Do not use macros from bp-asm.h.
22556         (FLAGS): Likewise.
22557         (PTID): Likewise.
22558         (TLS): Likewise.
22559         (CTID): Likewise.
22560         (__clone): Do not use BP_SYM.
22561         (clone): Do not use BP_SYM in weak_alias.
22562         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22563         and <bp-asm.h>.
22564         (PARMS): Do not use macros from bp-asm.h.
22565         (LEN): Likewise.
22566         (__mmap64): Do not use BP_SYM.
22567         (mmap64): Do not use BP_SYM in weak_alias.
22568         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22569         <bp-sym.h> and <bp-asm.h>.
22570         (PARMS): Do not use macros from bp-asm.h.
22571         (__posix_fadvise64_l64): Do not use BP_SYM.
22572         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22573         (PARMS): Do not use macros from bp-asm.h.
22574         (NSOPS): Likewise.
22575         (semtimedop): Do not use BP_SYM.
22576         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22577         and <bp-asm.h>.
22578
22579 2013-02-21  Allan McRae  <allan@archlinux.org>
22580
22581         * manual/message.texi (Charset conversion in gettext):
22582         Move @end statement to beginning of line.
22583
22584 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22585
22586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22587         static.
22588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22589         Likewise.
22590
22591         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22592         (denorm): Likewise.
22593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22595
22596 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22597
22598         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22599         tail-call to the resolved function if pltexit isn't needed.
22600
22601 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22602
22603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22604         or Y being zero as being unlikely.
22605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22606         Likewise.
22607
22608 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22609
22610         * manual/nss.texi (System Databases and Name Service Switch):
22611         Remove frobnicate @pxref.
22612
22613 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22614
22615         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22616         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22617
22618 2013-02-20  Petr Machata  <pmachata@redhat.com>
22619
22620         * elf/elf.h (R_ARM_TARGET1): New macro.
22621         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22622         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22623         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22624         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22625         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22626         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22627         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22628         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22629         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22630         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22631         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22632         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22633         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22634         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22635         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22636         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22637         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22638         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22639         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22640         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22641         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22642         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22643         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22644         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22645         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22646         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22647         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22648         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22649         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22650         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22651         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22652         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22653         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22654         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22655         (R_ARM_THM_GOT_BREL12): Likewise.
22656         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22657         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22658         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22659         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22660         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22661         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22662         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22663         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22664         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22665
22666 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22667
22668         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22669         __attribute_used__ to __attribute__ ((unused)).
22670
22671 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22672
22673         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22674         powerpc mpa.c.
22675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22676         comment formatting.
22677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22678
22679 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22680
22681         [BZ #13550]
22682         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22683         Remove macro.
22684         (ENTER): Remove both macro definitions.
22685         (LEAVE): Likewise.
22686         (CHECK_BOUNDS_LOW): Likewise.
22687         (CHECK_BOUNDS_HIGH): Likewise.
22688         (CHECK_BOUNDS_BOTH): Likewise.
22689         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22690         (RETURN_BOUNDED_POINTER): Likewise.
22691         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22692         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22693         (POP_ERRNO_LOCATION_RETURN): Likewise.
22694         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22695         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22696         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22697         macros.
22698         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22699         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22700         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22701         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22702         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22703         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22704         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22705         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22706         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22707         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22708         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22709         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22710         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22711         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22712         removed macros.
22713         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22714         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22715         macros.
22716         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22717         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22718         * sysdeps/i386/i586/memset.S (memset): Likewise.
22719         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22720         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22721         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22722         macros.
22723         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22724         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22725         Change uses of L(2) to L(out).
22726         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22727         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22728         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22729         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22730         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22731         removed macros.
22732         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22733         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22734         macros.
22735         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22736         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22737         (RETURN): Do not use macro LEAVE.
22738         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22739         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22740         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22741         * sysdeps/i386/i686/memset.S (memset): Likewise.
22742         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22743         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22744         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22745         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22746         Likewise.
22747         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22748         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22749         L(1_2) and L(1_3) into L(1).
22750         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22751         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22752         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22753         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22754         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22755         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22756         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22757         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22758         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22759         macros.
22760         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22761         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22762         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22763         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22764         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22765         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22766         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22767         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22768         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22769         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22770         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22771         * sysdeps/i386/strspn.S (strspn): Likewise.
22772         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22773         conditional code.
22774         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22775         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22776         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22777         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22778         L(1_3) into L(1_1).
22779         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22780         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22781         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22782         macros.
22783         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22784
22785 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22786
22787         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22788         macro.
22789
22790 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22791
22792         * math/atest-exp.c (exp_mpn): Remove ROUND.
22793         * math/atest-exp2.c (exp_mpn): Likewise.
22794         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22795
22796         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22797         * stdlib/tst-tls-atexit-lib.c: Likewise.
22798         * stdlib/tst-tls-atexit.c: Likewise.
22799
22800 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22801
22802         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22803         and __attribute_alloc_size__.
22804
22805 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22806
22807         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22808         __attribute_alloc_size__.
22809         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22810         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22811
22812 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22813
22814         * include/programs/xmalloc.h: New file.
22815         * catgets/gencat.c: Include it.
22816         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22817         * elf/pldd.c: Likewise.
22818         * iconv/iconv_charmap.c: Likewise.
22819         * iconv/iconvconfig.c: Likewise.
22820         * iconv/strtab.c: Likewise.
22821         * locale/programs/locale.c: Likewise.
22822         * locale/programs/localedef.h: Likewise.
22823         * locale/programs/simple-hash.c: Likewise.
22824         * nscd/nscd.h: Likewise.
22825         * nss/makedb.c: Likewise.
22826         * sysdeps/generic/ldconfig.h: Likewise.
22827
22828 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22829
22830         * Versions.def: Add GLIBC_2.18.
22831         * include/link.h (struct link_map): New member l_tls_dtor_count.
22832         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22833         (__call_tls_dtors): Likewise.
22834         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22835         __cxa_thread_atexit_impl.
22836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22837         Likewise.
22838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22839         Likewise.
22840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22841         Likewise.
22842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22843         Likewise.
22844         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22846         Likewise.
22847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22848         Likewise.
22849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22851         Likewise.
22852         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22853         (tests): Add test case tst-tls-atexit.
22854         (modules-names): Add shared library for tst-tls-atexit.
22855         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22856         (GLIBC_PRIVATE): Add __call_tls_dtors.
22857         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22858         for libstdc++.
22859         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22860         * stdlib/tst-tls-atexit.c: New test case.
22861         * stdlib/tst-tls-atexit-lib.c: New test case.
22862
22863         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22864
22865         * elf/Versions (ld): Add _dl_find_dso_for_object.
22866         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22867         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22868         (dl_open_worker): Use _dl_find_dso_for_object.
22869         * elf/dl-sym.c (do_sym): Likewise.
22870         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22871
22872 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22873
22874         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22875         Syntactic changes only.
22876         (_dl_runtime_profile): Do a tail-call to the resolved function.
22877
22878 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22879
22880         [BZ #13550]
22881         * sysdeps/x86_64/bp-asm.h: Remove file.
22882         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22883         <bp-sym.h> and <bp-asm.h>.
22884         (__clone): Do not use BP_SYM.
22885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22886         <bp-sym.h> and <bp-asm.h>.
22887         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22888         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22889         "bp-asm.h".
22890         (_setjmp): Do not use BP_SYM.
22891         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22892         "bp-asm.h".
22893         (setjmp): Do not use BP_SYM.
22894         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22895         libc_hidden_def.
22896         (mempcpy): Do not use BP_SYM in weak_alias.
22897         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22898         "bp-asm.h".
22899         (strchr): Do not use BP_SYM.
22900         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22901         "bp-asm.h".
22902         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22903         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22904         (_start): Do not use BP_SYM.
22905         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22906         "bp-asm.h".
22907         (strcat): Do not use BP_SYM.
22908         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22909         "bp-asm.h".
22910         (STRCMP): Do not use BP_SYM.
22911         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22912         "bp-asm.h".
22913         (STRCPY): Do not use BP_SYM.
22914         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22915         "bp-asm.h".
22916         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22917         "bp-asm.h".
22918         (FUNCTION): Do not use BP_SYM.
22919         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22920         weak_alias.
22921         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22922
22923 2013-02-17  Andreas Jaeger  <aj@suse.de>
22924
22925         * time/Versions: Sort entries.
22926         * string/Versions: Likewise.
22927         * resolv/Versions: Likewise.
22928         * posix/Versions: Likewise.
22929         * iconv/Versions: Likewise.
22930         * elf/Versions: Likewise.
22931         * wcsmbs/Versions: Likewise.
22932
22933 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22934
22935         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22936         loop termination condition.
22937
22938         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22939         variable to calculate EZ.
22940         (__sqr): Likewise.
22941
22942         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22943         the lower precision input.
22944
22945 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22946
22947         [BZ #13550]
22948         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22949         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22950         (run-via-rtld-prefix): Do not handle %-bp tests.
22951         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22952         (all-object-suffixes): Remove .ob.
22953         (bppfx): Remove variable.
22954         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22955         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22956         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22957         [$(build-bounded) = yes] (libtype.ob): Likewise.
22958         * Makerules (elide-routines.ob): Remove variable.
22959         (do-tests-clean): Do not handle *-bp.out.
22960         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22961         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22962         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22963         (tests): Do not include $(tests-bp.out).
22964         (xtests): Do not include $(xtests-bp.out).
22965         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22966         [$(build-bounded) = yes] ($(addprefix
22967         $(objpfx),$(binaries-bounded))): Remove rule.
22968         ($(objpfx)%-bp.out): Remove rule.
22969         * config.make.in (build-bounded): Remove variable.
22970         * crypt/Makefile [$(build-bounded) = yes]
22971         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22972         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22973         append to variable.
22974         [$(build-bounded) = yes] (install-lib): Likewise.
22975         [$(build-bounded) = yes] (generated): Likewise.
22976         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22977         Remove rule.
22978         * intl/Makefile [$(build-bounded) = yes]
22979         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22980         * math/Makefile [$(build-bounded) = yes]
22981         ($(tests:%=$(objpfx)%-bp): Likewise.
22982         * misc/Makefile [$(build-bounded) = yes]
22983         ($(objpfx)tst-tsearch-bp): Likewise.
22984         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22985         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22986         Remove dependency.
22987         * string/Makefile (o-objects.ob): Remove variable.
22988         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22989         (CFLAGS-.ob): Remove variable.
22990         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22991         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22992         both definitions of variable.
22993         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22994         (ASFLAGS-.ob): Remove variable.
22995
22996 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22997
22998         [BZ #13550]
22999         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23000         Remove __BOUNDED_POINTERS__ from condition.
23001         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23002         * string/bits/string2.h [!__NO_STRING_INLINES &&
23003         !__BOUNDED_POINTERS__]: Likewise.
23004         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23005         Likewise.
23006         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23007         Remove conditional code.
23008         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23009         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23010         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23011         condition.
23012
23013         [BZ #13550]
23014         * csu/libc-start.c: Do not include <bp-sym.h>.
23015         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23016         * elf/dl-open.c: Do not include <bp-sym.h>.
23017         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23018         * math/fegetenv.c: Do not include <bp-sym.h>.
23019         (fegetenv): Do not use BP_SYM in versioned symbols.
23020         * nptl/sysdeps/pthread/bits/libc-lockP.h
23021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23022         <bp-sym.h>.
23023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23024         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23026         (__pthread_mutex_destroy): Likewise.
23027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23028         (__pthread_mutex_lock): Likewise.
23029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23030         (__pthread_mutex_trylock): Likewise.
23031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23032         (__pthread_mutex_unlock): Likewise.
23033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23034         (__pthread_mutexattr_init): Likewise.
23035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23036         (__pthread_mutexattr_destroy): Likewise.
23037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23038         (__pthread_mutexattr_settype): Likewise.
23039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23040         (__pthread_rwlock_init): Likewise.
23041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23042         (__pthread_rwlock_destroy): Likewise.
23043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23044         (__pthread_rwlock_rdlock): Likewise.
23045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23046         (__pthread_rwlock_tryrdlock): Likewise.
23047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23048         (__pthread_rwlock_wrlock): Likewise.
23049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23050         (__pthread_rwlock_trywrlock): Likewise.
23051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23052         (__pthread_rwlock_unlock): Likewise.
23053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23054         (__pthread_key_create): Likewise.
23055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23056         (__pthread_setspecific): Likewise.
23057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23058         (__pthread_getspecific): Likewise.
23059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23060         Likewise.
23061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23062         (_pthread_cleanup_push_defer): Likewise.
23063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23064         (_pthread_cleanup_pop_restore): Likewise.
23065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23066         (pthread_setcancelstate): Likewise.
23067         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23068         <bp-sym.h>.
23069         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23070         (memchr): Do not use BP_SYM in weak_alias.
23071         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23072         (fegetenv): Do not use BP_SYM in versioned symbols.
23073         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23074         (fesetenv): Do not use BP_SYM in versioned symbols.
23075         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23076         (feupdateenv): Do not use BP_SYM in versioned symbols.
23077         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23078         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23079         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23080         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23081         (open64): Do not use BP_SYM in weak_alias.
23082         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23083         (fegetenv): Do not use BP_SYM in versioned symbols.
23084         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23085         (fesetenv): Do not use BP_SYM in versioned symbols.
23086         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23087         (feupdateenv): Do not use BP_SYM in versioned symbols.
23088         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23089         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23090         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23091         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23092         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23093         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23094         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23095         <bp-sym.h>.
23096         (__libc_start_main): Do not use BP_SYM.
23097
23098 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23099
23100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23101         redundant return line.
23102         (norm): Likewise.
23103         (denorm): Likewise.
23104         (dbl_mp): Likewise.
23105         (sub_magnitudes): Likewise.
23106         (__add): Likewise.
23107         (__sub): Likewise.
23108         (__mul): Likewise.
23109         (__inv): Likewise.
23110         (__dvd): Likewise.
23111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23112         (norm): Likewise.
23113         (denorm): Likewise.
23114         (dbl_mp): Likewise.
23115         (sub_magnitudes): Likewise.
23116         (__add): Likewise.
23117         (__sub): Likewise.
23118         (__mul): Likewise.
23119         (__inv): Likewise.
23120         (__dvd): Likewise.
23121
23122         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23123         instead of __mul.
23124         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23125         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23126         (cc32): Likewise.
23127
23128         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23129         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23131         of __mul for squares.
23132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23133         function
23134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23135         Likewise.
23136         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23137         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23138
23139 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23140
23141         [BZ #13550]
23142         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23143         code.
23144         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23145         prototype or function definition.  Rename ubp_* variables and
23146         parameters.  Remove argv definitions conditional on
23147         [__BOUNDED_POINTERS__].
23148         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23149         * elf/dl-runtime.c (_dl_fixup): Likewise.
23150         * include/set-hooks.h (RUN_HOOK): Likewise.
23151         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23152         definition.
23153         * string/strcpy.c (strcpy): Do not use __unbounded.
23154         * sysdeps/generic/frame.h (struct layout): Likewise.
23155         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23156         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23157         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23158         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23159         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23160         (__backtrace): Likewise.
23161         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23162         use __ptrvalue.
23163         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23164         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23165         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23166         Likewise.
23167         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23168         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23169         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23170         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23171         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23172         Do not use __unbounded.
23173         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23174         Rename __unboundedrlimits parameter to rlimits in prototype.
23175         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23176         Do not use __unbounded.
23177         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23178         not use __ptrvalue.
23179         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23180         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23181         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23182         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23183         __ptrvalue or __unbounded.
23184         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23185         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23186         use __unbounded.
23187         (__new_msgctl): Do not use __ptrvalue.
23188         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23189         __unbounded.
23190         (__libc_msgrcv): Do not use __ptrvalue.
23191         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23192         startup_info): Do not use __unbounded.
23193         (__libc_start_main): Likewise.  Rename ubp_* variables and
23194         parameters.  Remove argv definitions conditional on
23195         [__BOUNDED_POINTERS__].
23196         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23197         __ptrvalue.
23198         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23199         use __unbounded.
23200         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23201         or __ptrvalue.
23202         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23203         use __unbounded.
23204         (__new_shmctl): Do not use __ptrvalue.
23205         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23206         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23207         Likewise.
23208         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23209         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23210         (__libc_sigaction): Likewise.
23211         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23212         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23213         Likewise.
23214         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23215
23216 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23217
23218         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23219
23220         * string/mempcpy.c: Implement by calling memcpy.
23221
23222 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23223
23224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23225
23226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23227         evaluation.
23228
23229         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23230         values in the mantissa.
23231
23232         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23233         minimize writes to Z.
23234         (sub_magnitudes): Simplify code a bit.
23235
23236 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23237
23238         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23239         from the message.  The linker prefixes all warnings with that already.
23240
23241 2013-02-12  Andreas Schwab  <schwab@suse.de>
23242
23243         [BZ #15078]
23244         * posix/regexec.c (extend_buffers): Add parameter min_len.
23245         (check_matching): Pass minimum needed length.
23246         (clean_state_log_if_needed): Likewise.
23247         (get_subexp): Likewise.
23248         * posix/Makefile (tests): Add bug-regex34.
23249         (bug-regex34-ENV): Define.
23250         * posix/bug-regex34.c: New file.
23251
23252         [BZ #11561]
23253         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23254         elements compare against the byte sequence of it, not its name.
23255         * posix/Makefile (tests): Add bug-regex35.
23256         (bug-regex35-ENV): Define.
23257         * posix/bug-regex35.c: New file.
23258
23259 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23260
23261         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23262         comment.
23263         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23264         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23265         (CHECK_EOL): Add undef.
23266
23267 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23268
23269         * bits/stdlib-bsearch.h: New file.
23270         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23271         * stdlib/stdlib.h: Likewise.
23272
23273 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23274
23275         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23276         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23277         declaration.
23278         * manual/search.texi (Array Search Function): Add missing const in
23279         lfind prototype.
23280         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23281         declaration to use rlim_t.
23282         (Basic Scheduling Functions): Remove erroneous const from
23283         sched_getparam prototype.  Remove erroneous * from
23284         sched_get_priority_max and sched_get_priority_min prototypes.
23285         (Resource Usage): Fix summary @comment on vtimes to refer to
23286         sys/vtimes.h rather than vtimes.h.
23287         Add missing *s in vtimes prototype.
23288         (Limits on Resources): Fix ulimit prototype to return long int.
23289         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23290         prototypes to use long int rather than double.
23291         (BSD Random): Fix initstate and setstate to use char *, not void *.
23292         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23293         prototype to make second argument 'struct aiocb64 *const[]'.
23294         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23295         (Status of AIO Operations): Remove erroneous const in aio_return and
23296         aio_return64 prototypes.
23297         (Synchronizing I/O): Fix sync prototype to return void.
23298         * manual/startup.texi (Suboptions): Remove an erroneous const in
23299         getsubopt prototype.
23300         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23301         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23302         use size_t rather than int.
23303         (Scanning All Users): Likewise for getpwent_r.
23304         (Setting Groups): Add missing const to setgroups prototype.
23305         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23306         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23307         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23308         'const void *' rather than 'const char *'.
23309         (Host Address Functions): Likewise for inet_ntop.
23310         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23311         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23312         ssize_t for return value.
23313         (Sending Data): Likewise for send, sendto, sendmsg.
23314         (Socket Option Functions): Add a missing const in setsockopt prototype.
23315         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23316         use wchar_t for the argument.
23317         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23318         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23319         take no arguments.
23320         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23321         double/float/long double for second argument.
23322         Fix return types of significand, significandf, significandl.
23323         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23324         argument in fchmod prototype.
23325         (File Owner): Use uid_t and gid_t in fchown prototype.
23326         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23327         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23328         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23329         use 'const struct dirent **' as argument types to CMP function pointer
23330         argument.
23331         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23332         (File Times): Fix summary magic @comment for struct utimbuf and utime
23333         to refer to utime.h, not time.h.
23334         * manual/string.texi (Argz Functions): Add missing const in
23335         argz_extract and argz_next prototypes.
23336         (Finding Tokens in a String): Likewise for basename.
23337         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23338         (Copying and Concatenation): Fix typo in wmemmove prototype.
23339         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23340         (Signal Stack): Remove erroneous const in sigstack prototype.
23341         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23342         prototype.
23343         (Simple Calendar Time): Likewise for stime.
23344         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23345         prototype.
23346         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23347         say sys/sysctl.h instead.
23348         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23349         and vsyslog prototypes.
23350
23351 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23352
23353         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23354         Remove.
23355
23356 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23357
23358         * misc/sys/mman.h: Fix typo in mremap comment.
23359
23360 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23361
23362         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23363         the '\0' terminator.
23364
23365 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23366
23367         [BZ #13550]
23368         * debug/segfault.c: Don't include <bp-checks.h>.
23369         * sysdeps/generic/bp-checks.h: Remove file.
23370         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23371         (__GETDENTS): Don't use CHECK_N.
23372         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23373         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23374         (__getgroups): Don't use CHECK_N.
23375         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23376         (setgroups): Don't use CHECK_N.
23377         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23378         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23379         (__libc_msgrcv): Don't use CHECK_N.
23380         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23381         (__libc_msgsnd): Don't use CHECK_N.
23382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23383         <bp-checks.h>.
23384         (__libc_pread): Don't use CHECK_N.
23385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23386         include <bp-checks.h>.
23387         (__libc_pread64): Don't use CHECK_N.
23388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23389         include <bp-checks.h>.
23390         (__libc_pwrite): Don't use CHECK_N.
23391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23392         include <bp-checks.h>.
23393         (__libc_pwrite64): Don't use CHECK_N.
23394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23395         <bp-checks.h>.
23396         (__libc_pread): Don't use CHECK_N.
23397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23398         include <bp-checks.h>.
23399         (__libc_pread64): Don't use CHECK_N.
23400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23401         include <bp-checks.h>.
23402         (__libc_pwrite): Don't use CHECK_N.
23403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23404         include <bp-checks.h>.
23405         (__libc_pwrite64): Don't use CHECK_N.
23406         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23407         (do_pread): Don't use CHECK_N.
23408         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23409         (do_pread64): Don't use CHECK_N.
23410         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23411         (do_pwrite): Don't use CHECK_N.
23412         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23413         (do_pwrite64): Don't use CHECK_N.
23414         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23415         (__libc_readv): Don't use CHECK_N.
23416         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23417         (semop): Don't use CHECK_N.
23418         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23419         <bp-checks.h>.
23420         (semtimedop): Don't use CHECK_N.
23421         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23422         (__libc_pread): Don't use CHECK_N.
23423         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23424         <bp-checks.h>.
23425         (__libc_pread64): Don't use CHECK_N.
23426         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23427         <bp-checks.h>.
23428         (__libc_pwrite): Don't use CHECK_N.
23429         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23430         <bp-checks.h>.
23431         (__libc_pwrite64): Don't use CHECK_N.
23432         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23433         <bp-checks.h>.
23434         (__libc_msgrcv): Don't use CHECK_N.
23435         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23436         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23437         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23438         (__libc_writev): Don't use CHECK_N.
23439
23440 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23441
23442         * string/strcpy.c: Removed unused variable.
23443
23444         * Makeconfig (+sysdep-includes): Define with := rather than =.
23445         Use an existing include/ subdir of each sysdeps dir before it.
23446
23447 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23448
23449         * nscd/connection.c (register_traced_file): Comment function.
23450         [HAVE_INOTIFY] (union __inev): Define.
23451         [HAVE_INOTIFY] (inotify_check_files): New function.
23452         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23453         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23454         clear_db_cache.
23455         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23456
23457 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23458
23459         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23460         loaded if not already and that a failure is permanent.
23461
23462 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23463
23464         [BZ #15006]
23465         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23466         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23467
23468 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23469
23470         [BZ #13550]
23471         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23472         (CHECK_1_NULL_OK): Likewise.
23473         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23474         (__fxstat): Do not use CHECK_1.
23475         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23476         <bp-checks.h>.
23477         (___fxstat64): Do not use CHECK_1.
23478         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23479         <bp-checks.h>.
23480         (__fxstatat): Do not use CHECK_1.
23481         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23482         <bp-checks.h>.
23483         (__fxstatat64): Do not use CHECK_1.
23484         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23485         <bp-checks.h>.
23486         (__fxstat): Do not use CHECK_1.
23487         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23488         <bp-checks.h>.
23489         (__fxstatat): Do not use CHECK_1.
23490         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23491         <bp-checks.h>.
23492         (__getresgid): Do not use CHECK_1.
23493         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23494         <bp-checks.h>.
23495         (__getresuid): Do not use CHECK_1.
23496         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23497         <bp-checks.h>.
23498         (__lxstat): Do not use CHECK_1.
23499         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23500         <bp-checks.h>.
23501         (__old_msgctl): Do not use CHECK_1.
23502         (__new_msgctl): Likewise.
23503         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23504         <bp-checks.h>.
23505         (__new_setrlimit): Do not use CHECK_1.
23506         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23507         <bp-checks.h>.
23508         (__old_shmctl): Do not use CHECK_1.
23509         (__new_shmctl): Likewise.
23510         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23511         <bp-checks.h>.
23512         (__xstat): Do not use CHECK_1.
23513         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23514         (__lxstat): Do not use CHECK_1.
23515         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23516         <bp-checks.h>.
23517         (___lxstat64): Do not use CHECK_1.
23518         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23519         (__old_msgctl): Do not use CHECK_1.
23520         (__new_msgctl): Likewise.
23521         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23522         <bp-checks.h>.
23523         (__gettimeofday): Do not use CHECK_1.
23524         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23525         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23526         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23527         <bp-checks.h>.
23528         (__gettimeofday): Do not use CHECK_1.
23529         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23530         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23531         (__new_shmctl): Do not use CHECK_1.
23532         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23533         <bp-checks.h>.
23534         (do_sigtimedwait): Do not use CHECK_1.
23535         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23536         <bp-checks.h>.
23537         (do_sigwaitinfo): Do not use CHECK_1.
23538         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23539         <bp-checks.h>.
23540         (msgctl): Do not use CHECK_1.
23541         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23542         <bp-checks.h>.
23543         (shmctl): Do not use CHECK_1.
23544         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23545         (ustat): Do not use CHECK_1.
23546         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23547         <bp-checks.h>.
23548         (__fxstat): Do not use CHECK_1.
23549         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23550         <bp-checks.h>.
23551         (__fxstatat): Do not use CHECK_1.
23552         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23553         <bp-checks.h>.
23554         (__lxstat): Do not use CHECK_1.
23555         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23556         <bp-checks.h>.
23557         (__xstat): Do not use CHECK_1.
23558         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23559         (__xstat): Do not use CHECK_1.
23560         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23561         (___xstat64): Do not use CHECK_1.
23562
23563         [BZ #13550]
23564         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23565         definitions.
23566         (CHECK_BOUNDS_HIGH): Likewise.
23567         * string/strcpy.c: Do not include <bp-checks.h>.
23568         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23569
23570 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23571
23572         * nscd/nscd-client.h (__nscd_drop_map_ref):
23573         Add __attribute__ ((unused)).
23574         * nis/nss-nisplus.h (niserr2nss): Likewise.
23575
23576         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23577         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23578
23579         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23580         Remove inline keyword.
23581         * include/rounding-mode.h (round_away): Likewise.
23582         * libio/wfileops.c (adjust_wide_data): Likewise.
23583         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23584         (__m128i_strloadu_tolower): Likewise.
23585         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23586         (__m128i_strloadu_tolower): Likewise.
23587         * time/mktime.c (ydhms_diff): Likewise.
23588         * locale/elem-hash.h (elem_hash): Likewise.
23589         * locale/setlocale.c (setdata): Likewise.
23590         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23591         (re_string_wchar_at): Likewise.
23592         (bitset_not, bitset_merge, bitset_mask): Likewise.
23593         [!(__GNUC__ > 3)] (inline): Remove macro.
23594         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23595         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23596         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23597         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23598         * string/memcmp.c (memcmp_bytes): Likewise.
23599         * locale/programs/locarchive.c (compute_hashval): Likewise.
23600         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23601         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23602         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23603         * nss/getent.c (print_rpc, print_protocols): Likewise.
23604         (print_passwd, print_group, print_aliases): Likewise.
23605         * nis/nss-nisplus.h (niserr2nss): Likewise.
23606         * nscd/connections.c (restart_p): Likewise.
23607         Change return type to bool.
23608
23609 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23610
23611         * Makeconfig (all-Depend-files): Add existing
23612         $(sorted-subdirs:=/Depend) files.
23613         (all-subdirs): Remove nss.
23614         * sysdeps/unix/inet/Subdirs: Add it here instead.
23615         * hesiod/Depend: New file.
23616
23617         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23618         instead of calling alloca.
23619
23620         * io/lseek.c (__lseek): Rename to __libc_lseek.
23621         Define __lseek as an alias.
23622
23623         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23624
23625 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23626
23627         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23628         else clause and remove check for non-standard endianness.
23629
23630 2013-02-04  David S. Miller  <davem@davemloft.net>
23631
23632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23633
23634 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23635
23636         [BZ #13550]
23637         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23638         (__ubp_memchr): Remove prototype.
23639         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23640         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23641         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23642         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23643         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23644         Remove alias.
23645         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23646         (__ubp_memchr): Likewise.
23647         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23648         (__ubp_memchr): Likewise.
23649         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23650         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23651         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23652         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23653         CHECK_STRING.
23654         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23655         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23656         (__getcwd): Do not use CHECK_STRING.
23657         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23658         <bp-checks.h>.
23659         (__real_chown): Do not use CHECK_STRING.
23660         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23661         <bp-checks.h>.
23662         (fchownat): Do not use CHECK_STRING.
23663         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23664         CHECK_STRING.
23665         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23666         <bp-checks.h>.
23667         (__lchown): Do not use CHECK_STRING.
23668         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23669         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23670         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23671         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23673         include <bp-checks.h>.
23674         (truncate64): Do not use CHECK_STRING.
23675         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23676         <bp-checks.h>.
23677         (__real_chown): Do not use CHECK_STRING.
23678         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23679         <bp-checks.h>.
23680         (__lchown): Do not use CHECK_STRING.
23681         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23682         <bp-checks.h>.
23683         (__chown): Do not use CHECK_STRING.
23684         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23685         <bp-checks.h>.
23686         (truncate64): Do not use CHECK_STRING.
23687         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23688         Likewise.
23689         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23690         (__xmknod): Do not use CHECK_STRING.
23691         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23692         <bp-checks.h>.
23693         (__xmknodat): Do not use CHECK_STRING.
23694         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23695         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23696
23697 2013-02-04  Andreas Schwab  <schwab@suse.de>
23698
23699         [BZ #14142]
23700         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23701         * include/netdb.h: Likewise for h_errno.
23702         * elf/tst-stackguard1.c: Include <tls.h>.
23703
23704 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23705
23706         * elf/link.h (struct link_map): Extend the l_addr comment.
23707         * include/link.h (struct link_map): Likewise.
23708
23709 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23710
23711         [BZ #13550]
23712         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23713         (BOUNDED_1): Remove macro.
23714         * debug/backtrace.c: Don't include <bp-checks.h>.
23715         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23716         (__backtrace): Likewise.
23717         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23718         <bp-checks.h>.
23719         (__backtrace): Don't use BOUNDED_1.
23720         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23721         <bp-checks.h>.
23722         (__backtrace): Don't use BOUNDED_1.
23723         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23724         (__backtrace): Don't use BOUNDED_1.
23725         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23726         (shmat): Don't use BOUNDED_N.
23727
23728 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23729
23730         [BZ #13550]
23731         * sysdeps/generic/bp-start.h: Remove file.
23732         * csu/libc-start.c: Don't include <bp-start.h>.
23733         (LIBC_START_MAIN): Set up __environ directly instead of using
23734         INIT_ARGV_and_ENVIRON.
23735         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23736         <bp-start.h>.
23737
23738         [BZ #13550]
23739         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23740         definitions.
23741         (CHECK_FCNTL): Likewise.
23742         (CHECK_N_PAGES): Likewise.
23743
23744         [BZ #13550]
23745         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23746         definitions.
23747         (CHECK_SIGSET_NULL_OK): Likewise.
23748         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23749         <bp-checks.h>.
23750         (sigpending): Don't use CHECK_SIGSET.
23751         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23752         <bp-checks.h>.
23753         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23754         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23755         <bp-checks.h>.
23756         (do_sigsuspend): Don't use CHECK_SIGSET.
23757         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23758         use CHECK_SIGSET.
23759         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23760         (do_sigwait): Don't use CHECK_SIGSET.
23761         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23762         use CHECK_SIGSET.
23763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23764         include <bp-checks.h>.
23765         (sigpending): Don't use CHECK_SIGSET.
23766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23767         include <bp-checks.h>.
23768         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23769         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23770         <bp-checks.h>.
23771         (sigpending): Don't use CHECK_SIGSET.
23772         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23773         <bp-checks.h>.
23774         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23775
23776         [BZ #13550]
23777         * sysdeps/generic/bp-semctl.h: Remove file.
23778         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23779         <bp-checks.h> and <bp-semctl.h>.
23780         (__old_semctl): Don't use CHECK_SEMCTL.
23781         (__new_semctl): Likewise.
23782         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23783         and <bp-semctl.h>.
23784         (__old_semctl): Don't use CHECK_SEMCTL.
23785         (__new_semctl): Likewise.
23786         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23787         <bp-checks.h> and <bp-semctl.h>.
23788         (__old_semctl): Don't use CHECK_SEMCTL.
23789         (__new_semctl): Likewise.
23790         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23791         <bp-checks.h> and <bp-semctl.h>.
23792         (semctl): Don't use CHECK_SEMCTL.
23793
23794         [BZ #13550]
23795         * Makerules (elide-bp-thunks): Remove variable.
23796         (elide-routines.oS): Don't use $(elide-bp-thunks).
23797         (elide-routines.os): Likewise.
23798         (elide-routines.o): Likewise.
23799         (elide-routines.op): Likewise.
23800         (elide-routines.og): Likewise.
23801         (objects): Don't use $(bp-thunks).
23802         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23803         include.
23804         (common-generated): Do not add s-proto-bp.d.
23805         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23806         (int): Likewise.
23807         (typ): Likewise.
23808         Do not generate makefile rules for bounded-pointer thunks.
23809         * sysdeps/generic/bp-thunks.h: Remove file.
23810         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23811         * sysdeps/unix/s-proto-bp.S: Likewise.
23812
23813         [BZ #15062]
23814         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23815         parts of result separately when argument is not close to line from
23816         -i to i and one part of argument is small.
23817         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23818         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23819         * math/libm-test.inc (cacos_test): Add more tests.
23820         (casin_test): Likewise.
23821         (casinh_test): Likewise.
23822         * sysdeps/i386/fpu/libm-test-ulps: Update.
23823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23824
23825 2013-01-31  David S. Miller  <davem@davemloft.net>
23826
23827         * po/de.po: Update from translation team.
23828
23829 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23830
23831         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23832
23833 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23834
23835         * configure.in (_AC_PROG_CC_C89): New definition.
23836         * configure: Regenerate.
23837
23838         * configure.in (AC_PROG_CPP): New definition.
23839         * configure: Regenerate.
23840
23841 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23842
23843         * debug/tst-backtrace.h: New file.
23844         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23845         (ret): Remove variable.
23846         (x): Likewise.
23847         (FAIL): Remove macro.
23848         (NO_INLINE): Likewise.
23849         (fn1): Use match function instead of strstr.
23850         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23851         (ret): Remove variable.
23852         (x): Likewise.
23853         (FAIL): Remove macro.
23854         (NO_INLINE): Likewise.
23855         (fn): Use match function instead of strstr.
23856         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23857         (ret): Remove variable.
23858         (x): Likewise.
23859         (FAIL): Remove macro.
23860         (NO_INLINE): Likewise.
23861         (handle_signal): Use match function instead of strstr.
23862         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23863         (ret): Remove variable.
23864         (x): Likewise.
23865         (FAIL): Remove macro.
23866         (NO_INLINE): Likewise.
23867         (handle_signal): Use match function instead of strstr.
23868
23869 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23870
23871         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23872
23873 2013-01-23  David S. Miller  <davem@davemloft.net>
23874
23875         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23876         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23877         argument of CAS if possible.
23878         * sysdeps/sparc/sparc64/bits/atomic.h
23879         (__arch_compare_and_exchange_val_32_acq): Likewise.
23880         (__arch_compare_and_exchange_val_64_acq): Likewise.
23881
23882 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23883
23884         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23885         * sysdeps/posix/ulimit.c: ... this.
23886         Include <limits.h>.
23887         * sysdeps/unix/bsd/ulimit.c: Remove file.
23888
23889 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23890
23891         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23892         (LDFLAGS-tst-array5): Likewise.
23893
23894 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23895
23896         [BZ #15036]
23897         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23898         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23899         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23900         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23901
23902 2013-01-21  David S. Miller  <davem@davemloft.net>
23903
23904         * sysdeps/sparc/backtrace.c: New file.
23905         * sysdeps/sparc/sparc32/backtrace.h: New file.
23906         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23907         * sysdeps/sparc/sparc64/backtrace.h: New file.
23908         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23909         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23910         -funwind-tables.
23911
23912 2013-01-21  Andreas Schwab  <schwab@suse.de>
23913
23914         [BZ #15020]
23915         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23916         closed its stdout.
23917
23918 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23919
23920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23921         "mpa2.h".
23922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23923
23924 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23925             Mark Mitchell  <mark@codesourcery.com>
23926             Tom de Vries  <tom@codesourcery.com>
23927             Paul Pluzhnikov  <ppluzhnikov@google.com>
23928
23929         * debug/tst-backtrace2.c: New file.
23930         * debug/tst-backtrace3.c: Likewise.
23931         * debug/tst-backtrace4.c: Likewise.
23932         * debug/tst-backtrace5.c: Likewise.
23933         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23934         (CFLAGS-tst-backtrace3.c): Likewise.
23935         (CFLAGS-tst-backtrace4.c): Likewise.
23936         (CFLAGS-tst-backtrace5.c): Likewise.
23937         (LDFLAGS-tst-backtrace2): Likewise.
23938         (LDFLAGS-tst-backtrace3): Likewise.
23939         (LDFLAGS-tst-backtrace4): Likewise.
23940         (LDFLAGS-tst-backtrace5): Likewise.
23941         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23942         tst-backtrace4 and tst-backtrace5.
23943
23944 2013-01-18  Anton Blanchard  <anton@samba.org>
23945             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23946
23947         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23948         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23949         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23950         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23952         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23953         "+r" and remove output regs list as redundant.  Add explicit inline
23954         asm to specify register of return val to work around compiler codegen
23955         bug.  Remove (int) cast on return value.  Add return type parameter to
23956         use in macro so that this macro does not truncate return value for
23957         64-bit values.
23958         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23959         pass to INTERNAL_VSYSCALL_NCS.
23960         (INLINE_VSYSCALL): Add 'long int' as return type to
23961         INTERNAL_VSYSCALL_NCS macro invocation.
23962         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23963         INTERNAL_VSYSCALL_NCS macro invocation.
23964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23965
23966 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23967
23968         [BZ #14496]
23969         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23970         Fix application of SIMD FP exception mask.
23971
23972         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23973         mp_no from a power of two.
23974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23975         __mpexp_twomm1.  Use __pow_mp.
23976
23977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23978         multiplication.
23979
23980 2013-01-17  David S. Miller  <davem@davemloft.net>
23981
23982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23983
23984 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23985
23986         [BZ #15023]
23987         * include/complex.h: Condition contents on [!_COMPLEX_H].
23988         (__kernel_casinhf): New prototype.
23989         (__kernel_casinh): Likewise.
23990         (__kernel_casinhl): Likewise.
23991         * math/Makefile (libm_calls): Add k_casinh.
23992         * math/k_casinh.c: New file.
23993         * math/k_casinhf.c: Likewise.
23994         * math/k_casinhl.c: Likewise.
23995         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23996         finite nonzero arguments.
23997         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23998         finite nonzero arguments.
23999         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24000         finite nonzero arguments.
24001         * math/s_casinh.c: Do not include <float.h>.
24002         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24003         * math/s_casinhf.c: Do not include <float.h>.
24004         (__casinhf): Move code for finite nonzero arguments to
24005         k_casinhf.c.
24006         * math/s_casinhl.c: Do not include <float.h>.
24007         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24008         redefine.
24009         (__casinhl): Move code for finite nonzero arguments to
24010         k_casinhl.c.
24011         * math/libm-test.inc (cacos_test): Add more tests.
24012         * sysdeps/i386/fpu/libm-test-ulps: Update.
24013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24014
24015 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24016
24017         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24018         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24019         [!HAVE_MREMAP]: Remove [defined linux] case.
24020         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24021
24022 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24023
24024         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24025
24026 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24027
24028         * elf/elf.h (R_386_SIZE32): New relocation.
24029         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24030         R_386_SIZE32.
24031         (elf_machine_rela): Likewise.
24032         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24033         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24034
24035 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24036
24037         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24038         (FP_FAST_FMA): Do not define.
24039         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24040         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24041         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24042         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24043         !_SOFT_FLOAT]: Likewise.
24044         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24045         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24046         value.
24047         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24048         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24049         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24050         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24051         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24052         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24053         file.
24054
24055 2013-01-16  Andreas Schwab  <schwab@suse.de>
24056
24057         [BZ #14327]
24058         * include/stdlib.h (__mktemp): Add declaration.
24059         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24060         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24061
24062 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24063
24064         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24065         definitions.
24066         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24067         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24068         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24069         definitions here.
24070         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24071         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24072         definitions.
24073         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24074         and ONE.
24075         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24076         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24077         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24078         definitions.
24079         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24080         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24081         definitions.
24082         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24083
24084         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24085
24086 2013-01-15  David S. Miller  <davem@davemloft.net>
24087
24088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24089         trunc{,f} to libm-sysdep_routes.
24090         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24092         file.
24093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24095         file.
24096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24097         file.
24098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24100         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24101         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24102         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24103         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24104         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24105         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24106
24107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24108         nearbyint{,f} to libm-sysdep_routes.
24109         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24111         New file.
24112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24113         file.
24114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24115         New file.
24116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24117         file.
24118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24120         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24121         file.
24122         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24123         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24124         file.
24125         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24126         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24127         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24128
24129         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24130         libc_feholdexcept and libc_fesetenv.
24131
24132 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24133
24134         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24135
24136 2013-01-14  David S. Miller  <davem@davemloft.net>
24137
24138         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24139         (SPARC_ASM_VIS2_IFUNC): Likewise.
24140         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24142         use of 'siam' instruction.
24143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24144         Likewise.
24145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24146         Likewise.
24147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24148         Likewise.
24149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24154         file.
24155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24156         file.
24157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24158         file.
24159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24160         file.
24161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24166         new VIS2 routines.
24167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24170         Likewise.
24171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24176         routines to libm-sysdep_routines.
24177         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24178
24179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24180         fdim/fdimf to libm-sysdep_routines.
24181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24182         file.
24183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24185         file.
24186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24189         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24190         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24191         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24192         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24193
24194 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24195
24196         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24197         to optimize copies.
24198
24199         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24202
24203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24204         local variable MPTWO.
24205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24206         Likewise.
24207
24208 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24209
24210         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24211         GLOB_NOESCAPE.
24212
24213 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24214
24215         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24216
24217 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24218
24219         * manual/pattern.texi (glob_t): Document gl_flags.
24220         (glob64_t): Likewise.
24221
24222 2013-01-11  David S. Miller  <davem@davemloft.net>
24223
24224         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24225         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24226         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24227         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24228         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24229         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24230         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24231         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24232         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24233         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24234         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24235         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24236         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24237
24238         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24239         sparc V9 rather than using V8 code.
24240         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24241         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24242
24243         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24244         Move to...
24245         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24246         Here.
24247
24248 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24249
24250         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24251         not in the main loop.
24252         * configure: Regenerated.
24253
24254 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24255
24256         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24257         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24258         to just #else.
24259         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24260         [!__GLIBC_HAVE_LONG_LONG] case.
24261         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24262         condition to just #else.
24263         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24264         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24265         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24266         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24267         unconditional.
24268         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24269         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24270         #elif condition to just #else.
24271         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24272         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24273         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24274         #elif condition to just #else.
24275
24276 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24277
24278         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24279         (EF_MIPS_ARCH_64): Fix value.
24280         (EF_MIPS_ARCH_32R2): New.
24281         (EF_MIPS_ARCH_64R2): New.
24282
24283 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24284
24285         * Makeconfig (+link-pie-before-libc): New.
24286         (+link-pie-after-libc): Likewise.
24287         (+link-pie-tests): Likewise.
24288         (+link-pie): Rewritten.
24289         (link-before-libc): Remove $(config-LDFLAGS).
24290         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24291         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24292         (config-LDFLAGS): Renamed to ...
24293         (rtld-LDFLAGS): This.
24294         (rtld-tests-LDFLAGS): New macro.
24295         (link-libc-rpath-link): Likewise.
24296         (link-libc-tests-rpath-link): Likewise.
24297         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24298         (link-libc): Prepand $(link-libc-rpath-link).
24299         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24300         (test-program-prefix): New macro.
24301         (test-via-rtld-prefix): Likewise.
24302         (test-program-cmd): Likewise.
24303         (host-test-program-cmd): Likewise.
24304         * Makefile ($(common-objpfx)testrun.sh): Replace
24305         $(run-program-prefix) with $(test-program-prefix).
24306         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24307         $(rtld-LDFLAGS).
24308         ($(common-objpfx)shlib.lds): Likewise.
24309         (build-module-helper): Likewise.
24310         ($(common-objpfx)format.lds): Likewise.
24311         * Rules (binaries-pie-tests): New.
24312         (binaries-pie-notests): Likewise.
24313         (binaries-pie): Rewritten.
24314         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24315         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24316         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24317         (make-test-out): Replace $(host-built-program-cmd) with
24318         $(host-test-program-cmd).
24319         * config.make.in (build-hardcoded-path-in-tests): New variable.
24320         * configure.in (--enable-hardcoded-path-in-tests): New configure
24321         option.
24322         (hardcoded_path_in_tests): New AC_SUBST.
24323         * configure: Regenerated.
24324         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24325         $(built-program-cmd) with $(test-program-cmd).
24326         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24327         (test_program_cmd): This.
24328         * elf/Makefile ($(objpfx)order.out): Run test with
24329         $(test-program-prefix).
24330         ($(objpfx)order2.out): Likewise.
24331         ($(objpfx)tst-initorder.out): Likewise.
24332         ($(objpfx)tst-initorder2.out): Likewise.
24333         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24334         $(test-program-cmd).
24335         ($(objpfx)tst-array1-static.out): Likewise.
24336         ($(objpfx)tst-array2.out): Likewise.
24337         ($(objpfx)tst-array3.out): Likewise.
24338         ($(objpfx)tst-array4.out): Likewise.
24339         ($(objpfx)tst-array5.out): Likewise.
24340         ($(objpfx)tst-array5-static.out): Likewise.
24341         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24342         $(test-program-cmd).
24343         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24344         $(run-program-prefix) with $(test-program-prefix).
24345         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24346         (test_program_prefix): This.
24347         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24348         $(run-program-prefix) with $(test-program-prefix).
24349         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24350         (test_program_prefix): This.
24351         * iconvdata/tst-tables.sh: Likewise.
24352         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24353         $(run-program-prefix) with $(test-program-prefix).
24354         ($(objpfx)tst-translit.out): Likewise.
24355         ($(objpfx)tst-gettext2.out): Likewise.
24356         ($(objpfx)tst-gettext4.out): Likewise.
24357         ($(objpfx)tst-gettext6.out): Likewise.
24358         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24359         (test_program_prefix): This.
24360         * intl/tst-gettext2.sh: Likewise.
24361         * intl/tst-gettext4.sh  Likewise.
24362         * intl/tst-gettext6.sh: Likewise.
24363         * intl/tst-translit.sh: Likewise.
24364         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24365         with $(test-program-cmd).
24366         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24367         $(run-program-prefix) with $(test-program-prefix).
24368         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24369         (test_program_prefix): This.
24370         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24371         $(run-program-prefix) with $(test-program-prefix).
24372         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24373         (test_program_prefix): This.
24374         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24375         * posix/Makefile ($(objpfx)globtest.out): Replace
24376         $(run-via-rtld-prefix) and $(test-wrapper) with
24377         $(test-program-prefix) and $(test-via-rtld-prefix).
24378         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24379         $(test-program-prefix).
24380         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24381         $(host-test-program-cmd).
24382         (tst-spawn-ARGS): Likewise.
24383         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24384         $(test-program-prefix).
24385         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24386         (test_via_rtld_prefix): This.
24387         (test_wrapper): Renamed to ...
24388         (test_program_prefix): This.
24389         (run_program_prefix): Replaced by test_program_prefix.
24390         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24391         (test_program_prefix): This.
24392         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24393         with $(host-test-program-cmd).
24394         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24395         $(run-program-prefix) with $(test-program-prefix).
24396         ($(objpfx)tst-printf.out): Likewise.
24397         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24398         $(test-program-cmd).
24399         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24400         (test_program_prefix): This.
24401         * stdio-common/tst-unbputc.sh: Likewise.
24402         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24403         $(run-program-prefix) with $(test-program-prefix).
24404         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24405         (test_program_prefix): This.
24406         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24407         $(built-program-cmd) with $(test-program-cmd).
24408
24409 2013-01-11  Andreas Jaeger  <aj@suse.de>
24410
24411         [BZ #15003]
24412         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24413         value. Sync with Linux 3.7.
24414
24415 2013-01-10  David S. Miller  <davem@davemloft.net>
24416
24417         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24418         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24419         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24420
24421 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24422
24423         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24424         never set.
24425         * configure: Regenerated.
24426
24427 2013-01-10  David S. Miller  <davem@davemloft.net>
24428
24429         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24430         sparc V9 rather than using V8 code.
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         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24437         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24438         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24439         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24440         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24441         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24442         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24443         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24444         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24445         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24446         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24447         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24448         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24449         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24450         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24451         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24452         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24453         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24454         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24455         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24456         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24457         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24458         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24459         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24460         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24461         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24462         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24463
24464 2013-01-10  David S. Miller  <davem@davemloft.net>
24465
24466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24467
24468 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24469
24470         * posix/Makefile (tests-static): New variable.
24471         (tests): Add $(tests-static).
24472         (tst-exec-static-ARGS): New variable.
24473         (tst-spawn-static-ARGS): Likewise.
24474         * posix/tst-exec-static.c: New file.
24475         * posix/tst-spawn-static.c: Likewise.
24476         * posix/tst-exec.c: Support run directly.
24477         * posix/tst-spawn.c: Likewise.
24478
24479 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24480
24481         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24482         long.
24483         * math/bits/mathcalls.h (llrint): Likewise.
24484         (llround): Likewise.
24485         * stdlib/stdlib.h (struct drand48_data): Likewise.
24486         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24487         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24488         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24489         Likewise.
24490         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24491         Likewise.
24492         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24493         (elf_greg_t): Likewise.
24494         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24495         (__jmp_buf): Likewise.
24496         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24497         definitions.
24498         (llrint): Likewise, for all definitions.
24499         (llrintl): Likewise.
24500
24501         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24502         Remove [__GNUC__] condition.
24503         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24504         condition to just [__USE_ISOC99].
24505         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24506
24507 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24508
24509         [BZ #14200]
24510         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24511         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24512         defined.
24513         (_POSIX_V6_ILP32_OFF32): Likewise.
24514         (_XBS5_ILP32_OFF32): Likewise.
24515         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24516         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24517
24518 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24519
24520         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24521
24522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24523         doubles __mpexp_twomm1.  Adjust usage.
24524         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24525         Remove.
24526
24527 2013-01-10  Andreas Schwab  <schwab@suse.de>
24528
24529         [BZ #14964]
24530         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24531         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24532
24533 2013-01-09  David S. Miller  <davem@davemloft.net>
24534
24535         [BZ #15003]
24536         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24537         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24538         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24539         (TCP_FASTOPEN): Define.
24540         (tcp_repair_opt): New structure.
24541         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24542         enum values.
24543         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24544         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24545         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24546         (tcp_cookie_transactions): New structure.
24547
24548 2013-01-09  Anton Blanchard  <anton@samba.org>
24549
24550         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24551         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24552         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24553         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24554
24555 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24556
24557         * include/features.h (__USE_ANSI): Remove.
24558
24559 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24560
24561         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24562
24563         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24564
24565 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24566
24567         * sysdeps/s390/fpu/libm-test-ulps: Update.
24568
24569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24570
24571         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24572         (__acr): Likewise.
24573         (__cpy): Likewise.
24574         (norm): Likewise.
24575         (denorm): Likewise.
24576         (__mp_dbl): Likewise.
24577         (__dbl_mp): Likewise.
24578         (add_magnitudes): Likewise.
24579         (sub_magnitudes): Likewise.
24580         (__add): Likewise.
24581         (__sub): Likewise.
24582         (__mul): Likewise.
24583         (__inv): Likewise.
24584         (__dvd): Likewise.
24585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24586         (__acr): Likewise.
24587         (__cpy): Likewise.
24588         (norm): Likewise.
24589         (denorm): Likewise.
24590         (__mp_dbl): Likewise.
24591         (__dbl_mp): Likewise.
24592         (add_magnitudes): Likewise.
24593         (sub_magnitudes): Likewise.
24594         (__add): Likewise.
24595         (__sub): Likewise.
24596         (__mul): Likewise.
24597         (__inv): Likewise.
24598         (__dvd): Likewise.
24599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24600         (__acr): Likewise.
24601         (__cpy): Likewise.
24602         (norm): Likewise.
24603         (denorm): Likewise.
24604         (__mp_dbl): Likewise.
24605         (__dbl_mp): Likewise.
24606         (add_magnitudes): Likewise.
24607         (sub_magnitudes): Likewise.
24608         (__add): Likewise.
24609         (__sub): Likewise.
24610         (__mul): Likewise.
24611         (__inv): Likewise.
24612         (__dvd): Likewise.
24613
24614 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24615
24616         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24617         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24618         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24619         2 && __USE_EXTERN_INLINES]: Likewise.
24620
24621 2013-01-08  Andreas Jaeger  <aj@suse.de>
24622
24623         [BZ# 14985]
24624         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24625         Remove.
24626         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24627         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24628
24629 2013-01-07  Anton Blanchard  <anton@samba.org>
24630
24631         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24632         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24633         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24634         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24635         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24636         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24637         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24638         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24641         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24642         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24645         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24646         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24647         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24648         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24649         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24650         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24651         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24652         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24653         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24654         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24655         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24656         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24657         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24658         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24659         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24660         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24661         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24663         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24664         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24665         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24666         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24667         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24668         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24669         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24670         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24671         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24673         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24674
24675 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24676
24677         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24678         (__MALLOC_PMT): Likewise.
24679         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24680         [__GNUC__], only on [_LIBC].
24681         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24682         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24683         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24684         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24685         forward declaration.
24686         (realloc_hook_ini): Likewise.
24687         (memalign_hook_ini): Likewise.
24688         (__libc_memalign): Do not use __MALLOC_PMT in variable
24689         declaration.
24690         (__libc_valloc): Likewise.
24691         (__libc_pvalloc): Likewise.
24692         (__libc_calloc): Likewise.
24693         (__posix_memalign): Likewise.
24694
24695         [BZ #14996]
24696         * math/s_casinh.c: Include <float.h>.
24697         (__casinh): Do not do computation with squaring and square root
24698         for large arguments.
24699         * math/s_casinhf.c: Include <float.h>.
24700         (__casinhf): Do not do computation with squaring and square root
24701         for large arguments.
24702         * math/s_casinhl.c: Include <float.h>.
24703         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24704         (__casinhl): Do not do computation with squaring and square root
24705         for large arguments.
24706         * math/libm-test.inc (casin_test): Add more tests.
24707         (casinh_test): Likewise.
24708         * sysdeps/i386/fpu/libm-test-ulps: Update.
24709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24710
24711 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24712
24713         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24714         (__x86_64_raw_data_cache_size): Likewise.
24715         (__x86_64_data_cache_size_half): Likewise.
24716         (__x86_64_raw_data_cache_size_half): Likewise.
24717         (__x86_64_shared_cache_size): Likewise.
24718         (__x86_64_raw_shared_cache_size): Likewise.
24719         (__x86_64_shared_cache_size_half): Likewise.
24720         (__x86_64_raw_shared_cache_size_half): Likewise.
24721         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24722         to ...
24723         (__x86_data_cache_size): This.
24724         (__x86_64_raw_data_cache_size): Renamed to ...
24725         (__x86_raw_data_cache_size): This.
24726         (__x86_64_data_cache_size_half): Renamed to ...
24727         (__x86_data_cache_size_half): This.
24728         (__x86_64_raw_data_cache_size_half): Renamed to ...
24729         (__x86_raw_data_cache_size_half): This.
24730         (__x86_64_shared_cache_size): Renamed to ...
24731         (__x86_shared_cache_size): This.
24732         (__x86_64_raw_shared_cache_size): Renamed to ...
24733         (__x86_raw_shared_cache_size): This.
24734         (__x86_64_shared_cache_size_half): Renamed to ...
24735         (__x86_shared_cache_size_half): This.
24736         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24737         (__x86_raw_shared_cache_size_half): This.
24738         * sysdeps/x86_64/memcpy.S: Updated.
24739         * sysdeps/x86_64/memset.S: Likewise.
24740         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24741         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24743
24744 2013-01-04  David S. Miller  <davem@davemloft.net>
24745
24746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24747
24748 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24749
24750         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24751         1 to avoid redefinition warning.
24752         (__USE_GNU): Don't define.
24753         (init_signaling_nan): Protoize.
24754
24755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24756
24757 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24758
24759         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24761         (__cpymn): Likewise.
24762         (norm): Remove commented code.
24763         (denorm): Likewise.
24764         (__mp_dbl): Likewise.
24765         (__inv): Likewise.
24766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24767         (__cpymn): Likewise.
24768         (norm): Remove commented code.
24769         (denorm): Likewise.
24770         (__mp_dbl): Likewise.
24771         (__inv): Likewise.
24772
24773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24774         mp_no value for 1.0 and 2.0.
24775         (norm): Use RADIXI instead of radixi.d.
24776         (denorm): Likewise.
24777         (__mul): Use 0.0 instead of zero.d.
24778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24779         mp_no value for 1.0 and 2.0.
24780         (norm): Use RADIXI instead of radixi.d.
24781         (denorm): Likewise.
24782         (__mul): Use 0.0 instead of zero.d.
24783
24784 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24785
24786         [BZ #14994]
24787         * math/s_casinh.c (__casinh): Reduce finite argument to first
24788         quadrant then set signs of results at the end.
24789         * math/s_casinhf.c (__casinhf): Likewise.
24790         * math/s_casinhl.c (__casinhl): Likewise.
24791         * math/libm-test.inc (casin_test): Add more tests.
24792         (casinh_test): Likewise.
24793         * sysdeps/i386/fpu/libm-test-ulps: Update.
24794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24795
24796 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24797
24798         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24799
24800         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24801
24802         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24803         declarations.
24804         (denorm): Likewise.
24805         (__mp_dbl): Likewise.
24806         (__inv): Likewise.
24807
24808         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24809         and adjust the header comment.
24810
24811         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24812         variable name from declaration.
24813
24814 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24815
24816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24817         Initialize COMMON_CPUID_INDEX_7 element.
24818         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24819         (CPUID_RTM): Likewise.
24820         (HAS_RTM): Likewise.
24821         (COMMON_CPUID_INDEX_7): New enum.
24822
24823 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24824
24825         [BZ #14981]
24826         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24827         size is zero, record memory as freed.
24828
24829 2013-01-03  Andreas Jaeger  <aj@suse.de>
24830
24831         * po/ia.po: Add new Interlingua translation.
24832
24833 2012-01-03  Allan McRae  <allan@archlinux.org>
24834
24835         * locale/programs/localedef.c: Fix description of '--posix' flag.
24836
24837 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24838
24839         * NEWS: Update dates in second copyright notice.
24840         * README: Update copyright dates in example.
24841         * manual/libc.texinfo: Update copyright dates.
24842         * scripts/test-installation.pl: Update copyright date in --version
24843         output.
24844
24845         * hurd/ctty-input.c: Fix copyright notice formatting.
24846         * hurd/ctty-output.c: Likewise.
24847         * hurd/dtable.c: Likewise.
24848         * hurd/hurd-raise.c: Likewise.
24849         * hurd/hurdprio.c: Likewise.
24850         * hurd/msgportdemux.c: Likewise.
24851         * misc/sys/file.h: Likewise.
24852         * misc/sys/ioctl.h: Likewise.
24853         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24854         * sysdeps/mach/hurd/chdir.c: Likewise.
24855         * sysdeps/mach/hurd/fchdir.c: Likewise.
24856         * sysdeps/mach/hurd/rename.c: Likewise.
24857         * sysdeps/mach/hurd/rmdir.c: Likewise.
24858         * sysdeps/mach/hurd/seekdir.c: Likewise.
24859         * sysdeps/mach/hurd/setsid.c: Likewise.
24860         * sysdeps/posix/wait3.c: Likewise.
24861
24862         * All files with FSF copyright notices: Update copyright dates
24863         using scripts/update-copyrights.
24864         * intl/plural.c: Regenerated.
24865         * locale/programs/charmap-kw.h: Likewise.
24866         * locale/programs/locfile-kw.h: Likewise.
24867
24868 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24869
24870         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24871         four values.
24872
24873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24874         calculation loop and add branch prediction.
24875
24876         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24877         check access beyond bounds of m1np.
24878
24879         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24880         MPTWO.
24881         (__inv): Remove local variable MPTWO to use the global
24882         constant.
24883         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24885         variable MPTWO.
24886         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24887         MP3HALFS static const.
24888
24889 2013-01-01  David S. Miller  <davem@davemloft.net>
24890
24891         * po/ca.po: Update from translation team.
24892
24893 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24894
24895         * scripts/update-copyrights: New file.
24896         * Makeconfig: Reformat copyright notice.
24897         * ctype/ctype.h: Likewise.
24898         * debug/swprintf_chk.c: Likewise.
24899         * elf/dl-cache.c: Likewise.
24900         * elf/dl-debug.c: Likewise.
24901         * elf/dl-object.c: Likewise.
24902         * grp/initgroups.c: Likewise.
24903         * hurd/Makefile: Likewise.
24904         * hurd/hurd/signal.h: Likewise.
24905         * hurd/hurdfault.c: Likewise.
24906         * hurd/hurdioctl.c: Likewise.
24907         * hurd/hurdlookup.c: Likewise.
24908         * hurd/intr-msg.c: Likewise.
24909         * iconv/gconv_open.c: Likewise.
24910         * libio/swprintf.c: Likewise.
24911         * locale/lc-ctype.c: Likewise.
24912         * locale/nl_langinfo.c: Likewise.
24913         * mach/Machrules: Likewise.
24914         * mach/Makefile: Likewise.
24915         * malloc/obstack.h: Likewise.
24916         * manual/Makefile: Likewise.
24917         * manual/tsort.awk: Likewise.
24918         * misc/bits/stab.def: Likewise.
24919         * nis/nis_print_group_entry.c: Likewise.
24920         * nis/nis_table.c: Likewise.
24921         * nis/nss_compat/compat-pwd.c: Likewise.
24922         * nis/nss_compat/compat-spwd.c: Likewise.
24923         * po/Makefile: Likewise.
24924         * posix/fnmatch.c: Likewise.
24925         * posix/regex.h: Likewise.
24926         * resolv/Makefile: Likewise.
24927         * resolv/nss_dns/dns-network.c: Likewise.
24928         * resolv/res_hconf.c: Likewise.
24929         * scripts/gen-sorted.awk: Likewise.
24930         * soft-fp/soft-fp.h: Likewise.
24931         * stdio-common/printf.h: Likewise.
24932         * stdlib/monetary.h: Likewise.
24933         * stdlib/random.c: Likewise.
24934         * stdlib/random_r.c: Likewise.
24935         * sysdeps/generic/Makefile: Likewise.
24936         * sysdeps/gnu/Makefile: Likewise.
24937         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24938         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24939         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24944         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24945         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24947         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24948         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24949         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24950         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24951         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24952         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24953         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24954         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24955         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24957         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24958         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24959         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24960         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24961         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24962         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24963         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24964         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24965         * sysdeps/mach/hurd/errnos.awk: Likewise.
24966         * sysdeps/mach/hurd/fork.c: Likewise.
24967         * sysdeps/mach/hurd/getcwd.c: Likewise.
24968         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24969         * sysdeps/mach/hurd/mmap.c: Likewise.
24970         * sysdeps/mach/hurd/utimes.c: Likewise.
24971         * sysdeps/mach/hurd/xmknod.c: Likewise.
24972         * sysdeps/posix/profil.c: Likewise.
24973         * sysdeps/posix/readdir_r.c: Likewise.
24974         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24975         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24976         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24977         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24979         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24980         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24981         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24983         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24984         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24985         * sysdeps/pthread/lio_listio.c: Likewise.
24986         * sysdeps/sparc/dl-procinfo.h: Likewise.
24987         * sysdeps/unix/i386/sysdep.S: Likewise.
24988         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24989         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24990         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24991         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24993         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24994         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24995         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24996         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24997         * sysdeps/wordsize-32/divdi3.c: Likewise.
24998         * time/sys/time.h: Likewise.
24999         * wcsmbs/Makefile: Likewise.
25000
25001 2013-01-01  David S. Miller  <davem@davemloft.net>
25002
25003         * po/fr.po: Update from translation team.
25004
25005         * catgets/gencat.c: Update copyright year.
25006         * csu/version.c: Likewise.
25007         * debug/catchsegv.sh: Likewise.
25008         * debug/pcprofiledump.c: Likewise.
25009         * debug/xtrace.sh: Likewise.
25010         * elf/ldconfig.c: Likewise.
25011         * elf/ldd.bash.in: Likewise.
25012         * elf/pldd.c: Likewise.
25013         * elf/sotruss.ksh: Likewise.
25014         * elf/sprof.c: Likewise.
25015         * iconv/iconv_prog.c: Likewise.
25016         * iconv/iconvconfig.c: Likewise.
25017         * locale/programs/locale.c: Likewise.
25018         * locale/programs/localedef.c: Likewise.
25019         * login/programs/pt_chown.c: Likewise.
25020         * malloc/memusage.sh: Likewise.
25021         * malloc/memusagestat.c: Likewise.
25022         * malloc/mtrace.pl: Likewise.
25023         * nscd/nscd.c: Likewise.
25024         * nss/getent.c: Likewise.
25025         * nss/makedb.c: Likewise.
25026         * posix/getconf.c: Likewise.
25027
25028 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25029
25030         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25031         numbers.
25032
25033 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25034
25035         * math/bits/mathcalls.h (modf): Use __nonnull.
25036
25037 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25038
25039         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25040         (split): Use macro CN instead of the bare value.
25041         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25042         could be used.
25043         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25044         instead of the bare value.
25045         (power1): Likewise.
25046
25047 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25048
25049         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25050         __ATAN_TWOM.
25051         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25052
25053         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25054         their values.
25055         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25056         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25057         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25058         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25059
25060 2012-12-28  Andreas Jaeger  <aj@suse.de>
25061
25062         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25063         values are from Linux 3.7.
25064
25065         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25066         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25067
25068 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25069
25070         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25071         TRUE case.
25072
25073         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25074         (norm): Likewise.
25075         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25076         variables with preprocessor constants.
25077         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25078         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25079         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25080
25081 2012-12-27  Bruno Haible  <bruno@clisp.org>
25082
25083         [BZ #14317]
25084         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25085         only if needed.
25086
25087 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25088
25089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25090         and use variable directly.
25091         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25092
25093         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25094         MPONE.
25095         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25097         variable MPONE.
25098         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25099         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25100         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25101         include directive.  Remove local variable MPONE.
25102         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25103         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25104         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25105
25106 2012-12-25  David S. Miller  <davem@davemloft.net>
25107
25108         * version.h (RELEASE): Set to "development".
25109         (VERSION): Set to "2.17.90".
25110         * NEWS: Add 2.18 section.
25111
25112 2012-12-21  David S. Miller  <davem@davemloft.net>
25113
25114         * po/hr.po: Update from translation team.
25115
25116 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25117
25118         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25119
25120 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25121
25122         * NEWS:  Mention new memcpy for MIPS.
25123
25124 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25125
25126         * manual/contrib.texi (Contributors): Spelling correction.
25127
25128 2012-12-15  David S. Miller  <davem@davemloft.net>
25129
25130         * po/ru.po: Update from translation team.
25131
25132 2012-12-13  David S. Miller  <davem@davemloft.net>
25133
25134         * NEWS: Mention IFUNC testsuite enhancements.
25135
25136         * po/pl.po: Update from translation team.
25137         * po/bg.po: Likewise.
25138
25139         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25140         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25141
25142 2012-12-11  David S. Miller  <davem@davemloft.net>
25143
25144         * po/sv.po: Update from translation team.
25145
25146         * po/vi.po: Update from translation team.
25147
25148         * po/cs.po: Update from translation team.
25149
25150         * po/de.po: Update from translation team.
25151         * po/eo.po: Likewise.
25152         * po/nl.po: Likewise.
25153
25154 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25155
25156         [BZ #14246]
25157         * manual/argp.texi (Argp Helper Functions): Move node to follow
25158         Argp Parsing State.
25159
25160         [BZ #14872]
25161         * manual/conf.texi (Limits on File System Capacity): Mention if
25162         terminating null is included in the max size.
25163
25164 2012-12-10  Andreas Jaeger  <aj@suse.de>
25165
25166         * po/cs.po: Update from translation team.
25167
25168 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25169
25170         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25171         void pointer and cast to uintptr_t.
25172         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25173         path.
25174         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25175         * sysdeps/s390/s390-64/memset.S: Likewise.
25176
25177 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25178
25179         [BZ #14833]
25180         * menual/message.texi (Message Translation): Fix typos.
25181         (Helper programs for gettext): Likewise.
25182
25183 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25184
25185         [BZ #14898]
25186         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25187         Change to -1.
25188
25189 2012-12-07  David S. Miller  <davem@davemloft.net>
25190
25191         * po/libc.pot: Update.
25192
25193 2012-12-07  Richard Henderson  <rth@redhat.com>
25194
25195         [BZ #10114]
25196         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25197         normal/normal case to before the switch.
25198         (_FP_DIV): Likewise.
25199
25200 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25201             Mike Frysinger  <vapier@gentoo.org>
25202
25203         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25204         check for __NR_fadvise64_64.
25205
25206 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25207
25208         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25209         0, not just to plain "0" as a statement.
25210         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25211         with cw.
25212
25213 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25214
25215         * NEWS: Use sourceware.org in Bugzilla URL.
25216
25217 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25218
25219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25220         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25221
25222         * stdio-common/tst-put-error.c (do_test): Add newline to the
25223         padded test to ensure flush.
25224
25225 2012-12-05  Jeff Law  <law@redhat.com>
25226
25227         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25228
25229 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25230
25231         * README: Don't refer to ports add-on as distributed separately.
25232         Mention AArch64 in list of systems supported in the ports add-on.
25233
25234         * LICENSES: Add more non-FSF copyright and license notices.
25235
25236         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25237         ((unused)).
25238
25239         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25240
25241         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25242         10000 as width of padded output.
25243
25244 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25245
25246         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25247
25248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25249         variable LX with __attribute__ ((unused)).
25250         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25251         Likewise.
25252         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25253         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25254         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25255         with __attribute__ ((unused)).
25256
25257 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25258
25259         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25260
25261 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25262
25263         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25264         (CFLAGS-nldbl-acos.c): New variable.
25265         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25266         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25267         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25268         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25269         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25270         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25271         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25272         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25273         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25274         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25275         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25276         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25277         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25278         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25279         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25280         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25281         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25282         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25283         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25284         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25285         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25286         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25287         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25288         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25289         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25290         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25291         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25292         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25293         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25294         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25295         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25296         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25297         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25298         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25299         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25300         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25301         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25302         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25303         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25304         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25305         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25306         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25307         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25308         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25309         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25310         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25311         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25312         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25313         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25314         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25315         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25316         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25317         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25318         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25319         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25320         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25321         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25322         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25323         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25324         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25325         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25326         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25327         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25328         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25329         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25330         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25331         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25332         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25333         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25334         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25335         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25336         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25337         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25338         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25339         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25340         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25341         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25342         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25343         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25344         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25345         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25346         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25347         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25348         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25349         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25350         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25351         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25352         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25353         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25354         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25355         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25356         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25357         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25358         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25359         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25360         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25361         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25362
25363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25364         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25365
25366         [BZ #14914]
25367         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25368         whole low double instead of just low 47 bits when splitting values
25369         into two parts.
25370
25371 2012-12-03  Allan McRae  <allan@archlinux.org>
25372
25373         * manual/stdio.texi (Predefined Printf Handlers): Remove
25374         @hsep and @vsep usage.
25375
25376 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25377
25378         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25379         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25380
25381 2012-12-03  Jeff Law  <law@redhat.com>
25382
25383         * time/sys/time.h (settimeofday): Do not mark TV argument
25384         as __nonnull.
25385
25386 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25387
25388         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25389         when currently writing and seek to current position when not.
25390         * libio/Makefile (tests): Remove bug-fclose1.
25391         * libio/bug-fclose1.c: Delete.
25392
25393 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25394
25395         * manual/arith.texi (feenableexcept): Fix typo.
25396         (fedisableexcept): Likewise.
25397
25398 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25399
25400         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25401         second, differently-typed declaration, rather than a cast.
25402
25403 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25404
25405         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25406         * include/rpc/svc.h: ... here.
25407
25408 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25409
25410         [BZ #13013]
25411         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25412         depending n and resplen2 to catch cases where answer
25413         equals answerp2.
25414
25415 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25416
25417         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25418         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25419
25420 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25421
25422         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25423
25424 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25425
25426         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25427
25428 2012-11-28  Jeff Law  <law@redhat.com>
25429
25430         [BZ #13761]
25431         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25432         dataset_temporary.  Track alloca usage into alloca_used.
25433         If dataset is large allocate and release it via malloc/free.
25434
25435 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25436
25437         [BZ #14197]
25438         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25439
25440 2012-11-28  David S. Miller  <davem@davemloft.net>
25441
25442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25443
25444 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25445
25446         [BZ #14803]
25447         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25448         of pi/2 rounded to nearest to 64 bits.
25449         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25450         nearest to 64 bits.
25451         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25452         bits.
25453
25454 2012-11-28  Jeff Law <law@redhat.com>
25455             Martin Osvald <mosvald@redhat.com>
25456
25457         [BZ #14889]
25458         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25459         * sunrpc/svc.c: Include time.h.
25460         (__svc_accept_failed): New function.
25461         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25462         any reason other than EINTR, call __svc_accept_failed.
25463         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25464         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25465
25466 2012-11-28  Andreas Schwab  <schwab@suse.de>
25467
25468         * scripts/abilist.awk: Also handle indirect functions in .opd
25469         section.
25470
25471 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25472
25473         [BZ #13881]
25474         * sysdeps/x86/fpu/powl_helper.c: New file.
25475         * sysdeps/x86/fpu/Makefile: Likewise.
25476         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25477         (p3): New object.
25478         (__ieee754_powl): Use __powl_helper for finite arguments except
25479         integer exponents below 8.
25480         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25481         (p3): New object.
25482         (__ieee754_powl): Use __powl_helper for finite arguments except
25483         integer exponents below 8.
25484         * math/libm-test.inc (pow_test): Add more tests and enable some
25485         previously disabled tests.
25486         * sysdeps/i386/fpu/libm-test-ulps: Update.
25487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25488
25489 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25490             Carlos O'Donell  <carlos_odonell@mentor.com>
25491
25492         * nss/makedb.c (is_prime): Assert that input is odd and greater
25493         than 4.  Note that fact in a comment too.
25494         (next_prime): Add 4 to input.
25495
25496 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25497
25498         [BZ #11741]
25499         * libio/Makefile (tests): Add test case tst-fwrite-error.
25500         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25501         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25502         * libio/tst-fwrite-error.c: New test case.
25503
25504 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25505
25506         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25507         before casting to void *.
25508         * include/libc-internal.h (__pointer_type): New macro.
25509         (__integer_if_pointer_type_sub): Likewise.
25510         (__integer_if_pointer_type): Likewise.
25511         (cast_to_integer): Likewise.
25512         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25513         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25514         before casting to atomic64_t.
25515         (atomic_exchange_acq): Likewise.
25516         (__arch_exchange_and_add_body): Likewise.
25517         (__arch_add_body): Likewise.
25518         (atomic_add_negative): Likewise.
25519         (atomic_add_zero): Likewise.
25520
25521 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25522
25523         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25524         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25525         (add_fdes): Likewise.
25526         (linear_search_fdes): Likewise.
25527         (binary_search_unencoded_fdes): Likewise.
25528
25529 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25530
25531         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25532
25533 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25534
25535         * configure.in: Autodetect C++ header directories.
25536         * configure: Regenerated.
25537
25538 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25539
25540         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25541
25542 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25543
25544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25545
25546 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25547
25548         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25549         LDBL_MANT_DIG == 106]: Disable some tests.
25550         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25551         Likewise.
25552         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25553         Likewise.
25554
25555         [BZ #14871]
25556         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25557         input for small inputs.  Return +/- pi/2 for large inputs.
25558         * math/libm-test.inc (atan_test): Add more tests.
25559
25560         * sysdeps/generic/unwind-dw2-fde-glibc.c
25561         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25562         __attribute__ ((unused)).
25563
25564         [BZ #14645]
25565         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25566         x * y if x and y are nonzero and z is zero.
25567
25568         [BZ #14811]
25569         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25570         nonzero exponents with absolute value below 0x1p-117 to +/-
25571         0x1p-117.
25572
25573         [BZ #14869]
25574         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25575         up arguments below 2**-450, not just those below 2**-500.
25576         * math/libm-test.inc (hypot_test): Add another test.
25577
25578         [BZ #14868]
25579         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25580         Return a+b for ratio over 2**120, not 2**60.
25581         * math/libm-test.inc (hypot_test): Add another test.
25582
25583         * math/libm-test.inc (clog_test): Use
25584         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25585         (clog10_test): Likewise.
25586
25587         [BZ #6778]
25588         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25589
25590 2012-11-22  Andreas Schwab  <schwab@suse.de>
25591
25592         * sysdeps/i386/fpu/libm-test-ulps: Update.
25593
25594 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25595
25596         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25597         printf output with newline.
25598
25599 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25600
25601         [BZ #14865]
25602         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25603         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25604         -z nodlopen, -z initfirst and -z execstack support.
25605         * configure: Regenerated.
25606
25607         * elf/elf.h (DF_1_NODIRECT): New macro.
25608         (DF_1_IGNMULDEF): Likewise.
25609         (DF_1_NOKSYMS): Likewise.
25610         (DF_1_NOHDR): Likewise.
25611         (DF_1_EDITED): Likewise.
25612         (DF_1_NORELOC): Likewise.
25613         (DF_1_SYMINTPOSE): Likewise.
25614         (DF_1_GLOBAUDIT): Likewise.
25615         (DF_1_SINGLETON): Likewise.
25616         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25617         DT_1_SUPPORTED_MASK bits.
25618         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25619
25620 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25621
25622         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25623
25624 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25625
25626         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25627         macro.
25628
25629         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25630         (sendmmsg): Move declarations...
25631         * socket/sys/socket.h: ... here.
25632         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25633         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25634         include it from...
25635         * socket/recvmmsg.c: ... this new file.
25636         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25637         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25638         definition of __sendmmsg hidden.
25639         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25640         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25641         Move ENOSYS stub into and include it from...
25642         * socket/sendmmsg.c: ... this new file.
25643         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25644         (sysdep_routines): Move recvmmsg and sendmmsg...
25645         * socket/Makefile (routines): ... here.
25646         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25647         (GLIBC_PRIVATE): Add __sendmmsg.
25648         * include/sys/socket.h (__sendmmsg): Add declarations.
25649         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25650         sendmmsg.
25651
25652 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25653
25654         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25655         variable I1 with __attribute__ ((unused)).
25656         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25657
25658 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25659
25660         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25661         DUMMY variables with __attribute__ ((unused)).
25662
25663         * bits/byteswap.h: Include <bits/types.h>.
25664         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25665
25666 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25667
25668         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25669         string_t.  Do not manually set errno.
25670         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25671         length with __strnlen.  Make sure to both set errno and return it on
25672         failure.
25673
25674 2012-11-19  David S. Miller  <davem@davemloft.net>
25675
25676         With help from Joseph Myers.
25677         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25678         very large arguments properly.
25679         * math/libm-test.inc (atan_test): New tests.
25680         (atan2_test): New tests.
25681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25683
25684 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25685
25686         [BZ #14856]
25687         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25688         Define to 3.
25689
25690         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25691         [POSIX] (EADDRNOTAVAIL): Likewise.
25692         [POSIX] (EAFNOSUPPORT): Likewise.
25693         [POSIX] (EALREADY): Likewise.
25694         [POSIX] (ECONNABORTED): Likewise.
25695         [POSIX] (ECONNREFUSED): Likewise.
25696         [POSIX] (ECONNRESET): Likewise.
25697         [POSIX] (EDESTADDRREQ): Likewise.
25698         [POSIX] (EDQUOT): Likewise.
25699         [POSIX] (EHOSTUNREACH): Likewise.
25700         [POSIX] (EIDRM): Likewise.
25701         [POSIX] (EISCONN): Likewise.
25702         [POSIX] (ELOOP): Likewise.
25703         [POSIX] (EMULTIHOP): Likewise.
25704         [POSIX] (ENETDOWN): Likewise.
25705         [POSIX] (ENETUNREACH): Likewise.
25706         [POSIX] (ENOBUFS): Likewise.
25707         [POSIX] (ENODATA): Likewise.
25708         [POSIX] (ENOLINK): Likewise.
25709         [POSIX] (ENOMSG): Likewise.
25710         [POSIX] (ENOPROTOOPT): Likewise.
25711         [POSIX] (ENOSR): Likewise.
25712         [POSIX] (ENOSTR): Likewise.
25713         [POSIX] (ENOTCONN): Likewise.
25714         [POSIX] (ENOTSOCK): Likewise.
25715         [POSIX] (EOPNOTSUPP): Likewise.
25716         [POSIX] (EOVERFLOW): Likewise.
25717         [POSIX] (EPROTO): Likewise.
25718         [POSIX] (EPROTONOSUPPORT): Likewise.
25719         [POSIX] (EPROTOTYPE): Likewise.
25720         [POSIX] (ESTALE): Likewise.
25721         [POSIX] (ETIME): Likewise.
25722         [POSIX] (ETXTBSY): Likewise.
25723         [POSIX] (EWOULDBLOCK): Likewise.
25724         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25725         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25726         [POSIX] (SEEK_CUR): Likewise.
25727         [POSIX] (SEEK_END): Likewise.
25728         [POSIX || UNIX98] (mode_t): Do not require.
25729         [POSIX] (off_t): Likewise.
25730         [POSIX] (pid_t): Likewise.
25731         [POSIX] (sys/stat.h): Do not allow header.
25732         [POSIX] (unistd.h): Likewise.
25733         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25734         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25735         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25736         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25737         require.
25738         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25739         sigevent): Specify elements.
25740         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25741         entry.
25742         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25743         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25744
25745         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25746         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25747         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25748         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25749         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25750         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25751         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25752         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25753         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25754         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25755         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25756         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25757         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25758         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25759         Likewise.
25760         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25761         Likewise.
25762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25763         Likewise.
25764         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25765         Likewise.
25766         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25767         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25768         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25769         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25770         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25771         Specify lower bound on value.
25772         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25773         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25774         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25775         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25776         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25777         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25778         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25779         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25780         value.
25781         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25782         as optional.
25783         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25784         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25785         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25786         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25787         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25788         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25789         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25790         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25791         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25792         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25793         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25794         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25795         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25796         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25797         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25798         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25799         entry.
25800         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25801         optional.
25802         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25803         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25804         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25805         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25806         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25807         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25808         Likewise.
25809         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25810         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25811         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25812         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25813         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25814         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25815         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25816         as optional.
25817         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25818         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25819         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25820         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25821         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25822         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25823         specify as optional.
25824         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25825         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25826         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25827         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25828         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25829         [XPG3] (NL_LANGMAX): Likewise.
25830         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25831         [POSIX || XPG3] (NL_NMAX): Likewise.
25832         [POSIX || XPG3] (NL_SETMAX): Likewise.
25833         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25834         [XPG3] (NZERO): Likewise.
25835         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25836         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25837         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25838         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25839         (REG_ERANGE): Expect.
25840         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25841         optional-constant.
25842         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25843         Use (void) in prototype.
25844         [POSIX] (*_t): Allow.
25845         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25846         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25847         (WRDE_BADVAL): Expect.
25848
25849         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25850         expect.
25851         [XPG3 || XPG4] (O_RSYNC): Likewise.
25852         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25853         Likewise.
25854         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25855         [XPG3 || XPG4] (sigqueue): Likewise.
25856         [XPG3 || XPG4] (sigtimedwait): Likewise.
25857         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25858         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25859         [XPG3 || XPG4] (vsnprintf): Likewise.
25860         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25861         Likewise.
25862         [XPG3 || XPG4] (blksize_t): Likewise.
25863         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25864         Likewise.
25865         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25866         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25867         [XPG3 || XPG4] (struct itimerspec): Likewise.
25868         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25869         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25870         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25871         [XPG3 || XPG4] (clockid_t): Likewise.
25872         [XPG3 || XPG4] (timer_t): Likewise.
25873         [XPG3 || XPG4] (clock_getres): Likewise.
25874         [XPG3 || XPG4] (clock_gettime): Likewise.
25875         [XPG3 || XPG4] (clock_settime): Likewise.
25876         [XPG3 || XPG4] (nanosleep): Likewise.
25877         [XPG3 || XPG4] (timer_create): Likewise.
25878         [XPG3 || XPG4] (timer_delete): Likewise.
25879         [XPG3 || XPG4] (timer_gettime): Likewise.
25880         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25881         [XPG3 || XPG4] (timer_settime): Likewise.
25882         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25883         [XPG3 || XPG4] (getlogin_r): Likewise.
25884         [XPG3 || XPG4] (pread): Likewise.
25885         [XPG3 || XPG4] (pthread_atfork): Likewise.
25886         [XPG3 || XPG4] (pwrite): Likewise.
25887
25888         [BZ #14835]
25889         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25890         <bits/siginfo.h>.
25891
25892 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25893
25894         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25895         finalizing MALLSTREAM.
25896
25897         * sysdeps/mach/hurd/syncfs.c: New file.
25898
25899 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25900
25901         [BZ #14719]
25902         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25903         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25904         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25905         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25906         (_nss_dns_gethostbyname4_r): Likewise.
25907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25908         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25909
25910 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25911
25912         [BZ #13763]
25913         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25914
25915 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25916
25917         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25918         * elf/cache.c (print_entry): Print ",AArch64" for
25919         FLAG_AARCH64_LIB64
25920
25921         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25922         * elf/cache.c (print_entry): Print ",hard-float" for
25923         FLAG_ARM_LIBHF.
25924
25925 2012-11-18  David S. Miller  <davem@davemloft.net>
25926
25927         With help from Joseph Myers.
25928         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25929         cutoff to 2**-13.
25930         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25931         cutoff to 2**-25.
25932         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25933         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25934         small.
25935         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25936         * math/libm-test.inc (y0_test): New tests.
25937         (y1_test): New tests.
25938         * sysdeps/i386/fpu/libm-test-ulps: Update.
25939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25941
25942 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25943
25944         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25945         64-bit targets.
25946         * configure: Regenerated.
25947
25948 2012-11-17  David S. Miller  <davem@davemloft.net>
25949
25950         [BZ #14811]
25951         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25952         nonzero exponents with absolute value below 0x1p-128 to +/-
25953         0x1p-128.
25954
25955 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25956
25957         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25958
25959         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25960
25961         * posix/getconf-speclist.c: New file.
25962         * posix/posix-envs.def: Likewise.
25963         * posix/confstr.c (START_ENV_GROUP): New macro.
25964         (END_ENV_GROUP): Likewise.
25965         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25966         (KNOWN_PRESENT_ENV_STRING): Likewise.
25967         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25968         (UNKNOWN_ENVIRONMENT): Likewise.
25969         (confstr): Include posix-envs.def instead of handling
25970         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25971         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25972         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25973         (END_ENV_GROUP): Likewise.
25974         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25975         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25976         (UNKNOWN_ENVIRONMENT): Likewise.
25977         (__sysconf): Include posix-envs.def instead of handling associated
25978         cases directly here.
25979         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25980         preprocessing getconf-speclist.c rather than running getconf or
25981         generating empty file.
25982
25983 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25984
25985         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25986
25987 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25988
25989         [BZ #14672]
25990         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25991
25992 2012-11-16  David S. Miller  <davem@davemloft.net>
25993
25994         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25995         smaller than LDBL_EPSILON/2.0L, just return xm1.
25996
25997 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25998
25999         * elf/tst-array1.c (init): Set constructor priority to 1000.
26000         (fini): Set destructor priority to 1000.
26001         * elf/tst-array2dep.c: Likewise.
26002
26003 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26004
26005         [BZ #11741]
26006         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26007         (_IO_new_file_xsputn): Also return EOF if none of the input
26008         data was written when overflow failed.
26009         * libio/iopadn.c (_IO_padn): Likewise.
26010         * libio/iowpadn.c (_IO_wpadn): Likewise.
26011         * stdio-common/tst-put-error.c: Add copyright notice.
26012         (do_test): Add case for printing padded string.
26013         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26014         _IO_padn returned error.
26015         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26016         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26017         return EOF.
26018
26019 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26020
26021         * libio/libioP.h: Add comment note that the references to C++
26022         bits are now obsolete.
26023
26024 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26025
26026         * math/libm-test.inc (check_complex): Use asprintf.
26027
26028 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26029
26030         * debug/pcprofiledump.c (print_version): Update copyright year.
26031         * malloc/memusagestat.c (print_version): Likewise.
26032
26033 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26034
26035         [BZ #14831]
26036         * elf/Makefile (tests): Add tst-audit8.
26037         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26038         ($(objpfx)tst-audit8.out): New target.
26039         (tst-audit8-ENV): New variable.
26040         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26041         audit if l_reloc_result is NULL.
26042         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26043         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26044         * elf/tst-audit8.c: New file.
26045
26046 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26047
26048         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26049         * misc/Makefile (CFLAGS-select.c): Define.
26050         * posix/Makefile (CFLAGS-pause.c): Define.
26051
26052 2012-11-13  David S. Miller  <davem@davemloft.net>
26053
26054         * crypt/Makefile: Move test targets after toplevel Rules
26055         inclusion.  Grab any necessary sysdep routines when linking.
26056         * crypt/md5.c (md5_process_block): Remove define, we will always
26057         name it __md5_process_block.
26058         (md5_finish_ctx): Update md5_process_block call.
26059         (md5_stream): Likewise.
26060         (md5_process_bytes): Likewise.
26061         (md5_process_block): Rename to __md5_process_block and move to ...
26062         * crypt/md5-block.c: ... here.
26063         * crypt/sha256.c (sha256_process_block): Move to ...
26064         * crypt/sha256-block.c: ... here.
26065         * crypt/sha512.c (sha512_process_block): Move to ...
26066         * crypt/sha512-block.c: ... here.
26067         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26068         path.
26069         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26070         * sysdeps/sparc/sparc64/multiarch/Makefile
26071         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26072         crypt subdir.
26073         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26074         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26075         multiarch changes.
26076         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26077         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26078         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26079         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26080         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26081         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26082         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26083         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26084         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26085         file.
26086         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26087         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26088         file.
26089         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26090
26091 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26092
26093         * timezone/tzselect.ksh: Update from tzcode git revision
26094         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26095         * timezone/zdump.c: Likewise.
26096         * timezone/zic.c: Likewise.
26097         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26098         in TZVERSION setting, not $(PKGVERSION).
26099         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26100         REPORT_BUGS_TO settings.
26101
26102         [BZ #14838]
26103         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26104         macro.
26105
26106 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26107
26108         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26109         detection to immediately after _FP_ROUND().
26110         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26111         bits are 0.
26112
26113 2012-11-11  David S. Miller  <davem@davemloft.net>
26114
26115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26116         inttypes.h
26117         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26118         __close rather than their public counterparts.
26119
26120 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26121
26122         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26123         file.
26124         [UNIX98] (sem_timedwait): Do not expect.
26125         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26126         [XPG4 || UNIX98] (sockatmark): Do not expect.
26127         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26128         (clock_getcpuclockid): Do not expect.
26129         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26130         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26131         Do not expect.
26132         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26133         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26134         [UNIX98] (vwscanf): Likewise.
26135         [UNIX98] (vswscanf): Likewise.
26136
26137 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26138
26139         * timezone/version.h: Remove file.
26140         * timezone/README: Do not refer to version.h.
26141         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26142         $(objpfx)version.h.
26143         ($(objpfx)zdump.o): Likewise.
26144         ($(objpfx)version.h): New target.
26145
26146         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26147         2012i.
26148         * timezone/README: Don't mention modification to tzselect.ksh.
26149         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26150         work on unmodified tzselect.ksh.  Substitute version numbers in
26151         tzselect.ksh.
26152
26153         * Makefile (format-me): Remove.
26154         (INSTALL): Adjust indentation.  Use commands directly instead of
26155         using $(format-me).
26156
26157         * aclocal.m4 (ACX_PKGVERSION): New macro.
26158         (ACX_BUGURL): Likewise.
26159         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26160         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26161         (REPORT_BUGS_TO): Likewise.
26162         * configure: Regenerated.
26163         * config.h.in (PKGVERSION): New macro.
26164         (REPORT_BUGS_TO): Likewise.
26165         * config.make.in (PKGVERSION): New variable.
26166         (PKGVERSION_TEXI): Likewise.
26167         (REPORT_BUGS_TO): Likewise.
26168         (REPORT_BUGS_TEXI): Likewise.
26169         * Makefile (format-me): Use -I$(common-objpfx)manual.
26170         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26171         ($(common-objpfx)manual/%): New target.
26172         (manual/%): Remove target.
26173         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26174         (print_version): Use PKGVERSION.
26175         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26176         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26177         and REPORT_BUGS_TO.
26178         ($(objpfx)xtrace): Likewise.
26179         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26180         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26181         (print_version): Use PKGVERSION.
26182         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26183         (do_version): Use PKGVERSION.
26184         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26185         REPORT_BUGS_TO.
26186         (common-ldd-rewrite): Likewise.
26187         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26188         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26189         (print_version): Use PKGVERSION.
26190         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26191         * elf/pldd.c (argp_program_bug_address): Remove variable.
26192         (more_help): New function.
26193         (argp): Use more_help.
26194         (print_version): Use PKGVERSION.
26195         * elf/sln.c (main): Use PKGVERSION.
26196         (usage): Use REPORT_BUGS_TO.
26197         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26198         (top level): Use PKGVERSION.
26199         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26200         (print_version): Use PKGVERSION.
26201         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26202         (print_version): Use PKGVERSION.
26203         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26204         (print_version): Use PKGVERSION.
26205         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26206         (print_version): Use PKGVERSION.
26207         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26208         (print_version): Use PKGVERSION.
26209         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26210         (print_version): Use PKGVERSION.
26211         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26212         and BUGURL.
26213         ($(objpfx)memusage): Likewise.
26214         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26215         (do_version): Use PKGVERSION.
26216         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26217         (print_version): Use PKGVERSION.
26218         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26219         ($PKGVERSION): New variable.
26220         ($REPORT_BUGS_TO): Likewise.
26221         (usage): Use $REPORT_BUGS_TO.
26222         (top level): Use $PKGVERSION.
26223         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26224         ($(objpfx)pkgvers.texi): New rule.
26225         ($(objpfx)stamp-pkgvers): Likewise.
26226         * manual/install.texi: Include pkgvers.texi.
26227         (--with-pkgversion): Document new configure option.
26228         (--with-bugurl): Likewise.
26229         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26230         than necessarily for this particular distribution.  Use
26231         REPORT_BUGS_TO for where to report bugs.
26232         * INSTALL: Regenerated.
26233         * manual/libc.texinfo: Include pkgvers.texi.
26234         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26235         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26236         (print_version): Use PKGVERSION.
26237         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26238         (print_version): Use PKGVERSION.
26239         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26240         (print_version): Use PKGVERSION.
26241         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26242         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26243         macro.
26244         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26245         (print_version): Use PKGVERSION.
26246         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26247         (print_version): Use PKGVERSION.
26248         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26249         and PKGVERSION.
26250
26251         * timezone/checktab.awk: Update from tzcode 2012i.
26252         * timezone/ialloc.c: Likewise.
26253         * timezone/private.h: Likewise.
26254         * timezone/scheck.c: Likewise.
26255         * timezone/tzfile.h: Likewise.
26256         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26257         (TZVERSION): Hardcode tzcode version number.
26258         * timezone/zdump.c: Update from tzcode 2012i.
26259         * timezone/zic.c: Likewise.
26260         * timezone/version.h: New file.
26261         * timezone/README: Describe version.h.  Update upstream location.
26262
26263         [BZ #14824]
26264         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26265         (mktemp): Enable declaration.
26266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26270         Likewise.
26271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26272         Likewise.
26273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26274         Likewise.
26275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26276         Likewise.
26277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26278         Likewise.
26279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26280         Likewise.
26281
26282         [BZ #14821]
26283         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26284         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26285         for copies of such integer values.
26286         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26287         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26288
26289 2012-11-09  Andreas Jaeger  <aj@suse.de>
26290
26291         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26292         definitions and declarations that are provided by
26293         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26294
26295 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26296
26297         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26298         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26299         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26300         definition.
26301
26302 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26303
26304         * elf/elf.h: Update comment before AArch64 relocations.
26305
26306 2012-11-07  David S. Miller  <davem@davemloft.net>
26307
26308         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26309         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26310         (__start_context): Declare.
26311         (__makecontext_ret): Delete.
26312         (__makecontext): Hook up __start_context instead of
26313         __makecontext_ret.
26314         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26315         (sysdep_routines): Add __start_context when in stdlib.
26316
26317 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26318
26319         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26320         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26321         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26322         hardcoded "nm".
26323         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26324         (READELF): New variable.  Use it instead of hardcoded "readelf".
26325
26326 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26327
26328         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26329         * sysdeps/x86/Makefile: Here.
26330         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26331         * sysdeps/x86/tst-xmmymm.sh: This.
26332
26333 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26334
26335         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26336         expectations.
26337         [UNIX98] (pthread_barrier_t): Do not expect.
26338         [UNIX98] (pthread_barrierattr_t): Likewise.
26339         [UNIX98] (pthread_spinlock_t): Likewise.
26340         [UNIX98] (pthread_barrier_destroy): Likewise.
26341         [UNIX98] (pthread_barrier_init): Likewise.
26342         [UNIX98] (pthread_barrier_wait): Likewise.
26343         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26344         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26345         [UNIX98] (pthread_barrierattr_init): Likewise.
26346         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26347         [UNIX98] (pthread_getcpuclockid): Likewise.
26348         [UNIX98] (pthread_mutex_timedlock): Likewise.
26349         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26350         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26351         [UNIX98] (pthread_sigmask): Likewise.
26352         [UNIX98] (pthread_spin_destroy): Likewise.
26353         [UNIX98] (pthread_spin_init): Likewise.
26354         [UNIX98] (pthread_spin_lock): Likewise.
26355         [UNIX98] (pthread_spin_trylock): Likewise.
26356         [UNIX98] (pthread_spin_unlock): Likewise.
26357         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26358         Do not expect.
26359         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26360         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26361         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26362         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26363         [XPG3 || XPG4] (pthread_key_t): Likewise.
26364         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26365         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26366         [XPG3 || XPG4] (pthread_once_t): Likewise.
26367         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26368         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26369         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26370         [XPG3 || XPG4] (pthread_t): Likewise.
26371
26372         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26373         not expect.
26374         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26375
26376         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26377         Change function return type to int.
26378
26379         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26380         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26381         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26382         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26383         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26384         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26385         [!POSIX] (posix_madvise): Likewise.
26386         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26387         && !UNIX98].
26388         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26389         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26390         (mode_t): Likewise.
26391         (posix_mem_offset): Likewise.
26392         (posix_typed_mem_get_info): Likewise.
26393         (posix_typed_mem_open): Likewise.
26394
26395         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26396         Change condition to [XOPEN2K8].
26397
26398         * conform/conformtest.pl: Preprocess allow-header data with -x c
26399         instead of from stdin.
26400         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26401         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26402         [C99-based standards] (cerfc): Likewise.
26403         [C99-based standards] (cexp2): Likewise.
26404         [C99-based standards] (cexpm1): Likewise.
26405         [C99-based standards] (clog10): Likewise.
26406         [C99-based standards] (clog1p): Likewise.
26407         [C99-based standards] (clog2): Likewise.
26408         [C99-based standards] (clgamma): Likewise.
26409         [C99-based standards] (ctgamma): Likewise.
26410         [C99-based standards] (cerff): Likewise.
26411         [C99-based standards] (cerfcf): Likewise.
26412         [C99-based standards] (cexp2f): Likewise.
26413         [C99-based standards] (cexpm1f): Likewise.
26414         [C99-based standards] (clog10f): Likewise.
26415         [C99-based standards] (clog1pf): Likewise.
26416         [C99-based standards] (clog2f): Likewise.
26417         [C99-based standards] (clgammaf): Likewise.
26418         [C99-based standards] (ctgammaf): Likewise.
26419         [C99-based standards] (cerfl): Likewise.
26420         [C99-based standards] (cerfcl): Likewise.
26421         [C99-based standards] (cexp2l): Likewise.
26422         [C99-based standards] (cexpm1l): Likewise.
26423         [C99-based standards] (clog10l): Likewise.
26424         [C99-based standards] (clog1pl): Likewise.
26425         [C99-based standards] (clog2l): Likewise.
26426         [C99-based standards] (clgammal): Likewise.
26427         [C99-based standards] (ctgammal): Likewise.
26428         * conform/data/inttypes.h-data [C99-based standards]: Include
26429         stdint.h-data.  Remove all expectations for stdint.h contents.
26430         [C99-based standards] (PRI*): Do not allow.
26431         [C99-based standards] (SCN*): Likewise.
26432         [C99-based standards] (*_t): Likewise.
26433         [C99-based-standards] (PRId8): Expect macro.
26434         [C99-based-standards] (PRIi8): Likewise.
26435         [C99-based-standards] (PRIo8): Likewise.
26436         [C99-based-standards] (PRIu8): Likewise.
26437         [C99-based-standards] (PRIx8): Likewise.
26438         [C99-based-standards] (PRIX8): Likewise.
26439         [C99-based-standards] (SCNd8): Likewise.
26440         [C99-based-standards] (SCNi8): Likewise.
26441         [C99-based-standards] (SCNo8): Likewise.
26442         [C99-based-standards] (SCNu8): Likewise.
26443         [C99-based-standards] (SCNx8): Likewise.
26444         [C99-based-standards] (PRIdLEAST8): Likewise.
26445         [C99-based-standards] (PRIiLEAST8): Likewise.
26446         [C99-based-standards] (PRIoLEAST8): Likewise.
26447         [C99-based-standards] (PRIuLEAST8): Likewise.
26448         [C99-based-standards] (PRIxLEAST8): Likewise.
26449         [C99-based-standards] (PRIXLEAST8): Likewise.
26450         [C99-based-standards] (SCNdLEAST8): Likewise.
26451         [C99-based-standards] (SCNiLEAST8): Likewise.
26452         [C99-based-standards] (SCNoLEAST8): Likewise.
26453         [C99-based-standards] (SCNuLEAST8): Likewise.
26454         [C99-based-standards] (SCNxLEAST8): Likewise.
26455         [C99-based-standards] (PRIdFAST8): Likewise.
26456         [C99-based-standards] (PRIiFAST8): Likewise.
26457         [C99-based-standards] (PRIoFAST8): Likewise.
26458         [C99-based-standards] (PRIuFAST8): Likewise.
26459         [C99-based-standards] (PRIxFAST8): Likewise.
26460         [C99-based-standards] (PRIXFAST8): Likewise.
26461         [C99-based-standards] (SCNdFAST8): Likewise.
26462         [C99-based-standards] (SCNiFAST8): Likewise.
26463         [C99-based-standards] (SCNoFAST8): Likewise.
26464         [C99-based-standards] (SCNuFAST8): Likewise.
26465         [C99-based-standards] (SCNxFAST8): Likewise.
26466         [C99-based-standards] (PRId16): Likewise.
26467         [C99-based-standards] (PRIi16): Likewise.
26468         [C99-based-standards] (PRIo16): Likewise.
26469         [C99-based-standards] (PRIu16): Likewise.
26470         [C99-based-standards] (PRIx16): Likewise.
26471         [C99-based-standards] (PRIX16): Likewise.
26472         [C99-based-standards] (SCNd16): Likewise.
26473         [C99-based-standards] (SCNi16): Likewise.
26474         [C99-based-standards] (SCNo16): Likewise.
26475         [C99-based-standards] (SCNu16): Likewise.
26476         [C99-based-standards] (SCNx16): Likewise.
26477         [C99-based-standards] (PRIdLEAST16): Likewise.
26478         [C99-based-standards] (PRIiLEAST16): Likewise.
26479         [C99-based-standards] (PRIoLEAST16): Likewise.
26480         [C99-based-standards] (PRIuLEAST16): Likewise.
26481         [C99-based-standards] (PRIxLEAST16): Likewise.
26482         [C99-based-standards] (PRIXLEAST16): Likewise.
26483         [C99-based-standards] (SCNdLEAST16): Likewise.
26484         [C99-based-standards] (SCNiLEAST16): Likewise.
26485         [C99-based-standards] (SCNoLEAST16): Likewise.
26486         [C99-based-standards] (SCNuLEAST16): Likewise.
26487         [C99-based-standards] (SCNxLEAST16): Likewise.
26488         [C99-based-standards] (PRIdFAST16): Likewise.
26489         [C99-based-standards] (PRIiFAST16): Likewise.
26490         [C99-based-standards] (PRIoFAST16): Likewise.
26491         [C99-based-standards] (PRIuFAST16): Likewise.
26492         [C99-based-standards] (PRIxFAST16): Likewise.
26493         [C99-based-standards] (PRIXFAST16): Likewise.
26494         [C99-based-standards] (SCNdFAST16): Likewise.
26495         [C99-based-standards] (SCNiFAST16): Likewise.
26496         [C99-based-standards] (SCNoFAST16): Likewise.
26497         [C99-based-standards] (SCNuFAST16): Likewise.
26498         [C99-based-standards] (SCNxFAST16): Likewise.
26499         [C99-based-standards] (PRId32): Likewise.
26500         [C99-based-standards] (PRIi32): Likewise.
26501         [C99-based-standards] (PRIo32): Likewise.
26502         [C99-based-standards] (PRIu32): Likewise.
26503         [C99-based-standards] (PRIx32): Likewise.
26504         [C99-based-standards] (PRIX32): Likewise.
26505         [C99-based-standards] (SCNd32): Likewise.
26506         [C99-based-standards] (SCNi32): Likewise.
26507         [C99-based-standards] (SCNo32): Likewise.
26508         [C99-based-standards] (SCNu32): Likewise.
26509         [C99-based-standards] (SCNx32): Likewise.
26510         [C99-based-standards] (PRIdLEAST32): Likewise.
26511         [C99-based-standards] (PRIiLEAST32): Likewise.
26512         [C99-based-standards] (PRIoLEAST32): Likewise.
26513         [C99-based-standards] (PRIuLEAST32): Likewise.
26514         [C99-based-standards] (PRIxLEAST32): Likewise.
26515         [C99-based-standards] (PRIXLEAST32): Likewise.
26516         [C99-based-standards] (SCNdLEAST32): Likewise.
26517         [C99-based-standards] (SCNiLEAST32): Likewise.
26518         [C99-based-standards] (SCNoLEAST32): Likewise.
26519         [C99-based-standards] (SCNuLEAST32): Likewise.
26520         [C99-based-standards] (SCNxLEAST32): Likewise.
26521         [C99-based-standards] (PRIdFAST32): Likewise.
26522         [C99-based-standards] (PRIiFAST32): Likewise.
26523         [C99-based-standards] (PRIoFAST32): Likewise.
26524         [C99-based-standards] (PRIuFAST32): Likewise.
26525         [C99-based-standards] (PRIxFAST32): Likewise.
26526         [C99-based-standards] (PRIXFAST32): Likewise.
26527         [C99-based-standards] (SCNdFAST32): Likewise.
26528         [C99-based-standards] (SCNiFAST32): Likewise.
26529         [C99-based-standards] (SCNoFAST32): Likewise.
26530         [C99-based-standards] (SCNuFAST32): Likewise.
26531         [C99-based-standards] (SCNxFAST32): Likewise.
26532         [C99-based-standards] (PRId64): Likewise.
26533         [C99-based-standards] (PRIi64): Likewise.
26534         [C99-based-standards] (PRIo64): Likewise.
26535         [C99-based-standards] (PRIu64): Likewise.
26536         [C99-based-standards] (PRIx64): Likewise.
26537         [C99-based-standards] (PRIX64): Likewise.
26538         [C99-based-standards] (SCNd64): Likewise.
26539         [C99-based-standards] (SCNi64): Likewise.
26540         [C99-based-standards] (SCNo64): Likewise.
26541         [C99-based-standards] (SCNu64): Likewise.
26542         [C99-based-standards] (SCNx64): Likewise.
26543         [C99-based-standards] (PRIdLEAST64): Likewise.
26544         [C99-based-standards] (PRIiLEAST64): Likewise.
26545         [C99-based-standards] (PRIoLEAST64): Likewise.
26546         [C99-based-standards] (PRIuLEAST64): Likewise.
26547         [C99-based-standards] (PRIxLEAST64): Likewise.
26548         [C99-based-standards] (PRIXLEAST64): Likewise.
26549         [C99-based-standards] (SCNdLEAST64): Likewise.
26550         [C99-based-standards] (SCNiLEAST64): Likewise.
26551         [C99-based-standards] (SCNoLEAST64): Likewise.
26552         [C99-based-standards] (SCNuLEAST64): Likewise.
26553         [C99-based-standards] (SCNxLEAST64): Likewise.
26554         [C99-based-standards] (PRIdFAST64): Likewise.
26555         [C99-based-standards] (PRIiFAST64): Likewise.
26556         [C99-based-standards] (PRIoFAST64): Likewise.
26557         [C99-based-standards] (PRIuFAST64): Likewise.
26558         [C99-based-standards] (PRIxFAST64): Likewise.
26559         [C99-based-standards] (PRIXFAST64): Likewise.
26560         [C99-based-standards] (SCNdFAST64): Likewise.
26561         [C99-based-standards] (SCNiFAST64): Likewise.
26562         [C99-based-standards] (SCNoFAST64): Likewise.
26563         [C99-based-standards] (SCNuFAST64): Likewise.
26564         [C99-based-standards] (SCNxFAST64): Likewise.
26565         [C99-based-standards] (PRIdMAX): Likewise.
26566         [C99-based-standards] (PRIiMAX): Likewise.
26567         [C99-based-standards] (PRIoMAX): Likewise.
26568         [C99-based-standards] (PRIuMAX): Likewise.
26569         [C99-based-standards] (PRIxMAX): Likewise.
26570         [C99-based-standards] (PRIXMAX): Likewise.
26571         [C99-based-standards] (SCNdMAX): Likewise.
26572         [C99-based-standards] (SCNiMAX): Likewise.
26573         [C99-based-standards] (SCNoMAX): Likewise.
26574         [C99-based-standards] (SCNuMAX): Likewise.
26575         [C99-based-standards] (SCNxMAX): Likewise.
26576         [C99-based-standards] (PRIdPTR): Likewise.
26577         [C99-based-standards] (PRIiPTR): Likewise.
26578         [C99-based-standards] (PRIoPTR): Likewise.
26579         [C99-based-standards] (PRIuPTR): Likewise.
26580         [C99-based-standards] (PRIxPTR): Likewise.
26581         [C99-based-standards] (PRIXPTR): Likewise.
26582         [C99-based-standards] (SCNdPTR): Likewise.
26583         [C99-based-standards] (SCNiPTR): Likewise.
26584         [C99-based-standards] (SCNoPTR): Likewise.
26585         [C99-based-standards] (SCNuPTR): Likewise.
26586         [C99-based-standards] (SCNxPTR): Likewise.
26587         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26588         allow.
26589         * conform/data/stdint.h-data: Update comments to clarify
26590         requirements.
26591         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26592         type.
26593         [C99-based standards] (INT8_MAX): Likewise.
26594         [C99-based standards] (INT16_MIN): Likewise.
26595         [C99-based standards] (INT16_MAX): Likewise.
26596         [C99-based standards] (INT32_MIN): Likewise.
26597         [C99-based standards] (INT32_MAX): Likewise.
26598         [C99-based standards] (INT64_MIN): Likewise.
26599         [C99-based standards] (INT64_MAX): Likewise.
26600         [C99-based standards] (UINT8_MAX): Likewise.
26601         [C99-based standards] (UINT16_MAX): Likewise.
26602         [C99-based standards] (UINT32_MAX): Likewise.
26603         [C99-based standards] (UINT64_MAX): Likewise.
26604         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26605         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26606         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26607         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26608         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26609         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26610         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26611         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26612         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26613         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26614         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26615         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26616         [C99-based standards] (INT_FAST8_MIN): Likewise.
26617         [C99-based standards] (INT_FAST8_MAX): Likewise.
26618         [C99-based standards] (INT_FAST16_MIN): Likewise.
26619         [C99-based standards] (INT_FAST16_MAX): Likewise.
26620         [C99-based standards] (INT_FAST32_MIN): Likewise.
26621         [C99-based standards] (INT_FAST32_MAX): Likewise.
26622         [C99-based standards] (INT_FAST64_MIN): Likewise.
26623         [C99-based standards] (INT_FAST64_MAX): Likewise.
26624         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26625         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26626         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26627         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26628         [C99-based standards] (INTPTR_MIN): Likewise.
26629         [C99-based standards] (INTPTR_MAX): Likewise.
26630         [C99-based standards] (UINTPTR_MAX): Likewise.
26631         [C99-based standards] (INTMAX_MIN): Likewise.
26632         [C99-based standards] (INTMAX_MAX): Likewise.
26633         [C99-based standards] (UINTMAX_MAX): Likewise.
26634         [C99-based standards] (PTRDIFF_MIN): Likewise.
26635         [C99-based standards] (PTRDIFF_MAX): Likewise.
26636         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26637         [C99-based standards] (SIZE_MAX): Likewise.
26638         [C99-based standards] (WCHAR_MAX): Likewise.
26639         [C99-based standards] (WINT_MAX): Likewise.
26640         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26641         constraint on value.
26642         [C99-based standards] (WCHAR_MIN): Likewise.
26643         [C99-based standards] (WINT_MIN): Likewise.
26644         [C99-based standards] (*_t): Allow.
26645         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26646         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26647         Include math.h-data and complex.h-data.  Remove all expectations
26648         of math.h and complex.h contents.
26649         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26650         at end of line.
26651         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26652         (struct tm): Expect tag.
26653         [C99-based-standards] (wcstof): Expect function.
26654         [C99-based-standards] (wcstold): Likewise.
26655         [C99-based-standards] (wcstoll): Likewise.
26656         [C99-based-standards] (wcstoull): Likewise.
26657         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26658         macro-int-constant.  Specify type.
26659         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26660         constraint on value.
26661         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26662         Specify type.
26663         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26664         Specify value.
26665         [ISO C standards]: Do not allow headers.
26666         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26667         wcs[abcdefghijklmnopqrstuvwxyz]*.
26668         [ISO C standards] (*_t): Do not allow.
26669         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26670         Expect function.
26671         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26672         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26673         Specify type.
26674         [ISO C standards]: Do not allow headers.
26675         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26676         is[abcdefghijklmnopqrstuvwxyz]*.
26677         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26678         to[abcdefghijklmnopqrstuvwxyz]*.
26679         [ISO C standards] (*_t): Do not allow.
26680         * conform/data/stdalign.h-data: New file.
26681         * conform/data/stdbool.h-data: Likewise.
26682         * conform/data/stdnoreturn.h-data: Likewise.
26683
26684 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26685
26686         [BZ #14815]
26687         * manual/filesys.texi (Directory Entries): Typo fix.
26688         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26689
26690 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26691
26692         * elf/elf.h (EM_AARCH64): New macro.
26693         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26694         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26695         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26696         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26697         (R_AARCH64_TLSDESC): Likewise.
26698         (NT_ARM_TLS): Likewise.
26699         (NT_ARM_HW_BREAK): Likewise.
26700         (NT_ARM_HW_WATCH): Likewise.
26701
26702 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26703
26704         [BZ #14811]
26705         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26706         (__ieee754_powl): Saturate nonzero exponents with absolute value
26707         below 0x1p-79 to +/- 0x1p-79.
26708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26709         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26710         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26711         nonzero exponents with absolute value below 0x1p-32 to +/-
26712         0x1p-32.
26713         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26714         (__ieee754_powl): Saturate nonzero exponents with absolute value
26715         below 0x1p-79 to +/- 0x1p-79.
26716         * math/libm-test.inc (pow_test): Add more tests.
26717
26718 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26719
26720         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26721         _dl_s390_cap_flags with kernel. Increase string length.
26722         (_dl_s390_platforms): Add z196 and zEC12.
26723
26724 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26725
26726         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26727         Change XOPEN21K to XOPEN2K.
26728
26729 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26730
26731         * string/memmove.c: Use memcpy when possible.
26732
26733 2012-11-06  Andreas Jaeger  <aj@suse.de>
26734
26735         * po/eo.po: Update from translation team.
26736
26737 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26738
26739         [BZ #14793]
26740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26741         exponent and small x and y exponents, scale x or y up.  Increase
26742         by 2 the exponent used in scaling up.
26743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26745         * math/libm-test.inc (fma_test): Add more tests.
26746         (fma_test_towardzero): Likewise.
26747         (fma_test_downward): Likewise.
26748         (fma_test_upward): Likewise.
26749
26750 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26751
26752         [BZ #14805]
26753         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26754         fenv_t *.
26755
26756         [BZ #14801]
26757         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26758         namespace for names of struct fields.
26759         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26760         fenv_t fields.
26761         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26762         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26763
26764 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26765
26766         [BZ #3665]
26767         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26768
26769 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26770
26771         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26772         PTR_DEMANGLE.
26773
26774         [BZ #5246]
26775         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26776         PTR_DEMANGLE.
26777
26778 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26779
26780         [BZ #14797]
26781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26782         definitely overflow as x * y not x * y + z.
26783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26785         * math/libm-test.inc (fma_test): Add more tests.
26786         (fma_test_towardzero): Likewise.
26787         (fma_test_downward): Likewise.
26788         (fma_test_upward): Likewise.
26789
26790 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26791
26792         [BZ #157]
26793
26794         * include/stub-tag.h: Remove file.
26795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26796         '#include' of it.
26797         * manual/maint.texi (Porting): Don't reference it.
26798         * Makerules ($(objpfx)stubs): Likewise.
26799         * dirent/closedir.c: Don't include <stub-tag.h>.
26800         * dirent/dirfd.c: Likewise.
26801         * dirent/fdopendir.c: Likewise.
26802         * dirent/getdents.c: Likewise.
26803         * dirent/getdents64.c: Likewise.
26804         * dirent/opendir.c: Likewise.
26805         * dirent/readdir.c: Likewise.
26806         * dirent/readdir64.c: Likewise.
26807         * dirent/readdir64_r.c: Likewise.
26808         * dirent/readdir_r.c: Likewise.
26809         * dirent/rewinddir.c: Likewise.
26810         * dirent/seekdir.c: Likewise.
26811         * dirent/telldir.c: Likewise.
26812         * gmon/profil.c: Likewise.
26813         * grp/setgroups.c: Likewise.
26814         * inet/if_index.c: Likewise.
26815         * io/access.c: Likewise.
26816         * io/chdir.c: Likewise.
26817         * io/chmod.c: Likewise.
26818         * io/chown.c: Likewise.
26819         * io/close.c: Likewise.
26820         * io/dup.c: Likewise.
26821         * io/dup2.c: Likewise.
26822         * io/dup3.c: Likewise.
26823         * io/euidaccess.c: Likewise.
26824         * io/faccessat.c: Likewise.
26825         * io/fchdir.c: Likewise.
26826         * io/fchmod.c: Likewise.
26827         * io/fchmodat.c: Likewise.
26828         * io/fchown.c: Likewise.
26829         * io/fchownat.c: Likewise.
26830         * io/fcntl.c: Likewise.
26831         * io/flock.c: Likewise.
26832         * io/fstatfs.c: Likewise.
26833         * io/fstatfs64.c: Likewise.
26834         * io/fstatvfs.c: Likewise.
26835         * io/fstatvfs64.c: Likewise.
26836         * io/futimens.c: Likewise.
26837         * io/fxstat.c: Likewise.
26838         * io/fxstat64.c: Likewise.
26839         * io/fxstatat.c: Likewise.
26840         * io/fxstatat64.c: Likewise.
26841         * io/getcwd.c: Likewise.
26842         * io/isatty.c: Likewise.
26843         * io/lchmod.c: Likewise.
26844         * io/lchown.c: Likewise.
26845         * io/link.c: Likewise.
26846         * io/linkat.c: Likewise.
26847         * io/lseek.c: Likewise.
26848         * io/lseek64.c: Likewise.
26849         * io/lxstat64.c: Likewise.
26850         * io/mkdir.c: Likewise.
26851         * io/mkdirat.c: Likewise.
26852         * io/mkfifo.c: Likewise.
26853         * io/mkfifoat.c: Likewise.
26854         * io/open.c: Likewise.
26855         * io/open64.c: Likewise.
26856         * io/openat.c: Likewise.
26857         * io/openat64.c: Likewise.
26858         * io/pipe.c: Likewise.
26859         * io/pipe2.c: Likewise.
26860         * io/poll.c: Likewise.
26861         * io/posix_fadvise.c: Likewise.
26862         * io/posix_fadvise64.c: Likewise.
26863         * io/posix_fallocate.c: Likewise.
26864         * io/posix_fallocate64.c: Likewise.
26865         * io/read.c: Likewise.
26866         * io/readlink.c: Likewise.
26867         * io/readlinkat.c: Likewise.
26868         * io/rmdir.c: Likewise.
26869         * io/sendfile.c: Likewise.
26870         * io/sendfile64.c: Likewise.
26871         * io/statfs.c: Likewise.
26872         * io/statfs64.c: Likewise.
26873         * io/statvfs.c: Likewise.
26874         * io/statvfs64.c: Likewise.
26875         * io/symlink.c: Likewise.
26876         * io/symlinkat.c: Likewise.
26877         * io/ttyname.c: Likewise.
26878         * io/ttyname_r.c: Likewise.
26879         * io/umask.c: Likewise.
26880         * io/unlink.c: Likewise.
26881         * io/unlinkat.c: Likewise.
26882         * io/utime.c: Likewise.
26883         * io/utimensat.c: Likewise.
26884         * io/write.c: Likewise.
26885         * io/xmknod.c: Likewise.
26886         * io/xmknodat.c: Likewise.
26887         * io/xstat.c: Likewise.
26888         * io/xstat64.c: Likewise.
26889         * login/getpt.c: Likewise.
26890         * login/grantpt.c: Likewise.
26891         * login/unlockpt.c: Likewise.
26892         * math/e_acoshl.c: Likewise.
26893         * math/e_acosl.c: Likewise.
26894         * math/e_asinl.c: Likewise.
26895         * math/e_atan2l.c: Likewise.
26896         * math/e_atanhl.c: Likewise.
26897         * math/e_coshl.c: Likewise.
26898         * math/e_expl.c: Likewise.
26899         * math/e_fmodl.c: Likewise.
26900         * math/e_gammal_r.c: Likewise.
26901         * math/e_hypotl.c: Likewise.
26902         * math/e_j0l.c: Likewise.
26903         * math/e_j1l.c: Likewise.
26904         * math/e_jnl.c: Likewise.
26905         * math/e_lgammal_r.c: Likewise.
26906         * math/e_log10l.c: Likewise.
26907         * math/e_log2l.c: Likewise.
26908         * math/e_logl.c: Likewise.
26909         * math/e_powl.c: Likewise.
26910         * math/e_rem_pio2l.c: Likewise.
26911         * math/e_sinhl.c: Likewise.
26912         * math/e_sqrtl.c: Likewise.
26913         * math/fclrexcpt.c: Likewise.
26914         * math/fedisblxcpt.c: Likewise.
26915         * math/feenablxcpt.c: Likewise.
26916         * math/fegetenv.c: Likewise.
26917         * math/fegetexcept.c: Likewise.
26918         * math/fegetround.c: Likewise.
26919         * math/feholdexcpt.c: Likewise.
26920         * math/fesetenv.c: Likewise.
26921         * math/fesetround.c: Likewise.
26922         * math/feupdateenv.c: Likewise.
26923         * math/fgetexcptflg.c: Likewise.
26924         * math/fraiseexcpt.c: Likewise.
26925         * math/fsetexcptflg.c: Likewise.
26926         * math/ftestexcept.c: Likewise.
26927         * math/k_cosl.c: Likewise.
26928         * math/k_rem_pio2l.c: Likewise.
26929         * math/k_sinl.c: Likewise.
26930         * math/k_tanl.c: Likewise.
26931         * math/s_asinhl.c: Likewise.
26932         * math/s_atanl.c: Likewise.
26933         * math/s_cbrtl.c: Likewise.
26934         * math/s_erfl.c: Likewise.
26935         * math/s_expm1l.c: Likewise.
26936         * math/s_log1pl.c: Likewise.
26937         * math/s_tanhl.c: Likewise.
26938         * misc/acct.c: Likewise.
26939         * misc/brk.c: Likewise.
26940         * misc/chflags.c: Likewise.
26941         * misc/chroot.c: Likewise.
26942         * misc/fchflags.c: Likewise.
26943         * misc/fgetxattr.c: Likewise.
26944         * misc/flistxattr.c: Likewise.
26945         * misc/fremovexattr.c: Likewise.
26946         * misc/fsetxattr.c: Likewise.
26947         * misc/fsync.c: Likewise.
26948         * misc/ftruncate.c: Likewise.
26949         * misc/futimes.c: Likewise.
26950         * misc/futimesat.c: Likewise.
26951         * misc/getdomain.c: Likewise.
26952         * misc/getdtsz.c: Likewise.
26953         * misc/gethostid.c: Likewise.
26954         * misc/gethostname.c: Likewise.
26955         * misc/getloadavg.c: Likewise.
26956         * misc/getpagesize.c: Likewise.
26957         * misc/getsysstats.c: Likewise.
26958         * misc/getxattr.c: Likewise.
26959         * misc/gtty.c: Likewise.
26960         * misc/ioctl.c: Likewise.
26961         * misc/lgetxattr.c: Likewise.
26962         * misc/listxattr.c: Likewise.
26963         * misc/llistxattr.c: Likewise.
26964         * misc/lremovexattr.c: Likewise.
26965         * misc/lsetxattr.c: Likewise.
26966         * misc/lutimes.c: Likewise.
26967         * misc/madvise.c: Likewise.
26968         * misc/mincore.c: Likewise.
26969         * misc/mlock.c: Likewise.
26970         * misc/mlockall.c: Likewise.
26971         * misc/mmap.c: Likewise.
26972         * misc/mprotect.c: Likewise.
26973         * misc/msync.c: Likewise.
26974         * misc/munlock.c: Likewise.
26975         * misc/munlockall.c: Likewise.
26976         * misc/munmap.c: Likewise.
26977         * misc/preadv.c: Likewise.
26978         * misc/preadv64.c: Likewise.
26979         * misc/ptrace.c: Likewise.
26980         * misc/pwritev.c: Likewise.
26981         * misc/pwritev64.c: Likewise.
26982         * misc/readv.c: Likewise.
26983         * misc/reboot.c: Likewise.
26984         * misc/remap_file_pages.c: Likewise.
26985         * misc/removexattr.c: Likewise.
26986         * misc/revoke.c: Likewise.
26987         * misc/select.c: Likewise.
26988         * misc/setdomain.c: Likewise.
26989         * misc/setegid.c: Likewise.
26990         * misc/seteuid.c: Likewise.
26991         * misc/sethostid.c: Likewise.
26992         * misc/sethostname.c: Likewise.
26993         * misc/setregid.c: Likewise.
26994         * misc/setreuid.c: Likewise.
26995         * misc/setxattr.c: Likewise.
26996         * misc/sstk.c: Likewise.
26997         * misc/stty.c: Likewise.
26998         * misc/swapoff.c: Likewise.
26999         * misc/swapon.c: Likewise.
27000         * misc/sync.c: Likewise.
27001         * misc/syncfs.c: Likewise.
27002         * misc/syscall.c: Likewise.
27003         * misc/truncate.c: Likewise.
27004         * misc/ualarm.c: Likewise.
27005         * misc/usleep.c: Likewise.
27006         * misc/ustat.c: Likewise.
27007         * misc/utimes.c: Likewise.
27008         * misc/vhangup.c: Likewise.
27009         * misc/writev.c: Likewise.
27010         * posix/_exit.c: Likewise.
27011         * posix/alarm.c: Likewise.
27012         * posix/execve.c: Likewise.
27013         * posix/fexecve.c: Likewise.
27014         * posix/fork.c: Likewise.
27015         * posix/fpathconf.c: Likewise.
27016         * posix/getaddrinfo.c: Likewise.
27017         * posix/getegid.c: Likewise.
27018         * posix/geteuid.c: Likewise.
27019         * posix/getgid.c: Likewise.
27020         * posix/getgroups.c: Likewise.
27021         * posix/getlogin.c: Likewise.
27022         * posix/getlogin_r.c: Likewise.
27023         * posix/getpgid.c: Likewise.
27024         * posix/getpid.c: Likewise.
27025         * posix/getppid.c: Likewise.
27026         * posix/getresgid.c: Likewise.
27027         * posix/getresuid.c: Likewise.
27028         * posix/getsid.c: Likewise.
27029         * posix/getuid.c: Likewise.
27030         * posix/glob64.c: Likewise.
27031         * posix/nanosleep.c: Likewise.
27032         * posix/pathconf.c: Likewise.
27033         * posix/pause.c: Likewise.
27034         * posix/posix_madvise.c: Likewise.
27035         * posix/pread.c: Likewise.
27036         * posix/pread64.c: Likewise.
27037         * posix/pwrite.c: Likewise.
27038         * posix/pwrite64.c: Likewise.
27039         * posix/sched_getaffinity.c: Likewise.
27040         * posix/sched_getp.c: Likewise.
27041         * posix/sched_gets.c: Likewise.
27042         * posix/sched_primax.c: Likewise.
27043         * posix/sched_primin.c: Likewise.
27044         * posix/sched_rr_gi.c: Likewise.
27045         * posix/sched_setaffinity.c: Likewise.
27046         * posix/sched_setp.c: Likewise.
27047         * posix/sched_sets.c: Likewise.
27048         * posix/sched_yield.c: Likewise.
27049         * posix/setgid.c: Likewise.
27050         * posix/setlogin.c: Likewise.
27051         * posix/setpgid.c: Likewise.
27052         * posix/setresgid.c: Likewise.
27053         * posix/setresuid.c: Likewise.
27054         * posix/setsid.c: Likewise.
27055         * posix/setuid.c: Likewise.
27056         * posix/sleep.c: Likewise.
27057         * posix/spawni.c: Likewise.
27058         * posix/sysconf.c: Likewise.
27059         * posix/times.c: Likewise.
27060         * posix/wait.c: Likewise.
27061         * posix/wait3.c: Likewise.
27062         * posix/wait4.c: Likewise.
27063         * posix/waitpid.c: Likewise.
27064         * resolv/gai_sigqueue.c: Likewise.
27065         * resource/getpriority.c: Likewise.
27066         * resource/getrlimit.c: Likewise.
27067         * resource/getrusage.c: Likewise.
27068         * resource/nice.c: Likewise.
27069         * resource/setpriority.c: Likewise.
27070         * resource/setrlimit.c: Likewise.
27071         * resource/ulimit.c: Likewise.
27072         * rt/aio_cancel.c: Likewise.
27073         * rt/aio_fsync.c: Likewise.
27074         * rt/aio_read.c: Likewise.
27075         * rt/aio_sigqueue.c: Likewise.
27076         * rt/aio_suspend.c: Likewise.
27077         * rt/aio_write.c: Likewise.
27078         * rt/clock_getres.c: Likewise.
27079         * rt/clock_gettime.c: Likewise.
27080         * rt/clock_nanosleep.c: Likewise.
27081         * rt/clock_settime.c: Likewise.
27082         * rt/lio_listio.c: Likewise.
27083         * rt/mq_close.c: Likewise.
27084         * rt/mq_getattr.c: Likewise.
27085         * rt/mq_notify.c: Likewise.
27086         * rt/mq_open.c: Likewise.
27087         * rt/mq_receive.c: Likewise.
27088         * rt/mq_send.c: Likewise.
27089         * rt/mq_setattr.c: Likewise.
27090         * rt/mq_timedreceive.c: Likewise.
27091         * rt/mq_timedsend.c: Likewise.
27092         * rt/mq_unlink.c: Likewise.
27093         * rt/shm_open.c: Likewise.
27094         * rt/shm_unlink.c: Likewise.
27095         * rt/timer_create.c: Likewise.
27096         * rt/timer_delete.c: Likewise.
27097         * rt/timer_getoverr.c: Likewise.
27098         * rt/timer_gettime.c: Likewise.
27099         * rt/timer_settime.c: Likewise.
27100         * setjmp/__longjmp.c: Likewise.
27101         * setjmp/setjmp.c: Likewise.
27102         * signal/kill.c: Likewise.
27103         * signal/killpg.c: Likewise.
27104         * signal/raise.c: Likewise.
27105         * signal/sigaction.c: Likewise.
27106         * signal/sigaltstack.c: Likewise.
27107         * signal/sigblock.c: Likewise.
27108         * signal/sigignore.c: Likewise.
27109         * signal/sigintr.c: Likewise.
27110         * signal/signal.c: Likewise.
27111         * signal/sigpause.c: Likewise.
27112         * signal/sigpending.c: Likewise.
27113         * signal/sigqueue.c: Likewise.
27114         * signal/sigreturn.c: Likewise.
27115         * signal/sigset.c: Likewise.
27116         * signal/sigsetmask.c: Likewise.
27117         * signal/sigstack.c: Likewise.
27118         * signal/sigsuspend.c: Likewise.
27119         * signal/sigtimedwait.c: Likewise.
27120         * signal/sigvec.c: Likewise.
27121         * signal/sigwait.c: Likewise.
27122         * signal/sigwaitinfo.c: Likewise.
27123         * signal/sysv_signal.c: Likewise.
27124         * socket/accept.c: Likewise.
27125         * socket/accept4.c: Likewise.
27126         * socket/bind.c: Likewise.
27127         * socket/connect.c: Likewise.
27128         * socket/getpeername.c: Likewise.
27129         * socket/getsockname.c: Likewise.
27130         * socket/getsockopt.c: Likewise.
27131         * socket/isfdtype.c: Likewise.
27132         * socket/listen.c: Likewise.
27133         * socket/recv.c: Likewise.
27134         * socket/recvfrom.c: Likewise.
27135         * socket/recvmsg.c: Likewise.
27136         * socket/send.c: Likewise.
27137         * socket/sendmsg.c: Likewise.
27138         * socket/sendto.c: Likewise.
27139         * socket/setsockopt.c: Likewise.
27140         * socket/shutdown.c: Likewise.
27141         * socket/sockatmark.c: Likewise.
27142         * socket/socket.c: Likewise.
27143         * socket/socketpair.c: Likewise.
27144         * stdio-common/ctermid.c: Likewise.
27145         * stdio-common/cuserid.c: Likewise.
27146         * stdio-common/remove.c: Likewise.
27147         * stdio-common/rename.c: Likewise.
27148         * stdio-common/renameat.c: Likewise.
27149         * stdio-common/tempname.c: Likewise.
27150         * stdlib/getcontext.c: Likewise.
27151         * stdlib/makecontext.c: Likewise.
27152         * stdlib/setcontext.c: Likewise.
27153         * stdlib/swapcontext.c: Likewise.
27154         * stdlib/system.c: Likewise.
27155         * streams/fattach.c: Likewise.
27156         * streams/fdetach.c: Likewise.
27157         * streams/getmsg.c: Likewise.
27158         * streams/getpmsg.c: Likewise.
27159         * streams/putmsg.c: Likewise.
27160         * streams/putpmsg.c: Likewise.
27161         * sysdeps/unix/bsd/getpt.c: Likewise.
27162         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27163         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27164         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27166         Likewise.
27167         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27168         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27169         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27170         * sysvipc/msgctl.c: Likewise.
27171         * sysvipc/msgget.c: Likewise.
27172         * sysvipc/msgrcv.c: Likewise.
27173         * sysvipc/msgsnd.c: Likewise.
27174         * sysvipc/semctl.c: Likewise.
27175         * sysvipc/semget.c: Likewise.
27176         * sysvipc/semop.c: Likewise.
27177         * sysvipc/semtimedop.c: Likewise.
27178         * sysvipc/shmat.c: Likewise.
27179         * sysvipc/shmctl.c: Likewise.
27180         * sysvipc/shmdt.c: Likewise.
27181         * sysvipc/shmget.c: Likewise.
27182         * termios/tcdrain.c: Likewise.
27183         * termios/tcflow.c: Likewise.
27184         * termios/tcflush.c: Likewise.
27185         * termios/tcgetattr.c: Likewise.
27186         * termios/tcgetpgrp.c: Likewise.
27187         * termios/tcsendbrk.c: Likewise.
27188         * termios/tcsetattr.c: Likewise.
27189         * termios/tcsetpgrp.c: Likewise.
27190         * time/adjtime.c: Likewise.
27191         * time/clock.c: Likewise.
27192         * time/getitimer.c: Likewise.
27193         * time/gettimeofday.c: Likewise.
27194         * time/setitimer.c: Likewise.
27195         * time/settimeofday.c: Likewise.
27196         * time/stime.c: Likewise.
27197         * time/time.c: Likewise.
27198
27199 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27200
27201         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27202         /usr/old/bin.
27203
27204         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27205         instead of spaces.
27206         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27207
27208 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27209
27210         [BZ #14796]
27211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27212         FE_TONEAREST before applying Dekker multiplication and Knuth
27213         addition.  Clear inexact exceptions and check for exact zero
27214         results afterwards.
27215         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27218         * math/libm-test.inc (fma_test): Add more tests.
27219         (fma_test_towardzero): Likewise.
27220         (fma_test_downward): Likewise.
27221         (fma_test_upward): Likewise.
27222         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27223         function.
27224         (libc_fesetround): New macro.
27225         (libc_fesetroundf): Likewise.
27226         (libc_fesetroundl): Likewise.
27227         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27228         function.
27229         (libc_fesetround_387): Likewise.
27230         (libc_fesetroundf): New macro.
27231         (libc_fesetround): Likewise.
27232         (libc_fesetroundl): Likewise.
27233         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27234         function.
27235         (libc_fesetroundf): New macro.
27236         (libc_fesetround): Likewise.
27237         (libc_fesetroundl): Likewise.
27238         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27239         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27240         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27241         libm_hidden_ver.
27242         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27243         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27244         libm_hidden_def.
27245         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27246         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27247         libm_hidden_ver.
27248         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27249         libm_hidden_def.
27250
27251         [BZ #3439]
27252         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27253         integer constant usable in #if and use that to give value to enum
27254         constant.
27255         (FE_DIVBYZERO): Likewise.
27256         (FE_UNDERFLOW): Likewise.
27257         (FE_OVERFLOW): Likewise.
27258         (FE_INVALID): Likewise.
27259         (FE_INVALID_SNAN): Likewise.
27260         (FE_INVALID_ISI): Likewise.
27261         (FE_INVALID_IDI): Likewise.
27262         (FE_INVALID_ZDZ): Likewise.
27263         (FE_INVALID_IMZ): Likewise.
27264         (FE_INVALID_COMPARE): Likewise.
27265         (FE_INVALID_SOFTWARE): Likewise.
27266         (FE_INVALID_SQRT): Likewise.
27267         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27268         (FE_TONEAREST): Likewise.
27269         (FE_TOWARDZERO): Likewise.
27270         (FE_UPWARD): Likewise.
27271         (FE_DOWNWARD): Likewise.
27272         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27273         (FE_DIVBYZERO): Likewise.
27274         (FE_OVERFLOW): Likewise.
27275         (FE_UNDERFLOW): Likewise.
27276         (FE_INEXACT): Likewise.
27277         (FE_TONEAREST): Likewise.
27278         (FE_DOWNWARD): Likewise.
27279         (FE_UPWARD): Likewise.
27280         (FE_TOWARDZERO): Likewise.
27281         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27282         (FE_UNDERFLOW): Likewise.
27283         (FE_OVERFLOW): Likewise.
27284         (FE_DIVBYZERO): Likewise.
27285         (FE_INVALID): Likewise.
27286         (FE_TONEAREST): Likewise.
27287         (FE_TOWARDZERO): Likewise.
27288         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27289         (FE_OVERFLOW): Likewise.
27290         (FE_UNDERFLOW): Likewise.
27291         (FE_DIVBYZERO): Likewise.
27292         (FE_INEXACT): Likewise.
27293         (FE_TONEAREST): Likewise.
27294         (FE_TOWARDZERO): Likewise.
27295         (FE_UPWARD): Likewise.
27296         (FE_DOWNWARD): Likewise.
27297         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27298         (FE_DIVBYZERO): Likewise.
27299         (FE_OVERFLOW): Likewise.
27300         (FE_UNDERFLOW): Likewise.
27301         (FE_INEXACT): Likewise.
27302         (FE_TONEAREST): Likewise.
27303         (FE_DOWNWARD): Likewise.
27304         (FE_UPWARD): Likewise.
27305         (FE_TOWARDZERO): Likewise.
27306
27307 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27308
27309         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27310
27311 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27312
27313         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27314         commands.  Quote $PWD.
27315         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27316         -x" by "export".
27317         (remove_newlines): Remove.
27318
27319 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27320
27321         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27322         * stdlib/stdlib.h (atof): Moved to ...
27323         * include/bits/stdlib-float.h: Here.  New file.
27324         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27325         * stdlib/bits/stdlib-float.h: New file.
27326         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27327         -mno-sse -mno-mmx.
27328         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27329         <xmmintrin.h>.
27330
27331 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27332
27333         * conform/conformtest.pl (@headers): Add fenv.h.
27334         * conform/data/fenv.h-data: New file.
27335         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27336         include of <math/fenv.h>.
27337
27338         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27339         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27340         && !UNIX98].  Enables tests for XOPEN2K8.
27341         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27342         POSIX2008]: Likewise.
27343
27344         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27345         (struct rusage): Do not expect type or its members.
27346
27347         [BZ #3439]
27348         * math/math.h (FP_NAN): Define macro to integer constant usable in
27349         #if and use that to give value to enum constant.
27350         (FP_INFINITE): Likewise.
27351         (FP_ZERO): Likewise.
27352         (FP_SUBNORMAL): Likewise.
27353         (FP_NORMAL): Likewise.
27354
27355 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27356
27357         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27358         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27359         arguments.
27360
27361 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27362
27363         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27364         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27365         autoconf-time if not.
27366         * configure.in: Remove AC_PREREQ.
27367
27368 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27369
27370         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27371         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27372         of the internal implementation.
27373
27374 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27375
27376         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27377         except include of <misc/sys/syslog.h>.
27378
27379 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27380
27381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27382         function returns with a NULL context exit with zero.
27383
27384 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27385
27386         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27387
27388 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27389
27390         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27391         (run_program_cmd): This.
27392         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27393         (tst_langinfo): New variable.  Use it.
27394
27395 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27396
27397         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27398         floating point opcodes.
27399
27400 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27401
27402         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27403         variable.
27404
27405         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27406
27407         * sysdeps/mach/hurd/powerpc: Remove directory.
27408         * sysdeps/mach/powerpc: Likewise.
27409
27410 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27411
27412         * scripts/check-local-headers.sh: Ignore c++ headers.
27413
27414 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27415
27416         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27417         __libc_cleanup_region_start argument.
27418
27419 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27420
27421         [BZ #14784]
27422         [BZ #14785]
27423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27424         x * y using scaling, not as x * y + z.
27425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27427         * math/libm-test.inc (fma_test): Add more tests.
27428         (fma_test_towardzero): Likewise.
27429         (fma_test_downward): Likewise.
27430         (fma_test_upward): Likewise.
27431
27432 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27433
27434         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27435
27436 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27437
27438         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27439         New variable.
27440
27441 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27442
27443         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27444
27445 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27446
27447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27448         Fix sort order.
27449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27450         Likewise.
27451
27452 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27453
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27455         Fix the order of the list for glibc 2.17.
27456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27457         Likewise.
27458
27459 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27460
27461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27462
27463 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27464
27465         [BZ #14610]
27466         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27467         for low part of x being zero before using __atanl (y).
27468         * math/libm-test.inc (atan2_test): Add another test.
27469
27470         * manual/install.texi (Configuring and compiling): Document
27471         general use of test-wrapper and test-wrapper-env.
27472         * INSTALL: Regenerated.
27473
27474         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27475         (__fma): Do not extract and scale down low bits on after-rounding
27476         systems when result rounded to normal precision would have normal
27477         exponent.
27478         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27479         (__fmal): Do not extract and scale down low bits on after-rounding
27480         systems when result rounded to normal precision would have normal
27481         exponent.
27482         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27483         (__fmal): Do not extract and scale down low bits on after-rounding
27484         systems when result rounded to normal precision would have normal
27485         exponent.
27486         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27487         macro.
27488         (fma_test): Add more tests.
27489         (fma_test_towardzero): Likewise.
27490         (fma_test_downward): Likewise.
27491         (fma_test_upward): Likewise.
27492
27493 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27494
27495         * sysdeps/i386/tininess.h: Renamed to ...
27496         * sysdeps/x86/tininess.h: This.
27497         * sysdeps/x86_64/tininess.h: Removed.
27498
27499 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27500
27501         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27502         input.  Use $(build-program-cmd).
27503         ($(objpfx)tst-array1-static.out): Likewise.
27504         ($(objpfx)tst-array2.out): Likewise.
27505         ($(objpfx)tst-array3.out): Likewise.
27506         ($(objpfx)tst-array4.out): Likewise.
27507         ($(objpfx)tst-array5.out): Likewise.
27508         ($(objpfx)tst-array5-static.out): Likewise.
27509
27510 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27511
27512         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27513         if defined.
27514
27515         * nss/nsswitch.h (nss_interface_function): Provide new
27516         macro for use with NSS functions.
27517         * grp/initgroups.c: Use new macro.
27518         * nss/getXXbyYY.c: Likewise.
27519         * nss/getXXbyYY_r.c: Likewise.
27520         * nss/getXXent.c: Likewise.
27521         * nss/getXXent_r.c: Likewise.
27522         * sysdeps/posix/getaddrinfo.c: Likewise.
27523
27524 2012-10-30  Andreas Jaeger  <aj@suse.de>
27525
27526         * po/ru.po: Update Russion translation from translation project.
27527
27528 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27529
27530         [BZ #14152]
27531         [BZ #14783]
27532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27533         result and shift together with sticky bit instead of replicating
27534         round-to-nearest rounding.
27535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27536         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27537         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27538         missing underflow exceptions.
27539         (fma_test_towardzero): Add more tests.
27540         (fma_test_downward): Likewise.
27541         (fma_test_upward): Likewise.
27542
27543         [BZ #14047]
27544         * sysdeps/generic/tininess.h: New file.
27545         * sysdeps/i386/tininess.h: Likewise.
27546         * sysdeps/sh/tininess.h: Likewise.
27547         * sysdeps/x86_64/tininess.h: Likewise.
27548         * stdlib/tst-strtod-underflow.c: Likewise.
27549         * stdlib/tst-tininess.c: Likewise.
27550         * stdlib/strtod_l.c: Include <tininess.h>.
27551         (round_and_return): Do not set errno for exact underflow cases.
27552         Force an underflow exception when setting errno for underflow.
27553         Determine underflow based on rounding to normal precision if
27554         TININESS_AFTER_ROUNDING.
27555         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27556         ERANGE for exact underflow cases.
27557         * stdlib/Makefile (tests): Add tst-tininess and
27558         tst-strtod-underflow.
27559         ($(objpfx)tst-tininess): Use $(link-libm).
27560         ($(objpfx)tst-strtod-underflow): Likewise.
27561
27562 2012-10-30  Andreas Jaeger  <aj@suse.de>
27563
27564         [BZ#14767]
27565         * elf/Makefile (tests): Remove conditional for have-initfini-array
27566         since this is now always required and the variable does not exist
27567         anymore.
27568         (tests-static): Likewise.
27569         (modules-names): Likewise.
27570
27571         * po/eo.po: Add Esperanto translation from translation project.
27572
27573         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27574         merged with constructor/destructor.
27575         (init_array): Likewise.
27576         * elf/tst-array2dep.c (fini_array): Likewise.
27577         (init_array): Likewise.
27578
27579 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27580
27581         * manual/message.texi: Delete @cartouche tags.
27582
27583 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27584
27585         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27586         EOPNOTSUPP.
27587         * sysdeps/mach/hurd/fsync.c: Likewise.
27588
27589         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27590         [_POSIX_REALTIME_SIGNALS]: Change condition to
27591         [_POSIX_REALTIME_SIGNALS > 0].
27592
27593 2012-10-27  Andreas Jaeger  <aj@suse.de>
27594
27595         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27596         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27598         [__WORDSIZE != 64]: Likewise.
27599
27600 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27601
27602         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27603         *  iconvdata/tst-tables.sh: Likewise.
27604
27605 2012-10-25  David S. Miller  <davem@davemloft.net>
27606
27607         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27608         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27609         of strtoull.
27610
27611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27612         ifunc-impl-list.c
27613         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27614         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27615         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27616         file.
27617
27618 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27619
27620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27621         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27622         __getdirentries.
27623
27624 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27625             Jim Blandy  <jimb@codesourcery.com>
27626
27627         * scripts/cross-test-ssh.sh: New file.
27628         * manual/install.texi (Configuring and compiling): Document use of
27629         cross-test-ssh.sh.
27630         * INSTALL: Regenerated.
27631
27632 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27633
27634         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27635         EOPNOTSUPP.
27636
27637 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27638
27639         * Makeconfig (run-program-prefix): Fix comment.
27640
27641 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27642             Jim Blandy  <jimb@codesourcery.com>
27643
27644         * Makeconfig (test-wrapper): New variable,
27645         (test-wrapper-env): Likewise.
27646         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27647         (run-built-tests): Define to yes.
27648         (run-program-prefix): Use $(test-wrapper).
27649         (built-program-cmd): Likewise.
27650         * Rules (make-test-out): Use $(test-wrapper-env) and
27651         $(host-built-program-cmd).
27652         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27653         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27654         tst-pathopt.sh.
27655         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27656         $(test-wrapper-env) to tst-rtld-load-self.sh.
27657         ($(objpfx)order2.out): Use $(test-wrapper).
27658         ($(objpfx)tst-initorder.out): Likewise.
27659         ($(objpfx)tst-initorder2.out): Likewise.
27660         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27661         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27662         (test_wrapper_env): New variable.  Use it to run ld.so.
27663         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27664         Use it to run ld.so.
27665         (test_wrapper_env): Likewise.
27666         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27667         $(test-wrapper) to run-iconv-test.sh.
27668         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27669         (ICONV): Use $test_wrapper.
27670         * posix/Makefile ($(objpfx)globtest.out): Pass
27671         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27672         globtest.sh, not $(run-program-prefix).
27673         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27674         (test_wrapper): Likewise.
27675         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27676         set together with run_via_rtld_prefix.
27677         (run_program_prefix): Define in terms of test_wrapper and
27678         run_via_rtld_prefix.
27679
27680 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27681
27682         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27683         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27684         Targets removed.
27685
27686         [BZ #14743]
27687         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27688         Declare __clock_getres, __clock_gettime, __clock_settime,
27689         __clock_nanosleep, and __clock_getcpuclockid.
27690         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27691         Remove librt_hidden_def (clock_gettime).
27692         * sysdeps/unix/clock_gettime.c: Likewise.
27693         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27694         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27695         * rt/clock_getres.c: Define __clock_getres as an alias.
27696         * sysdeps/posix/clock_getres.c: Likewise.
27697         * rt/clock_settime.c: Define __clock_settime as an alias.
27698         * sysdeps/unix/clock_settime.c: Likewise.
27699         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27700         * sysdeps/unix/clock_nanosleep.c: Likewise.
27701         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27702         * rt/clock-compat.c: New file.
27703         * rt/Makefile (librt-routines): Add clock-compat and move
27704         $(clock-routines) to ...
27705         (routines): ... here, new variable.
27706         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27707         Don't add get_clockfreq here.
27708         * rt/Versions (libc: GLIBC_2.17): New version set.
27709         Add clock_* symbols here.
27710         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27711         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27712         (GLIBC_2.17): Add clock_* symbols.
27713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27715         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27717         Likewise.
27718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27719         Likewise.
27720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27724         * NEWS: Mention the move.
27725
27726         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27727         Use __open, __read, __close rather than their public counterparts.
27728         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27729         (__get_clockfreq_via_cpuinfo): Likewise.
27730         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27731         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27732
27733         * config.h.in (HAVE_IFUNC): New #undef.
27734         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27735         was successful.
27736         * configure: Regenerated.
27737
27738 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27739
27740         * configure.in: Move READELF check to start of file.
27741         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27742         libc_cv_asm_gnu_indirect_function in the process.
27743         * configure: Regenerated.
27744
27745 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27746
27747         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27748         send the output to /dev/null.
27749         (libc_cv_cc_with_libunwind): Likewise.
27750         (libc_cv_as_noexecstack): Likewise.
27751         * configure: Regenerate.
27752
27753 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27754
27755         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27756
27757         * posix/globtest.sh (TMPDIR): Do not set.
27758         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27759         (testout): Likewise.
27760
27761 2012-10-24  Andreas Jaeger  <aj@suse.de>
27762
27763         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27764         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27765         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27766         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27767         posix_fadvise64, posix_fallocate64.
27768
27769         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27770         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27771         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27772         Likewise.
27773         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27774         Likewise.
27775         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27776
27777         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27778         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27779         <bits/fcntl-linux.h>.
27780         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27781
27782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27783         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27784         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27785         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27786         [__WORDSIZE != 64]: Likewise.
27787
27788 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27789
27790         * Makeconfig (run-built-tests): New variable.
27791         * Rules [$(cross-compiling) = yes]: Change condition to
27792         [$(run-built-tests) = no].
27793         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27794         to [$(run-built-tests) = yes].
27795         * elf/Makefile [$(cross-compiling) = no]: Likewise
27796         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27797         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27798         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27799         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27800         * io/Makefile [$(cross-compiling) = no]: Likewise.
27801         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27802         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27803         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27804         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27805         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27806         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27807         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27808         * string/Makefile [$(cross-compiling) = no]: Likewise.
27809
27810         * posix/Makefile ($(objpfx)globtest.out): Pass
27811         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27812         $(rtld-installed-name).
27813         * posix/globtest.sh (elf_objpfx): Remove variable.
27814         (rtld_installed_name): Likewise.
27815         (library_path): Likewise.
27816         (run_program_prefix): New variable.  Use for running globtest
27817         binary.
27818
27819 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27820             Joseph Myers  <joseph@codesourcery.com>
27821
27822         * Makeconfig (host-built-program-cmd): New variable.
27823         * elf/Makefile (tst-stackguard1-ARGS): Use
27824         $(host-built-program-cmd).
27825         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27826         (tst-spawn-ARGS): Likewise.
27827         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27828
27829 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27830             Jim Blandy  <jimb@codesourcery.com>
27831
27832         * Makeconfig (run-via-rtld-prefix): New variable.
27833         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27834         (built-program-cmd): Likewise.
27835
27836 2012-10-22  Andreas Jaeger  <aj@suse.de>
27837
27838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27839         __O_RSYNC if it exists, otherwise to O_SYNC.
27840
27841 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27842             Joseph Myers  <joseph@codesourcery.com>
27843
27844         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27845         /dev/null.
27846         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27847         from /dev/null
27848         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27849         /dev/null.
27850
27851 2012-10-22  Andreas Jaeger  <aj@suse.de>
27852
27853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27854         Define always.
27855         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27856
27857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27858         bits/fcntl-linux.h.
27859
27860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27861         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27862
27863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27864         to __O_LARGEFILE.
27865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27866         to __O_LARGEFILE.
27867
27868 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27869             Joseph Myers  <joseph@codesourcery.com>
27870
27871         * config.make.in (NM): New variable.
27872
27873 2012-10-21  Andreas Jaeger  <aj@suse.de>
27874
27875         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27876         definitions and declarations that are provided by
27877         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27878
27879 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27880
27881         [BZ #14683]
27882         * elf/Makefile (tests-static): Add tst-leaks1-static.
27883         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27884         ($(objpfx)tst-leaks1-static): New rule.
27885         ($(objpfx)tst-leaks1-static-mem): Likewise.
27886         (tst-leaks1-static-ENV): New macro.
27887         * elf/dl-open.c (dl_open_worker): Check the main application
27888         only if SHARED is defined.
27889         * elf/tst-leaks1-static.c: New file.
27890
27891 2012-10-20  Andreas Jaeger  <aj@suse.de>
27892
27893         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27894         generic values for Linux.
27895         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27896         and declarations that are provided by <bits/fcntl-linux.h> and
27897         include <bits/fcntl-linux.h>.
27898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27899         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27900
27901 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27902
27903         * io/fcntl.h: Move include of <bits/types.h> to the top and
27904         include it unconditionally.
27905
27906 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27907
27908         * wcsmbs/Makefile (tests-ifunc): New variable.
27909         (tests): Add $(tests-ifunc).
27910         * wcsmbs/test-wcschr-ifunc.c: New file.
27911         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27912         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27913         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27914         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27915         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27916
27917         * string/Makefile (tests-ifunc): New variable.
27918         (tests): Add $(tests-ifunc).
27919         * string/test-memccpy.c (TEST_NAME): New macro.
27920         * string/test-memchr.c (TEST_NAME): Likewise.
27921         * string/test-memcmp.c (TEST_NAME): Likewise.
27922         * string/test-memcpy.c (TEST_NAME): Likewise.
27923         * string/test-memmem.c (TEST_NAME): Likewise.
27924         * string/test-memmove.c (TEST_NAME): Likewise.
27925         * string/test-memset.c (TEST_NAME): Likewise.
27926         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27927         * string/test-stpcpy.c (TEST_NAME): Likewise.
27928         * string/test-stpncpy.c (TEST_NAME): Likewise.
27929         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27930         * string/test-strcasestr.c (TEST_NAME): Likewise.
27931         * string/test-strcat.c (TEST_NAME): Likewise.
27932         * string/test-strchr.c (TEST_NAME): Likewise.
27933         * string/test-strcmp.c(TEST_NAME): Likewise.
27934         * string/test-strcpy.c (TEST_NAME): Likewise.
27935         * string/test-strcspn.c (TEST_NAME): Likewise.
27936         * string/test-strlen.c (TEST_NAME): Likewise.
27937         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27938         * string/test-strncmp.c (TEST_NAME): Likewise.
27939         * string/test-strncpy.c (TEST_NAME): Likewise.
27940         * string/test-strnlen.c (TEST_NAME): Likewise.
27941         * string/test-strpbrk.c (TEST_NAME): Likewise.
27942         * string/test-strrchr.c (TEST_NAME): Likewise.
27943         * string/test-strspn.c (TEST_NAME): Likewise.
27944         * string/test-strstr.c (TEST_NAME): Likewise.
27945         * string/test-bcopy-ifunc.c: New file.
27946         * string/test-bzero-ifunc.c: Likewise.
27947         * string/test-memccpy-ifunc.c: Likewise.
27948         * string/test-memchr-ifunc.c: Likewise.
27949         * string/test-memcmp-ifunc.c: Likewise.
27950         * string/test-memcpy-ifunc.c: Likewise.
27951         * string/test-memmem-ifunc.c: Likewise.
27952         * string/test-memmove-ifunc.c: Likewise.
27953         * string/test-mempcpy-ifunc.c: Likewise.
27954         * string/test-memset-ifunc.c: Likewise.
27955         * string/test-rawmemchr-ifunc.c: Likewise.
27956         * string/test-stpcpy-ifunc.c: Likewise.
27957         * string/test-stpncpy-ifunc.c: Likewise.
27958         * string/test-strcasecmp-ifunc.c: Likewise.
27959         * string/test-strcasestr-ifunc.c: Likewise.
27960         * string/test-strcat-ifunc.c: Likewise.
27961         * string/test-strchr-ifunc.c: Likewise.
27962         * string/test-strchrnul-ifunc.c: Likewise.
27963         * string/test-strcmp-ifunc.c: Likewise.
27964         * string/test-strcpy-ifunc.c: Likewise.
27965         * string/test-strcspn-ifunc.c: Likewise.
27966         * string/test-strlen-ifunc.c: Likewise.
27967         * string/test-strncasecmp-ifunc.c: Likewise.
27968         * string/test-strncat-ifunc.c: Likewise.
27969         * string/test-strncmp-ifunc.c: Likewise.
27970         * string/test-strncpy-ifunc.c: Likewise.
27971         * string/test-strnlen-ifunc.c: Likewise.
27972         * string/test-strpbrk-ifunc.c: Likewise.
27973         * string/test-strrchr-ifunc.c: Likewise.
27974         * string/test-strspn-ifunc.c: Likewise.
27975         * string/test-strstr-ifunc.c: Likewise.
27976
27977         * debug/Makefile (tests-ifunc): New variable.
27978         (tests): Add $(tests-ifunc).
27979         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27980         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27981         * debug/test-stpcpy_chk-ifunc.c: New file.
27982         * debug/test-strcpy_chk-ifunc.c: Likewise.
27983
27984 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27985
27986         [BZ #13601]
27987         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27988         header is not read in.
27989
27990 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27991
27992         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27993         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27994         directly.  Pass built executable to script as
27995         $(built-program-cmd).
27996         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27997         $testprogram without using LD_LIBRARY_PATH and $ldso.
27998
27999         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28000         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28001         $(rtld-installed-name).
28002         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28003         (rtld_installed_name): Likewise.
28004         (library_path): Likewise.
28005         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28006         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28007         $(run-program-prefix) to tst-tables.sh.
28008         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28009         it to run tst-table-from and tst-table-to.
28010         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28011         Pass it to tst-table.sh.
28012         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28013         $(run-program-prefix) to tst-gettext.sh.
28014         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28015         tst-translit.sh.
28016         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28017         tst-gettext2.sh.
28018         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28019         to run tst-gettext.
28020         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28021         to run tst-gettext2.
28022         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28023         to run tst-translit.
28024         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28025         $(run-program-prefix) to tst-mtrace.sh.
28026         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28027         to run tst-mtrace.
28028         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28029         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28030         $(rtld-installed-name).
28031         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28032         (rtld_installed_name): Likewise.
28033         (run_program_prefix): New variable.  Use it to run wordexp-test.
28034
28035         * Makeconfig (ARCH): Remove all definitions.
28036         (machine): Likewise.
28037         [ARCH]: Remove conditional code.
28038         [!objdir]: Give error.
28039         [!objdir] (objpfx): Remove.
28040         [!objdir] (common-objpfx): Likewise.
28041         [!objdir] (common-objdir): Likewise.
28042         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28043         AC_CONFIG_FILES call.
28044         * configure: Regenerated.
28045
28046         [BZ #13888]
28047         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28048         or TMPDIR.
28049         (testout): Likewise.
28050
28051         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28052         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28053         $(rtld-installed-name).
28054         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28055         (rtld_installed_name): Likwise.
28056         (runit): Remove function.
28057         (run_getconf): New variable,  Use it for running getconf binary.
28058
28059 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28060
28061         [BZ #14716]
28062         * string/test-memmem.c (check_result): New function.
28063         (do_one_test): Use it.
28064         (check1): New function.
28065         (test_main): Use it.
28066
28067 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28068
28069         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28070
28071 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28072
28073         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28074         (_G_LSEEK64): Likewise.
28075         (_G_MMAP64): Likewise.
28076         (_G_FSTAT64): Likewise.
28077         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28078         (_G_LSEEK64): Likewise.
28079         (_G_MMAP64): Likewise.
28080         (_G_FSTAT64): Likewise.
28081         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28082         unconditional.  Call __mmap64 directly.
28083         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28084         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28085         __lseek64 directly.
28086         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28087         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28088         __mmap64 directly.
28089         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28090         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28091         __lseek64 directly.
28092         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28093         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28094         __lseek64 directly.
28095         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28096         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28097         __lseek64 directly.
28098         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28099         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28100         __fxstat64 directly.
28101         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28102         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28103         unconditional.
28104         (freopen64) [!_G_OPEN64]: Remove conditional code.
28105         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28106         unconditional.
28107         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28108         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28109         unconditional.
28110         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28111         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28112         unconditional.
28113         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28114         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28115         unconditional.
28116         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28117         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28118         unconditional.
28119         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28120         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28121         unconditional.
28122         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28123         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28124         unconditional.
28125         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28126
28127 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28128
28129         [BZ #12140]
28130         * manual/memory.texi (Malloc Tunable Parameters): Add note
28131         about free list pointers overwriting some perturb bytes.
28132         Wording suggested by Roland McGrath.
28133
28134 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28135
28136         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28137         (lgamma_test): Likewise.
28138         (tgamma_test): Likewise.
28139
28140 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28141
28142         [BZ #14700]
28143         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28144         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28145
28146 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28147
28148         * NEWS: Mention BZ #14716.
28149         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28150         when removing AVAILABLE1_USES_J macro.
28151
28152 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28153
28154         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28155         (__bswap_64): __uint64_t for unsigned 64-bit int.
28156
28157 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28158
28159         * include/string.h (memmem): Declare libc hidden alias.
28160         * string/memmem.c (memmem): Define libc hidden alias.
28161         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28162         __read, __close instead of open, read, close.
28163
28164 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28165
28166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28167         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28168         global and hidden.
28169         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28170         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28171         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28172         Likewise.
28173         (__rawmemchr_sse2): Likewise.
28174         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28175         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28176         (__strchr_sse2): Likewise.
28177         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28178         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28179         (__strcasecmp_sse2): Likewise.
28180         (__strncasecmp_sse2): Likewise.
28181         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28182         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28183         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28184         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28185         (__strrchr_sse2): Likewise.
28186         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28187         ifunc-impl-list.c.
28188         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28189         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28190         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28191         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28192         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28193         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28194         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28195         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28196         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28197         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28198         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28199         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28200         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28201         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28202         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28203         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28204         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28205         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28206         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28207         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28208         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28209         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28210         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28211         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28212         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28213         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28214         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28215         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28216         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28217         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28218
28219         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28220         global and hidden.
28221         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28222         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28223         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28224         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28225         Likewise.
28226         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28227         Likewise.
28228         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28229         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28230         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28231         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28232         ifunc-impl-list.c.
28233         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28234         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28235         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28236         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28237         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28238         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28239         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28240         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28241         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28242         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28243         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28244         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28245         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28246         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28247         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28248         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28249         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28250         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28251         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28252         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28253         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28254         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28255         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28256         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28257         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28258         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28259         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28260         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28261         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28262         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28263         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28264         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28265         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28266         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28267         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28268         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28269         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28270         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28271         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28272         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28273         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28274
28275         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28276         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28277         * include/ifunc-impl-list.h: New file.
28278         * misc/ifunc-impl-list.c: Likewise.
28279         * misc/Makefile (routines): Add ifunc-impl-list.
28280         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28281         * string/test-string.h: Include <ifunc-impl-list.h>.
28282         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28283         TEST_NAME]: New variables.
28284         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28285         are defined.
28286         (test_init): Call __libc_ifunc_impl_list to initialize
28287         func_list if TEST_IFUNC and TEST_NAME are defined.
28288
28289         * string/Makefile (strop-tests): Add bcopy and bzero.
28290         * string/test-bcopy.c: New file.
28291         * string/test-bzero.c: Likewise.
28292         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28293         defined.
28294         * string/test-memset.c: Support bzero test if TEST_BZERO is
28295         defined.
28296         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28297         __libc_memmove.
28298         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28299         __libc_memset.
28300         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28301         of memset.
28302
28303 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28304
28305         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28306         * configure: Regenerated.
28307
28308         * Makeconfig (+link-static-before-libc): Don't include
28309         $(link-static-libc).
28310
28311         * libio/libio.h (_IO_pos_t): Remove.
28312
28313 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28314
28315         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28316         McGrath.
28317
28318 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28319
28320         * crypt/crypt-entry.c: Include fips-private.h.
28321         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28322         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28323         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28324         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28325
28326 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28327
28328         * crypt/crypt-private.h: Include stdbool.h.
28329         (_ufc_setup_salt_r): Return bool.
28330         * crypt/crypt-entry.c: Include errno.h.
28331         (__crypt_r): Return NULL with EINVAL for bad salt.
28332         * crypt/crypt_util.c (bad_for_salt): New.
28333         (_ufc_setup_salt_r): Check that salt is long enough and within
28334         the specified alphabet.
28335         * crypt/badsalttest.c: New file.
28336         * crypt/Makefile (tests): Add it.
28337         ($(objpfx)badsalttest): New.
28338
28339 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28340
28341         * NEWS: Add entry for BZ #14602.
28342
28343 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28344
28345         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28346         type-generic.
28347         * math/libm-test.inc: Update comment listing what functions and
28348         macros are tested.
28349         (isgreater_test): New function.
28350         (isgreaterequal_test): Likewise.
28351         (isless_test): Likewise.
28352         (islessequal_test): Likewise.
28353         (islessgreater_test): Likewise.
28354         (isunordered_test): Likewise.
28355         (main): Call the new functions.
28356
28357 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28358
28359         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28360         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28361         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28362         * sysdeps/i386/configure: Regenerated.
28363         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28364         * sysdeps/mach/configure: Regenerated.
28365         * sysdeps/mach/hurd/configure: Regenerated.
28366         * sysdeps/powerpc/configure: Regenerated.
28367         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28368         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28369         * sysdeps/s390/s390-32/configure: Regenerated.
28370         * sysdeps/s390/s390-64/configure: Regenerated.
28371         * sysdeps/sh/configure: Regenerated.
28372         * sysdeps/sparc/configure: Regenerated.
28373         * sysdeps/unix/sysv/linux/configure: Regenerated.
28374         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28375         * sysdeps/x86_64/configure: Regenerated.
28376
28377         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28378         defined.  Don't check if MAP is NULL.
28379
28380 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28381
28382         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28383         (_G_stat64): Likewise.
28384         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28385         (_G_stat64): Likewise.
28386         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28387         instead of struct _G_stat64.
28388         * libio/fileops.c (mmap_remap_check): Likewise.
28389         (decide_maybe_mmap): Likewise.
28390         (_IO_new_file_seekoff): Likewise.
28391         (_IO_file_stat): Likewise.
28392         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28393         _G_off64_t.
28394         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28395         instead of struct _G_stat64.
28396         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28397
28398 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28399
28400         [BZ #14602]
28401         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28402         Replace with ...
28403         (CHECK_EOL): New macro.
28404         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28405         CHECK_EOL.
28406         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28407         Replace with CHECK_EOL.
28408         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28409         Replace with CHECK_EOL.
28410
28411 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28412
28413         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28414         type-generic.
28415         * math/libm-test.inc: Update comment listing what functions and
28416         macros are tested.
28417         (finite_test): New function.
28418         (isinf_test): Likewise.
28419         (isnan_test): Likewise.
28420         (fpclassify_test): Test subnormal input.
28421         (isfinite_test): Likewise.
28422         (isnormal_test): Likewise.
28423         (main): Call the new functions.
28424
28425 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28426
28427         [BZ #14660]
28428         * Makerules (%.dynsym): Force C locale when running
28429         $(OBJDUMP) --dynamic-syms.
28430
28431 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28432
28433         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28434         <stdint.h>.
28435
28436 2012-10-06  David S. Miller  <davem@davemloft.net>
28437
28438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28439         upper 32-bits of the length value in %o2 since we use branch-on-register
28440         tests which consider the entire 64-bit register.
28441
28442 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28443
28444         * string/test-strstr.c (check2): Add a test for page boundary.
28445
28446 2012-10-05  David S. Miller  <davem@davemloft.net>
28447
28448         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28449         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28450         file.
28451         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28452         sysdep_routines.
28453         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28454         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28455         and bzero when HWCAP_SPARC_CRYPTO is present.
28456
28457 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28458
28459         [BZ #14602]
28460         * string/test-strstr.c (check2): New function.
28461         (test_main): Call check2.
28462
28463         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28464         and bug-strchr1.
28465         * string/bug-strcasestr1.c (do_test): Moved to ...
28466         * string/test-strcasestr.c (check1): Here.  New function.
28467         (do_one_test): Break out result checking code into ...
28468         (check_result): This.  New function.
28469         (do_one_test): Call check_result.
28470         (test_main): Call check1.
28471         * string/bug-strchr1.c (do_test): Moved to ...
28472         * string/test-strchr.c (check1): Here.  New function.
28473         (do_one_test): Break out result checking code into ...
28474         (check_result): This.  New function.
28475         (do_one_test): Call check_result.
28476         (test_main): Call check1.
28477         * string/bug-strstr1.c (main): Moved to ...
28478         * string/test-strstr.c (check1): Here.  New function.
28479         (do_one_test): Break out result checking code into ...
28480         (check_result): This.  New function.
28481         (do_one_test): Call check_result.
28482         (test_main): Call check1.
28483         * string/bug-strcasestr1.c: Removed.
28484         * string/bug-strchr1.c: Likewise.
28485         * string/bug-strstr1.c: Likewise.
28486
28487         * elf/Makefile (dl-routines): Add hwcaps.
28488         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28489         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28490         (_dl_important_hwcaps): Moved to ...
28491         * elf/dl-hwcaps.c: Here.  New file.
28492         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28493
28494         [BZ #14557]
28495         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28496         if IS_IN_rtld isn't defined.
28497
28498         * elf/dl-support.c (_dl_sysinfo_map): New.
28499         Include "get-dynamic-info.h" and "setup-vdso.h".
28500         (_dl_non_dynamic_init): Call setup_vdso.
28501         * elf/dynamic-link.h: Don't include <assert.h>.
28502         (elf_get_dynamic_info): Moved to ...
28503         * elf/get-dynamic-info.h: Here.  New file.
28504         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28505         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28506         * elf/setup-vdso.h: Here.  New file.
28507         * elf/rtld.c: Include "setup-vdso.h".
28508         (dl_main): Call setup_vdso.
28509
28510 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28511
28512         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28513         creal in comment listing functions tested.  List finite, isinf,
28514         isnan, isless, islessequal, isgreater, isgreaterequal,
28515         islessgreater, isunordered, lgamma_r and pow10 as functions and
28516         macros not tested.  Mention which functions not tested are aliases
28517         for other functions.  Fix typo.  Note that signs of NaNs are not
28518         tested.
28519
28520         * scripts/config.guess: Update from config.git.
28521         * scripts/config.sub: Likewise.
28522
28523 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28524
28525         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28526         * misc/madvise.c (madvise): Renamed to __madvise.
28527         Make madvise a weak alias.
28528         * include/sys/mman.h: Declare __madvise.
28529         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28530         * sysdeps/unix/syscalls.list
28531         (madvise): Make __madvise the strong name, and madvise a weak alias.
28532         * sysdeps/unix/sysv/linux/syscalls.list
28533         (madvise, mmap): Remove redundant entries.
28534         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28535         * malloc/malloc.c (mtrim): Likewise.
28536         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28537
28538 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28539
28540         * sysdeps/mach/hurd/dl-cache.c: File removed.
28541         * config.h.in (USE_LDCONFIG): New #undef.
28542         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28543         * configure: Regenerated.
28544         * elf/Makefile (dl-routines): Add dl-cache only under
28545         [$(use-ldconfig) = yes].
28546         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28547         cache on [USE_LDCONFIG].
28548         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28549         [USE_LDCONFIG].
28550         * elf/rtld.c (dl_main): Likewise.
28551
28552 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28553
28554         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28555         _SC_LEVEL4_CACHE_LINESIZE.
28556
28557 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28558
28559         * sysdeps/unix/bsd/confstr.h: File removed.
28560
28561 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28562
28563         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28564         sys/sdt-config.h.
28565
28566 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28567
28568         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28569         Make 'mapoff' field ElfW(Off) rather than off_t.
28570
28571 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28572
28573         * nscd/Makefile: Remove nscd-cflags and all its users.
28574         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28575         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28576
28577         [BZ #10631]
28578         * malloc.c (malloc_printerr): Clarify error message.
28579
28580 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28581
28582         [BZ #14648]
28583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28584         Set bit_FMA_Usable if FMA is supported.
28585         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28586         macro.
28587         (bit_FMA4_Usable): Updated.
28588         (index_FMA_Usable): New macro.
28589         (CPUID_FMA): Likewise
28590         (HAS_FMA): Defined with bit_FMA_Usable.
28591
28592 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28593
28594         * bits/types.h (__swblk_t): Type removed.
28595         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28596         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28597         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28598         (__SWBLK_T_TYPE): Likewise.
28599         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28600         (__SWBLK_T_TYPE): Likewise.
28601         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28602         (__SWBLK_T_TYPE): Likewise.
28603         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28604         (__SWBLK_T_TYPE): Likewise.
28605
28606 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28607             Honza Horak <hhorak@redhat.com>
28608
28609         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28610         (xdr_mapname): Use YPMAXMAP as maxsize.
28611         (xdr_peername): Use YPMAXPEER as maxsize.
28612         (xdr_keydat): Use YPAXRECORD as maxsize.
28613         (xdr_valdat): Use YPMAXRECORD as maxsize.
28614
28615 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28616
28617         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28618
28619         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28620         * csu/init-first.c: ... here.
28621         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28622         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28623         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28624         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28625         * sysdeps/i386/init-first.c: File removed.
28626         * sysdeps/sh/init-first.c: File removed.
28627
28628 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28629
28630         [BZ #14645]
28631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28632         if x * y might underflow to zero and z is zero.
28633         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28635         * math/libm-test.inc (min_subnorm_value): New variable.
28636         (fma_test): Add more tests.
28637         (fma_test_towardzero): Likewise.
28638         (fma_test_downward): Likewise
28639         (fma_test_upward): Likewise.
28640         (initialize): Set min_subnorm_value.
28641
28642 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28643
28644         [BZ #14638]
28645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28646         0 + 0.
28647         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28648         mode for addition resulting in exact zero.
28649         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28651         exact 0 + 0.
28652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28654         * math/libm-test.inc (fma_test): Add more tests.
28655         (fma_test_towardzero): New function.
28656         (fma_test_downward): Likewise.
28657         (fma_test_upward): Likewise.
28658         (main): Call the new functions.
28659
28660 2012-09-28  David S. Miller  <davem@davemloft.net>
28661
28662         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28663
28664 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28665
28666         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28667         instead of SIGALRM.
28668
28669         * sysdeps/gnu/_G_config.h: Moved to ...
28670         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28671         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28672         * sysdeps/generic/_G_config.h: ... here.
28673
28674         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28675
28676         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28677
28678         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28679         Conditionalize target on [libnss_test1.so-version].
28680
28681         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28682
28683         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28684         (elfobjdir): Move out of conditionals.
28685
28686         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28687         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28688         (__nss_lookup_function): Conditionalize label remove_from_tree on
28689         [!DO_STATIC_NSS || SHARED], matching its only use.
28690
28691 2012-09-28  David S. Miller  <davem@davemloft.net>
28692
28693         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28694         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28695         file.
28696         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28697         sysdep_routines.
28698         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28700         when HWCAP_SPARC_CRYPTO is present.
28701
28702 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28703
28704         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28705
28706 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28707
28708         [BZ #6530]
28709         * stdio-common/vfprintf.c (process_string_arg): Revert
28710         2000-07-22 change.
28711
28712 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28713
28714         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28715         for testcase.
28716         * stdio-common/tst-sprintf.c: Include <locale.h>
28717         (main): Test sprintf's handling of incomplete multibyte
28718         characters.
28719
28720 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28721
28722         * elf/dl-runtime.c (VERSYMIDX): Removed.
28723         * elf/dl-version.c (VERSYMIDX): Likewise.
28724         * elf/do-rel.h (VERSYMIDX): Likewise.
28725         (VALIDX): Likewise.
28726         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28727         * elf/rtld.c (VALIDX): Likewise.
28728         (ADDRIDX): Likewise.
28729         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28730         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28731         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28732         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28733         (VALIDX): Likewise.
28734         (ADDRIDX): Likewise.
28735
28736 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28737
28738         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28739
28740 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28741
28742         [BZ #11438]
28743         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28744         to global scope.
28745         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28746         addresses are in the same scope as 192.0.2/24.
28747         * posix/gai.conf: Document new scope table defaults.
28748
28749 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28750
28751         [BZ #5298]
28752         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28753         for ftell.  Compute offsets from write pointers instead.
28754         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28755
28756 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28757
28758         [BZ #14543]
28759         * libio/Makefile (tests): New test case tst-fseek.
28760         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28761         combination works in wide mode.
28762         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28763         state when the external buffer state changes.
28764
28765 2012-09-27  David S. Miller  <davem@davemloft.net>
28766
28767         [BZ #14376]
28768         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28769         pass reloc->r_addend in as the 'high' argument to
28770         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28771
28772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28773
28774 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28775
28776         * rt/tst-aio2.c: Include <pthread.h>.
28777         * rt/tst-aio3.c: Likewise.
28778
28779 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28780
28781         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28782
28783 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28784
28785         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28786         contents on [SHARED].
28787
28788 2012-09-26  Marek Polacek  <polacek@redhat.com>
28789
28790         [BZ #14530]
28791         [BZ #13741]
28792         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28793         for C++ and GCC <4.3 as well as for non GCC compilers.
28794
28795 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28796
28797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28798
28799 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28800
28801         * Makefile.in (all, install): Declare with .PHONY.
28802         Reported by Michael Hope <michael.hope@linaro.org>.
28803
28804 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28805
28806         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28807         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28808         system header.
28809         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28810         Likewise.
28811         (sydep_routines): Add the new and the internal functions.
28812         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28813         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28815         (GLIBC_2.17): Add the new function.
28816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28817         (GLIBC_2.17): Likewise.
28818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28819         (GLIBC_2.17): Likewise.
28820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28821         (GLIBC_2.17): Likewise.
28822         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28823
28824 2012-09-25  Alan Modra  <amodra@gmail.com>
28825
28826         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28827         Add release barrier before setting once_control to say
28828         initialisation is done.  Add hints on lwarx.  Use macro in
28829         place of isync.
28830         (clear_once_control): Add release barrier.
28831
28832 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28833
28834         [BZ #13629]
28835         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28836         specially.
28837         * math/s_clog10.c (__clog10): Likewise.
28838         * math/s_clog10f.c (__clog10f): Likewise.
28839         * math/s_clog10l.c (__clog10l): Likewise.
28840         * math/s_clogf.c (__clogf): Likewise.
28841         * math/s_clogl.c (__clogl): Likewise.
28842         * math/Makefile (libm-calls): Add x2y2m1.
28843         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28844         (__x2y2m1): Likewise.
28845         (__x2y2m1l): Likewise.
28846         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28847         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28848         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28849         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28850         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28851         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28852         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28853         * sysdeps/i386/fpu/libm-test-ulps: Update.
28854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28855
28856         [BZ #14621]
28857         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28858         int as type of variable DEPTH.
28859         (glob): Use size_t instead of int as type of variables NEWCOUNT
28860         and OLD_PATHC.
28861
28862 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28863
28864         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28865         Add s_sincosf-sse2.
28866         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28867         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28868         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28869         macros for using routine as __sincosf_ia32.
28870         Use macro for function declaration and weak_alias.
28871         * sysdeps/i386/fpu/libm-test-ulps: Update.
28872
28873         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28875
28876         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28877         subnormal argument.
28878         * math/s_cexpf.c (__cexpf): Likewise.
28879         * math/s_csinf.c (__csinf): Likewise.
28880         * math/s_csinhf.c (__csinhf): Likewise.
28881         * math/s_ctanf.c (__ctanf): Likewise.
28882         * math/s_ctanhf.c (__ctanhf): Likewise.
28883         * math/s_ccosh.c (__ccoshf): Likewise.
28884         * math/s_cexp.c (__cexpl): Likewise.
28885         * math/s_csin.c (__csin): Likewise.
28886         * math/s_csinh.c (__csinh): Likewise.
28887         * math/s_ctan.c (__ctan): Likewise.
28888         * math/s_ctanh.c (ctanh): Likewise.
28889         * math/s_ccoshl.c (__ccoshl): Likewise.
28890         * math/s_cexpl.c (__cexpl): Likewise.
28891         * math/s_csinl.c (__csinl): Likewise.
28892         * math/s_csinhl.c (__csinhl): Likewise.
28893         * math/s_ctanl.c (__ctanl): Likewise.
28894         * math/s_ctanhl.c (__ctanhl): Likewise.
28895
28896 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28897
28898         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28899         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28900         (_IO_off_t): Define to __off_t, not _G_off_t.
28901         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28902         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28903         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28904         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28905         type of __dummy and __dummy2 fields.
28906         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28907         (_G_ssize_t): Likewise.
28908         (_G_off_t): Likewise.
28909         (_G_pid_t): Likewise.
28910         (_G_uid_t): Likewise.
28911         (_G_wchar_t): Likewise.
28912         (_G_wint_t): Likewise.
28913         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28914         (_G_ssize_t): Likewise.
28915         (_G_off_t): Likewise.
28916         (_G_pid_t): Likewise.
28917         (_G_uid_t): Likewise.
28918         (_G_wchar_t): Likewise.
28919         (_G_wint_t): Likewise.
28920         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28921         (_G_ssize_t): Likewise.
28922         (_G_off_t): Likewise.
28923         (_G_pid_t): Likewise.
28924         (_G_uid_t): Likewise.
28925         (_G_wchar_t): Likewise.
28926         (_G_wint_t): Likewise.
28927
28928 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28929
28930         * malloc/arena.c: Include malloc-sysdep.h.
28931         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28932         is sufficient to shrink the heap or an unmap is needed.
28933         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28934         new function check_may_shrink_heap.
28935         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28936         new function check_may_shrink_heap.
28937
28938 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28939
28940         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28941         comments.
28942
28943 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28944
28945         * catgets/test-gencat.sh: Add "set -e".
28946         * elf/tst-pathopt.sh: Likewise.
28947         * grp/tst_fgetgrent.sh: Likewise.
28948         * iconvdata/run-iconv-test.sh: Likewise.
28949         * intl/tst-gettext.sh: Likewise.
28950         * intl/tst-gettext2.sh: Likewise.
28951         * intl/tst-gettext4.sh: Likewise.
28952         * intl/tst-gettext6.sh: Likewise.
28953         * intl/tst-translit.sh: Likewise.
28954         * io/ftwtest-sh: Likewise.
28955         * libio/test-freopen.sh: Likewise.
28956         * malloc/tst-mtrace.sh: Likewise.
28957         * posix/globtest.sh: Likewise.
28958         * posix/tst-getconf.sh: Likewise.
28959         * posix/wordexp-tst.sh: Likewise.
28960         * stdio-common/tst-printf.sh: Likewise.
28961         * stdio-common/tst-unbputc.sh: Likewise.
28962         * stdlib/tst-fmtmsg.sh: Likewise.
28963         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28964         * catgets/Makefile: Do not specify -e option when running
28965         testsuite shell scripts.
28966         * elf/Makefile: Likewise.
28967         * grp/Makefile: Likewise.
28968         * iconvdata/Makefile: Likewise.
28969         * intl/Makefile: Likewise.
28970         * io/Makefile: Likewise.
28971         * libio/Makefile: Likewise.
28972         * malloc/Makefile: Likewise.
28973         * posix/Makefile: Likewise.
28974         * stdio-common/Makefile: Likewise.
28975         * stdlib/Makefile: Likewise.
28976         * sysdeps/x86_64/Makefile: Likewise.
28977
28978         * io/ftwtest-sh: Add copyright header.
28979         * posix/globtest.sh: Likewise.
28980         * posix/tst-getconf.sh: Likewise.
28981         * posix/wordexp-tst.sh: Likewise.
28982         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28983
28984 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28985
28986         [BZ #13679]
28987         * Makeconfig (+link): Defined as $(+link-static) if
28988         $(build-shared) isn't yes.
28989         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28990         isn't yes.
28991         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28992
28993         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28994
28995         [BZ #14562]
28996         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28997         new chunk size with MALLOC_ALIGN_MASK.
28998
28999 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29000
29001         [BZ #5044]
29002         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29003         <rounding-mode.h>.
29004         (__printf_fphex): Determine rounding using get_rounding_mode and
29005         round_away.
29006         * stdio-common/tst-printf-round.c (struct hex_test): New
29007         structure.
29008         (hex_tests): New variable.
29009         (test_hex_in_one_mode): New function.
29010         (do_test): Also run tests for hex float output.
29011
29012 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29013
29014         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29015         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29016         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29017         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29018         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29019         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29020         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29021         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29022
29023 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29024
29025         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29026         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29027         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29028         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29029
29030 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29031
29032         [BZ #14579]
29033         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29034         mode only.
29035         * elf/tst-rtld-load-self.sh: New test.
29036         * elf/Makefile: Run it.
29037
29038 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29039
29040         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29041         (tst-writev-ENV): Remove.
29042         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29043
29044 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29045
29046         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29047
29048 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29049
29050         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29051         unconditional.
29052         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29053         Likewise.
29054         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29055         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29056         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29057         Likewise.
29058
29059 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29060
29061         [BZ #14587]
29062         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29063         * config.make.in (have-cpp-asm-debuginfo): Removed.
29064         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29065         * configure: Regenerated.
29066
29067 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29068
29069         [BZ #5044]
29070         * stdio-common/printf_fp.c: Include <stdbool.h> and
29071         <rounding-mode.h>.
29072         (___printf_fp): Determine rounding using get_rounding_mode and
29073         round_away.
29074         * stdio-common/tst-printf-round.c: New file.
29075         * stdio-common/Makefile (tests): Add tst-printf-round.
29076         (link-libm): New variable.
29077         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29078
29079 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29080
29081         [BZ #14576]
29082         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29083         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29084         Likewise.
29085         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29086         Likewise.
29087
29088 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29089
29090         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29091         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29092         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29093         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29094
29095 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29096
29097         [BZ #14518]
29098         * include/rounding-mode.h: New file.
29099         * sysdeps/generic/get-rounding-mode.h: Likewise.
29100         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29101         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29102         (MAX_VALUE): New macro.
29103         (MIN_VALUE): Likewise.
29104         (overflow_value): New function.
29105         (underflow_value): Likewise.
29106         (round_and_return): Use overflow_value and underflow_value to
29107         determine return values in overflow and underflow cases.  Use
29108         round_away to determine rounding depending on rounding mode.
29109         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29110         determine return values in overflow and underflow cases.
29111         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29112         (struct test_results): New structure.
29113         (struct test): Use struct test_results to store expected results
29114         for all rounding modes.
29115         (TEST): Include expected results for all rounding modes.
29116         (test_in_one_mode): New function.
29117         (do_test): Use test_in_one_mode to compute and check results.
29118         Check results for all rounding modes.
29119         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29120         $(link-libm).
29121
29122 2012-12-09  Allan McRae  <allan@archlinux.org>
29123
29124         * sysdeps/i386/fpu/libm-test-ulps: Update
29125
29126 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29127
29128         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29129         (_G_int32_t): Likewise.
29130         (_G_uint16_t): Likewise.
29131         (_G_uint32_t): Likewise.
29132         (_G_HAVE_BOOL): Likewise.
29133         (_G_HAVE_ATEXIT): Likewise.
29134         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29135         (_G_HAVE_IO_FILE_OPEN): Likewise.
29136         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29137         (_G_int32_t): Likewise.
29138         (_G_uint16_t): Likewise.
29139         (_G_uint32_t): Likewise.
29140         (_G_HAVE_BOOL): Likewise.
29141         (_G_HAVE_ATEXIT): Likewise.
29142         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29143         (_G_HAVE_IO_FILE_OPEN): Likewise.
29144         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29145         (_G_int32_t): Likewise.
29146         (_G_uint16_t): Likewise.
29147         (_G_uint32_t): Likewise.
29148         (_G_HAVE_BOOL): Likewise.
29149         (_G_HAVE_ATEXIT): Likewise.
29150         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29151         (_G_HAVE_IO_FILE_OPEN): Likewise.
29152
29153 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29154
29155         * csu/libc-tls.c: Update copyright years.
29156
29157 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29158
29159         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29160         [!_G_USING_THUNKS]: Remove conditional code.
29161         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29162         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29163
29164         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29165         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29166         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29167         (_G_VTABLE_LABEL_PREFIX): Likewise.
29168         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29169         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29170         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29171         (_G_VTABLE_LABEL_PREFIX): Likewise.
29172         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29173         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29174         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29175         (_G_VTABLE_LABEL_PREFIX): Likewise.
29176         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29177
29178 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29179
29180         * libio/Makefile: Include ../Makeconfig before tests.
29181         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29182         only if $(build-shared) is yes.
29183
29184         * iconv/gconv_db.c: Update copyright years.
29185
29186 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29187
29188         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29189         unwind info if defined PIC. Fix special cases description.
29190         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29191
29192         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29193         DP_HI_MASK entry.
29194         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29195
29196 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29197
29198         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29199
29200         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29201         is NULL.
29202
29203         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29204         (LDLIBS-tst-chk4): This.
29205         (LDFLAGS-tst-chk5): Renamed to ...
29206         (LDLIBS-tst-chk5): This.
29207         (LDFLAGS-tst-chk6): Renamed to ...
29208         (LDLIBS-tst-chk6): This.
29209         (LDFLAGS-tst-lfschk4): Renamed to ...
29210         (LDLIBS-tst-lfschk4): This.
29211         (LDFLAGS-tst-lfschk5): Renamed to ...
29212         (LDLIBS-tst-lfschk5): This.
29213         (LDFLAGS-tst-lfschk6): Renamed to ...
29214         (LDLIBS-tst-lfschk6): This.
29215
29216         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29217         on $(common-objpfx)soversions.mk.
29218
29219 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29220
29221         [BZ #10014]
29222         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29223         example host name.
29224
29225 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29226
29227         * malloc/arena.c (arena_get_retry): New function that gets
29228         another arena for the caller to try its request on.
29229         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29230         current arena cannot fulfill the request.
29231         (__libc_memalign): Likewise.
29232         (__libc_memalign): Likewise.
29233         (__libc_pvalloc): Likewise.
29234         (__libc_calloc): Likewise.
29235
29236 2012-09-05  John Tobey  <john.tobey@gmail.com>
29237
29238         [BZ #13542]
29239         * manual/arith.texi (Operations on Complex): Fix description
29240         of carg branch cut.
29241
29242 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29243
29244         [BZ #10014]
29245         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29246         host name.
29247
29248         [BZ #10038]
29249         * manual/memory.texi (Memory): Make order of menu items match
29250         order of sections.
29251
29252 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29253
29254         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29255         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29256         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29257
29258 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29259
29260         * csu/libc-tls.c (static_dtv): Renamed to ...
29261         (_dl_static_dtv): This.  Make it global.
29262         (_dl_initial_dtv): Removed.
29263         (__libc_setup_tls): Updated.
29264         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29265         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29266         DL_INITIAL_DTV.
29267
29268 2012-09-06  Petr Machata  <pmachata@redhat.com>
29269
29270         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29271         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29272         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29273         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29274
29275 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29276
29277         [BZ #14545]
29278         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29279         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29280         freeing dtv[-1].
29281
29282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29283
29284         [BZ #14544]
29285         * Makeconfig (link-static-before-libc): Replace $(+prector)
29286         with $(+prectorT).
29287         (link-static-after-libc): Replace $(+postctor) with
29288         $(+postctorT).
29289         (link-bounded): Replace $(+prector)/$(+postctor) with
29290         $(+prectorT)/$(+postctorT).
29291         (+prectorT): New macro.
29292         (+postctorT): Likewise.
29293
29294 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29295
29296         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29297         (round_str): Handle values above the maximum for IBM long double
29298         as inexact.
29299         * stdlib/tst-strtod-round.c (tests): Regenerated.
29300
29301 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29302
29303         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29304         assembler flag.
29305         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29306         zarch_nohighgprs around the zarch optimized routines.
29307         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29308         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29309         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29310         for zarch.
29311
29312 2012-09-05  David S. Miller  <davem@davemloft.net>
29313
29314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29315
29316         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29317         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29318         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29319         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29320         entries.
29321
29322 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29323
29324         * malloc/arena.c: Fold copyright years.
29325         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29326
29327 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29328
29329         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29330
29331 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29332
29333         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29334
29335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29336
29337         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29338         change internal state upon failure.
29339
29340 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29341
29342         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29343         * malloc/memusage.c (mmap): Likewise.
29344         (mmap64, mremap): Likewise.  Adjust name in comment.
29345
29346 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29347
29348         * libio/fileops.c: Fix typos in comments.
29349         * libio/oldfileops.c: Likewise.
29350         * libio/wfileops.c: Likewise.
29351
29352 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29353
29354         [BZ #1349]
29355         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29356         (tst-malloc-usable-ENV): Set environment for test case.
29357         * malloc/hooks.c (malloc_check_get_size): New function to get
29358         requested size.
29359         * malloc/malloc.c (musable): Use malloc_check_get_size.
29360         * malloc/tst-malloc-usable.c: New test case.
29361
29362 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29363
29364         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29365
29366 2012-09-05  Allan McRae  <allan@archlinux.org>
29367
29368         [BZ #13966]
29369         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29370         determine header location.
29371         * configure: Regenerated.
29372
29373 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29374
29375         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29376         float format.
29377         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29378         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29379         format.
29380         (test): Regenerate.
29381
29382 2012-09-04  David S. Miller  <davem@davemloft.net>
29383
29384         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29385         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29386         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29387
29388 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29389
29390         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29391         failures.
29392
29393         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29394
29395 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29396
29397         [BZ #9914]
29398         * libio/iogetdelim.c: Include <limits.h>.
29399         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29400         + len + 1 would overflow.
29401
29402 2012-09-03  Andreas Jaeger  <aj@suse.de>
29403
29404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29405         * sysdeps/i386/fpu/libm-test-ulps: Update.
29406
29407 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29408
29409         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29410         Add s_sinf-sse2, s_conf-sse2.
29411
29412         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29413         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29414         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29415         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29416
29417         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29418         for using routine as __sinf_ia32.
29419         Use macro for function declaration and weak_alias.
29420         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29421         for using routine as __cosf_ia32.
29422         Use macro for function declaration and weak_alias.
29423
29424         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29425         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29426
29427         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29428         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29430
29431         * math/libm-test.inc (cos_test): Add more test cases.
29432         (sin_test): Likewise.
29433         (sincos_test): Likewise.
29434
29435 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29436
29437         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29438         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29439         hidden.
29440         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29441
29442 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29443
29444         [BZ #14538]
29445         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29446         first element of the GOT.
29447         (elf_machine_load_address): Return the difference between
29448         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29449
29450 2012-09-01  Allan McRae  <allan@archlinux.org>
29451
29452         [BZ #13412]
29453         * configure.in (AWK): Require gawk version 3.0 or later.
29454         * configure: Regenerated.
29455
29456 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29457
29458         * sysdeps/unix/sysv/linux/kernel-features.h
29459         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29460         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29461         [__NR_clock_getres]: Make code unconditional.
29462         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29463         (clock_getcpuclockid): Remove code left unreachable by removal of
29464         conditionals.
29465         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29466         code unconditional.
29467         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29468         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29469         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29470         Make code unconditional.
29471         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29472         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29473         * sysdeps/unix/sysv/linux/clock_settime.c
29474         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29475         conditional code.
29476         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29477         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29478
29479 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29480
29481         [BZ #14476]
29482         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29483         scripts/test-installation.pl.
29484
29485         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29486         and $ld_so_version if it is set.
29487
29488 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29489
29490         [BZ #14516]
29491         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29492         failure if reading from procfs failed.
29493         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29494
29495 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29496
29497         * sysdeps/unix/sysv/linux/kernel-features.h
29498         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29499         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29500         Remove conditional code.
29501         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29502         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29503         Remove conditional code.
29504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29505         * sysdeps/unix/sysv/linux/i386/fxstat.c
29506         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29507         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29508         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29509         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29510         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29511         * sysdeps/unix/sysv/linux/i386/lxstat.c
29512         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29513         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29514         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29515         Remove conditional code.
29516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29517         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29518         Remove conditional code.
29519         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29520         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29521         <kernel-features.h>.
29522         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29523         Remove.
29524         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29525         Remove conditional code.
29526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29527         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29528         Remove conditional.
29529
29530 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29531
29532         [BZ #5400]
29533         * NEWS: Add fixed bug number.
29534
29535 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29536
29537         [BZ #14519]
29538         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29539         underflowing exponent in case of negative sign.
29540         * stdlib/tst-strtod-round-data: Add more tests.
29541         * stdlib/tst-strtod-round.c (tests): Regenerated.
29542
29543         [BZ #3479]
29544         * stdlib/strtod_l.c (NDIG): Remove.
29545         (HEXNDIG): Likewise.
29546         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29547         smallest representable value.
29548         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29549         lie within an exact representation of 1/2 ulp of the result.
29550         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29551         unconditionally.
29552         (TENS_P9_IDX): Define unconditionally.
29553         (TENS_P9_SIZE): Likewise.
29554         (TENS_P10_IDX): Likewise.
29555         (TENS_P10_SIZE): Likewise.
29556         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29557         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29558         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29559         entries for 10^2^13 and 10^2^14.
29560         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29561         (TENS_P13_IDX): Define.
29562         (TENS_P13_SIZE): Likewise.
29563         (TENS_P14_IDX): Likewise.
29564         (TENS_P14_SIZE): Likewise.
29565         (_fpioconst_pow10): Change array size to
29566         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29567         unconditional.
29568         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29569         1024]: Add entries for 10^2^13 and 10^2^14.
29570         [LAST_POW10 > _LAST_POW10]: Remove #error.
29571         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29572         (_fpioconst_pow10): Change array size to
29573         FPIOCONST_POW10_ARRAY_SIZE.
29574         * stdlib/gen-fpioconst.c: New file.
29575         * stdlib/gen-tst-strtod-round.c: Likewise.
29576         * stdlib/tst-strtod-round-data: Likewise.
29577         * stdlib/tst-strtod-round.c: Likewise.
29578         * stdlib/Makefile (tests): Add tst-strtod-round.
29579
29580         [BZ #14459]
29581         * stdlib/strtod_l.c: Include <stdint.h>.
29582         (NDEBUG): Do not define.
29583         (round_and_return): Change EXPONENT parameter to type intmax_t.
29584         Rearrange calculations to avoid internal overflow possibilities.
29585         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29586         Rearrange calculations to avoid internal overflow possibilities.
29587         Assert that number fits inside MPNSIZE limbs.
29588         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29589         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29590         calculations and add assertions to avoid internal overflow
29591         possibilities.  Add casts to avoid signed/unsigned operations.
29592         * stdlib/tst-strtod-overflow.c: New file.
29593         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29594
29595 2012-08-25  Marek Polacek  <polacek@redhat.com>
29596
29597         * time/time.h: Fix some typos in comments.
29598
29599 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29600
29601         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29602         * posix/tst-rfc3484-2.c: Likewise.
29603         * posix/tst-rfc3484-3.c: Likewise.
29604
29605 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29606
29607         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29608         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29609
29610 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29611
29612         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29613         #include of fxstatat64.c.
29614
29615 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29616
29617         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29618         * shadow/getspent_r.c: Likewise.
29619         * shadow/getspnam.c: Likewise.
29620         * shadow/getspnam_r.c: Likewise.
29621         * gshadow/getsgent.c: Likewise.
29622         * gshadow/getsgent_r.c: Likewise.
29623         * gshadow/getsgnam.c: Likewise.
29624         * gshadow/getsgnam_r.c: Likewise.
29625         * inet/getnetbyad.c: Likewise.
29626         * inet/getnetbyad_r.c: Likewise.
29627         * inet/getnetbynm.c: Likewise.
29628         * inet/getnetbynm_r.c: Likewise.
29629         * inet/getnetent.c: Likewise.
29630         * inet/getnetent_r.c: Likewise.
29631         * inet/getproto.c: Likewise.
29632         * inet/getproto_r.c: Likewise.
29633         * inet/getprtent.c: Likewise.
29634         * inet/getprtent_r.c: Likewise.
29635         * inet/getprtname.c: Likewise.
29636         * inet/getprtname_r.c: Likewise.
29637         * inet/getrpcbyname.c: Likewise.
29638         * inet/getrpcbyname_r.c: Likewise.
29639         * inet/getrpcbynumber.c: Likewise.
29640         * inet/getrpcbynumber_r.c: Likewise.
29641         * inet/getrpcent.c: Likewise.
29642         * inet/getrpcent_r.c: Likewise.
29643         * inet/getaliasent.c: Likewise.
29644         * inet/getaliasent_r.c: Likewise.
29645         * inet/getaliasname.c: Likewise.
29646         * inet/getaliasname_r.c: Likewise.
29647         * nscd/getgrgid_r.c: Likewise.
29648         * nscd/getgrnam_r.c: Likewise.
29649         * nscd/gethstbyad_r.c: Likewise.
29650         * nscd/gethstbynm3_r.c: Likewise.
29651         * nscd/getpwnam_r.c: Likewise.
29652         * nscd/getpwuid_r.c: Likewise.
29653         * nscd/getsrvbynm_r.c: Likewise.
29654         * nscd/getsrvbypt_r.c: Likewise.
29655         * nscd/gai.c: Likewise.
29656
29657         * configure.in (build_nscd): New substituted variable, set
29658         by --disable-build-nscd and defaults to $use_nscd.
29659         * configure: Regenerated.
29660         * config.make.in (build-nscd): New substituted variable.
29661         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29662         Change conditional to require [$(build-nscd) = yes] as well.
29663         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29664
29665         [BZ# 13696]
29666         * configure.in (use_nscd): New substituted variable, set by
29667         --disable-nscd.  If enabled, define USE_NSCD.
29668         * configure: Regenerated.
29669         * config.h.in: Add USE_NSCD.
29670         * config.make.in (use-nscd): New substituted variable.
29671         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29672         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29673         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29674         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29675         (CFLAGS-getgrnam_r.c): Likewise.
29676         (CFLAGS-initgroups.c): Likewise.
29677         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29678         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29679         Variables removed.
29680         * inet/getnetgrent_r.c
29681         (nscd_setnetgrent): New function, broken out of ...
29682         (setnetgrent): ... here.  Call it.
29683         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29684         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29685         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29686         * nscd/Makefile (routines, aux): Move definitions after include of
29687         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29688         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29689         Conditionalize on [USE_NSCD].
29690         (is_nscd, nscd_init_cb): Likewise.
29691         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29692         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29693         * nss/nss_db/db-init.c: Likewise.
29694         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29695         [USE_NSCD].
29696         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29697         (make_request): Use it.
29698         (cache_valid_p): New function.
29699         (__check_pf): Use it.
29700         * NEWS: Add item for --disable-nscd.
29701
29702 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29703
29704         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29705         to support sed >= 4.2.1-20-ga9bf076.
29706         * configure: Regenerated.
29707
29708 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29709
29710         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29711         Conditionalize whole body on [IREL].
29712
29713 2012-08-22  Jeff Law <law@redhat.com>
29714
29715         [BZ #14505]
29716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29717         if the family is PF_UNSPEC.
29718
29719 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29720
29721         * Makerules (lib-version): Rename from V.
29722         (install-lib-nosubdir): Change V to lib-version.
29723
29724 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29725
29726         [BZ #14252]
29727         * powerpc32/power6/wcschr.c: New file.
29728         * powerpc32/power6/wcscpy.c: New file.
29729         * powerpc32/power6/wcsrchr.c: New file.
29730         * powerpc64/power6/wcschr.c: New file.
29731         * powerpc64/power6/wcscpy.c: New file.
29732         * powerpc64/power6/wcsrchr.c: New file.
29733
29734 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29735
29736         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29737         (two_way_short_needle): Use it.
29738         * string/strstr.c (AVAILABLE1_USES_J): Define.
29739         * string/strcasestr.c: Likewise.
29740
29741         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29742         array references.
29743         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29744
29745         [BZ #11607]
29746         * NEWS: Add an entry.
29747         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29748         define their defaults.
29749         (two_way_short_needle): Detect end-of-string on-the-fly.
29750         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29751         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29752         * string/bug-strcasestr1.c: New test.
29753         * string/Makefile: Run it.
29754
29755 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29756
29757         [BZ #11607]
29758         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29759         the first character.
29760
29761 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29762
29763         * csu/elf-init.c (__libc_csu_irel): Function removed.
29764         * csu/libc-start.c (apply_irel): New function.
29765         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29766
29767 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29768
29769         * sysdeps/unix/sysv/linux/kernel-features.h
29770         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29771         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29772         <kernel-features.h>.
29773         [__NR_fadvise64_64]: Make code unconditional.
29774         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29775         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29776         !__NR_fadvise64_64)]: Likewise.
29777         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29778         !__NR_fadvise64_64))]: Likewise.
29779         [__NR_fadvise64]: Make code unconditional.
29780         [!__NR_fadvise64]: Remove conditional code.
29781         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29782         <kernel-features.h>.
29783         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29784         unconditional.
29785         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29786         conditional code.
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29788         not include <kernel-features.h>.
29789         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29790         unconditional.
29791         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29792         conditional code.
29793         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29794         include <kernel-features.h>.
29795         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29796         unconditional.
29797         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29798         conditional code.
29799
29800 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29801
29802         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29803         slight instruction rearrangements per scrollpipe analysis.
29804         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29805
29806 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29807
29808         * manual/syslog.texi (syslog; vsyslog, closelog):
29809         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29810         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29811
29812         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29813         DSOCAPS to match condition on defining it.
29814
29815 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29816
29817         * sysdeps/unix/sysv/linux/kernel-features.h
29818         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29820         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29821         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29823         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29824         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29826         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29827         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29828
29829         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29830         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29831
29832         * sysdeps/unix/sysv/linux/kernel-features.h
29833         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29834         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29835         unconditional.
29836         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29837         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29838         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29839         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29840         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29841         Make code unconditional.
29842         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29843         (__mmap64) [!__NR_mmap2]: Likewise.
29844         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29845         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29846         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29847         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29848         [__NR_mmap2]: Make code unconditional.
29849         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29850         (__mmap64) [!__NR_mmap2]: Likewise.
29851
29852 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29853
29854         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29855
29856 2012-08-18  Andreas Jaeger  <aj@suse.de>
29857
29858         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29859
29860 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29861
29862         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29863         * include/unistd.h (__have_sock_cloexec): Likewise.
29864         (__have_pipe2): Likewise.
29865         (__have_dup3): Likewise.
29866
29867 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29868
29869         [BZ #9685]
29870         * include/unistd.h (__have_pipe2): Change define into an extern int.
29871         (__have_dup3): Likewise.
29872         * socket/have_sock_cloexec.c: Include fcntl.h.
29873         (__have_pipe2): New variable.
29874         (__have_dup3): Likewise.
29875
29876 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29877
29878         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29879
29880 2012-08-17  Marek Polacek  <polacek@redhat.com>
29881
29882         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29883         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29884
29885 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29886
29887         * configure.in: Add AC_SUBST for sysheaders.
29888         * configure: Regenerated.
29889         * config.make.in (sysheaders): New substituted variable.
29890
29891         * sysdeps/unix/mkfifo.c: Moved ...
29892         * sysdeps/posix/mkfifo.c: ... here.
29893         * sysdeps/unix/mkfifoat.c: Moved ...
29894         * sysdeps/posix/mkfifoat.c: ... here.
29895
29896         * sysdeps/unix/utime.c: Moved ...
29897         * sysdeps/posix/utime.c: ... here.
29898
29899         * sysdeps/unix/time.c: Moved ...
29900         * sysdeps/posix/time.c: ... here.
29901         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29902         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29903
29904         * sysdeps/unix/nice.c: Moved ...
29905         * sysdeps/posix/nice.c: ... here.
29906
29907         * sysdeps/unix/alarm.c: Moved ...
29908         * sysdeps/posix/alarm.c: ... here.
29909
29910         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29911
29912 2012-08-17  Jeff Law <law@redhat.com>
29913
29914         * intl/Makefile (codeset_mo): New variable.
29915         ($(codeset_mo)): New target.
29916         (tst-codeset.out): Depend on that.  Remove explicit rule.
29917         (tst-gettext3.out, tst-gettext5.out): Likewise.
29918         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29919         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29920         * intl/tst-codeset.sh: Remove.
29921         * intl/tst-gettext3.sh: Likewise.
29922         * intl/tst-gettext5.sh: Likewise.
29923
29924 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29925
29926         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29927         * sysdeps/unix/syscalls.list: ... here.
29928
29929         * sysdeps/posix/getaddrinfo.c
29930         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29931         (gaiconf_init, gaiconf_reload): Use them.
29932         [!_STATBUF_ST_NSEC]
29933         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29934         Define using time_t rather than struct timespec.
29935
29936         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29937         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29938         Macros removed.
29939         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29940         [!NO_THREADS].
29941         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29942         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29943         Likewise.
29944
29945         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29946         __libc_cleanup_push argument.
29947
29948         * bits/param.h: New file.
29949         * misc/sys/param.h: New file.
29950         * include/sys/param.h: New file.
29951         * misc/Makefile (headers): Add bits/param.h.
29952         * sysdeps/generic/sys/param.h: File removed.
29953         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29954         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29955         * sysdeps/mach/hurd/bits/param.h: New file.
29956         * sysdeps/mach/hurd/sys/param.h: File removed.
29957
29958         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29959         last change.
29960
29961         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29962         [_IO_MTSAFE_IO].
29963         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29964         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29965         New macros.
29966
29967         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29968         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29969         rather than -D_IO_MTSAFE_IO conditionally.
29970         * stdio-common/Makefile (CPPFLAGS): Likewise.
29971         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29972         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29973         Use $(libio-mtsafe).
29974         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29975         of -D_IO_MTSAFE_IO.
29976         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29977         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29978         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29979         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29980         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29981         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29982         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29983         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29984         (CFLAGS-fread_u_chk.c): Likewise.
29985         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29986         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29987         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29988         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29989         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29990         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29991         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29992         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29993         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29994
29995         * libio/Makefile: Test [$(libc-reentrant) = yes]
29996         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29997
29998         * Makeconfig
29999         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30000         * sysdeps/pthread/configure: File removed.
30001         * sysdeps/pthread/Makeconfig: New file.
30002         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30003         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30004
30005 2012-08-16  Gary Benson  <gbenson@redhat.com>
30006
30007         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30008         unmapping the first object in a namespace.
30009
30010 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30011
30012         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30013         (__internal_setnetgrent): ... this.  Add internal_function to
30014         definition.  Add libc_hidden_def.
30015         (setnetgrent): Update caller.
30016         (internal_endnetgrent): Renamed to ...
30017         (__internal_endnetgrent): ... this.  Add internal_function to
30018         definition.  Add libc_hidden_def.
30019         (endnetgrent): Update caller.
30020         (internal_getnetgrent_r): Renamed to ...
30021         (__internal_getnetgrent_r): ... this.  Add internal_function to
30022         definition.  Add libc_hidden_def.
30023         (__getnetgrent_r): Update caller.
30024         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30025
30026 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30027
30028         * stdlib/longlong.h: Update from GCC.
30029
30030 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30031
30032         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30033         on _QL, which is set by umul_ppmm but never used.
30034         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30035         variables, which are set by GMP macros but never used.
30036         * stdio-common/_itowa.c (_itowa): Likewise.
30037         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30038         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30039
30040 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30041
30042         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30043         struct La_sh_regs is not constant.
30044         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30045         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30046         and struct La_sparc64_regs are not constant.
30047
30048 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30049
30050         * sysdeps/unix/sysv/linux/kernel-features.h
30051         (__ASSUME_POSIX_TIMERS): Remove.
30052         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30053         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30054         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30055         Make code unconditional.
30056         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30057         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30058         Make code unconditional.
30059         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30060         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30061         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30062         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30063         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30064         Make code unconditional.
30065         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30066         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30067         (__libc_missing_posix_timers): Remove.
30068
30069 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30070
30071         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30072         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30073
30074         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30075
30076         * elf/dl-sym.c: Include <stdlib.h>.
30077
30078         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30079         constants, which avoids warnings in 32-bit builds.
30080
30081         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30082         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30083
30084         * misc/lseek.c: File moved to ...
30085         * io/lseek.c: ... here.
30086
30087         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30088
30089         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30090         shifting LEN more than 31 bits at once.
30091
30092 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30093
30094         [BZ #14195]
30095         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30096         segmentation fault for a case of two empty input strings.
30097         * string/test-strncasecmp.c (check1): Renamed to...
30098         (bz12205): ...this.
30099         (bz14195): Add new testcase for two empty input strings and N > 0.
30100         (test_main): Call new testcase, adapt for renamed function.
30101
30102 2012-08-15  Andreas Jaeger  <aj@suse.de>
30103
30104         [BZ #14090]
30105         * crypt/md5test2.c: New test, based on test supplied by Serge
30106         Belyshev <belyshev@depni.sinp.msu.ru>.
30107         * crypt/Makefile (xtests): Add md5test-giant..
30108         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30109
30110 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30111
30112         [BZ #14090]
30113         * crypt/md5.c (md5_process_block): Don't assume the buffer
30114         length is less than 2**32.
30115         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30116         length is less than 2**64.
30117
30118 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30119
30120         * string/str-two-way.h: Include <sys/param.h>.
30121         (MAX): Macro removed.
30122
30123         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30124         Move #define and #undef of memmove to just before and after
30125         including <string.h>.
30126
30127         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30128         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30129         and after including <string.h>.  Move declarations of
30130         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30131         to before #include "string/memmove.c".
30132
30133         * include/dirent.h: Declare __getdirentries.
30134
30135         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30136         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30137
30138 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30139
30140         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30141         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30142         * sysdeps/i386/configure: Regenerated.
30143         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30144         STABS_CURRENT_FILE, and STABS_FUN.
30145         (END): Remove call to STABS_FUN_END.
30146         (STABS_CURRENT_FILE1): Delete.
30147         (STABS_CURRENT_FILE): Likewise.
30148         (STABS_FUN): Likewise.
30149         (STABS_FUN_END): Likewise.
30150         (STABS_FUN2): Likewise.
30151         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30152         * sysdeps/x86_64/configure: Regenerated.
30153
30154 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30155
30156         * elf/dl-open.c: Include <atomic.h>.
30157         * elf/dl-lookup.c: Likewise.
30158
30159 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30160
30161         * sysdeps/unix/sysv/linux/kernel-features.h
30162         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30163         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30164         unconditionally.
30165         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30166         unconditionally.
30167         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30168         condition on __ASSUME_CLONE_THREAD_FLAGS.
30169
30170 2012-08-14  Andreas Jaeger  <aj@suse.de>
30171
30172         * sysdeps/i386/fpu/libm-test-ulps: Update.
30173
30174 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30175
30176         * include/atomic.h (atomic_exchange_and_add): Split into ...
30177         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30178         New atomic macros.
30179
30180 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30181
30182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30183
30184 2012-08-13  Jeff Law <law@redhat.com>
30185
30186         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30187         null byte in the output string.
30188
30189 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30190
30191         * sysdeps/unix/sysv/linux/kernel-features.h
30192         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30193         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30194         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30195         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30196         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30197         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30198         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30199
30200 2012-08-09  Jeff Law <law@redhat.com>
30201
30202         [BZ #13939]
30203         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30204         When avoid_arena is set, don't retry in the that arena.  Pick the
30205         next one, whatever it might be.
30206         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30207         (arena_lock): Pass in new parameter to arena_get2.
30208         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30209         arena_get2.
30210         (__libc_malloc): Unify retrying after main arena failure with
30211         __libc_memalign version.
30212         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30213
30214 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30215
30216         [BZ #14166]
30217         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30218         to __redirect_strstr.
30219         (__strstr_sse42): Use typeof __redirect_strstr.
30220         (__strstr_ia32): Likewise.
30221         (__libc_strstr): New prototype.
30222         (strstr): Renamed to ...
30223         (__libc_strstr): This.
30224         (strstr): New strong alias of __libc_strstr.
30225         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30226         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30227         __redirect_time.
30228         Include <time.h>.
30229         (__libc_time): New prototype.
30230         (time_ifunc): Replace time with __libc_time.
30231         (time): New strong alias and hidden definition of __libc_time.
30232         (__GI_time): Remove strong alias.
30233         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30234         Include <stddef.h>.
30235         (memmove): Redefined to __redirect_memmove.
30236         (__memmove_sse2): Use typeof __redirect_memmove.
30237         (__memmove_ssse3): Likewise.
30238         (__memmove_ssse3_back): Likewise.
30239         (__libc_memmove): New prototype.
30240         (memmove): Renamed to ...
30241         (__libc_memmove): This.
30242         (memmove): New strong alias of __libc_memmove.
30243
30244 2012-08-08  Mark Salter  <msalter@redhat.com>
30245
30246         * elf/elf.h
30247         (R_MN10300_TLS_GD): Define.
30248         (R_MN10300_TLS_LD): Likewise.
30249         (R_MN10300_TLS_LDO): Likewise.
30250         (R_MN10300_TLS_GOTIE): Likewise.
30251         (R_MN10300_TLS_IE): Likewise.
30252         (R_MN10300_TLS_LE): Likewise.
30253         (R_MN10300_TLS_DTPMOD): Likewise.
30254         (R_MN10300_TLS_DTPOFF): Likewise.
30255         (R_MN10300_TLS_TPOFF): Likewise.
30256         (R_MN10300_SYM_DIFF): Likewise.
30257         (R_MN10300_ALIGN): Likewise.
30258         (R_MN10300_NUM): Update.
30259
30260 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30261
30262         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30263         Remove.
30264
30265 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30266
30267         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30268
30269         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30270         sysdeps/unix -> sysdeps/posix move.
30271         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30272
30273 2012-08-07      Allan McRae     <allan@archlinux.org>
30274
30275         [BZ #14303]
30276         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30277         (SUNOS_CPP): Likewise.
30278         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30279         not found.
30280         (open_input): Call CPP using execvp.
30281
30282 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30283
30284         * sysdeps/unix/sysv/linux/kernel-features.h
30285         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30286         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30287         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30288         (__ASSUME_WAITID_SYSCALL): Likewise.
30289         * sysdeps/unix/sysv/linux/dl-execstack.c
30290         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30291         code unconditional.
30292         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30293         conditional code.
30294         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30295         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30296         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30297         code.
30298         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30299         unconditional.
30300         [__ASSUME_WAITID_SYSCALL]: Likewise.
30301         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30302
30303 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30304
30305         * sysdeps/unix/closedir.c: Renamed to ...
30306         * sysdeps/posix/closedir.c: ... here.
30307         * sysdeps/unix/dirfd.c: Renamed to ...
30308         * sysdeps/posix/dirfd.c: ... here.
30309         * sysdeps/unix/dirstream.h: Renamed to ...
30310         * sysdeps/posix/dirstream.h: ... here.
30311         * sysdeps/unix/fdopendir.c: Renamed to ...
30312         * sysdeps/posix/fdopendir.c: ... here.
30313         * sysdeps/unix/opendir.c: Renamed to ...
30314         * sysdeps/posix/opendir.c: ... here.
30315         * sysdeps/unix/readdir.c: Renamed to ...
30316         * sysdeps/posix/readdir.c: ... here.
30317         * sysdeps/unix/readdir_r.c: Renamed to ...
30318         * sysdeps/posix/readdir_r.c: ... here.
30319         * sysdeps/unix/rewinddir.c: Renamed to ...
30320         * sysdeps/posix/rewinddir.c: ... here.
30321         * sysdeps/unix/seekdir.c: Renamed to ...
30322         * sysdeps/posix/seekdir.c: ... here.
30323         * sysdeps/unix/telldir.c: Renamed to ...
30324         * sysdeps/posix/telldir.c: ... here.
30325         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30326         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30327         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30328         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30329
30330         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30331         * bits/fcntl.h: ... here.
30332
30333         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30334         not 0.
30335         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30336         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30337         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30338         (struct flock): Move l_start, l_len to the beginning.
30339         Use __pid_t for l_pid.
30340         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30341         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30342         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30343         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30344         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30345         [__USE_LARGEFILE64] (struct flock64): New type.
30346         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30347
30348         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30349         * bits/dirent.h: ... here.
30350
30351         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30352         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30353
30354 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30355
30356         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30357         Change from 2.6.0 to 2.6.16.
30358         * sysdeps/unix/sysv/linux/configure: Regenerated.
30359         * sysdeps/unix/sysv/linux/kernel-features.h
30360         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30361         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30362         version.
30363         (__ASSUME_UTIMES): Likewise.
30364         (__ASSUME_CLONE_STOPPED): Remove.
30365         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30366         architectures, not kernel version.
30367         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30368         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30369         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30370         (__ASSUME_WAITID_SYSCALL): Likewise.
30371         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30372         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30373         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30374         refer to older versions.
30375
30376 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30377
30378         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30379         Define alphasort64 as an alias.
30380         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30381         Define versionsort64 as an alias.
30382         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30383         Define scandir64 as an alias.
30384         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30385         Define scandirat64 as an alias.
30386         * dirent/alphasort64.c (alphasort64):
30387         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30388         * dirent/versionsort64.c: Likewise.
30389         * dirent/scandir64.c: Likewise.
30390         * dirent/scandirat64.c: Likewise.
30391         * sysdeps/wordsize-64/alphasort.c: File removed.
30392         * sysdeps/wordsize-64/alphasort64.c: File removed.
30393         * sysdeps/wordsize-64/scandir.c: File removed.
30394         * sysdeps/wordsize-64/scandir64.c: File removed.
30395         * sysdeps/wordsize-64/scandirat.c: File removed.
30396         * sysdeps/wordsize-64/scandirat64.c: File removed.
30397         * sysdeps/wordsize-64/versionsort.c: File removed.
30398         * sysdeps/wordsize-64/versionsort64.c: File removed.
30399         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30400         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30401         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30402         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30403         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30404         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30405         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30406         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30407
30408         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30410         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30412         [defined __arch64__ || defined __sparcv9]
30413         (__INO_T_MATCHES_INO64_T): New macro.
30414         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30415         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30416         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30417         * sysdeps/unix/sysv/linux/bits/dirent.h
30418         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30419         (_DIRENT_MATCHES_DIRENT64): New macro.
30420
30421         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30422         Define lockf64 as an alias.
30423         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30424         Define fseeko64 as an alias.
30425         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30426         Define ftello64 as an alias.
30427         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30428         Define _IO_fgetpos64 and fgetpos64 as aliases.
30429         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30430         Define _IO_fsetpos64 and fsetpos64 as aliases.
30431         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30432         Conditionalize body on this.
30433         * libio/fseeko64.c: Likewise.
30434         * libio/ftello64.c: Likewise.
30435         * libio/iofgetpos64.c: Likewise.
30436         * libio/iofsetpos64.c: Likewise.
30437         * sysdeps/wordsize-64/lockf.c: File removed.
30438         * sysdeps/wordsize-64/lockf64.c: File removed.
30439         * sysdeps/wordsize-64/fseeko.c: File removed.
30440         * sysdeps/wordsize-64/fseeko64.c: File removed.
30441         * sysdeps/wordsize-64/ftello.c: File removed.
30442         * sysdeps/wordsize-64/ftello64.c: File removed.
30443         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30444         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30445         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30446         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30447         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30448         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30449         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30450         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30451         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30452         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30453         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30454         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30455         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30456         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30457
30458         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30460         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30462         [defined __arch64__ || defined __sparcv9]
30463         (__OFF_T_MATCHES_OFF64_T): New macro.
30464         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30465         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30466         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30467         (__OFF_T_MATCHES_OFF64_T): New macro.
30468
30469 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30470
30471         * stdlib/secure-getenv.c (__secure_getenv): Replace
30472         GLIBC_2_16 with GLIBC_2_17.
30473
30474 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30475
30476         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30477         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30478
30479 2012-08-03  David S. Miller  <davem@davemloft.net>
30480
30481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30482
30483 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30484
30485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30486         Remove.
30487         (__ASSUME_CORRECT_SI_PID): Likewise.
30488         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30489         (__ASSUME_TMPFS_NAME): Likewise.
30490         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30491         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30492         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30493         (HAVE_AUX_SECURE): Make definition unconditional.
30494         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30495         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30496
30497 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30498
30499         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30500         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30501         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30502         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30503         __eloop_threshold instead of SYMLOOP_MAX.
30504
30505         * sysdeps/generic/eloop-threshold.h: New file.
30506         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30507         of MAXSYMLINKS.
30508         * elf/chroot_canon.c (chroot_canon): Likewise.
30509
30510 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30511
30512         [BZ #13717]
30513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30514         Change to 2.6.0 everywhere.
30515         * sysdeps/unix/sysv/linux/configure: Regenerated.
30516         * sysdeps/unix/sysv/linux/kernel-features.h
30517         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30518         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30519         kernel versions.
30520         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30521         (__ASSUME_FUTEX_REQUEUE): Remove.
30522         (__ASSUME_STATFS64): Define unconditionally.
30523         (__ASSUME_AT_SECURE): Likewise.
30524         (__ASSUME_CORRECT_SI_PID): Likewise.
30525         (__ASSUME_TGKILL): Define without depending on kernel version for
30526         i386.
30527         (__ASSUME_UTIMES): Likewise.
30528         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30529         kernel version.
30530         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30531         (__ASSUME_TMPFS_NAME): Likewise.
30532         * README: Update reference to Linux kernel versions.
30533
30534 2012-08-02  Marek Polacek  <polacek@redhat.com>
30535
30536         [BZ# 14150]
30537         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30538         libc_cv_asm_type_prefix with %.
30539         * configure: Regenerated.
30540         * include/libc-symbols.h: Remove comment about
30541         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30542         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30543         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30544         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30545         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30546         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30547         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30548         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30549         * elf/tst-unique2mod1.c: Likewise.
30550         * elf/tst-unique1mod2.c: Likewise.
30551         * elf/tst-unique1mod1.c: Likewise.
30552         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30553         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30554         Replace ASM_TYPE_DIRECTIVE with .type.
30555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30556         * sysdeps/i386/sysdep.h: Likewise.
30557         * sysdeps/x86_64/sysdep.h: Likewise.
30558         * sysdeps/sh/sysdep.h: Likewise.
30559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30560         Do not define ASM_TYPE_DIRECTIVE.
30561         * sysdeps/powerpc/sysdep.h: Likewise.
30562         * sysdeps/powerpc/powerpc32/sysdep.h:
30563         Replace ASM_TYPE_DIRECTIVE with .type.
30564         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30565         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30566         * sysdeps/i386/fpu/e_powf.S: Likewise.
30567         * sysdeps/i386/fpu/e_expl.S: Likewise.
30568         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30569         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30570         * sysdeps/i386/fpu/e_pow.S: Likewise.
30571         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30572         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30573         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30574         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30575         * sysdeps/i386/fpu/e_log2.S: Likewise.
30576         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30577         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30578         * sysdeps/i386/fpu/e_powl.S: Likewise.
30579         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30580         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30581         * sysdeps/i386/fpu/e_logl.S: Likewise.
30582         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30583         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30584         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30585         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30586         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30587         * sysdeps/i386/fpu/e_log.S: Likewise.
30588         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30589         * sysdeps/i386/fpu/e_logf.S: Likewise.
30590         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30591         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30592         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30593         * sysdeps/i386/fpu/e_log10.S: Likewise.
30594         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30596         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30597         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30598         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30599         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30600         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30601         * sysdeps/i386/i686/strtok.S: Likewise.
30602         * sysdeps/i386/i386-mcount.S: Likewise.
30603         * sysdeps/i386/strtok.S: Likewise.
30604         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30605         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30606         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30607         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30608         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30609         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30610         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30611         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30612         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30613         * sysdeps/x86_64/_mcount.S: Likewise.
30614         * sysdeps/x86_64/strtok.S: Likewise.
30615         * sysdeps/sh/_mcount.S: Likewise.
30616
30617 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30618
30619         * libio/iofopen.c: Include <fcntl.h>.
30620         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30621         (_IO_fopen64, fopen64): Define as aliases.
30622         * libio/iofopen64.c: Include <fcntl.h>.
30623         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30624         Conditionalize body on this.
30625         * sysdeps/wordsize-64/iofopen.c: File removed.
30626         * sysdeps/wordsize-64/iofopen64.c: File removed.
30627
30628 2012-08-01  Marek Polacek  <polacek@redhat.com>
30629
30630         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30631         Use dlfcn directly instead of a variable.
30632         (binfmt-subdir): Do not define.
30633         (dlfcn): Likewise.
30634
30635 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30636
30637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30638         Remove all definitions.
30639         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30640         <kernel-features.h>.
30641         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30642         (miss_F_GETOWN_EX): Remove all definitions.
30643         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30644         macro definition.
30645         [!__ASSUME_FCNTL64]: Remove conditional code.
30646         [__ASSUME_FCNTL64]: Make code unconditional.
30647         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30648         <kernel-features.h>.
30649         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30650         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30651         (lockf64) [__NR_fcntl64]: Make code unconditional.
30652         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30653
30654         * sysdeps/unix/sysv/linux/kernel-features.h
30655         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30656         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30657         Make code unconditional.
30658         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30659         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30661         [__NR_vfork]: Make code unconditional.
30662         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30663         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30665         [__NR_vfork]: Make code unconditional.
30666         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30667         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30668
30669 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30670
30671         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30672         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30673
30674         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30675         Define mkstemp64 as an alias.
30676         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30677         Define mkstemps64 as an alias.
30678         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30679         Define mkostemp64 as an alias.
30680         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30681         Define mkostemps64 as an alias.
30682         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30683         Conditionalize body on this.
30684         * misc/mkostemp64.c: Likewise.
30685         * misc/mkostemps64.c: Likewise.
30686         * misc/mkstemps64.c: Likewise.
30687         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30688         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30689         * sysdeps/wordsize-64/mkostemp.c: File removed.
30690         * sysdeps/wordsize-64/mkstemp.c: File removed.
30691         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30692         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30693         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30694         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30695
30696         [BZ #14138]
30697         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30698         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30699         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30700         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30701
30702         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30703         compat_symbol macros from <shlib-compat.h> rather than the underlying
30704         default_symbol_version and symbol_version macros, so that DEFAULT
30705         lines in shlib-versions are respected.
30706         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30707
30708 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30709
30710         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30711         Declare with warn_unused_result.
30712         (setgid, setregid, setegid, setresgid): Likewise.
30713         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30714         Likewise.
30715         * WUR-REPORT: Remove set*id functions.
30716
30717 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30718
30719         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30720
30721 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30722
30723         [BZ #10191]
30724         * include/sys/socket.h (__libc_accept, __libc_accept4):
30725         Add attribute_hidden.
30726         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30727
30728         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30729         use of PTR_MANGLE.
30730         * inet/getnetgrent_r.c (setup): Likewise.
30731
30732         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30733
30734 2012-07-31  David S. Miller  <davem@davemloft.net>
30735
30736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30737
30738 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30739
30740         [BZ #13629]
30741         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30742         value between 1.0 and 2.0 and smaller part has absolute value less
30743         than 1.0.
30744         * math/s_clog10.c (__clog10): Likewise.
30745         * math/s_clog10f.c (__clog10f): Likewise.
30746         * math/s_clog10l.c (__clog10l): Likewise.
30747         * math/s_clogf.c (__clogf): Likewise.
30748         * math/s_clogl.c (__clogl): Likewise.
30749         * math/libm-test.inc (clog_test): Add more tests.
30750         (clog10_test): Likewise.
30751         * sysdeps/i386/fpu/libm-test-ulps: Update.
30752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30753
30754 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30755
30756         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30757         Exit with zero in case no suitable GID is found, and write a
30758         message to standard error.
30759
30760 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30761
30762         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30763         rather than to 1.
30764         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30765         (MAXPATHLEN): Removed.
30766         (NOGROUP, NODEV): New macros.
30767         (setbit, clrbit, isset, isclr): New macros.
30768         (howmany, roundup, powerof2): New macros.
30769         (DEV_BSIZE): New macro.
30770
30771         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30772         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30773
30774         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30775         definition on [!__NO_LONG_DOUBLE_MATH].
30776
30777         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30778         PTR_MANGLE and PTR_DEMANGLE.
30779
30780         * socket/accept4.c (accept4): Rename to __libc_accept4.
30781         Define accept4 as a weak alias.
30782
30783         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30784         on [_DIRENT_HAVE_D_TYPE].
30785         * io/ftw.c (ftw_dir): Likewise.
30786
30787         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30788
30789         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30790
30791         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30792         Use the BSD numbers rather than the arbitrary ones we had.
30793         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30794         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30795         (SIGXCPU, SIGXFSZ): New macros.
30796         (_NSIG): Now 32.
30797
30798         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30799         initializer on [_LIBC_REENTRANT].
30800
30801         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30802         definitions inside [_POSIX_MAPPED_FILES].
30803
30804         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30805
30806         * dirent/opendir.c: Include <fcntl.h>.
30807
30808         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30809         (__libc_getspecific): Likewise.
30810         (__libc_key_create): Likewise.
30811
30812         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30813         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30814         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30815         (tmpfile64): Define as alias.
30816         * sysdeps/wordsize-64/tmpfile.c: File removed.
30817         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30818         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30819         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30820
30821         * stdio-common/vfscanf.c: Include <stdbool.h>.
30822         * nss/makedb.c: Likewise.
30823         * stdio-common/_i18n_number.h: Likewise.
30824         * argp/argp-help.c: Likewise.
30825         * posix/wordexp.c: Likewise.
30826         * sysdeps/posix/spawni.c: Likewise.
30827         * nss/nss_files/files-initgroups.c: Likewise.
30828         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30829         * nss/nss_files/files-initgroups.c: Likewise.
30830         * nss/nss_db/db-netgrp.c: Likewise.
30831         * nss/nss_db/db-initgroups.c: Likewise.
30832         * io/fchmodat.c: Include <sys/stat.h>.
30833
30834         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30835         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30836
30837         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30838         [HAVE_MMAP].
30839
30840         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30841         Add multiple inclusion protection.
30842
30843 2012-07-27  David S. Miller  <davem@davemloft.net>
30844
30845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30846
30847 2012-07-27  Gary Benson  <gbenson@redhat.com>
30848
30849         [BZ #14298]
30850         * elf/rtld.c: Include <stap-probe.h>.
30851         (dl_main): Added static probes "init_start" and "init_complete".
30852         * elf/dl-load.c: Include <stap-probe.h>.
30853         (lose): Take new parameter "nsid".
30854         Added static probe "map_failed".
30855         (_dl_map_object_from_fd): Pass namespace id to lose.
30856         Added static probe "map_start".
30857         (open_verify): Pass namespace id to lose.
30858         * elf/dl-open.c: Include <stap-probe.h>.
30859         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30860         and "reloc_complete".
30861         * elf/dl-close.c: Include <stap-probe.h>.
30862         (_dl_close_worker): Added static probes "unmap_start" and
30863         "unmap_complete".
30864         * elf/rtld-debugger-interface.txt: New file documenting the above.
30865
30866 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30867
30868         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30869         rather than a string variable.
30870         * sunrpc/rpc_main.c (h_output): Likewise.
30871         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30872
30873 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30874
30875         * inet/check_native.c: New file.
30876
30877 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30878
30879         [BZ #13629]
30880         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30881         if larger part has absolute value 1.0.
30882         * math/s_clog10.c (__clog10): Likewise.
30883         * math/s_clog10f.c (__clog10f): Likewise.
30884         * math/s_clog10l.c (__clog10l): Likewise.
30885         * math/s_clogf.c (__clogf): Likewise.
30886         * math/s_clogl.c (__clogl): Likewise.
30887         * math/libm-test.inc (clog_test): Add more tests.
30888         (clog10_test): Likewise.
30889         * sysdeps/i386/fpu/libm-test-ulps: Update.
30890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30891
30892         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30893         (pltexit): Likewise.
30894         (La_regs): Likewise.
30895         (La_retval): Likewise.
30896         (int_retval): Likewise.
30897         Update #error for removed macros to refer only to definitions in
30898         tst-audit.h.
30899         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30900         macro.
30901         (pltexit): Likewise.
30902         (La_regs): Likewise.
30903         (La_retval): Likewise.
30904         (int_retval): Likewise.
30905         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30906         macro.
30907         (pltexit): Likewise.
30908         (La_regs): Likewise.
30909         (La_retval): Likewise.
30910         (int_retval): Likewise.
30911         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30912         macro.
30913         (pltexit): Likewise.
30914         (La_regs): Likewise.
30915         (La_retval): Likewise.
30916         (int_retval): Likewise.
30917         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30918         macro.
30919         (pltexit): Likewise.
30920         (La_regs): Likewise.
30921         (La_retval): Likewise.
30922         (int_retval): Likewise.
30923         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30924         macro.
30925         (pltexit): Likewise.
30926         (La_regs): Likewise.
30927         (La_retval): Likewise.
30928         (int_retval): Likewise.
30929         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30930         macro.
30931         (pltexit): Likewise.
30932         (La_regs): Likewise.
30933         (La_retval): Likewise.
30934         (int_retval): Likewise.
30935         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30936         macro definitions in tst-audit.h.
30937         * sysdeps/i386/tst-audit.h: New file.
30938         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30939         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30940         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30941         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30942         * sysdeps/sh/tst-audit.h: Likewise.
30943         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30944         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30945         * sysdeps/x86_64/tst-audit.h: Likewise.
30946
30947 2012-07-26  Andreas Jaeger  <aj@suse.de>
30948
30949         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30950         ptrace.
30951
30952         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30953         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30954         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30955         PTRACE_O_MASK.
30956         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30957         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30958         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30959
30960         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30961         value.
30962
30963         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30964         _sigsys.
30965         (si_call_addr, si_syscall, si_arch): Define new macro.
30966         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30967         _sigsys.
30968         (si_call_addr, si_syscall, si_arch): Define new marcro.
30969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30970         _sigsys.
30971         (si_call_addr, si_syscall, si_arch): Define new macro.
30972         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30973         _sigsys.
30974         (si_call_addr, si_syscall, si_arch): Define new macro.
30975
30976 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30977
30978         [BZ #13717]
30979         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30980         Change to 2.4.21 where previously 2.4.1.
30981         * sysdeps/unix/sysv/linux/configure: Regenerated.
30982         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30983         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30984         Linux kernel version.
30985         (__ASSUME_STD_AUXV): Remove.
30986         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30987         kernel version.
30988         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30989         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30990         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30991         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30992         (__ASSUME_NETLINK_SUPPORT): Likewise.
30993         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30994         (__no_netlink_support): Remove conditional definition.
30995         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30996         Remove.
30997         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30998         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30999         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31000         (if_nameindex_ioctl): Remove.
31001         (if_nameindex_netlink): Do not handle __no_netlink_support.
31002         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31003         code.
31004         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31005         Remove conditional code.
31006         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31007         code.
31008         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31009         unconditional.
31010         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31011         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31012         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31013         Remove.
31014         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31015         [!__ASSUME_STD_AUXV]: Remove conditional code.
31016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31017         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31018         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31020         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31021         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31022         code.
31023         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31025         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31026         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31027         conditional code.
31028         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31030         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31031         code.
31032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31033         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31034         conditional code.
31035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31036         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31037         code unconditional.
31038         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31039         conditional code.
31040         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31041         unconditional.
31042         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31043         conditional code.
31044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31045         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31046         unconditional.
31047         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31048         conditional code.
31049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31050         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31051         code unconditional.
31052         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31053         conditional code.
31054         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31055         unconditional.
31056         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31057         conditional code.
31058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31059         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31060         code unconditional.
31061         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31062         conditional code.
31063         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31064         unconditional.
31065         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31066         conditional code.
31067
31068 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31069
31070         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31071         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31072         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31073         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31074         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31075         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31077         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31078         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31079         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31080         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31081         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31082         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31083         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31084         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31085         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31086         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31087         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31088         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31090         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31091         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31093
31094 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31095
31096         * Versions.def: Add GLIBC_2.17.
31097         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31098         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31099         Introduce __libc_secure_getenv.
31100         * stdlib/Versions (2.17): Add secure_getenv
31101         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31102         * stdlib/secure-getenv.c: Rename __secure_getenv to
31103         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31104         symbol __secure_getenv for GLIBC_2.0.
31105         * stdlib/tst-secure-getenv.c: New.
31106         * stdlib/Makefile (tests): Add testcase.
31107         * manual/startup.texi (Environment Access): Document
31108         secure_getenv.
31109         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31110         __libc_secure_getenv.
31111         * inet/ruserpass.c (ruserpass): Likewise.
31112         * malloc/mtrace.c (mtrace): Likewise.
31113         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31114         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31115         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31116         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31117         HAVE_SECURE_GETENV.
31118         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31119         __secure_getenv to __libc_secure_getenv.
31120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31122         Likewise.
31123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31124         Likewise.
31125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31132
31133 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31134
31135         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31136         (struct La_i86_retval): Likewise.
31137         (struct La_x86_64_regs): Likewise.
31138         (struct La_x86_64_retval): Likewise.
31139         (struct La_x32_regs): Likewise.
31140         (struct La_x32_retval): Likewise.
31141         (struct La_ppc32_regs): Likewise.
31142         (struct La_ppc32_retval): Likewise.
31143         (struct La_ppc64_regs): Likewise.
31144         (struct La_ppc64_retval): Likewise.
31145         (struct La_sh_regs): Likewise.
31146         (struct La_sh_retval): Likewise.
31147         (struct La_s390_32_regs): Likewise.
31148         (struct La_s390_32_retval): Likewise.
31149         (struct La_s390_64_regs): Likewise.
31150         (struct La_s390_64_retval): Likewise.
31151         (struct La_sparc32_regs): Likewise.
31152         (struct La_sparc32_retval): Likewise.
31153         (struct La_sparc64_regs): Likewise.
31154         (struct La_sparc64_retval): Likewise.
31155         (struct audit_ifaces): Remove architecture-specific pltenter and
31156         pltexit members.
31157         * sysdeps/i386/ldsodefs.h: New file.
31158         * sysdeps/powerpc/ldsodefs.h: Likewise.
31159         * sysdeps/s390/ldsodefs.h: Likewise.
31160         * sysdeps/sh/ldsodefs.h: Likewise.
31161         * sysdeps/sparc/ldsodefs.h: Likewise.
31162         * sysdeps/x86_64/ldsodefs.h: Likewise.
31163
31164 2012-07-25  Marek Polacek  <polacek@redhat.com>
31165
31166         [BZ #6808]
31167         * math/libm-test.inc (yn_test): Add another test.
31168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31169         to ERANGE when the result is +-Inf.
31170         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31171         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31172         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31173         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31174
31175 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31176
31177         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31178         equal to 0.
31179         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31180         clock_t.
31181         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31182
31183 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31184
31185         * configure.in <sysdeps resolving>: Correct printing
31186         Implies_before.
31187         * configure: Regenerate.
31188
31189 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31190
31191         * math/w_ilogb.c: Include <limits.h>.
31192         * math/w_ilogbl.c: Likewise.
31193
31194 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31195
31196         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31197         va_copy.  Document allowing for unavailable va_copy only as
31198         pre-C99 compatibility.
31199         * manual/string.texi (Copying and Concatenation): Use va_copy
31200         instead of __va_copy in concat example.
31201
31202 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31203
31204         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31205         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31206         it if not null.
31207
31208         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31209         with O_NOLINK passed to __file_name_lookup.
31210
31211         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31212         with O_NOLINK passed to __file_name_lookup.
31213
31214         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31215         negative N or less than NGIDS.
31216
31217         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31218         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31219         enough.  Use memcpy instead of strncpy.
31220
31221 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31222
31223         * elf/Makefile (check-data): Remove.
31224         (localplt.data): New vpath directive.
31225         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31226         instead of $(check-data).
31227         * scripts/data/localplt-generic.data: Move to ...
31228         * sysdeps/generic/localplt.data: ... here.
31229         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31230         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31231         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31233         ... here.
31234         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31236         ... here.
31237         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31239         ... here.
31240         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31242         ... here.
31243         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31245         ... here.
31246         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31248         ... here.
31249
31250 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31251
31252         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31253         PPC32 and PPC64 files.
31254         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31255         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31256
31257 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31258
31259         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31260         __makecontext_ret to ...
31261         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31262         ... here and call exit if uc_link is NULL.  New file.
31263         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31264         __makecontext_ret.S.
31265         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31266         __makecontext_ret to ...
31267         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31268         ... here and call exit if uc_link is NULL.  New file.
31269         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31270         __makecontext_ret.S.
31271
31272 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31273
31274         * elf/elf.h (R_390_IRELATIVE): New definition.
31275         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31276         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31277         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31278         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31279         (elf_machine_lazy_rel): Likewise.
31280         * sysdeps/s390/dl-irel.h: New file.
31281         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31282         * sysdeps/s390/s390-64/memset.S: New asm code.
31283         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31284         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31285         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31286         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31287         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31288         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31289         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31290         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31291         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31292         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31293         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31294         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31295         * sysdeps/s390/s390-32/memset.S: New asm code.
31296         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31297
31298 2012-07-17  Marek Polacek  <polacek@redhat.com>
31299
31300         [BZ #14349]
31301         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31302         * sysdeps/s390/s390-64/configure.in: Likewise.
31303         * sysdeps/sparc/configure.in: Likewise.
31304         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31305         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31306         * sysdeps/i386/configure.in: Likewise.
31307         * sysdeps/x86_64/configure.in: Likewise.
31308         * sysdeps/sh/configure.in: Likewise.
31309         * sysdeps/s390/s390-32/configure: Regenerated.
31310         * sysdeps/s390/s390-64/configure: Likewise.
31311         * sysdeps/x86_64/configure: Likewise.
31312         * sysdeps/sh/configure: Likewise.
31313         * sysdeps/powerpc/powerpc64/configure: Likewise.
31314         * sysdeps/powerpc/powerpc32/configure: Likewise.
31315         * sysdeps/sparc/configure: Likwise.
31316         * sysdeps/i386/configure: Likewise.
31317
31318         * elf/dl-open.c: Comment fixes.
31319
31320 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31321
31322         * Makefile [CXX] (check-data): Remove.
31323         [CXX] (c++-types.data): New vpath directive.
31324         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31325         vpath.  Do not allow for C++ type data being missing.
31326         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31327         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31328         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31329         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31330         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31331         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31332         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31334         ... here.
31335         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31337         ... here.
31338         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31340         ... here.
31341         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31343         ... here.
31344         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31346         ... here.
31347         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31349         ... here.
31350         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31352         ... here.
31353         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31355
31356         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31357         definitions to architecture-specific files.
31358         (TLS_IE): Likewise.
31359         (TLS_LD): Likewise.
31360         (TLS_GD): Likewise.
31361         * sysdeps/i386/tls-macros.h: New file.
31362         * sysdeps/powerpc/tls-macros.h: Likewise.
31363         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31364         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31365         * sysdeps/sh/tls-macros.h: Likewise.
31366         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31367         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31368         * sysdeps/x86_64/tls-macros.h: Likewise.
31369
31370 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31371
31372         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31373         zero value for regular exit case.
31374
31375         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31376         (__start_context): Preserve zero value for regular exit case.
31377
31378 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31379             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31380
31381         * manual/setjmp.texi (setcontext): Clarify normal process
31382         termination when uc_link is the null pointer.
31383         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31384         exit call.
31385
31386 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31387
31388         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31389         preprocessor.  Test for each exception mask separately.
31390
31391 2012-07-16  Andreas Jaeger  <aj@suse.de>
31392
31393         * po/ru.po: Update from translation team.
31394
31395 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31396
31397         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31398         equal to 0.
31399         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31400         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31401         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31402         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31404
31405 2012-07-13  Andreas Jaeger  <aj@suse.de>
31406
31407         * po/fr.po: Update from translation team.
31408
31409 2012-07-12  Marek Polacek  <polacek@redhat.com>
31410
31411         [BZ #14173]
31412         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31414         loop condition.
31415
31416 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31417
31418         [BZ #13717]
31419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31420         Change to 2.4.1 where previously 2.4.0.
31421         * sysdeps/unix/sysv/linux/configure: Regenerated.
31422         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31423         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31424         version.
31425         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31426         (__ASSUME_AT_CLKTCK): Remove.
31427         (__ASSUME_AT_PAGESIZE): Likewise.
31428         (__ASSUME_AT_XID): Likewise.
31429         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31430         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31431         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31432         unconditionally.
31433         (HAVE_AUX_PAGESIZE): Likewise.
31434         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31435         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31436         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31437
31438 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31439
31440         [BZ #14307]
31441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31442         the temporary buffer used to invoke __gethostbyname2_r,
31443         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31444         host_data / struct gaih_addrtuple.
31445         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31446         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31447         header file nss/nsswitch.h.
31448         * nss/nsswitch.h (global scope): Add definition of implementation
31449         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31450         resolv/nss_dns/dns-host.c).
31451
31452 2012-07-11  Andreas Jaeger  <aj@suse.de>
31453
31454         * po/fr.po: Update from translation team.
31455
31456         * po/sv.po: Update from translation team
31457         * po/fr.po: Another update from translation team.
31458
31459 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31460
31461         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31462         for subnormals or multiply small sinh result by itself.
31463         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31465
31466 2012-07-11  David S. Miller  <davem@davemloft.net>
31467
31468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31469
31470 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31471
31472         [BZ #14347]
31473         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31474         (INTERNAL_MARK): Shift it here.
31475
31476 2012-07-10  Marek Polacek  <polacek@redhat.com>
31477
31478         [BZ #14151]
31479         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31480         libc_cv_asm_global_directive with .globl.
31481         * configure: Regenerated.
31482         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31483         with .globl.
31484         * sysdeps/i386/configure: Regenerated.
31485         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31486         with .globl.
31487         * sysdeps/x86_64/configure: Regenerated.
31488         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31489         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31490         * elf/tst-unique2mod2.c: Likewise.
31491         * elf/tst-unique2mod1.c: Likewise.
31492         * elf/tst-unique1mod2.c: Likewise.
31493         * elf/tst-unique1mod1.c: Likewise.
31494         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31495         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31496         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31497         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31498         * sysdeps/mach/sysdep.h: Likewise.
31499         * sysdeps/i386/sysdep.h: Likewise.
31500         * sysdeps/i386/i386-mcount.S: Likewise.
31501         * sysdeps/x86_64/_mcount.S: Likewise.
31502         * sysdeps/x86_64/sysdep.h: Likewise.
31503         * sysdeps/sh/_mcount.S: Likewise.
31504         * sysdeps/sh/sysdep.h: Likewise.
31505         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31506         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31507         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31508         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31509         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31510         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31511         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31512         * locale/localeinfo.h: Likewise.
31513         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31514         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31515
31516 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31517
31518         [BZ #14336]
31519         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31520         system".
31521         * manual/message.texi (The Uniforum approach): Likewise.
31522         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31523         (glibc iconv Implementation): Likewise.
31524
31525 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31526
31527         [BZ #14337]
31528         * math/s_clog.c (__clog): Avoid scaling a value down where that
31529         could result in underflow.
31530         * math/s_clog10.c (__clog10): Likewise.
31531         * math/s_clog10f.c (__clog10f): Likewise.
31532         * math/s_clog10l.c (__clog10l): Likewise.
31533         * math/s_clogf.c (__clogf): Likewise.
31534         * math/s_clogl.c (__clogl): Likewise.
31535         * math/libm-test.inc (clog_test): Add more tests.
31536         (clog10_test): Likewise.
31537         * sysdeps/i386/fpu/libm-test-ulps: Update.
31538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31539
31540 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31541
31542         [BZ #14283]
31543         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31544         by 7 not 8 to examine high bit of fractional part.
31545
31546         [BZ #14042]
31547         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31548         for call to __mcount_internal.
31549         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31550         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31551         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31552
31553 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31554
31555         [BZ #14154]
31556         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31557         approximation for values within 0x1p-13f of an odd multiple of
31558         pi/4.
31559         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31560         exception.  Add more tests.
31561         * sysdeps/i386/fpu/libm-test-ulps: Update.
31562
31563         [BZ #6778]
31564         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31565         inputs and return -1 for them.  Do not check for +Inf in case not
31566         reachable for +Inf.
31567         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31568         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31569         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31570         and return -1 for them.  Do not check for +Inf in case not
31571         reachable for +Inf.
31572         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31573         define.
31574         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31575         and return -1 for them.  Do not check for +Inf in case not
31576         reachable for +Inf.
31577         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31578         spurious underflow.
31579         * sysdeps/i386/fpu/libm-test-ulps: Update.
31580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31581
31582 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31583
31584         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31585
31586 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31587
31588         [BZ #14157]
31589         [BZ #14331]
31590         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31591         could result in spurious underflow.  Scale down values above
31592         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31593         * math/s_csqrtf.c (__csqrtf): Likewise.
31594         * math/s_csqrtl.c (__csqrtl): Likewise.
31595         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31596         spurious underflow.
31597         * sysdeps/i386/fpu/libm-test-ulps: Update.
31598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31599
31600 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31601
31602         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31603         xopen-msg.sed.
31604         * catgets/xopen-msg.awk: New file.
31605         * catgets/xopen-msg.sed: Removed.
31606
31607         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31608         po2text.sed.
31609         * intl/po2test.awk: New file.
31610         * intl/po2test.sed: Removed.
31611
31612 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31613
31614         [BZ #14328]
31615         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31616         or multiply small sinh result by itself.
31617         * math/s_ctanf.c (__ctanf): Likewise.
31618         * math/s_ctanh.c (__ctanh): Likewise.
31619         * math/s_ctanhf.c (__ctanhf): Likewise.
31620         * math/s_ctanhl.c (__ctanhl): Likewise.
31621         * math/s_ctanl.c (__ctanl): Likewise.
31622         * math/libm-test.inc (ctan_test_tonearest): New function.
31623         (ctan_test_towardzero): Likewise.
31624         (ctan_test_downward): Likewise.
31625         (ctan_test_upward): Likewise.
31626         (ctanh_test_tonearest): Likewise.
31627         (ctanh_test_towardzero): Likewise.
31628         (ctanh_test_downward): Likewise.
31629         (ctanh_test_upward): Likewise.
31630         (main): Call these new functions.
31631         * sysdeps/i386/fpu/libm-test-ulps: Update.
31632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31633
31634 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31635
31636         * .gitignore: Delete /ports entry.
31637
31638 2012-07-03  Andreas Jaeger  <aj@suse.de>
31639
31640         * po/bg.po: Update from translation team.
31641         * po/cs.po: Likewise.
31642         * po/de.po: Likewise.
31643         * po/hr.po: Likewise.
31644         * po/nl.pl: Likewise.
31645         * po/pl.po: Likewise.
31646         * po/vi.po: Likewise.
31647
31648 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31649
31650         * Makeconfig [!+link] (+link-before-libc): New variable.
31651         [!+link] (+link-after-libc): Likewise.
31652         [!+link] (+link-tests): Likewise.
31653         [!+link] (+link): Define in terms of $(+link-before-libc) and
31654         $(+link-after-libc).
31655         [!+link-static] (+link-static-before-libc): New variable.
31656         [!+link-static] (+link-static-after-libc): Likewise.
31657         [!+link-static] (+link-static-tests): Likewise.
31658         [!+link-static] (+link-static): Define in terms of
31659         $(+link-static-before-libc) and $(+link-static-after-libc).
31660         [build-shared] (link-libc-before-gnulib): New variable.
31661         [build-shared] (link-libc-tests): Likewise.
31662         [build-shared] (link-libc): Define in terms of
31663         $(link-libc-before-gnulib).
31664         [!build-shared] (link-libc-tests): New variable.
31665         (link-libc-static-tests): New variable.
31666         [!gnulib] (gnulib-arch): New variable.
31667         [!gnulib] (gnulib-tests): Likewise.
31668         [!gnulib] (static-gnulib-arch): Likewise.
31669         [!gnulib] (static-gnulib-tests): Likewise.
31670         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31671         Define with "=" instead of ":=".
31672         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31673         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31674         * Rules (binaries-all-notests): New variable.
31675         (binaries-all-tests): Likewise.
31676         (binaries-static-notests): Likewise.
31677         (binaries-static-tests): Likewise.
31678         (binaries-all): Define using $(binaries-all-notests) and
31679         $(binaries-all-tests).
31680         (binaries-static): Define using $(binaries-static-notests) and
31681         $(binaries-static-tests).
31682         (binaries-shared-tests): New variable.
31683         (binaries-shared-notests): Likewise.
31684         (binaries-shared): Remove variable.
31685         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31686         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31687         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31688         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31689         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31690         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31691         * elf/Makefile (sln-modules): New variable.
31692         (extra-objs): Add $(sln-modules:=.o).
31693         (ldconfig-modules): Add static-stubs.
31694         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31695         * elf/static-stubs.c: New file.
31696
31697         [BZ #14283]
31698         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31699         by 7 not 8 to examine high bit of fractional part.  Use volatile
31700         variables when splitting into final array of floats if
31701         __FLT_EVAL_METHOD__ != 0.
31702         * math/libm-test.inc (cos_test): Add another test.
31703         (sin_test): Likewise.
31704         * sysdeps/i386/fpu/libm-test-ulps: Update.
31705
31706         [BZ #14273]
31707         * math/libm-test.inc (cosh_test): Add more tests.
31708
31709         * version.h (RELEASE): Set to "development".
31710         (VERSION): Set to "2.16.90".
31711
31712 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31713
31714         * NEWS: Update copyright. Remove last-updated date.
31715         Mention math library bug fixes and timezone data changes.
31716         * README: Mention GNU/Hurd, x32, and HPPA support status.
31717
31718 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31719
31720         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31721
31722 2012-06-27  Andreas Jaeger  <aj@suse.de>
31723
31724         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31725
31726 2012-06-25  Andreas Jaeger  <aj@suse.de>
31727
31728         * sysdeps/s390/fpu/libm-test-ulps: Update.
31729
31730 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31731             Thomas Schwinge  <thomas@codesourcery.com>
31732
31733         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31734         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31736         fanotify_mark.
31737
31738 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31739
31740         * sysdeps/mach/start.c: Remove file.
31741         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31742         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31743         * sysdeps/sh/init-first.c: Likewise.
31744
31745         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31746         registers for frame unwinding purposes, add CFI directives.
31747         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31748         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31749         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31750         Likewise.
31751
31752         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31753         __fortify_fail returning.
31754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31755
31756         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31757         sysdeps/sh/____longjmp_chk.S.
31758         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31759         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31760         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31761         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31762
31763         * sysdeps/sh/abort-instr.h: New file.
31764         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31765         process in case exit returns.
31766
31767         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31768         initialize the GOT register before use.
31769
31770         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31771         calculation of ARGC > 4.
31772
31773         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31774         meaningful names to some local labels.
31775
31776 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31777             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31778
31779         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31780         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31781         (__arch_compare_and_exchange_val_16_acq): Likewise.
31782         (__arch_compare_and_exchange_val_32_acq): Likewise.
31783         (atomic_exchange_and_add): Fix gUSA sequence.
31784         (atomic_add): Likewise.
31785         (atomic_add_negative): Likewise.
31786         (atomic_add_zero): Likewise.
31787         (atomic_bit_test_set): Likewise.
31788
31789 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31790
31791         [BZ #13579]
31792         * include/link.h (struct link_map): Add l_free_initfini.
31793         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31794         l_initfini.
31795         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31796         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31797         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31798         set.
31799
31800 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31801
31802         * configure.in: Use AC_LANG_SOURCE.
31803         * configure: Regenerate.
31804
31805 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31806
31807         * configure.in (libc_cv_localstatedir): New substituted variable.
31808         * configure: Regenerated.
31809         * config.make.in (localstatedir): New variable, substituted from
31810         libc_cv_localstatedir.
31811         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31812         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31813         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31814         * sysdeps/gnu/configure: Regenerated.
31815
31816 2012-06-21  Jeff Law  <law@redhat.com>
31817
31818         [BZ #14277]
31819         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31820         free.  Simplify list management for _LIBC case.
31821
31822 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31823
31824         [BZ #14273]
31825         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31826         Clear sign bit of 64-bit integer value before comparing against
31827         overflow value.
31828
31829         * sysdeps/mach/configure: Regenerated.
31830
31831 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31832
31833         [BZ #14278]
31834         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31835
31836 2012-06-21  Jeff Law  <law@redhat.com>
31837
31838         [BZ #13882]
31839         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31840         uint16_t for elements in the "seen" array to avoid char overflows.
31841         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31842         * elf/dl-open.c (dl_open_worker): Likewise.
31843
31844 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31845
31846         * scripts/list-sources.sh: Scan PORTS for translations.
31847         * po/libc.pot: Regenerated.
31848
31849 2012-06-21  Andreas Jaeger  <aj@suse.de>
31850
31851         [BZ #12194]
31852         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31853         warning.
31854         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31855         * bits/byteswap-16.h (__bswap_16): Likewise.
31856         * bits/byteswap.h (__bswap_constant_16): Likewise.
31857
31858 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31859
31860         [BZ #14117]
31861         * sysdeps/i386/fpu_control.h: Removed.
31862         * sysdeps/x86_64/fpu_control.h: Moved to ...
31863         * sysdeps/x86/fpu_control.h: Here.
31864
31865         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31866         (_FPU_SETCW): Likewise.
31867
31868 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31869
31870         [BZ #14117]
31871         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31872         * sysdeps/x86/fpu/bits/mathinline.h: This.
31873         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31874
31875         [BZ #14050]
31876         [BZ #14117]
31877         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31878         functions if __x86_64__ is defined.
31879
31880 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31881
31882         * string/endian.h: Add !__ASSEMBLER__ condition for including
31883         conversion interfaces.
31884
31885 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31886
31887         [BZ #14241]
31888         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31889         of ABS(x) in calculating zero to negative powers other than odd
31890         integers.
31891         * math/libm-test.inc (pow_test): Add more tests.
31892
31893 2012-06-15  Andreas Jaeger  <aj@suse.de>
31894
31895         * manual/contrib.texi (Contributors): Update entry of Liubov
31896         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31897         Machado Filho.
31898
31899 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31900
31901         * string/string.h: Add __wur to GNU version of strerror_r.
31902
31903 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31904
31905         [BZ #14229]
31906         * string/Makefile (tests): Add tst-strtok_r.
31907         * string/tst-strtok_r.c: New file.
31908         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31909         RAX_LP/RDX_LP on SAVE_PTR.
31910
31911 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31912
31913         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31914
31915 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31916
31917         * libm_test.inc (csqrt_test): Allow more spurious underflow
31918         exceptions.
31919         (j0_test): Likewise.
31920         (j1_test): Likewise.
31921         (y0_test): Likewise.
31922         (y1_test): Likewise.
31923
31924 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31925
31926         * po/Makefile (libc.pot): Use UTF-8 charset.
31927
31928 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31929
31930         [BZ #14210]
31931         Suppress sign-conversion warning from FD_SET.
31932         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31933         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31934         not unsigned long int.
31935         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31936
31937 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31938
31939         [BZ #14050]
31940         [BZ #14117]
31941         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31942         __extern_always_inline instead of __extern_inline.
31943         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31944         (__signbit): Likewise.
31945         (__signbitl): Support C++ namespace.
31946         (lrintf): New inline function.
31947         (lrint): Likewise.
31948         (llrintf): Likewise.
31949         (llrint): Likewise.
31950         (fmaxf): Likewise.
31951         (fmax): Likewise.
31952         (fminf): Likewise.
31953         (fmin): Likewise.
31954         (rint): Likewise.
31955         (rintf): Likewise.
31956         (ceil): Likewise.
31957         (ceilf): Likewise.
31958         (floor): Likewise.
31959         (floorf): Likewise.
31960         (nearbyint): Likewise.
31961         (nearbyintf): Likewise.
31962
31963 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31964
31965         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31966         non-default versions.
31967
31968 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31969
31970         [BZ #14218]
31971         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31972
31973 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31974
31975         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31976         (FE_UPWARD, FE_DOWNWARD): Don't define.
31977         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31978         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31979
31980         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31981         reading it.
31982         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31983         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31984
31985 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31986
31987         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31988         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31989         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31990         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31991
31992 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31993
31994         [BZ #14117]
31995         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31996         * sysdeps/i386/fpu/Implies: New file.
31997         * sysdeps/x86_64/fpu/Implies: Likewise.
31998         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31999         * sysdeps/x86/fpu/bits/fenv.h: This.
32000
32001         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32002         __SSE_MATH__.
32003
32004 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32005
32006         [BZ #14134]
32007         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32008         character 0xffff that matches the last element of the
32009         conversion table.
32010
32011 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32012
32013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32014         fmodl commit.
32015
32016 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32017
32018         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32019         values higher than 25.6283.
32020
32021 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32022
32023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32024         subnormal exponent extraction and add some __builtin_expect.
32025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32026         Fix for subnormal mantissa calculation.
32027
32028 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32029
32030         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32031         cpu2 is -1 and errno is not ENOSYS.
32032
32033 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32034
32035         [BZ #14117]
32036         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32037         * sysdeps/x86/bits/string.h: This.
32038         * sysdeps/x86_64/bits/string.h: Removed.
32039
32040         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32041         if not compiling for x86-64, but compiling for >= i486.
32042
32043         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32044         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32045
32046         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32047         New macro from Linux kernel 3.4.0.
32048         (FP_XSTATE_MAGIC2): Likewise.
32049         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32050         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32051         (struct _fpx_sw_bytes): New struct.
32052         (struct _xsave_hdr): Likewise.
32053         (struct _ymmh_state): Likewise.
32054         (struct _xstate): Likewise.
32055
32056         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32057         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32058         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32059         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32060         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32061         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32062
32063         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32064         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32065         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32066         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32067         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32068         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32069
32070 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32071
32072         [BZ #13743]
32073         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32074         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32075         (sysdep_headers): Include sys/platform/ppc.h.
32076         * sysdeps/powerpc/test-gettimebase.c: Test for
32077         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32078         * manual/Makefile (appendices): Include platform.texi.
32079         * manual/contrib.texi (Contributors): Update @node pointers.
32080         * manual/maint.texi (Maintenance): Likewise.
32081         (Platform): New node.
32082         * manual/platform.texi: New file.  Document the new features.
32083
32084 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32085             Jakub Jelinek  <jakub@redhat.com>
32086
32087         [BZ #14188]
32088         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32089         where __builtin_expect is unavailable.
32090
32091 2012-06-03  David S. Miller  <davem@davemloft.net>
32092
32093         * stdlib/longlong.h: Updated from GCC.
32094
32095 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32096
32097         [BZ #14042]
32098         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32099         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32100         __mcount_internal.
32101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32102         (GLIBC_2.16): Likewise.
32103
32104 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32105
32106         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32107
32108 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32109
32110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32111         (default-abi): New variable.
32112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32113         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32114         variable.
32115         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32116         Likewise.
32117         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32118         Likewise.
32119         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32120         Likewise.
32121
32122         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32123         definition.  Document in comment.
32124
32125 2012-06-01  David S. Miller  <davem@davemloft.net>
32126
32127         * stdlib/longlong.h: Updated from GCC.
32128
32129 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32130
32131         [BZ #14117]
32132         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32133         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32134         sys/debugreg.h sys/io.h here.
32135         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32136         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32137         sys/io.h.
32138         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32139         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32140         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32141         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32142         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32143         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32144
32145         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32146         Define only if __x86_64__ is defined.
32147
32148 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32149
32150         [BZ #14048]
32151         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32152         Use int64_t for variable i.
32153         * math/libm-test.inc (fmod_test): Add more tests.
32154
32155         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32156         z computation is not scheduled after fetestexcept.
32157         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32158         Use math_force_eval instead of asm to ensure calculation scheduled
32159         before exception test.
32160         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32161         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32162
32163 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32164
32165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32166         computation is not scheduled after fetestexcept.
32167
32168 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32169
32170         [BZ #14117]
32171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32172         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32173
32174 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32175
32176         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32177         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32178
32179 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32180
32181         [BZ #14117]
32182         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32183         <bits/wordsize.h>.
32184         (__WCHAR_MIN): Support __WORDSIZE == 64.
32185         (__WCHAR_MAX): Likewise.
32186
32187         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32188         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32189
32190         [BZ #14183]
32191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32192         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32193
32194         [BZ #14117]
32195         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32196         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32197
32198         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32199         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32200
32201         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32202         Defined to 1 if __x86_64__ isn't defined.
32203         (_STAT_VER_LINUX_OLD): New.
32204         (st_atime): Remove duplicate.
32205         (st_mtime): Likewise.
32206         (st_ctime): Likewise.
32207
32208 2012-05-31  David S. Miller  <davem@davemloft.net>
32209
32210         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32211         entries.
32212
32213 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32214
32215         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32216         gen-libm-test.pl.
32217
32218         [BZ #14132]
32219         * elf/dl-reloc.c: Include <_itoa.h>.
32220         (_dl_reloc_bad_type): Remove use of INTUSE.
32221         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32222         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32223         * stdio-common/psiginfo.c (psiginfo): Likewise.
32224         * stdio-common/psignal.c (psignal): Likewise.
32225         * string/strsignal.c (strsignal): Likewise.
32226         * include/signal.h (_sys_siglist): Declare hidden proto.
32227         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32228         INTVARDEF with libc_hidden_data_def.
32229         * stdio-common/itoa-udigits.c: Likewise.
32230         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32231         (_itoa_lower_digits_internal): Remove declaration.
32232         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32233         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32234         (_sys_sigabbrev_internal): Remove aliases.
32235         (_sys_siglist): Define hidden alias.
32236
32237 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32238
32239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32240         bits/sysctl.h.
32241
32242 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32243
32244         [BZ #14117]
32245         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32246         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32247
32248         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32249         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32250         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32251         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32252         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32253         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32254
32255         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32256         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32257         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32258
32259         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32260         with __addr.
32261         (insw): Likewise.
32262         (insl): Likewise.
32263         (outsb): Likewise.
32264         (outsw): Likewise.
32265         (outsl): Likewise.
32266
32267         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32268         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32269         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32270
32271         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32272         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32273         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32274         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32275         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32276         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32277
32278         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32279         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32280
32281         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32282         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32283
32284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32286         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32287
32288         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32289         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32290         to ...
32291         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32292
32293         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32294         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32295         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32296
32297         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32298         for x86-64.
32299         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32300
32301 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32302
32303         * math/math.h (M_El): Use two more decimal places.
32304         (M_LOG2El): Likewise.
32305         (M_LOG10El): Likewise.
32306         (M_LN2l): Likewise.
32307         (M_LN10l): Likewise.
32308         (M_PIl): Likewise.
32309         (M_PI_2l): Likewise.
32310         (M_PI_4l): Likewise.
32311         (M_1_PIl): Likewise.
32312         (M_2_PIl): Likewise.
32313         (M_2_SQRTPIl): Likewise.
32314         (M_SQRT2l): Likewise.
32315         (M_SQRT1_2l): Likewise.
32316
32317 2012-05-31  David S. Miller  <davem@davemloft.net>
32318
32319         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32320         values between float registers.
32321         * sysdeps/sparc/sparc64/memset.S: Likewise.
32322         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32323
32324 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32325
32326         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32327         -D_FORTIFY_SOURCE=1.
32328         (CPPFLAGS-tst-longjmp_chk.c): Define.
32329         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32330         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32331         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32332         CFLAGS-tst-wchar-h.c.
32333
32334 2012-05-31  Marek Polacek  <polacek@redhat.com>
32335
32336         [BZ #14132]
32337         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32338         __endmntent_internal): Remove declaration.
32339         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32340         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32341         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32342
32343 2012-05-30  David S. Miller  <davem@davemloft.net>
32344
32345         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32346         (___Q_simulate_exceptions): Use real FP ops rather than writing
32347         into the %fsr.
32348         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32349         Likewise.
32350
32351 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32352
32353         [BZ #14117]
32354         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32355         * sysdeps/x86/bits/xtitypes.h: This.
32356
32357         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32358         * sysdeps/x86/bits/wordsize.h: This.
32359
32360         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32361         * sysdeps/x86/bits/huge_vall.h: This.
32362
32363         * sysdeps/i386/bits/select.h: Removed.
32364         * sysdeps/x86_64/bits/select.h: Renamed to ...
32365         * sysdeps/x86/bits/select.h: This.
32366
32367         * sysdeps/i386/bits/setjmp.h: Removed.
32368         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32369         * sysdeps/x86/bits/setjmp.h: This.
32370
32371         * sysdeps/i386/bits/mathdef.h: Removed.
32372         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32373         * sysdeps/x86/bits/mathdef.h: This.
32374
32375 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32376
32377         [BZ #14132]
32378         * include/sys/socket.h (__connect_internal)
32379         (__libc_sa_len_internal): Remove declaration.
32380         (__connect, __libc_sa_len): Declare hidden_proto.
32381         (SA_LEN): Remove use of INTUSE.
32382         * socket/connect.c: Add libc_hidden_def.
32383         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32384         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32385         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32386         alias.
32387         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32388         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32389         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32390         of adding _internal alias.
32391
32392 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32393
32394         [BZ #14117]
32395         * sysdeps/i386/bits/link.h: Removed.
32396         * sysdeps/i386/bits/linkmap.h: Likewise.
32397         * sysdeps/x86_64/bits/link.h: Renamed to ...
32398         * sysdeps/x86/bits/link.h: This.
32399         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32400         * sysdeps/x86/bits/linkmap.h: This.
32401
32402         * sysdeps/i386/bits/endian.h: Removed.
32403         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32404         * sysdeps/x86/bits/endian.h: This.
32405
32406         * sysdeps/i386/bits/byteswap.h: Removed.
32407         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32408         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32409         * sysdeps/x86/bits/byteswap.h: This.
32410         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32411         * sysdeps/x86/bits/byteswap-16.h: This.
32412         * sysdeps/i386/Implies: Add x86.
32413         * sysdeps/x86_64/Implies: Likewise.
32414
32415 2012-05-30  David S. Miller  <davem@davemloft.net>
32416
32417         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32418         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32419         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32420         (FP_TRAPPING_EXCEPTIONS): Define.
32421         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32422         (FP_TRAPPING_EXCEPTIONS): Define.
32423         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32424         subnormals only when inexact has been signalled or underflow
32425         exceptions are enabled.
32426         (_FP_PACK_CANONICAL): Likewise.
32427
32428 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32429
32430         [BZ #14183]
32431         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32432         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32433
32434 2012-05-30  Richard Henderson  <rth@twiddle.net>
32435
32436         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32437         with #ifndef NOT_IN_libc.
32438
32439         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32440         marked to avoid plt entry.
32441
32442 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32443
32444         [BZ #14112]
32445         * Makeconfig (default-abi): New macro.
32446         (abi-includes): Likewise.
32447         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32448         $(abi-$(default-abi)-lib-soname) for soname if defined.
32449         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32450         abi-variants.
32451         * Makefile (installed-stubs): Likewise.
32452         * include/stubs-biarch.h: Removed.
32453         * scripts/lib-names.awk: Only handle one library at a time.
32454         * scripts/soversions.awk: Remove WORDSIZE support.
32455         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32456         entries.
32457         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32458         Removed.
32459         (syscall-list-default-condition): Likewise.
32460         (syscall-list-default-condition): Likewise.
32461         (syscall-list-includes): Likewise.
32462         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32463         syscall-list-* with abi-*.  Handle undefined abi-variants.
32464         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32465         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32466         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32467         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32468         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32469         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32470         Removed.
32471         (syscall-list-32-options): Likewise.
32472         (syscall-list-32-condition): Likewise.
32473         (syscall-list-64-options): Likewise.
32474         (syscall-list-64-condition): Likewise.
32475         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32476         macro.
32477         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32478         Renamed to ...
32479         (abi-*): This.
32480         (abi-64-ld-soname): New macro.
32481         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32482         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32483         Renamed to ...
32484         (abi-*): This.
32485         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32486         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32487
32488 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32489
32490         * sysdeps/unix/sysv/linux/kernel-features.h
32491         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32492         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32493         include <kernel-features.h>.
32494         [!__NR_ftruncate64]: Remove conditional code.
32495         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32496         [__NR_ftruncate64]: Make code unconditional.
32497         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32498         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32499         include <kernel-features.h>.
32500         [!__NR_ftruncate64]: Remove conditional code.
32501         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32502         [__NR_ftruncate64]: Make code unconditional.
32503         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32505         include <kernel-features.h>.
32506         [!__NR_ftruncate64]: Remove conditional code.
32507         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32508         [__NR_ftruncate64]: Make code unconditional.
32509         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32511         include <kernel-features.h>.
32512         [!__NR_ftruncate64]: Remove conditional code.
32513         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32514         [__NR_ftruncate64]: Make code unconditional.
32515         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32516
32517         * configure.in (libc_cv_fpie): Weaken to a compile test using
32518         LIBC_TRY_CC_OPTION.
32519         * configure: Regenerated.
32520
32521 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32522
32523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32527         Refreshed.
32528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32534         Refreshed.
32535
32536 2012-05-27  David S. Miller  <davem@davemloft.net>
32537
32538         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32539         (___Q_zero): New.
32540         (__Q_simulate_exceptions): Return void.  Change to simulate
32541         exceptions by writing into the %fsr.
32542         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32543         (__Qp_handle_exceptions): Likewise.
32544         (numbers): Delete.
32545         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32546         __Qp_handle_exceptions.
32547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32548         __Qp_handle_exceptions.
32549         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32550         as unused and give dummy FP_RND_NEAREST initializer.
32551         (FP_INHIBIT_RESULTS): Define.
32552         (___Q_simulate_exceptions): Update declaration.
32553         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32554         formatting.
32555         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32556         as unused and give dummy FP_RND_NEAREST initializer.
32557         (__Qp_handle_exceptions): Update declaration.
32558         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32559         formatting.
32560
32561 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32562
32563         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32564         the temporary FPU control word.
32565         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32566         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32567         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32568         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32569         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32570         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32571         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32572         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32573         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32574         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32575         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32576
32577 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32578
32579         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32580         fields.
32581
32582 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32583
32584         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32585         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32586         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32587         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32588         Likewise.
32589         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32590         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32591         Likewise.
32592
32593 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32594
32595         * po/h.po: Update from translation team.
32596
32597 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32598
32599         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32600
32601         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32602         handling of denormals.
32603         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32604         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32605         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32606         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32608         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32610         Likewise.
32611
32612 2012-05-26  Marek Polacek  <polacek@redhat.com>
32613
32614         [BZ #14152]
32615         * math/libm-test.inc (fma_test): Don't always expect underflow
32616         exception.
32617
32618 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32619
32620         [BZ #12416]
32621         * elf/tst-execstack.c: Include stackinfo.h.
32622         (do_test): Adjust test case to ensure that pthread_getattr_np
32623         behaviour remains the same after marking stack executable.
32624
32625 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32626
32627         * sysdeps/unix/sysv/linux/kernel-features.h
32628         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32629         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32630         kernel-features.h.
32631         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32632         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32633         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32634         kernel-features.h.
32635         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32636         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32637
32638 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32639
32640         * configure.in: Define the default includes to being none.
32641         * configure: Regenerated.
32642
32643 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32644
32645         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32646         * sysdeps/x86_64/setjmp.S: Likewise.
32647         * sysdeps/i386/bsd-setjmp.S: Likewise.
32648         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32649         * sysdeps/i386/setjmp.S: Likewise.
32650         * sysdeps/i386/__longjmp.S: Likewise.
32651         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32652         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32653
32654         * include/stap-probe.h: New file.
32655         * configure.in: Handle --enable-systemtap.
32656         * configure: Regenerated.
32657         * config.h.in (USE_STAP_PROBE): New #undef.
32658         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32659         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32660         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32661
32662 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32663
32664         [BZ #13717]
32665         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32666         to 2.4.0 where earlier.
32667         * sysdeps/unix/sysv/linux/configure: Regenerated.
32668         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32669         <kernel-features.h>.
32670         [__ASSUME_32BITUIDS]: Make code unconditional.
32671         [!__ASSUME_32BITUIDS]: Remove conditional code.
32672         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32673         <kernel-features.h>.
32674         [__ASSUME_32BITUIDS]: Make code unconditional.
32675         [!__ASSUME_32BITUIDS]: Remove conditional code.
32676         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32677         [__ASSUME_32BITUIDS]: Make code unconditional.
32678         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32679         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32680         <kernel-features.h>.
32681         [__ASSUME_32BITUIDS]: Make code unconditional.
32682         [!__ASSUME_32BITUIDS]: Remove conditional code.
32683         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32684         <kernel-features.h>.
32685         [__ASSUME_32BITUIDS]: Make code unconditional.
32686         [!__ASSUME_32BITUIDS]: Remove conditional code.
32687         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32688         <kernel-features.h>.
32689         [__ASSUME_32BITUIDS]: Make code unconditional.
32690         [!__ASSUME_32BITUIDS]: Remove conditional code.
32691         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32692         <kernel-features.h>.
32693         [__ASSUME_32BITUIDS]: Make code unconditional.
32694         [!__ASSUME_32BITUIDS]: Remove conditional code.
32695         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32696         <kernel-features.h>.
32697         [__ASSUME_32BITUIDS]: Make code unconditional.
32698         [!__ASSUME_32BITUIDS]: Remove conditional code.
32699         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32700         <kernel-features.h>.
32701         [__ASSUME_32BITUIDS]: Make code unconditional.
32702         [!__ASSUME_32BITUIDS]: Remove conditional code.
32703         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32704         <kernel-features.h>.
32705         [__ASSUME_32BITUIDS]: Make code unconditional.
32706         [!__ASSUME_32BITUIDS]: Remove conditional code.
32707         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32708         <kernel-features.h>.
32709         [__ASSUME_32BITUIDS]: Make code unconditional.
32710         [!__ASSUME_32BITUIDS]: Remove conditional code.
32711         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32712         <kernel-features.h>.
32713         [__ASSUME_32BITUIDS]: Make code unconditional.
32714         [!__ASSUME_32BITUIDS]: Remove conditional code.
32715         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32716         <kernel-features.h>.
32717         [__ASSUME_32BITUIDS]: Make code unconditional.
32718         [!__ASSUME_32BITUIDS]: Remove conditional code.
32719         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32720         <kernel-features.h>.
32721         [__NR_setresgid] (__setresgid): Do not declare.
32722         [__ASSUME_32BITUIDS]: Make code unconditional.
32723         [!__ASSUME_32BITUIDS]: Remove conditional code.
32724         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32725         <kernel-features.h>.
32726         [__NR_setresuid] (__setresuid): Do not declare.
32727         [__ASSUME_32BITUIDS]: Make code unconditional.
32728         [!__ASSUME_32BITUIDS]: Remove conditional code.
32729         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32730         <kernel-features.h>.
32731         [__ASSUME_32BITUIDS]: Make code unconditional.
32732         [!__ASSUME_32BITUIDS]: Remove conditional code.
32733         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32734         <kernel-features.h>.
32735         [__ASSUME_32BITUIDS]: Make code unconditional.
32736         [!__ASSUME_32BITUIDS]: Remove conditional code.
32737         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32738         <kernel-features.h>.
32739         [__ASSUME_32BITUIDS]: Make code unconditional.
32740         [!__ASSUME_32BITUIDS]: Remove conditional code.
32741         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32742         <kernel-features.h>.
32743         [__ASSUME_32BITUIDS]: Make code unconditional.
32744         [!__ASSUME_32BITUIDS]: Remove conditional code.
32745         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32746         <kernel-features.h>.
32747         [__ASSUME_32BITUIDS]: Make code unconditional.
32748         [!__ASSUME_32BITUIDS]: Remove conditional code.
32749         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32750         <kernel-features.h>.
32751         [__ASSUME_32BITUIDS]: Make code unconditional.
32752         [!__ASSUME_32BITUIDS]: Remove conditional code.
32753         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32754         <kernel-features.h>.
32755         [__ASSUME_32BITUIDS]: Make code unconditional.
32756         [!__ASSUME_32BITUIDS]: Remove conditional code.
32757         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32758         <kernel-features.h>.
32759         [__ASSUME_32BITUIDS]: Make code unconditional.
32760         [!__ASSUME_32BITUIDS]: Remove conditional code.
32761         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32762         <kernel-features.h>.
32763         [__ASSUME_32BITUIDS]: Make code unconditional.
32764         [!__ASSUME_32BITUIDS]: Remove conditional code.
32765         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32766         <kernel-features.h>.
32767         [__ASSUME_32BITUIDS]: Make code unconditional.
32768         [!__ASSUME_32BITUIDS]: Remove conditional code.
32769         * sysdeps/unix/sysv/linux/kernel-features.h
32770         (__ASSUME_SETRESUID_SYSCALL): Remove.
32771         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32772         (__ASSUME_32BITUIDS): Likewise.
32773         (__ASSUME_LDT_WORKS): Likewise.
32774         (__ASSUME_O_DIRECTORY): Likewise.
32775         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32776         architecture but not kernel version.
32777         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32778         (__ASSUME_MMAP2_SYSCALL): Likewise.
32779         (__ASSUME_STAT64_SYSCALL): Likewise.
32780         (__ASSUME_IPC64): Likewise.
32781         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32782         <kernel-features.h>.
32783         [__ASSUME_32BITUIDS]: Make code unconditional.
32784         [!__ASSUME_32BITUIDS]: Remove conditional code.
32785         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32786         <kernel-features.h>.
32787         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32788         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32789         132096]: Remove conditional code.
32790         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32791         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32792         <kernel-features.h>.
32793         [__ASSUME_32BITUIDS]: Make code unconditional.
32794         [!__ASSUME_32BITUIDS]: Remove conditional code.
32795         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32796         <kernel-features.h>.
32797         [__ASSUME_32BITUIDS]: Make code unconditional.
32798         [!__ASSUME_32BITUIDS]: Remove conditional code.
32799         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32800         <kernel-features.h>.
32801         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32802         unconditional.
32803         (__setresgid): Do not declare.
32804         [__ASSUME_32BITUIDS]: Make code unconditional.
32805         [!__ASSUME_32BITUIDS]: Remove conditional code.
32806         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32807         <kernel-features.h>.
32808         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32809         unconditional.
32810         (__setresuid): Do not declare.
32811         [__ASSUME_32BITUIDS]: Make code unconditional.
32812         [!__ASSUME_32BITUIDS]: Remove conditional code.
32813         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32814         <kernel-features.h>.
32815         [__ASSUME_32BITUIDS]: Make code unconditional.
32816         [!__ASSUME_32BITUIDS]: Remove conditional code.
32817         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32818         <kernel-features.h>.
32819         [__ASSUME_32BITUIDS]: Make code unconditional.
32820         [!__ASSUME_32BITUIDS]: Remove conditional code.
32821
32822 2012-05-25  Richard Henderson  <rth@twiddle.net>
32823
32824         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32825         dl_hwcap to ifunc resolver.
32826         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32827         elf_ifunc_invoke.
32828         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32829         dl_hwcap to ifunc resolver.
32830         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32831
32832 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32833
32834         [BZ #14153]
32835         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32836         for |x| <= 2**-26, not 2**-57.
32837         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32838         exception.
32839
32840 2012-05-24  Jeff Law  <law@redhat.com>
32841
32842         * stdio-common/Makefile (tests): Add bug25.
32843         * stdio-common/bug25.c: New test.
32844
32845 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32846
32847         [BZ #13576]
32848         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32849         multiple of MALLOC_ALIGNMENT in size.
32850         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32851
32852 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32853
32854         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32855         Require >= 256.
32856         (FILENAME_MAX): Use macro-int-constant.
32857         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32858         (_IOFBF): Use macro-int-constant.
32859         (_IOLBF): Likewise.
32860         (_IONBF): Likewise.
32861         (SEEK_CUR): Likewise.
32862         (SEEK_END): Likewise.
32863         (SEEK_SET): Likewise.
32864         (TMP_MAX): Likewise.
32865         (EOF): Use macro-int-constant.  Require < 0.
32866         (NULL): Use macro-constant.  Require == 0.
32867         (stdin): Require type to be FILE *.
32868         (stdout): Likewise.
32869         (stderr): Likewise.
32870         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32871         macro-int-constant.
32872         (EXIT_SUCCESS): Likewise.
32873         (NULL): Use macro-constant.  Require == 0.
32874         (RAND_MAX): Use macro-int-constant.
32875         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32876         [C99-based standards] (strtof): Require function.
32877         [C99-based standards] (strtold): Likewise.
32878         [C99-based standards] (strtoll): Likewise.
32879         [C99-based standards] (strtoull): Likewise.
32880         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32881         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32882         [ISO || ISO99 || ISO11] (math.h): Likewise.
32883         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32884         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32886
32887 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32888
32889         [BZ #14132]
32890         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32891         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32892         * intl/dgettext.c (DCGETTEXT): Likewise.
32893         * intl/gettext.c (DCGETTEXT): Likewise.
32894         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32895         * posix/regex_internal.h (gettext): Likewise.
32896         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32897         Remove declaration.
32898         * include/argz.h (__argz_count_internal)
32899         (__argz_stringify_internal): Remove declaration.
32900         (__argz_count, __argz_stringify): Declare hidden proto.
32901         * intl/dcgettext.c: Remove use of INTDEF.
32902         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32903         * string/argz-stringify.c: Likewise.
32904         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32905         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32906         Declare hidden proto.
32907         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32908         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32909         Declare hidden proto.
32910         * include/stdio.h (__asprintf_internal): Don't declare.
32911         (__asprintf): Don't define as macro.  Declare hidden proto.
32912         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32913         (__fsetlocking): Declare hidden proto.
32914         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32915         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32916         hidden proto.
32917         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32918         (_IO_setlinebuf): Remove use of INTUSE.
32919         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32920         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32921         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32922         Remove declaration.
32923         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32924         (_IO_do_flush): Remove use of INTUSE.
32925         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32926         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32927         (_IO_adjust_column, _IO_least_wmarker)
32928         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32929         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32930         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32931         (_IO_default_doallocate, _IO_wdefault_doallocate)
32932         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32933         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32934         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32935         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32936         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32937         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32938         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32939         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32940         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32941         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32942         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32943         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32944         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32945         proto.
32946         (_IO_flush_all_internal, _IO_adjust_column_internal)
32947         (_IO_default_uflow_internal, _IO_default_finish_internal)
32948         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32949         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32950         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32951         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32952         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32953         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32954         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32955         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32956         (_IO_file_close_internal, _IO_file_close_it_internal)
32957         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32958         (_IO_file_init_internal, _IO_file_attach_internal)
32959         (_IO_file_fopen_internal, _IO_file_read_internal)
32960         (_IO_file_sync_internal, _IO_file_seek_internal)
32961         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32962         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32963         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32964         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32965         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32966         (_IO_list_all_internal, _IO_link_in_internal)
32967         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32968         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32969         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32970         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32971         (_IO_do_write_internal, _IO_padn_internal)
32972         (_IO_getline_info_internal, _IO_getline_internal)
32973         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32974         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32975         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32976         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32977         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32978         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32979         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32980         with libc_hidden_ver, remove use of INTUSE.
32981         * libio/genops.c: Likewise.
32982         * libio/freopen.c: Likewise.
32983         * libio/freopen64.c: Likewise.
32984         * libio/iofclose.c: Likewise.
32985         * libio/iofdopen.c: Likewise.
32986         * libio/iofflush.c: Likewise.
32987         * libio/iofflush_u.c: Likewise.
32988         * libio/iofgets.c: Likewise.
32989         * libio/iofgets_u.c: Likewise.
32990         * libio/iofopen.c: Likewise.
32991         * libio/iofopncook.c: Likewise.
32992         * libio/iofread.c: Likewise.
32993         * libio/iofread_u.c: Likewise.
32994         * libio/ioftell.c: Likewise.
32995         * libio/iofwrite.c: Likewise.
32996         * libio/iogetline.c: Likewise.
32997         * libio/iogets.c: Likewise.
32998         * libio/iogetwline.c: Likewise.
32999         * libio/iopadn.c: Likewise.
33000         * libio/iopopen.c: Likewise.
33001         * libio/ioseekoff.c: Likewise.
33002         * libio/ioseekpos.c: Likewise.
33003         * libio/iosetbuffer.c: Likewise.
33004         * libio/iosetvbuf.c: Likewise.
33005         * libio/ioungetc.c: Likewise.
33006         * libio/ioungetwc.c: Likewise.
33007         * libio/iovdprintf.c: Likewise.
33008         * libio/iovsprintf.c: Likewise.
33009         * libio/iovsscanf.c: Likewise.
33010         * libio/memstream.c: Likewise.
33011         * libio/obprintf.c: Likewise.
33012         * libio/oldfileops.c: Likewise.
33013         * libio/oldiofclose.c: Likewise.
33014         * libio/oldiofdopen.c: Likewise.
33015         * libio/oldiofopen.c: Likewise.
33016         * libio/oldiopopen.c: Likewise.
33017         * libio/oldstdfiles.c: Likewise.
33018         * libio/putc.c: Likewise.
33019         * libio/setbuf.c: Likewise.
33020         * libio/setlinebuf.c: Likewise.
33021         * libio/stdfiles.c: Likewise.
33022         * libio/strops.c: Likewise.
33023         * libio/vasprintf.c: Likewise.
33024         * libio/vscanf.c: Likewise.
33025         * libio/vsnprintf.c: Likewise.
33026         * libio/vswprintf.c: Likewise.
33027         * libio/wfiledoalloc.c: Likewise.
33028         * libio/wfileops.c: Likewise.
33029         * libio/wgenops.c: Likewise.
33030         * libio/wmemstream.c: Likewise.
33031         * libio/wstrops.c: Likewise.
33032         * libio/__fpurge.c: Likewise.
33033         * libio/__fsetlocking.c: Likewise.
33034         * assert/assert.c: Likewise.
33035         * debug/fgets_chk.c: Likewise.
33036         * debug/fgets_u_chk.c: Likewise.
33037         * debug/fread_chk.c: Likewise.
33038         * debug/fread_u_chk.c: Likewise.
33039         * debug/gets_chk.c: Likewise.
33040         * debug/obprintf_chk.c: Likewise.
33041         * debug/vasprintf_chk.c: Likewise.
33042         * debug/vdprintf_chk.c: Likewise.
33043         * debug/vsnprintf_chk.c: Likewise.
33044         * debug/vsprintf_chk.c: Likewise.
33045         * malloc/mtrace.c: Likewise.
33046         * misc/error.c: Likewise.
33047         * misc/syslog.c: Likewise.
33048         * stdio-common/asprintf.c: Likewise.
33049         * stdio-common/fxprintf.c: Likewise.
33050         * stdio-common/getw.c: Likewise.
33051         * stdio-common/isoc99_fscanf.c: Likewise.
33052         * stdio-common/isoc99_scanf.c: Likewise.
33053         * stdio-common/isoc99_vfscanf.c: Likewise.
33054         * stdio-common/isoc99_vscanf.c: Likewise.
33055         * stdio-common/isoc99_vsscanf.c: Likewise.
33056         * stdio-common/printf-prs.c: Likewise.
33057         * stdio-common/printf_fp.c: Likewise.
33058         * stdio-common/printf_fphex.c: Likewise.
33059         * stdio-common/printf_size.c: Likewise.
33060         * stdio-common/putw.c: Likewise.
33061         * stdio-common/scanf.c: Likewise.
33062         * stdio-common/sprintf.c: Likewise.
33063         * stdio-common/tmpfile.c: Likewise.
33064         * stdio-common/vfprintf.c: Likewise.
33065         * stdio-common/vfscanf.c: Likewise.
33066         * stdlib/strfmon_l.c: Likewise.
33067         * sunrpc/openchild.c: Likewise.
33068         * sunrpc/xdr_stdio.c: Likewise.
33069         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33070         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33071
33072 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33073
33074         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33075
33076         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33077         in the third column, to generate for the shared library an IFUNC
33078         that uses _dl_vdso_vsym.
33079         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33080         * Makeconfig (object-suffixes-noshared): New variable.
33081
33082         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33083         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33084         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33085         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33086
33087         [BZ #14132]
33088         * include/sys/time.h (__gettimeofday): Remove macro.
33089         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33090         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33091         Remove INTDEF.
33092         (__gettimeofday): Add libc_hidden_def.
33093         (gettimeofday): Add libc_hidden_weak.
33094         * sysdeps/mach/gettimeofday.c: Likewise.
33095         * sysdeps/posix/gettimeofday.c: Likewise.
33096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33097         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33098         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33099         (__gettimeofday_internal): Remove strong_alias.
33100         (__gettimeofday): Add libc_hidden_def.
33101         (gettimeofday): Add libc_hidden_weak.
33102         * sysdeps/unix/syscalls.list (gettimeofday):
33103         Remove __gettimeofday_internal alias.
33104
33105 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33106             H.J. Lu  <hongjiu.lu@intel.com>
33107
33108         [BZ #12495]
33109         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33110         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33111         (largebin_index_32_big): New.
33112         (largebin_index): Use it for 16-byte alignment.
33113         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33114         correction with front_misalign.
33115
33116 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33117
33118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33120         Likewise.
33121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33122         Likewise.
33123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33124         Likewise.
33125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33126         Likewise.
33127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33128         Likewise.
33129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33130         Likewise.
33131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33132         Likewise.
33133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33134         Likewise.
33135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33136         Likewise.
33137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33138         Likewise.
33139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33140         Likewise.
33141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33142         Likewise.
33143
33144         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33145         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33146
33147 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33148
33149         [BZ #10846]
33150         [BZ #14036]
33151         * math/libm-test.inc (exp_test): Add test from bug 14036.
33152         (pow_test): Add test from bug 10846.
33153
33154         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33155         and other flags.
33156         (special_function): Do not include flags in test name.
33157         (parse_args): Likewise.
33158         * sysdeps/i386/fpu/libm-test-ulps: Update.
33159         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33160         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33161         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33163
33164         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33165         exceptions.
33166         * math/libm-test.inc ("Philosophy"): Update comment about
33167         exception testing.
33168         (UNDERFLOW_EXCEPTION): New macro.
33169         (UNDERFLOW_EXCEPTION_OK): Likewise.
33170         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33171         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33172         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33173         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33174         (INVALID_EXCEPTION_OK): Update value.
33175         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33176         (OVERFLOW_EXCEPTION_OK): Likewise.
33177         (IGNORE_ZERO_INF_SIGN): Likewise.
33178         (test_exceptions): Handle underflow exceptions.
33179         (acos_test): Update for underflow exception expectations.
33180         (cexp_test): Likewise.
33181         (clog_test): Likewise.
33182         (clog10_test): Likewise.
33183         (csqrt_test): Likewise.
33184         (ctan_test): Likewise.
33185         (ctanh_test): Likewise.
33186         (exp_test): Likewise.
33187         (exp10_test): Likewise.
33188         (exp2_test): Likewise.
33189         (expm1_test): Likewise.
33190         (fma_test): Likewise.
33191         (j0_test): Likewise.
33192         (jn_test): Likewise.
33193         (nexttoward_test): Likewise.
33194         (pow_test): Likewise.
33195         (scalbn_test): Likewise.
33196         (scalbln_test): Likewise.
33197         (tan_test): Likewise.
33198         (y1_test): Likewise.
33199         * sysdeps/i386/fpu/libm-test-ulps: Update.
33200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33201
33202 2012-05-23  David S. Miller  <davem@davemloft.net>
33203
33204         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33205         (__libc_sigaction): Remove unused local variables.
33206
33207 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33208
33209         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33210
33211 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33212
33213         mktime: avoid signed integer overflow
33214         * time/mktime.c (__mktime_internal): Do not mishandle the case
33215         where diff == INT_MIN.
33216
33217         mktime: simplify computation of average
33218         * time/mktime.c (ranged_convert): Use new time_t_avg function
33219         instead of rolling our own (probably-slower) code.
33220
33221         mktime: do not assume signed right shift propagates sign bit
33222         * time/mktime.c (isdst_differ): New static function.
33223         (__mktime_internal): No need to normalize tm_isdst now.
33224         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33225         tm_isdst values.
33226
33227         mktime: merge another wrapv change from gnulib
33228         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33229         from some compilers.
33230
33231         mktime: remove incorrect attempt at unusual arithmetics
33232         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33233         The code didn't really work on such machines anyway.
33234         (TYPE_MINIMUM): Assume two's complement.
33235         (twos_complement_arithmetic): Verify that long_int and time_t
33236         are two's complement (or unsigned, in the latter case).
33237
33238         mktime: check signed shifts on long_int and time_t, too
33239         * time/mktime.c (SHR): Check that shifts work as desired
33240         on the types long_int and time_t too, as SHR is used on
33241         such types.
33242
33243         mktime: do not assume 'long' is wide enough
33244         * time/mktime.c (verify): Move decl up.
33245         (long_int): New type.
33246         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33247         to remove assumption in the code that 'long' is wide enough to
33248         store year values.  This assumption is not true on x32 and on
33249         some non-glibc platforms.
33250
33251         mktime: merge wrapv change from gnulib
33252         * time/mktime.c (WRAPV): New macro.
33253         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33254         (guess_time_tm, __mktime_internal): Do not assume that signed
33255         integer overflow wraps around; modern compilers generate code
33256         where this assumption is no longer valid.
33257
33258 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33259
33260         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33261         Replace "jmp L(pseudo_end)" with "ret".
33262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33263         Likewise.
33264
33265 2012-05-23  Andreas Jaeger  <aj@suse.de>
33266
33267         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33268         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33269
33270 2012-05-23  Andreas Jaeger  <aj@suse.de>
33271             Maximilian Attems  <max@stro.at>
33272
33273         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33274         New macros.
33275
33276 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33277
33278         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33279         code so that pseudo_end is just ret and the stack pointer is
33280         correct also for static library in error case.
33281
33282 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33283
33284         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33285         move to syscalls.list.
33286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33290
33291         * manual/install.texi (Running make install): Do not mention Linux
33292         kernel version for which pt_chown is not needed.
33293         (Linux): Do not mention problems with nscd with 2.0 kernels.
33294         * INSTALL: Regenerated.
33295
33296 2012-05-23  Andreas Jaeger  <aj@suse.de>
33297
33298         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33299         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33300         macro.
33301         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33302         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33303         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33304         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33305         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33307         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33309         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33311         * sysdeps/unix/sysv/linux/bits/in.h
33312         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33313
33314 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33315
33316         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33317         (PREPARE_VERSION): Just use assert instead, it will be elided
33318         under [NDEBUG] anyway.
33319
33320 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33321
33322         * sysdeps/unix/sysv/linux/Makefile: Include
33323         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33324         (sysdep_routines): Remove sysctl.
33325         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33326         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33327         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33328         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33329         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33330
33331 2012-05-22  Andreas Jaeger  <aj@suse.de>
33332
33333         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33334         that pseudo_end is just ret and the stack pointer is correct also
33335         for static library in error case.
33336
33337 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33338
33339         [BZ #14122]
33340         * nss/nsswitch.c (defconfig_entries): New variable.
33341         (__nss_database_lookup): Don't leak defconfig entries.
33342         (nss_parse_service_list): Don't leak on error paths.
33343         (free_database_entries): New function.
33344         (free_defconfig): New function.
33345         (free_mem): Move common code to free_database_entries.
33346
33347 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33348
33349         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33350         Add arch_prctl.
33351         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33352
33353         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33354         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33356         New macro.
33357         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33358         (INTERNAL_SYSCALL_TYPES): Likewise.
33359         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33360         (LOAD_REGS_TYPES_[1-6]): Likewise.
33361         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33362         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33363
33364 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33365
33366         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33367         copysignl for GLIBC_2_0.
33368         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33369         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33371         logbl for GLIBC_2_0.
33372         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33373         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33374
33375 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33376
33377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33378         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33379
33380         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33381         Use "neg %eax".
33382
33383         * time/mktime.c: Update copyright years.
33384
33385 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33386
33387         mktime: merge comment-quoting-style change from gnulib
33388         * time/mktime.c: Quote 'like this' in comments.
33389         The GNU coding standards suggest that we no longer quote `like this',
33390         as "`" and "'" are typically rendered asymmetrically nowadays.
33391         The typical gnulib style is to quote 'like this' when quoting
33392         code, and "like this" when quoting English.
33393
33394         * time/mktime.c (compile-command): Add "-I.".
33395
33396         mktime: merge mktime-internal.h change from gnulib
33397         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33398
33399         mktime: merge time_r change from gnulib
33400         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33401
33402         mktime: merge DEBUG change from gnulib
33403         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33404         case system <time.h> has a #define.
33405
33406         mktime: merge <sys/types.h> change from gnulib
33407         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33408         since <time.t> is now guaranteed to define time_t.
33409
33410         mktime: merge HAVE_CONFIG_H change from gnulib
33411         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33412
33413 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33414
33415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33416         Use "neg %eax".
33417
33418         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33419         __rlim_t cast.
33420         (struct rusage): Use anonymous union to pad each field to
33421         __syscall_slong_t.
33422
33423 2012-05-21  David S. Miller  <davem@davemloft.net>
33424
33425         * Makefules (o-iterator): Remove .s cases.
33426         (compile-command.s): Delete.
33427         (COMPILE.s): Delete.
33428         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33429
33430 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33431
33432         * configure.in (libc_cv_predef_stack_protector): Only consider
33433         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33434         * configure: Regenerated.
33435
33436 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33437
33438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33439         New macro.  Use R*LP on int and pointer.
33440         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33441         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33442         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33443         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33444
33445         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33446         [__WORDSIZE_TIME64_COMPAT32] instead of
33447         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33448         (struct utmp): Likewise.
33449         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33450         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33451         Renamed to ...
33452         (__WORDSIZE_TIME64_COMPAT32): This.
33453         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33454         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33455         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33456         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33457         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33458         (__WORDSIZE_TIME64_COMPAT32): New macro.
33459
33460 2012-05-21  Andreas Jaeger  <aj@suse.de>
33461
33462         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33463         only if [SHARED]. Add prototype for __wcschr_ia32.
33464
33465 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33466
33467         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33468         of %rbp unmolested in the jmp_buf while mangling the low bits.
33469         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33470         unmolested high bits of %rbp while demangling the low bits.
33471         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33472
33473 2012-05-21  Andreas Jaeger  <aj@suse.de>
33474
33475         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33476         * sunrpc/svc_simple.c: Use it for registerrpc.
33477         * sunrpc/xcrypt.c: Use it for passwd2des.
33478
33479         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33480
33481 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33482
33483         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33484         Don't define if [__SYSCALL_WORDSIZE != 32].
33485         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33486         New macro.
33487
33488 2012-05-21  Bruno Haible  <bruno@clisp.org>
33489             Andreas Jaeger  <aj@suse.de>
33490
33491         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33492         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33493         inptr and inend for must_buffer_ch.
33494         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33495         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33496         * stdio-common/Makefile (tests): Remove bug15.
33497         (bug15-ENV): Remove macro.
33498         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33499         anymore.
33500
33501 2012-05-19  Andreas Jaeger  <aj@suse.de>
33502             Roland McGrath  <roland@hack.frob.com>
33503
33504         * manual/contrib.texi: Completely rewritten. It contains now an
33505         alphabetical list of contributors and their contributions.
33506
33507 2012-05-21  Richard Henderson  <rth@twiddle.net>
33508
33509         * misc/getauxval.c (__getauxval): Use unsigned long int.
33510         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33511         (getauxval): Use unsigned long int.
33512
33513 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33514
33515         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33516
33517 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33518
33519         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33520         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33521         __alignof__ (long double).
33522
33523 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33524
33525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33526
33527 2012-05-20  Richard Henderson  <rth@twiddle.net>
33528
33529         * misc/getauxval.c: New file.
33530         * misc/sys/auxv.h: New file.
33531         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33532         (routines): Add getauxval.
33533         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33534         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33535         * elf/dl-sysdep.c (_dl_auxv): Remove.
33536         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33537         * elf/dl-support.c (_dl_auxv): New variable.
33538         (_dl_aux_init): Initialize it.
33539         * manual/startup.texi (Auxiliary Vector): New node.
33540         * sysdeps/generic/bits/hwcap.h: New file.
33541         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33542         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33543         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33544         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33545         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33546         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33548         Update.
33549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33552         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33557
33558 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33559
33560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33561
33562 2012-05-19  David S. Miller  <davem@davemloft.net>
33563
33564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33565
33566 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33567
33568         [BZ #14123]
33569         * math/s_ccosh.c: Include <float.h>
33570         (__ccosh): Avoid internal overflow calculating sinh and cosh
33571         values before multiplying by sin and cos values.
33572         * math/s_ccoshf.c: Likewise.
33573         * math/s_ccoshl.c: Likewise.
33574         * math/s_csin.c: Likewise.
33575         * math/s_csinf.c: Likewise.
33576         * math/s_csinl.c: Likewise.
33577         * math/s_csinh.c: Likewise.
33578         * math/s_csinhf.c: Likewise.
33579         * math/s_csinhl.c: Likewise.
33580         * math/libm-test.inc (ccos_test): Add more tests.
33581         (ccosh_test): Likewise.
33582         (csin_test): Likewise.
33583         (csinh_test): Likewise.
33584         * sysdeps/i386/fpu/libm-test-ulps: Update.
33585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33586
33587 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33588
33589         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33590         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33591
33592         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33593
33594 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33595
33596         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33597         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33598         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33599         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33600         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33601         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33602         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33603         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33604         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33605         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33606         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33607         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33608         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33609         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33610         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33611         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33612         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33613         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33614         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33615         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33616         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33617         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33618         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33619         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33620         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33621         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33622         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33623         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33624         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33625         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33626         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33627
33628 2012-05-18  Andreas Jaeger  <aj@suse.de>
33629
33630         * csu/.gitignore: Delete.
33631
33632 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33633
33634         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33635         (timex): Use __syscall_slong_t.
33636
33637 2012-05-18  Andreas Jaeger  <aj@suse.de>
33638             Carlos O'Donell  <carlos_odonell@mentor.com>
33639
33640         * manual/install.texi (Configuring and compiling): Update
33641         description about files modified in the source directory.
33642         * INSTALL: Regenerated.
33643
33644 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33645
33646         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33647         value.  Use "or" to set return value to -1.
33648         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33649         negate return value.
33650
33651 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33652
33653         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33654         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33655         failure if the compiler has Graphite support disabled.
33656         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33657         Likewise.
33658         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33659         (CFLAGS-memmove.c): Likewise.
33660         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33661         Likewise.
33662
33663 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33664
33665         * sysdeps/x86_64/x32/_itoa.h: New file.
33666
33667         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33668         getdents system call only if kernel and user dirents have the
33669         same d_ino and d_off.
33670
33671         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33672         LLONG_MAX != LONG_MAX.
33673         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33674         (_fitoa_word): Likewise.
33675
33676         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33677         years.
33678         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33679         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33680         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33681
33682         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33683         include <bits/wordsize.h>.  Check __x86_64__ instead of
33684         __WORDSIZE.
33685         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33686         if __x86_64__ is defined.  Use anonymous union on fpstate.
33687
33688         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33689         anonymous union.
33690
33691 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33692
33693         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33694         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33695         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33696         Refer to _rtld_local_ro instead of _rtld_global_ro.
33697         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33698         Likewise.
33699         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33700         Likewise.
33701         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33702         Likewise.
33703         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33704         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33705         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33706
33707         * sysdeps/powerpc/powerpc32/dl-machine.c
33708         (__elf_machine_runtime_setup) [PROF]: Don't reference
33709         _dl_prof_resolve.
33710
33711 2012-05-18  Andreas Jaeger  <aj@suse.de>
33712
33713         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33714         function only available for GCCs before 3.4 since GCC 3.4
33715         introduced a builtin.
33716         (lrint): Likewise.
33717         (llrintf): Likewise.
33718         (llrint): Likewise.
33719         (fmaxf): Likewise.
33720         (fmax): Likewise.
33721         (fminf): Likewise.
33722         (fmin): Likewise.
33723         (rint): Likewise.
33724         (rintf): Likewise.
33725         (nearbyint): Likewise.
33726         (nearbyintf): Likewise.
33727         (ceil): Likewise.
33728         (ceilf): Likewise.
33729         (floor): Likewise.
33730         (floorf): Likewise.
33731
33732 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33733
33734         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33735         on both fields and cast pointer to __syscall_ulong_t.
33736
33737         * bits/types.h (__fsword_t): New type.
33738         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33739         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33741         (__FSWORD_T_TYPE): Likewise.
33742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33743         (__FSWORD_T_TYPE): Likewise.
33744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33745         (__FSWORD_T_TYPE): Likewise.
33746         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33747         (__FSWORD_T_TYPE): Likewise.
33748         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33749         __SWORD_TYPE with __fsword_t.
33750         (statfs64): Likewise.
33751
33752 2012-05-17  David S. Miller  <davem@davemloft.net>
33753
33754         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33755
33756 2012-05-17  Andreas Jaeger  <aj@suse.de>
33757
33758         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33759         warning.
33760
33761 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33762
33763         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33764
33765 2012-05-17  Andreas Jaeger  <aj@suse.de>
33766
33767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33768         when it is used.
33769
33770 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33771
33772         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33773
33774 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33775
33776         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33777         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33778
33779 2012-05-17  Andreas Jaeger  <aj@suse.de>
33780             Carlos O'Donell  <carlos_odonell@mentor.com>
33781
33782         [BZ #14059]
33783         * sysdeps/x86_64/multiarch/init-arch.h
33784         (bit_YMM_Usable): Rename to...
33785         (bit_AVX_Usable): ... this.
33786         (bit_FMA4_Usable): New macro.
33787         (bit_XMM_state): New macro.
33788         (bit_YMM_state): New macro.
33789         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33790         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33791         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33792         (CPUID_OSXSAVE): New macro.
33793         (CPUID_AVX): New macro.
33794         (CPUID_FMA4): New macro.
33795         (index_YMM_Usable): Rename to...
33796         (index_AVX_Usable): ... this.
33797         (HAS_AVX): Use HAS_ARCH_FEATURE.
33798         (HAS_FMA4): Likewise.
33799         (HAS_YMM_USABLE): Remove.
33800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33801         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33802         are present.
33803         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33804         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33805         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33806         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33807         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33808
33809 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33810
33811         * math/libm-test.c: Support platforms without multiple rounding modes.
33812         * math/bug-nextafter.c: Support platforms without FP exceptions.
33813         * math/bug-nexttoward.c: Likewise.
33814         * math/test-fenv.c: Likewise.
33815         * math/test-misc.c: Likewise.
33816         * stdlib/bug-getcontext.c: Likewise.
33817
33818 2012-05-17  Andreas Jaeger  <aj@suse.de>
33819
33820         * manual/examples/search.c (critter_cmp): Change signature to
33821         avoid warnings.
33822         * manual/string.texi (Collation Functions): Likewise.
33823
33824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33825
33826         * bits/types.h: Fold copyright years.
33827         * bits/typesizes.h: Likewise.
33828         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33829         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33830         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33832         * time/time.h: Likewise.
33833
33834 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33835
33836         [BZ #208]
33837         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33838         in instead of returning them.  Return void.
33839         (__libc_mallinfo): Accumulate over all arenas.
33840         (__malloc_stats): Adjust for change in int_mallinfo interface.
33841
33842 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33843
33844         [BZ #10375]
33845         * configure.in (NM): Add AC_CHECK_TOOL for it.
33846         (libc_extra_cflags): New substituted variable.
33847         Check for -fstack-protector being used implicitly.
33848         * configure: Regenerated.
33849         * config.make.in (config-extra-cflags): New variable,
33850         gets @libc_extra_cflags@.
33851         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33852
33853         [BZ #10375]
33854         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33855         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33856         * configure: Regenerated.
33857         * config.make.in (CPPUNDEFS): New substituted variable.
33858         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33859         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33860         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33861
33862 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33863
33864         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33865         (mq_attr): Use __syscall_slong_t.
33866
33867 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33868
33869         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33870         Check __x86_64__ instead of __WORDSIZE.
33871         (_STAT_VER_LINUX): Likewise.
33872         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33873         __syscall_ulong_t and __syscall_slong_t.
33874         (stat64): Likewise.
33875
33876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33877
33878         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33879
33880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33881
33882         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33883
33884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33885
33886         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33887         __syscall_ulong_t.
33888
33889         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33890         include <bits/wordsize.h>.  Check __x86_64__ instead of
33891         __WORDSIZE.
33892         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33893         defined.
33894         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33895
33896         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33897         include <bits/wordsize.h>.  Check __x86_64__ instead of
33898         __WORDSIZE.
33899         (user_regs_struct): Use "__extension__ unsigned long long"
33900         instead of "unsigned long" if __x86_64__ is defined.
33901         (user): Likewise.  Pad after pointer field if __ILP32__ is
33902         defined.
33903
33904 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33905
33906         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33907         versions 5 to 9.
33908         * configure: Regenerated.
33909         * manual/install.texi (texinfo): Increase version requirement to
33910         4.5 or later.
33911         * INSTALL: Regenerated.
33912
33913         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33914
33915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33916
33917         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33918
33919         * sysdeps/x86_64/x32/ffs.c: New file.
33920
33921         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33922         __syscall_ulong_t.
33923         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33924         defined.  Use __syscall_ulong_t.
33925         (shminfo): Use __syscall_ulong_t.
33926         (shm_info): Likewise.
33927
33928         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33929         __syscall_ulong_t.
33930
33931         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33932         <bits/wordsize.h>.
33933         (msgqnum_t): Use __syscall_ulong_t.
33934         (msglen_t): Likewise.
33935         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33936         __syscall_ulong_t.
33937
33938         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33939         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33940
33941         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33942
33943         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33944         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33945
33946         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33947         __syscall_slong_t.
33948
33949         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33950         include <bits/wordsize.h>.  Check __x86_64__ instead of
33951         __WORDSIZE.
33952
33953         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33954         "unsigned long long int" if __x86_64__ is defined.
33955         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33956
33957         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33958         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33959         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33960
33961         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33962         <stdint.h>.
33963         (GET_PC): Cast to uintptr_t first.
33964         (GET_FRAME): Likewise.
33965         (GET_STACK): Likewise.
33966
33967         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33968         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33969         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33970         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33971         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33972         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33973         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33974         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33975         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33976         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33977         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33978         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33979         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33980         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33981         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33982         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33983         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33984         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33985         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33986         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33987         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33988         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33989         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33990         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33991         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33992         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33993         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33994         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33995         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33996
33997 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33998
33999         * Makerules (+depfiles): Also collect depfiles from .oS in
34000         $(extra-objs).
34001         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34002         .oS, $(libnldbl-routines)).
34003
34004         * Makerules (native-compile-mkdep-flags): Define.
34005         * sunrpc/Makefile (extra-objs): Add $(addprefix
34006         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34007         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34008         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34009         calling $(make-target-directory).
34010
34011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34012
34013         * bits/types.h (__snseconds_t): Removed.
34014         * time/time.h (struct timespec): Replace __snseconds_t with
34015         __syscall_slong_t.
34016         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34017         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34018         Likewise.
34019         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34020         (__SNSECONDS_T_TYPE): Likewise.
34021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34022         (__SNSECONDS_T_TYPE): Likewise.
34023         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34024         (__SNSECONDS_T_TYPE): Likewise.
34025
34026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34027
34028         * sysdeps/mach/hurd/bits/typesizes.h
34029         (__SYSCALL_SLONG_TYPE): New macro.
34030         (__SYSCALL_ULONG_TYPE): Likewise.
34031
34032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34033
34034         * bits/types.h (__syscall_slong_t): New type.
34035         (__syscall_ulong_t): Likewise.
34036
34037         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34038         (__SYSCALL_ULONG_TYPE): Likewise.
34039         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34040         (__SYSCALL_SLONG_TYPE): Likewise.
34041         (__SYSCALL_ULONG_TYPE): Likewise.
34042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34043         (__SYSCALL_SLONG_TYPE): Likewise.
34044         (__SYSCALL_ULONG_TYPE): Likewise.
34045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34046         (__SYSCALL_SLONG_TYPE): Likewise.
34047         (__SYSCALL_ULONG_TYPE): Likewise.
34048
34049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34050
34051         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34052         Add sigaltstack-offsets.sym.
34053         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34054         <sigaltstack-offsets.h>.
34055         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34056         longjmp_msg pointer.
34057         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34058         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34059         signal stack.
34060         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34061
34062 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34063
34064         * elf/stackguard-macros.h: Remove file.
34065         * sysdeps/generic/stackguard-macros.h: New file.
34066         * sysdeps/i386/stackguard-macros.h: Likewise.
34067         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34068         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34069         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34070         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34071         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34072         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34073         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34074         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34075         <elf/stackguard-macros.h>.
34076
34077         [BZ #14109]
34078         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34079         __aligned__ in attribute.
34080         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34081         (gregset_t): Likewise.
34082
34083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34084
34085         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34086         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34087         * sysdeps/x86_64/x32/Implies-after: New file.
34088
34089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34090
34091         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34092         and access return value for _dl_profile_fixup.  Use R10_LP to
34093         load frame size.
34094
34095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34096
34097         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34098
34099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34100
34101         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34102         * sysdeps/x86_64/x32/sysdep.h: New file.
34103
34104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34105
34106         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34107         * sysdeps/x86_64/setjmp.S: Likewise.
34108
34109 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34110
34111         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34112         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34113         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34114         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34115         remove unused global constant.
34116
34117 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34118
34119         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34120         include of <not-cancel.h>.
34121
34122 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34123
34124         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34125
34126 2012-05-15  Jeff Law  <law@redhat.com>
34127             Andreas Jaeger  <aj@suse.de>
34128
34129         [BZ #13594]
34130         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34131         out from...
34132         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34133         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34134         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34135         code changing __hst_map_handle.map.
34136
34137 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34138
34139         * configure.in (sysnames): Look for Implies-before and Implies-after
34140         files.
34141         * configure: Regenerated.
34142
34143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34144
34145         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34146         8-byte data alignment with LP_SIZE alignment.
34147
34148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34149
34150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34151         into R10_LP.
34152
34153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34154
34155         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34156
34157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34158
34159         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34160         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34161         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34162         Likewise.
34163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34164
34165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34166
34167         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34168         (stackinfo_sub_sp): Likewise.
34169
34170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34171
34172         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34173         RAX_LP.
34174
34175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34176
34177         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34178         into R*_LP.
34179
34180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34181
34182         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34183         sizes into R*_LP.
34184
34185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34186
34187         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34188
34189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34190
34191         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34192         into R11_LP and load __x86_64_shared_cache_size_half into
34193         R8_LP.
34194
34195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34196
34197         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34198         R8_LP.
34199
34200 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34201
34202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34203         logb for POWER7.
34204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34205         logbf for POWER7.
34206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34207         logbl for POWER7.
34208         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34209         powerpc32/power7/fpu/s_logb.c via #include.
34210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34211         powerpc32/power7/fpu/s_logbf.c via #include.
34212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34213         powerpc32/power7/fpu/s_logbl.c via #include.
34214
34215 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34216
34217         * README.libm: Remove file.
34218
34219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34220
34221         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34222         count for x32.  Use R*_LP and omit operand-size suffix.
34223
34224 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34225
34226         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34227         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34228         * sysdeps/x86_64/x32/shlib-versions: New file.
34229
34230 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34231
34232         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34233         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34234         Use _dl_fatal_printf instead.
34235
34236 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34237
34238         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34239         set if not set by the user.  Do not allow for being unset.
34240         * sysdeps/unix/sysv/linux/configure: Regenerated.
34241
34242 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34243
34244         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34245         the `q' suffix from lea and replace .quad with ASM_ADDR.
34246
34247 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34248
34249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34250         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34251         instead of $17.
34252         (PTR_DEMANGLE): Likewise.
34253
34254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34255
34256         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34257         (LP_OP): Likewise.
34258         (ASM_ADDR): Likewise.
34259         (RAX_LP): Likewise.
34260         (RBP_LP): Likewise.
34261         (RBX_LP): Likewise.
34262         (RCX_LP): Likewise.
34263         (RDI_LP): Likewise.
34264         (RSI_LP): Likewise.
34265         (RSP_LP): Likewise.
34266         (R8_LP): Likewise.
34267         (R9_LP): Likewise.
34268         (R10_LP): Likewise.
34269         (R10_LP): Likewise.
34270         (R11_LP): Likewise.
34271         (R12_LP): Likewise.
34272         (R13_LP): Likewise.
34273         (R14_LP): Likewise.
34274         (R15_LP): Likewise.
34275
34276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34277
34278         * sysdeps/x86_64/x32/dl-machine.h: New file.
34279
34280 2012-05-14  Andreas Jaeger  <aj@suse.de>
34281
34282         * manual/Makefile (subdir): Remove export of subdir.
34283         (all): Remove target.
34284         (.PHONY): Remove all from list.
34285         (mkinstalldirs): Remove.
34286         (.PHONY): Remove installdirs from list.
34287         ($(inst_infodir)/libc.info): Use make-target-directory.
34288         (installdirs): Remove.
34289         (subdir_%): Remove.
34290         (glibc-targets): Remove.
34291         (lib): Remove.
34292         (stubs): Remove.
34293         ($(objpfx)stubs ../po/manual.pot): Remove.
34294         ($(objpfx)stamp%): Remove.
34295         (make-target-directory): Remove.
34296         (subdir_install): Remove.
34297         (routines): Remove.
34298         (aux): Remove.
34299         (sources): Remove.
34300         (objects): Remove.
34301         (headers): Remove.
34302
34303         [BZ #13750]
34304         * manual/.gitignore: Remove, it's not needed anymore.
34305         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34306         all files in it.
34307         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34308         directory.
34309         (texis): Renamed to $(objpfx)texis.
34310         (texis-path): New, contains path to generated files.
34311         (chapters.%): Use texis-path for complete path, add extra argument
34312         libc-texinfo.sh.
34313         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34314         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34315         (summary,texi, stamp-summary): Use complete path of
34316         files. Generate files in build dir.
34317         (dir-add.texi): Build in build dir.
34318         (libm-err.texi,stamp-libm-err): Likewise.
34319         (version.texi, stamp-version): Likewise.
34320         (.%c.texi): Likewise.
34321         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34322         (mostlyclean): Remove target.
34323         (realclean): Remove target.
34324         (generated): Add new variable with contents from mostlyclean and
34325         realclean, remove entries duplicated in common-mostlyclean, add
34326         stamp-libm-err and stamp-version.
34327         (generated-dirs): Add libc directory.
34328         ($(inst_infodir)/libc.info): Install files from build dir.
34329
34330         * manual/install.texi (Configuring and compiling): Adjust since
34331         the info files are not part of the tar ball anymore.
34332
34333 2012-05-14  Andreas Jaeger  <aj@suse.de>
34334
34335         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34336         variable.
34337
34338 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34339
34340         [BZ #13717]
34341         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34342         to 2.2.0 where earlier.
34343         * sysdeps/unix/sysv/linux/configure: Regenerated.
34344         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34345         Remove conditional code.
34346         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34347         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34348         Remove conditional code.
34349         [!__NR_lchown]: Likewise.
34350         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34351         [__NR_lchown]: Likewise.
34352         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34353         comment referencing __ASSUME_LCHOWN_SYSCALL.
34354         * sysdeps/unix/sysv/linux/i386/sigaction.c
34355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34357         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34358         Remove conditional code.
34359         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34360         (__protocol_available): Remove #if 0 code.
34361         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34362         conditional code.
34363         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34364         * sysdeps/unix/sysv/linux/kernel-features.h
34365         (__ASSUME_GETCWD_SYSCALL): Don't define.
34366         (__ASSUME_REALTIME_SIGNALS): Likewise.
34367         (__ASSUME_PREAD_SYSCALL): Likewise.
34368         (__ASSUME_PWRITE_SYSCALL): Likewise.
34369         (__ASSUME_POLL_SYSCALL): Likewise.
34370         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34371         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34372         non-SPARC.
34373         (__ASSUME_SIOCGIFNAME): Don't define.
34374         (__ASSUME_MSG_NOSIGNAL): Likewise.
34375         (__ASSUME_SENDFILE): Define unconditionally.
34376         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34377         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34378         conditional code.
34379         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34380         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34381         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34382         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34383         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34384         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34385         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34387         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34388         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34390         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34393         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34396         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34399         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34402         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34405         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34406         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34408         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34410         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34411         Remove conditional code.
34412         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34413         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34414         Remove conditional code.
34415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34416         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34417         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34418         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34419         Remove conditional code.
34420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34421         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34422         Remove conditional code.
34423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34424         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34425         Remove conditional code.
34426         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34427         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34428         Remove conditional code.
34429         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34430         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34431         Remove conditional code.
34432         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34433         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34434         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34435         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34436         * sysdeps/unix/sysv/linux/sigaction.c
34437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34439         * sysdeps/unix/sysv/linux/sigpending.c
34440         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34441         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34442         * sysdeps/unix/sysv/linux/sigprocmask.c
34443         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34444         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34445         * sysdeps/unix/sysv/linux/sigsuspend.c
34446         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34447         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34448         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34449         (__libc_missing_rt_sigs): Remove.
34450         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34451         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34452         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34453         Remove conditional code.
34454         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34455         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34456         return 1.
34457         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34458         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34459         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34460         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34461
34462 2012-05-14  Andreas Jaeger  <aj@suse.de>
34463
34464         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34465         it's not used in glibc.
34466         (__coshm1): Likewise.
34467         (__acosh1p): Likewise.
34468         (__sgn): Likewise.
34469
34470         * manual/string.texi (Copying and Concatenation): Add missing
34471         variable in concat example.
34472         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34473
34474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34475
34476         [BZ #14103]
34477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34478         __builtin_clzl with __builtin_clzll.
34479
34480 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34481
34482         [BZ #14104]
34483         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34484         libc_freeres_ptr.
34485
34486 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34487
34488         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34489         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34490         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34491         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34492
34493 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34494
34495         * NEWS: Update ia64 info.
34496
34497 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34498
34499         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34500         used as bcopy.
34501
34502 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34503
34504         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34505         * sysdeps/unix/syscalls.list (dup3): Likewise.
34506         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34507         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34508
34509 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34510
34511         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34512         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34513
34514 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34515
34516         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34517         thread pointer.
34518         (TLS_IE): Use mov/add instead of movq/addq to load thread
34519         pointer.
34520         (TLS_GD_PREFIX): New.
34521         (TLS_GD): Use it.
34522
34523 2012-05-11  David S. Miller  <davem@davemloft.net>
34524
34525         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34526         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34527         (_FPU_SETCW): Likewise.
34528
34529 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34530
34531         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34532         is 32-byte aligned.
34533
34534 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34535
34536         [BZ #11837]
34537         * iconvdata/gb18030.c: Update tables.
34538         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34539         characters specially.
34540         (BODY for TO_LOOP): Add encoding of missing ranges.
34541
34542 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34543
34544         [BZ #13673]
34545         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34546         * sysdeps/mach/hurd/dup3.c: Likewise.
34547         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34548         * sysdeps/powerpc/memmove.c:: Likewise.
34549
34550 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34551
34552         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34553         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34554
34555 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34556
34557         * elf/elf.h (R_X86_64_RELATIVE64): New.
34558         (R_X86_64_NUM): Updated.
34559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34560         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34561         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34562         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34563         tst-quad1pie tst-quad2pie
34564         (modules-names): Add tst-quadmod1 tst-quadmod2.
34565         ($(objpfx)tst-quad1): New dependency.
34566         ($(objpfx)tst-quad2): Likewise.
34567         ($(objpfx)tst-quad1pie): Likewise.
34568         ($(objpfx)tst-quad2pie): Likewise.
34569         * sysdeps/x86_64/tst-quad1.c: New file.
34570         * sysdeps/x86_64/tst-quad1pie.c: New file.
34571         * sysdeps/x86_64/tst-quad2.c: Likewise.
34572         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34573         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34574         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34575         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34576         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34577
34578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34579
34580         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34581         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34582         * streams/stropts.h (t_scalar_t): Define type.
34583
34584         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34585         (_PATH_PRESERVE): Set to "/var/lib".
34586         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34587
34588         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34589         instead of int.
34590
34591         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34592         if __dir_mkfile succeeded.
34593
34594         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34595         checking for _hurd_dtablesize.  Unlock it right after having
34596         finished _hurd_dtable allocation.
34597
34598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34599
34600         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34601         * sysdeps/mach/hurd/configure: Regenerated.
34602         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34603         special-casing to...
34604         * sysdeps/gnu/configure.in: ... this new file.
34605         * sysdeps/unix/sysv/linux/configure: Regenerated.
34606         * sysdeps/gnu/configure: New generated file.
34607
34608         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34609         for Linux: use nsec instead of usec, as well as:
34610         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34611         members of type struct timespec.
34612         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34613         New macros.
34614         (struct stat64): Likewise.
34615         (_STATBUF_ST_NSEC): New macro.
34616         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34617
34618         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34619         __strtoul_internal rather than strtoul.
34620
34621 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34622
34623         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34624         and reject them.
34625
34626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34627
34628         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34629         which preserves existing values.
34630         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34631
34632 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34633
34634         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34635         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34636         greater than FD_SETSIZE.
34637
34638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34639
34640         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34641         allocated, call __vm_protect to finish enabling the existing space, and
34642         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34643         allocate the remainder.
34644
34645 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34646
34647         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34648         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34649
34650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34651
34652         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34653         sysdeps/mach/hurd/readlink.c.
34654
34655         * posix/tst-sysconf.c (posix_options): Only use
34656         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34657         _POSIX_SYNCHRONIZED_IO when they are defined
34658         * sysdeps/mach/hurd/bits/posix_opt.h:
34659         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34660         (_XOPEN_REALTIME): Undefine macro.
34661         (_XOPEN_REALTIME_THREADS): Undefine macro.
34662         (_XOPEN_SHM): Undefine macro.
34663         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34664         macro to -1.
34665         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34666         macro to -1.
34667         (_POSIX_ASYNC_IO): Undefine macro.
34668         (_POSIX_PRIORITIZED_IO): Undefine macro.
34669         (_POSIX_SPIN_LOCKS): Define macro to -1.
34670
34671         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34672         SA_NODEFER, SA_RESETHAND.
34673         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34674         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34675         F_DUPFD_CLOEXEC.
34676
34677 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34678
34679         * elf/Makefile (pldd-modules): Define unconditionally.
34680
34681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34682
34683         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34684
34685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34686
34687         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34688         Return ENOENT when name is empty.
34689         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34690
34691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34692
34693         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34694
34695         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34696
34697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34698
34699         Fix mlock in all cases except non-readable pages.
34700         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34701         instead of VM_PROT_ALL as parameter to __vm_wire function.
34702
34703         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34704         (__mkdir): When path is `/', just fail with EEXIST.
34705         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34706
34707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34708
34709         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34710         <sys/uio.h> (for writev).
34711         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34712         and <sys/param.h> (for MIN).
34713
34714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34715
34716         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34717         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34718         if interrupted.
34719
34720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34721
34722         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34723         Depend on against $(link-rpcuserlibs).
34724
34725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34726
34727         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34728         (__libc_stack_end): Do not use attribute_relro.
34729         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34730         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34731         to libthread-provided value.
34732         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34733         attribute_relro.
34734
34735 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34736
34737         [BZ #3748]
34738         * bits/libc-lock.h (__libc_once_get): New macro.
34739         * sysdeps/mach/bits/libc-lock.h: Likewise.
34740         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34741         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34742         instead of using implementation details.
34743
34744         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34745         * libio/freopen.c: Likewise.
34746         * libio/freopen64.c: Likewise.
34747         * misc/syslog.c: Likewise.
34748         * nscd/connections.c: Likewise.
34749         * nscd/netgroupcache.c: Likewise.
34750         * sysdeps/posix/getcwd.c: Likewise.
34751
34752 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34753
34754         * math/w_ilogbf.c: Add #include <limits.h>.
34755
34756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34757
34758         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34759         path instead of returning without unlocking.
34760
34761         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34762         immediate-write ioctls.
34763         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34764
34765 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34766
34767         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34768         __builtin_frame_address instead of making assumptions about the
34769         location of the return address relative to DATA.  Force early load of
34770         the return address.
34771         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34772         __builtin_frame_address.
34773
34774         dup3 for GNU Hurd.
34775         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34776         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34777         implement dup3 and do some further code clean-ups.
34778         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34779         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34780
34781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34782
34783         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34784
34785         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34786         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34787         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34788         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34789         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34790         d->port.lock.
34791
34792         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34793         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34794         when handler == SIG_ERR, not when handler != SIG_ERR.
34795
34796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34797
34798         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34799         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34800         definitions.
34801
34802         accept4 for GNU Hurd.
34803         * include/sys/socket.h (__libc_accept4): New prototype.
34804         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34805         to implement __libc_accept4.
34806         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34807         __libc_accept4.
34808         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34809
34810         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34811         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34812         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34813         signal-defines.sym.
34814
34815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34816
34817         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34818
34819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34820
34821         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34822         assertion on O_CLOEXEC flag.
34823         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34824         * hurd/intern-fd.c: Likewise.
34825         * hurd/port2fd.c: Likewise.
34826
34827 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34828
34829         [BZ #3906]
34830         * bits/in.h (IPV6_PKTINFO): Define new macro.
34831         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34832
34833 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34834
34835         [BZ #13954]
34836         [BZ #13955]
34837         [BZ #13956]
34838         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34839         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34840         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34841         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34842         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34843         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34844         * math/libm-test.inc (logb_test) : Additional logb tests.
34845
34846 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34847             Andreas Jaeger  <aj@suse.de>
34848
34849         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34850         * configure: Regenerated.
34851         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34852         * config.make.in (link-obsolete-rpc): New substituted variable.
34853         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34854         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34855         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34856         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34857         so that libc.a contains the symbols.
34858         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34859         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34860         * sunrpc/auth_none.c: Likewise.
34861         * sunrpc/auth_unix.c: Likewise.
34862         * sunrpc/authdes_prot.c: Likewise.
34863         * sunrpc/authuxprot.c: Likewise.
34864         * sunrpc/clnt_gen.c: Likewise.
34865         * sunrpc/clnt_perr.c: Likewise.
34866         * sunrpc/clnt_raw.c: Likewise.
34867         * sunrpc/clnt_simp.c: Likewise.
34868         * sunrpc/clnt_tcp.c: Likewise.
34869         * sunrpc/clnt_udp.c: Likewise.
34870         * sunrpc/clnt_unix.c: Likewise.
34871         * sunrpc/des_crypt.c: Likewise.
34872         * sunrpc/des_soft.c: Likewise.
34873         * sunrpc/get_myaddr.c: Likewise.
34874         * sunrpc/key_call.c: Likewise.
34875         * sunrpc/key_prot.c: Likewise.
34876         * sunrpc/netname.c: Likewise.
34877         * sunrpc/pm_getmaps.c: Likewise.
34878         * sunrpc/pm_getport.c: Likewise.
34879         * sunrpc/pmap_clnt.c: Likewise.
34880         * sunrpc/pmap_prot.c: Likewise.
34881         * sunrpc/pmap_prot2.c: Likewise.
34882         * sunrpc/pmap_rmt.c: Likewise.
34883         * sunrpc/publickey.c: Likewise.
34884         * sunrpc/rpc_cmsg.c: Likewise.
34885         * sunrpc/rpc_common.c: Likewise.
34886         * sunrpc/rpc_dtable.c: Likewise.
34887         * sunrpc/rpc_prot.c: Likewise.
34888         * sunrpc/rpc_thread.c: Likewise.
34889         * sunrpc/rtime.c: Likewise.
34890         * sunrpc/svc.c: Likewise.
34891         * sunrpc/svc_auth.c: Likewise.
34892         * sunrpc/svc_raw.c: Likewise.
34893         * sunrpc/svc_run.c: Likewise.
34894         * sunrpc/svc_tcp.c: Likewise.
34895         * sunrpc/svc_udp.c: Likewise.
34896         * sunrpc/svc_unix.c: Likewise.
34897         * sunrpc/svcauth_des.c: Likewise.
34898         * sunrpc/xcrypt.c: Likewise.
34899         * sunrpc/xdr.c: Likewise.
34900         * sunrpc/xdr_array.c: Likewise.
34901         * sunrpc/xdr_float.c: Likewise.
34902         * sunrpc/xdr_intXX_t.c: Likewise.
34903         * sunrpc/xdr_mem.c: Likewise.
34904         * sunrpc/xdr_rec.c: Likewise.
34905         * sunrpc/xdr_ref.c: Likewise.
34906         * sunrpc/xdr_sizeof.c: Likewise.
34907         * sunrpc/xdr_stdio.c: Likewise.
34908
34909 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34910
34911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34912         change.  Update copyright years.
34913
34914 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34915
34916         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34917
34918 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34919             Joseph Myers  <joseph@codesourcery.com>
34920             Paul Pluzhnikov  <ppluzhnikov@google.com>
34921
34922         [BZ #14012]
34923         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34924         requiring rpcgen.
34925         [cross-compiling] (extra-libs): Likewise.
34926         [cross-compiling] (extra-libs-others): Likewise.
34927         [cross-compiling] (librpcsvc-routines): Likewise.
34928         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34929         [cross-compiling] (omit-deps): Likewise.
34930         (sunrpc-CPPFLAGS): New variable.
34931         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34932         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34933         (cross-rpcgen-objs): New variable.
34934         (extra-objs): Append $(cross-rpcgen-objs).
34935         ($(cross-rpcgen-objs)): New rule.
34936         ($(objpfx)cross-rpcgen): Likewise.
34937         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34938         comment.
34939         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34940         ($(objpfx)x%.stmp): Likewise.
34941         * sunrpc/proto.h [IS_IN_build] (_): Define.
34942         [IS_IN_build] (_libc_intl_domainname): Likewise.
34943
34944 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34945
34946         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34947         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34948         and R_X86_64_TPOFF64.
34949
34950 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34951
34952         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34953         sysdeps/unix/sysv/syscalls.list.
34954         (stime): Likewise.
34955         (utime): Likewise.
34956         * sysdeps/unix/sysv/syscalls.list: Remove file.
34957
34958 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34959
34960         [BZ #3440]
34961         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34962         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34963         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34964         (__LC_IDENTIFICATION): Make these macros useful in #if
34965         expressions, as required by C99.
34966
34967 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34968
34969         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34970         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34971         after this.
34972
34973 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34974
34975         * stdlib/longlong.h: Updated from GCC.
34976
34977 2012-05-09  Andreas Jaeger  <aj@suse.de>
34978
34979         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34980         default is first entry.
34981         (run_mode): Set type.
34982         (main): Remove informal message about syslog.
34983         (options): Fix typo.
34984
34985         [BZ #14053]
34986         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34987         to asm.
34988         (lrint): Likewise.
34989         (llrintf): Likewise.
34990         (llrint): Likewise.
34991         (rint): Likewise.
34992         (rintf): Likewise.
34993         (nearbyint): Likewise.
34994         (nearbyintf): Likewise.
34995
34996 2012-05-09  Andreas Jaeger  <aj@suse.de>
34997             Pedro Alves  <palves@redhat.com>
34998
34999         * nscd/nscd.c (run_mode): Use enum.
35000         (main): Cleanup coding style issue.
35001
35002 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35003             Andreas Jaeger  <aj@suse.de>
35004
35005         * nscd/nscd.c (go_background): Replaced with...
35006         (run_mode): ... this.
35007         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35008         (options): Add -F --foreground.
35009         (main): Implement it.
35010         (parse_opt): Parse it.
35011
35012 2012-05-09  Andreas Jaeger  <aj@suse.de>
35013
35014         [BZ #14083]
35015         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35016         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35017         -Wconversion warning.
35018         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35019         Likewise.
35020
35021 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35022
35023         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35024         == 0.
35025         (LC_ALL): Use macro-int-constant.
35026         (LC_COLLATE): Likewise.
35027         (LC_CTYPE): Likewise.
35028         (LC_MESSAGES): Likewise.
35029         (LC_MONETARY): Likewise.
35030         (LC_NUMERIC): Likewise.
35031         (LC_TIME): Likewise.
35032         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35033         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35035         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35036         Specify type.
35037         [C99-based standards] (float_t): Expect type.
35038         [C99-based standards] (double_t): Expect type.
35039         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35040         type.
35041         [C99-based standards] (HUGE_VALL): Likewise.
35042         [C99-based standards] (INFINITY): Likewise.
35043         [C99-based standards] (NAN): Likewise.
35044         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35045         [C99-based standards] (FP_NAN): Likewise.
35046         [C99-based standards] (FP_NORMAL): Likewise.
35047         [C99-based standards] (FP_SUBNORMAL): Likewise.
35048         [C99-based standards] (FP_ZERO): Likewise.
35049         [C99-based standards] (FP_FAST_FMA): Use
35050         optional-macro-int-constant.  Specify type.  Require == 1.
35051         [C99-based standards] (FP_FAST_FMAF): Likewise.
35052         [C99-based standards] (FP_FAST_FMAL): Likewise.
35053         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35054         [C99-based standards] (FP_ILOGBNAN): Likewise.
35055         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35056         Specify type.
35057         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35058         [C99-based standards] (math_errhandling): Specify type.
35059         [ISO99 || ISO11] (signgam): Do not allow.
35060         [non-C99-based standards] (copysignf): Do not allow.
35061         [non-C99-based standards] (exp2f): Likewise.
35062         [non-C99-based standards] (log2f): Likewise.
35063         [non-C99-based standards] (modff): Allow.
35064         [non-C99-based standards] (erff): Do not allow.
35065         [non-C99-based standards] (erfcf): Likewise.
35066         [non-C99-based standards] (gammaf): Likewise.
35067         [non-C99-based standards] (hypotf): Likewise.
35068         [non-C99-based standards] (j0f): Likewise.
35069         [non-C99-based standards] (j1f): Likewise.
35070         [non-C99-based standards] (jnf): Likewise.
35071         [non-C99-based standards] (lgammaf): Likewise.
35072         [non-C99-based standards] (tgammaf): Likewise.
35073         [non-C99-based standards] (y0f): Likewise.
35074         [non-C99-based standards] (y1f): Likewise.
35075         [non-C99-based standards] (ynf): Likewise.
35076         [non-C99-based standards] (isnanf): Likewise.
35077         [non-C99-based standards] (acoshf): Likewise.
35078         [non-C99-based standards] (asinhf): Likewise.
35079         [non-C99-based standards] (atanhf): Likewise.
35080         [non-C99-based standards] (cbrtf): Likewise.
35081         [non-C99-based standards] (expm1f): Likewise.
35082         [non-C99-based standards] (ilogbf): Likewise.
35083         [non-C99-based standards] (log1pf): Likewise.
35084         [non-C99-based standards] (logbf): Likewise.
35085         [non-C99-based standards] (nextafterf): Likewise.
35086         [non-C99-based standards] (remainderf): Likewise.
35087         [non-C99-based standards] (rintf): Likewise.
35088         [non-C99-based standards] (scalbf): Likewise.
35089         [non-C99-based standards] (copysignl): Likewise.
35090         [non-C99-based standards] (exp2l): Likewise.
35091         [non-C99-based standards] (log2l): Likewise.
35092         [non-C99-based standards] (modfl): Allow.
35093         [non-C99-based standards] (erfl): Do not allow.
35094         [non-C99-based standards] (erfcl): Likewise.
35095         [non-C99-based standards] (gammal): Likewise.
35096         [non-C99-based standards] (hypotl): Likewise.
35097         [non-C99-based standards] (j0l): Likewise.
35098         [non-C99-based standards] (j1l): Likewise.
35099         [non-C99-based standards] (jnl): Likewise.
35100         [non-C99-based standards] (lgammal): Likewise.
35101         [non-C99-based standards] (tgammal): Likewise.
35102         [non-C99-based standards] (y0l): Likewise.
35103         [non-C99-based standards] (y1l): Likewise.
35104         [non-C99-based standards] (ynl): Likewise.
35105         [non-C99-based standards] (isnanl): Likewise.
35106         [non-C99-based standards] (acoshl): Likewise.
35107         [non-C99-based standards] (asinhl): Likewise.
35108         [non-C99-based standards] (atanhl): Likewise.
35109         [non-C99-based standards] (cbrtl): Likewise.
35110         [non-C99-based standards] (expm1l): Likewise.
35111         [non-C99-based standards] (ilogbl): Likewise.
35112         [non-C99-based standards] (log1pl): Likewise.
35113         [non-C99-based standards] (logbl): Likewise.
35114         [non-C99-based standards] (nextafterl): Likewise.
35115         [non-C99-based standards] (remainderl): Likewise.
35116         [non-C99-based standards] (rintl): Likewise.
35117         [non-C99-based standards] (scalbl): Likewise.
35118         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35119         [non-C99-based standards] (FP_*): Do not allow.
35120         [C99-based standards] (FP_*): Change to
35121         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35122         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35123         allow.
35124         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35125         (SIG_ERR): Likewise.
35126         [X/Open-based standards] (SIG_HOLD): Likewise.
35127         (SIG_IGN): Likewise.
35128         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35129         positive value.
35130         (SIGFPE): Likewise.
35131         (SIGILL): Likewise.
35132         (SIGINT): Likewise.
35133         (SIGSEGV): Likewise.
35134         (SIGTER): Likewise.
35135         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35136         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35137         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35138         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35139         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35140         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35141         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35142         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35143         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35144         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35145         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35146         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35147         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35148         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35149         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35150         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35151         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35152         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35153         [X/Open-based standards] (SIGTRAP): Likewise.
35154         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35155         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35156         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35157         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35158         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35159         allow.
35160
35161 2012-05-08  Ian Wienand  <ianw@vmware.com>
35162
35163         [BZ #14080]
35164         * time/tzset.c (__tzset_parse_tz): Update default rules for
35165         daylight time changes in the Energy Policy Act of 2005.
35166
35167 2012-05-09  Andreas Jaeger  <aj@suse.de>
35168
35169         [BZ #13983]
35170         * elf/ldconfig.c (parse_conf): Change string to make clear that
35171         ldconfig only issued a warning if ld.so.conf does not exist.
35172
35173 2012-05-08  David S. Miller  <davem@davemloft.net>
35174
35175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35176         movxtod instead of popping the value on the stack.
35177
35178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35179
35180 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35181
35182         * config.h.in: Add HAVE_ARM_PCS_VFP.
35183
35184 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35185
35186         [BZ #13979]
35187         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35188         checking but the checks are disabled for any reason.
35189
35190 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35191
35192         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35193         and ELF64_R_TYPE with ELFW(R_TYPE).
35194
35195 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35196
35197         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35198         (ulimit): Likewise.
35199
35200         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35201         (settimeofday): Likewise.
35202
35203 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35204
35205         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35206         a struct th_u2 inside the union, and move tu_block/tu_code into
35207         a new th_u3 union of tu_block/tu_code inside of that.  Move
35208         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35209         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35210         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35211         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35212         (th_stuff): Change to th_u1.tu_stuff.
35213         (th_data): Define.
35214         (th_msg): Change to th_u1.th_u2.tu_data.
35215
35216 2012-05-07  David S. Miller  <davem@davemloft.net>
35217
35218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35219
35220         [BZ #14074]
35221         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35222         (SETUP_PIC_REG): Use it.
35223         (SETUP_PIC_REG_LEAF): Use it.
35224
35225 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35226
35227         [BZ #13885]
35228         [BZ #13923]
35229         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35230         USE_AS_EXPM1L.
35231         (EXPL_FINITE): Likewise.
35232         (FLDLOG): Likewise.
35233         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35234         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35235         e_expl.S.
35236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35237         USE_AS_EXPM1L.
35238         (EXPL_FINITE): Likewise.
35239         (FLDLOG): Likewise.
35240         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35241         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35242         e_expl.S.
35243         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35244         test of -max_value argument for long double.
35245         * sysdeps/i386/fpu/libm-test-ulps: Update.
35246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35247
35248 2012-05-06  David S. Miller  <davem@davemloft.net>
35249
35250         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35251         quad soft-float symbols whose references which are compiler
35252         generated.
35253         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35254
35255 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35256
35257         [BZ #13884]
35258         [BZ #13914]
35259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35260         USE_AS_EXP10L.
35261         (EXPL_FINITE): Likewise.
35262         (FLDLOG): Likewise.
35263         (c0): Likewise.
35264         (c1): Likewise.
35265         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35266         Adjust comments for base varying.
35267         (__expl_finite): Change alias to EXPL_FINITE.
35268         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35269         e_expl.S.
35270         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35271         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35272         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35273         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35274         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35275         USE_AS_EXP10L.
35276         (EXPL_FINITE): Likewise.
35277         (FLDLOG): Likewise.
35278         (c0): Likewise.
35279         (c1): Likewise.
35280         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35281         Adjust comments for base varying.
35282         (__expl_finite): Change alias to EXPL_FINITE.
35283         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35284         tests for bugs.
35285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35286
35287         [BZ #14064]
35288         * math/libm-test.inc (check_float_internal): Correct ulp
35289         calculation for subnormal expected results.
35290
35291 2012-05-06  Andreas Jaeger  <aj@suse.de>
35292
35293         * Makeconfig (+math-flags): New, set to -frounding-math.
35294         (+cflags): Add +math-flags so that all of glibc gets compiled with
35295         it.
35296
35297         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35298
35299 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35300
35301         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35302         Disable one test.
35303
35304         [BZ #13787]
35305         [BZ #13922]
35306         [BZ #14036]
35307         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35308         (__ieee754_expl): Allow for and saturate large arguments.
35309         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35310         (u_threshold): Likewise.
35311         (__exp): Call __ieee754_exp before checking for overflow and
35312         underflow.
35313         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35314         (u_threshold): Likewise.
35315         (__expf): Call __ieee754_expf before checking for overflow and
35316         underflow.
35317         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35318         (u_threshold): Likewise.
35319         (__expl): Call __ieee754_expl before checking for overflow and
35320         underflow.
35321         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35322         (__ieee754_expl): Allow for and saturate large arguments.
35323         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35324         missing overflow exception on overflow.
35325         (expm1_test): Do not allow missing overflow exception on overflow.
35326
35327         * sysdeps/i386/fpu/e_expl.c: Move to ...
35328         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35329         rather than using inline asm.
35330         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35331         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35332         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35333
35334         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35335         (nice): Likewise.
35336         (poll): Likewise.
35337         (signal): Likewise.
35338         (time): Likewise.
35339         (times): Likewise.
35340
35341 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35342
35343         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35344         sysdeps/unix/common/syscalls.list.
35345         (fchmod): Likewise.
35346         (fchown): Likewise.
35347         (ftruncate): Likewise.
35348         (getrusage): Likewise.
35349         (gettimeofday): Likewise.
35350         (setpgid): Likewise.
35351         (setregid): Likewise.
35352         (setreuid): Likewise.
35353         (sigaction): Likewise.
35354         (truncate): Likewise.
35355         (vhangup): Likewise.
35356         * sysdeps/unix/common/syscalls.list: Remove file.
35357         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35358         * sysdeps/unix/sysv/linux/Implies: Likewise.
35359
35360 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35361
35362         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35364         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35365         Moved to ...
35366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35367         Here.
35368         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35369         to ...
35370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35371         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35372         to ...
35373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35374         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35375         to ...
35376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35377         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35378         to ...
35379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35380         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35381         to ...
35382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35383         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35384         to ...
35385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35386         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35387         to ...
35388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35389         Here.
35390         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35391         to ...
35392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35393         Here.
35394         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35395         to ...
35396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35397         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35398         Moved to ...
35399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35400         Here.
35401         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35402         to ...
35403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35404
35405 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35406
35407         * sysdeps/unix/common/bits/dirent.h: Remove file.
35408         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35409
35410         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35411         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35412         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35413         * sysdeps/unix/bsd/isatty.c: Likewise.
35414         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35415         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35416         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35417
35418 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35419
35420         [BZ #13563]
35421         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35422         long double comparison inaccuracies.
35423         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35425
35426 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35427
35428         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35429         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35430
35431 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35432
35433         [BZ #14049]
35434         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35435         nonzero digits before rounding a hex value.
35436         * stdlib/tst-strtod.c (tests): Add another test.
35437
35438 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35439
35440         * sysdeps/s390/fpu/libm-test-ulps: Update.
35441
35442 2012-05-03  Andreas Jaeger  <aj@suse.de>
35443
35444         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35445         does not get optimized out.
35446         (malloc_opt_barrier): New.
35447
35448 2012-05-03  Andreas Jaeger  <aj@suse.de>
35449             Roland McGrath  <roland@hack.frob.com>
35450
35451         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35452         intermediate file deletion.
35453         (generated): Add .symlist files.
35454
35455 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35456
35457         [BZ #13775]
35458         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35459         Redirect under this condition.
35460         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35461         [__USE_GNU] (__dprintf_chk): Not under this condition.
35462         [__USE_GNU] (__vdprintf_chk): Likewise.
35463         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35464         under this condition.
35465         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35466         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35467         [__USE_XOPEN2K8] (vdprintf): Likewise.
35468         [__USE_GNU] (__dprintf_chk): Not under this condition.
35469         [__USE_GNU] (__vdprintf_chk): Likewise.
35470         [__USE_GNU] (dprintf): Likewise.
35471         [__USE_GNU] (vdprintf): Likewise.
35472
35473 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35474
35475         * elf/Makefile (common-generated): Set this instead of generated for
35476         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35477         $(all-built-dso)-derived lists.
35478
35479 2012-05-03  Andreas Jaeger  <aj@suse.de>
35480
35481         * sysdeps/i386/fpu/libm-test-ulps: Update.
35482
35483         * FAQ: Removed.
35484         * FAQ.in: Likewise.
35485         * scripts/gen-FAQ.pl: Likewise.
35486         * manual/install.texi (Installation): Point to online location of
35487         FAQ.
35488         * Makefile (files-for-dist): Remove FAQ.
35489         (FAQ): Remove.
35490
35491 2012-05-02  Allan McRae  <allan@archlinux.org>
35492
35493         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35494         (LDFLAGS-reldepmod5.so): Likewise.
35495         (LDFLAGS-reldep6mod1.so): Likewise.
35496         (LDFLAGS-reldep6mod4.so): Likewise.
35497         (LDFLAGS-reldep8mod3.so): Likewise.
35498         (LDFLAGS-unload4mod1.so): Likewise.
35499         (LDFLAGS-unload4mod2.so): Likewise.
35500         (LDFLAGS-tst-initorder): Likewise.
35501         (LDFLAGS-tst-initordera2.so): Likewise.
35502         (LDFLAGS-tst-initordera3.so): Likewise.
35503         (LDFLAGS-tst-initordera4.so): Likewise.
35504         (LDFLAGS-tst-initorderb2.so): Likewise.
35505         (LDFLAGS-noload): Likewise.
35506         (LDFLAGS-next): Likewise.
35507         (LDFLAGS-order2mod1.so): Likewise.
35508         (LDFLAGS-order2mod2.so): Likewise.
35509         (LDFLAGS-tst-initorder2): Likewise.
35510         (LDFLAGS-tst-initorder2a.so): Likewise.
35511         (LDFLAGS-tst-initorder2b.so): Likewise.
35512         (LDFLAGS-tst-initorder2c.so): Likewise.
35513         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35514
35515 2012-05-02  David S. Miller  <davem@davemloft.net>
35516
35517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35518
35519 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35520
35521         [BZ #14055]
35522         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35523
35524 2012-05-02  Andreas Jaeger  <aj@suse.de>
35525
35526         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35527         since we manipulate rounding mode.
35528         (CPPFLAGS-test-idouble.c): Likewise.
35529         (CPPFLAGS-test-ifloat.c): Likewise.
35530         (CFLAGS-test-ldouble.c): Likewise.
35531         (CFLAGS-test-double.c): Likewise.
35532         (CFLAGS-test-float.c): Likewise.
35533         (CFLAGS-test-misc.c): Likewise.
35534         (CFLAGS-test-test-fenv.c): Likewise.
35535
35536 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35537
35538         [BZ #2550]
35539         [BZ #2570]
35540         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35541         comparisons to determine direction to adjust input.
35542
35543 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35544
35545         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35546         output to the target.
35547
35548         * scripts/localplt.awk: New file.
35549         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35550         (check-localplt-CFLAGS): Variable removed.
35551         ($(all-built-dso:=.jmprel)): New static pattern rule.
35552         (generated): Add those targets.
35553         (localplt-built-dso): New variable.
35554         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35555
35556         * elf/check-localplt.c: File removed.
35557
35558         * scripts/check-execstack.awk: New file.
35559         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35560         (check-execstack-CFLAGS): Variable removed.
35561         ($(objpfx)check-execstack.h): Target removed.
35562         ($(objpfx)execstack-default): New target.
35563         (generated): Add that instead of check-execstack.h.
35564         ($(all-built-dso:=.phdr)): New static pattern rule.
35565         (generated): Add those targets.
35566         * elf/check-execstack.c: File removed.
35567
35568         * scripts/check-textrel.awk: New file.
35569         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35570         (check-textrel-CFLAGS): Variable removed.
35571         (all-built-dso): Use := to define.o
35572         ($(all-built-dso:=.dyn)): New static pattern rule.
35573         (generated): Add those targets.
35574         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35575         * config.make.in (READELF): New substituted variable.
35576         * elf/check-textrel.c: File removed.
35577
35578 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35579
35580         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35581         allow.
35582         * conform/data/ctype.h-data [C99-based standards] (isblank):
35583         Expect function.
35584         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35585         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35587         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35588         Specify type.  Require positive value.
35589         (EILSEQ): Likewise.
35590         (ERANGE): Likewise.
35591         [ISO || POSIX] (EILSEQ): Do not expect.
35592         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35593         Specify type.  Require positive value.
35594         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35595         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35596         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35597         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35598         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35599         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35600         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35601         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35602         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35603         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35604         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35605         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35606         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35607         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35608         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35609         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35610         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35611         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35612         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35613         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35614         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35615         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35616         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35617         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35618         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35619         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35620         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35621         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35622         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35623         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35624         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35625         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35626         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35627         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35628         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35629         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35630         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35631         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35632         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35633         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35634         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35635         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35636         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35637         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35638         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35639         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35640         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35641         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35642         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35643         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35644         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35645         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35646         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35647         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35648         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35649         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35650         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35651         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35652         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35653         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35654         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35655         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35656         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35657         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35658         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35659         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35660         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35661         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35662         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35663         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35664         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35665         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35666         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35667         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35668         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35669         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35670         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35671         Require >= 2.
35672         (FLT_ROUNDS): Expect as macro, not constant.
35673         (FLT_MANT_DIG): Use macro-int-constant.
35674         (DBL_MANT_DIG): Likewise.
35675         (LDBL_MANT_DIG): Likewise.
35676         (FLT_DIG): Likewise.
35677         (DBL_DIG): Likewise.
35678         (LDBL_DIG): Likewise.
35679         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35680         (DBL_MIN_EXP): Likewise.
35681         (LDBL_MIN_EXP): Likewise.
35682         (FLT_MAX_EXP): Use macro-int-constant.
35683         (DBL_MAX_EXP): Likewise.
35684         (LDBL_MAX_EXP): Likewise.
35685         (FLT_MAX_10_EXP): Likewise.
35686         (DBL_MAX_10_EXP): Likewise.
35687         (LDBL_MAX_10_EXP): Likewise.
35688         (FLT_MAX): Use macro-constant.
35689         (DBL_MAX): Likewise.
35690         (LDBL_MAX): Likewise.
35691         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35692         (DBL_EPSILON): Likewise.
35693         (LDBL_EPSILON): Likewise.
35694         (FLT_MIN): Likewise.
35695         (DBL_MIN): Likewise.
35696         (LDBL_MIN): Likewise.
35697         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35698         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35699         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35700         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35701         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35702         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35703         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35704         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35705         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35706         [ISO11] (FLT_TRUE_MIN): Likewise.
35707         [ISO11] (LDBL_TRUE_MIN): Likewise.
35708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35709         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35710         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35711         (SCHAR_MAX): Likewise.
35712         (UCHAR_MAX): Likewise.
35713         (CHAR_MIN): Likewise.
35714         (CHAR_MAX): Likewise.
35715         (MB_LEN_MAX): Use macro-int-constant.
35716         (SHRT_MIN): Use macro-int-constant.  Specify type.
35717         (SHRT_MAX): Likewise.
35718         (USHRT_MAX): Likewise.
35719         (INT_MAX): Likewise.
35720         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35721         bound negative.
35722         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35723         bound with "U".
35724         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35725         bound with "L".
35726         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35727         bound negative.  Suffix upper bound with "L".
35728         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35729         bound with "UL".
35730         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35731         Specify type.
35732         [C99-based standards] (LLONG_MAX): Likewise.
35733         [C99-based standards] (ULLONG_MAX): Likewise.
35734         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35735         == 0.
35736         [ISO11] (max_align_t): Require type.
35737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35738
35739         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35740         from $CFLAGS, without defining away __attribute__ calls.
35741         (checknamespace): Use $CFLAGS_namespace.
35742
35743         * conform/conformtest.pl (@keywords): Only include C99 keywords
35744         for standards based on C99 or C11.
35745
35746         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35747         Disable tests.
35748         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35749         UNIX98]: Likewise.
35750
35751         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35752         usability of symbols in #if.
35753
35754         * conform/conformtest.pl: If macro or constant types start
35755         "promoted:", expect the symbol to be of the following type
35756         promoted by the integer promotions.
35757
35758         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35759         in one place.  Also handle "macro-constant".
35760
35761         * conform/conformtest.pl: Only accept expected macro values with
35762         "==".  Parse all "macro" lines in one place.
35763         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35764
35765         * conform/conformtest.pl: Handle braced types on "constant" lines
35766         instead of handling "typed-constant".
35767         * conform/data/signal.h-data: Use "constant" instead of
35768         "typed-constant".
35769
35770         * conform/conformtest.pl: Handle "optional-" at start of lines in
35771         one place rather than duplicating several cases.  Handle each
35772         format of "macro" line with initial "optional-".
35773
35774         * conform/conformtest.pl: Only accept expected constant or
35775         optional-constant values with "==".  Parse all "constant" lines in
35776         one place.  Parse all "optional-constant" lines in one place.
35777         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35778         * conform/data/fmtmsg.h-data: Likewise.
35779         * conform/data/netinet/in.h-data: Likewise.
35780         * conform/data/tar.h-data: Likewise.
35781         * conform/data/limits.h-data: Use "==" form on "constant" and
35782         "optional-constant" lines.
35783
35784         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35785         Use -std=c99 for XOPEN2K.
35786         (@knownproblems): Remove.
35787         (newtoken): Don't check %isknown.
35788
35789         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35790         Do not expect macro.
35791         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35792         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35793         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35794         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35795         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35796         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35797         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35798         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35799         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35800         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35801         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35802         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35803         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35804         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35805         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35806         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35807         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35808         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35809         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35810         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35811         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35812         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35813         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35814         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35815         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35816         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35817         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35818         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35819         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35820         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35821         [XPG3] (acosh): Likewise.
35822         [XPG3] (asinh): Likewise.
35823         [XPG3] (atanh): Likewise.
35824         [XPG3] (cbrt): Likewise.
35825         [XPG3] (expm1): Likewise.
35826         [XPG3] (ilogb): Likewise.
35827         [XPG3] (log1p): Likewise.
35828         [XPG3] (logb): Likewise.
35829         [XPG3] (nextafter): Likewise.
35830         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35831         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35832         [XPG3] (remainder): Likewise.
35833         [XPG3] (rint): Likewise.
35834         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35835         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35836         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35837         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35838         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35839         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35840         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35841         [UNIX98 || XOPEN2K] (scalb): Expect.
35842         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35843         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35844         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35845         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35846         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35847         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35848         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35849         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35850         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35851         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35852         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35853         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35854         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35855         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35856         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35857         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35858         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35859         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35860         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35861         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35862         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35863         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35864         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35865         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35866         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35867         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35868         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35869         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35870         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35871         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35872         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35873         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35874         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35875         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35876         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35877         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35878         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35879         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35882         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35883         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35884         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35885         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35886         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35887         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35888         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35889         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35890         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35891         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35892         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35893         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35894         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35895         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35896         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35897         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35898         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35899         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35900         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35901         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35902         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35903         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35904         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35905         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35906         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35907         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35908         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35909         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35910         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35911         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35912         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35913         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35914         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35915         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35916         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35917         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35918         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35919         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35920         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35921         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35922         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35923         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35924         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35925         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35926         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35927         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35928         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35929         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35930         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35931         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35932         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35944         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35945         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35948         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35949         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35963         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35964         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35966         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35967         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35968         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35969         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35970         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35974         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35979
35980         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35981         _XOPEN_SOURCE_EXTENDED for XPG4.
35982
35983         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35984
35985         * Makeconfig (localtime): Remove variable.
35986         (inst_localtime-file): Likewise.
35987
35988 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35989
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35991         Update.
35992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35993         Update.
35994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35995         Update.
35996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35997         Update.
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35999         Update.
36000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36001         Update.
36002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36003         Update.
36004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36005         Update.
36006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36007         Update.
36008
36009 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36010
36011         [BZ #2550]
36012         [BZ #2570]
36013         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36014         comparisons to determine direction to adjust input.
36015         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36016         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36017         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36018         Likewise.
36019         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36020         Likewise.
36021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36022         Likewise.
36023         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36024         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36025         Likewise.
36026         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36027         Likewise.
36028         * math/libm-test.inc (nexttoward_test): Add more tests.
36029
36030 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36031
36032         [BZ #14040]
36033         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36034         in version GLIBC_2.1, not GLIBC_2.0.
36035         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36036         Likewise.
36037
36038 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36039
36040         [BZ #13942]
36041         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36042         (1 - x) * (1 + x).
36043         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36044         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36045         * math/libm-test.inc (acos_test): Add more tests.
36046         (asin_test): Likewise.
36047         * sysdeps/i386/fpu/libm-test-ulps: Update.
36048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36049
36050         [BZ #14034]
36051         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36052         of square root.
36053         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36054         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36055         * math/libm-test.inc (acos_test_tonearest): New function.
36056         (acos_test_towardzero): Likewise.
36057         (acos_test_downward): Likewise.
36058         (acos_test_upward): Likewise.
36059         (asin_test_tonearest): Likewise.
36060         (asin_test_towardzero): Likewise.
36061         (asin_test_downward): Likewise.
36062         (asin_test_upward): Likewise.
36063         (main): Call the new functions.
36064         * sysdeps/i386/fpu/libm-test-ulps: Update.
36065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36066
36067         [BZ #13884]
36068         [BZ #13924]
36069         * math/e_exp10.c: Include <float.h>.
36070         (__ieee754_exp10): Handle underflow here rather than multiplying
36071         large negative argument by M_LN10.
36072         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36073         of __ieee754_expf.
36074         * math/e_exp10l.c: Include <float.h>.
36075         (__ieee754_exp10l): Handle underflow here rather than multiplying
36076         large negative argument by M_LN10l.
36077         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36078         spurious overflow exception on underflow.
36079
36080 2012-04-29  Marek Polacek  <polacek@redhat.com>
36081
36082         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36083         (__fortify_function): New macro.
36084         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36085         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36086         __extern_always_inline.
36087         * libio/bits/stdio2.h: Likewise.
36088         * libio/bits/stdio.h: Likewise.
36089         * string/string.h: Likewise.
36090         * string/bits/string3.h: Likewise.
36091         * include/stdio.h: Likewise.
36092         * stdlib/bits/stdlib.h: Likewise.
36093         * stdlib/stdlib.h: Likewise.
36094         * rt/bits/mqueue2.h: Likewise.
36095         * rt/mqueue.h: Likewise.
36096         * posix/bits/unistd.h: Likewise.
36097         * posix/unistd.h: Likewise.
36098         * io/bits/poll2.h: Likewise.
36099         * io/bits/fcntl2.h: Likewise.
36100         * io/fcntl.h: Likewise.
36101         * io/sys/poll.h: Likewise.
36102         * misc/bits/syslog.h: Likewise.
36103         * misc/bits/syslog-ldbl.h: Likewise.
36104         * misc/sys/syslog.h: Likewise.
36105         * socket/bits/socket2.h: Likewise.
36106         * socket/sys/socket.h: Likewise.
36107         * debug/tst-chk1.c: Likewise.
36108         * wcsmbs/bits/wchar2.h: Likewise.
36109         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36110         * wcsmbs/wchar.h: Likewise.
36111
36112 2012-04-29  Andreas Jaeger  <aj@suse.de>
36113
36114         * Makerules (tests): Remove enable-check-abi protection.
36115         (check-abi-warn): Remove.
36116         (check-abi-%): Remove check-abi-warn usage.
36117
36118         * configure.in: Remove check-abi configure option.
36119         * configure: Regenerated.
36120         * config.make.in (enable-check-abi): Remove.
36121
36122 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36123
36124         [BZ #14033]
36125         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36126         double functions to double *_finite functions.
36127
36128         [BZ #13941]
36129         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36130         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36131         LDBL_MIN_EXP.
36132         * stdio-common/Makefile (tests): Add tst-sprintf3.
36133         * stdio-common/tst-sprintf3.c: New file.
36134
36135         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36136         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36137
36138 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36139
36140         * conform/conformtest.pl: Remove duplicate typed-constant
36141         handling.
36142
36143 2012-04-28  David S. Miller  <davem@davemloft.net>
36144
36145         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36146         (check-abi-%): Remove AWK script prerequisite and explicit
36147         abilist directory.
36148         (check-abi): Rewrite to just diff the symlist with the abilist.
36149         (config-tls, config-abi-config): Delete, no longer used.
36150         (update-abi-%): Remove AWK script and explicit abilist directory.
36151         (update-abi): Rewrite to simply compare and conditionally copy the
36152         symlist and the sysdep abilist file.  Remove update-abi-config
36153         checks.
36154         * abilist/ld.abilist: Remove.
36155         * abilist/libBrokenLocale.abilist: Remove.
36156         * abilist/libanl.abilist: Remove.
36157         * abilist/libcrypt.abilist: Remove.
36158         * abilist/libdl.abilist: Remove.
36159         * abilist/librt.abilist: Remove.
36160         * abilist/libthread_db.abilist: Remove.
36161         * abilist/libutil.abilist: Remove.
36162         * scripts/extract-abilist.awk: Remove.
36163         * scripts/merge-abilist.awk: Remove.
36164         * sysdeps/generic/libcidn.abilist: New file.
36165         * sysdeps/generic/libnss_compat.abilist: New file.
36166         * sysdeps/generic/libnss_db.abilist: New file.
36167         * sysdeps/generic/libnss_dns.abilist: New file.
36168         * sysdeps/generic/libnss_files.abilist: New file.
36169         * sysdeps/generic/libnss_hesiod.abilist: New file.
36170         * sysdeps/generic/libnss_nis.abilist: New file.
36171         * sysdeps/generic/libnss_nisplus.abilist: New file.
36172         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36173         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36174         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36175         file.
36176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36177         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36178         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36179         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36180         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36181         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36182         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36183         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36184         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36185         file.
36186         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36187         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36188         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36189         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36190         file.
36191         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36192         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36193         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36194         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36195         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36196         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36197         file.
36198         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36199         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36200         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36201         file.
36202         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36204         New file.
36205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36206         New file.
36207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36208         New file.
36209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36210         New file.
36211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36212         New file.
36213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36214         New file.
36215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36216         New file.
36217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36218         New file.
36219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36220         New file.
36221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36222         New file.
36223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36224         New file.
36225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36226         New file.
36227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36228         New file.
36229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36230         file.
36231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36232         New file.
36233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36234         New file.
36235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36236         file.
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36238         New file.
36239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36240         New file.
36241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36242         file.
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36244         New file.
36245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36246         New file.
36247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36248         New file.
36249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36250         New file.
36251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36252         New file.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36254         New file.
36255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36257         file.
36258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36259         New file.
36260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36261         file.
36262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36263         file.
36264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36265         file.
36266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36267         file.
36268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36269         file.
36270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36271         New file.
36272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36273         file.
36274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36275         file.
36276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36277         New file.
36278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36279         file.
36280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36282         file.
36283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36284         New file.
36285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36286         file.
36287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36288         file.
36289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36290         file.
36291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36292         file.
36293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36294         file.
36295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36296         New file.
36297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36298         file.
36299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36300         file.
36301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36302         New file.
36303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36304         file.
36305         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36306         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36307         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36308         file.
36309         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36310         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36311         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36312         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36313         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36314         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36315         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36316         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36317         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36318         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36321         file.
36322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36323         New file.
36324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36325         file.
36326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36327         file.
36328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36329         file.
36330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36331         file.
36332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36333         file.
36334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36335         New file.
36336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36337         New file.
36338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36339         file.
36340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36341         New file.
36342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36343         file.
36344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36346         file.
36347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36348         New file.
36349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36350         file.
36351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36352         file.
36353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36354         file.
36355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36356         file.
36357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36358         file.
36359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36360         New file.
36361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36362         New file.
36363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36364         file.
36365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36366         New file.
36367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36368         file.
36369
36370 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36371
36372         * conform/conformtest.pl: Fix typo in handling typed-constant from
36373         allow-header.
36374
36375 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36376
36377         * README: Cut down references to pre-2.6 Linux kernels and
36378         Linuxthreads.  Update lists of configurations in libc and ports
36379         and sort alphabetically.  Say "or newer" with Linux kernel version
36380         requirements.
36381
36382         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36383
36384 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36385
36386         [BZ #887]
36387         * math/libm-test.inc (logb_test_downward): New test to expose
36388         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36389         rounding mode.
36390
36391 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36392
36393         [BZ #14027]
36394         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36395         to be done.
36396         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36397         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36398
36399 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36400
36401         * sysdeps/unix/i386/brk.S: Remove file.
36402         * sysdeps/unix/i386/dl-brk.S: Likewise.
36403         * sysdeps/unix/i386/pipe.S: Likewise.
36404         * sysdeps/unix/i386/sigreturn.S: Likewise.
36405         * sysdeps/unix/i386/syscall.S: Likewise.
36406         * sysdeps/unix/i386/vfork.S: Likewise.
36407         * sysdeps/unix/i386/wait.S: Likewise.
36408
36409         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36410         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36411
36412         * configure.in (arm*-none*): Do not allow without
36413         --enable-hacker-mode.
36414         (netbsd*): Remove case setting base_os.
36415         (386bsd*): Likewise.
36416         (freebsd*): Likewise.
36417         (bsdi*): Likewise.
36418         (osf*): Likewise.
36419         (sunos*): Likewise.
36420         (ultrix*): Likewise.
36421         (newsos*): Likewise.
36422         (dynix*): Likewise.
36423         (*bsd*): Likewise.
36424         (sysv*): Likewise.
36425         (isc*): Likewise.
36426         (esix*): Likewise.
36427         (sco*): Likewise.
36428         (minix*): Likewise.
36429         (irix4*): Likewise.
36430         (irix6*): Likewise.
36431         (solaris[2-9]*): Likewise.
36432         (none): Likewise.
36433         * configure: Regenerated.
36434
36435 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36436
36437         [BZ #11521]
36438         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36439         overflow or cancellation in calculating denominator.
36440         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36442         down expression to avoid unexpected rounding in newer GCCs.
36443         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36444
36445 2012-04-26  David S. Miller  <davem@davemloft.net>
36446
36447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36448         long-double compat symbols.
36449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36462
36463 2012-04-25  David S. Miller  <davem@davemloft.net>
36464
36465         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36466         HWCAP_* values only after the memory barriers have been defined.
36467         (atomic_full_barrier): Define.
36468         (atomic_read_barrier): Define.
36469         (atomic_write_barrier): Define.
36470
36471 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36472
36473         * shlib-versions: Add libgcc_s version information.
36474         * sysdeps/generic/libgcc_s.h: Remove.
36475         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36476         libgcc_s.h.
36477         * sysdeps/gnu/unwind-resume.c: Likewise.
36478         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36479
36480 2012-04-25  David S. Miller  <davem@davemloft.net>
36481
36482         * sysdeps/unix/sparc/brk.S: Delete.
36483         * sysdeps/unix/sparc/dl-brk.S: Delete.
36484         * sysdeps/unix/sparc/pipe.S: Delete.
36485         * sysdeps/unix/sparc/sysdep.S: Delete.
36486         * sysdeps/unix/sparc/sysdep.h: Delete.
36487         * sysdeps/unix/sparc/vfork.S: Delete.
36488         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36489         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36490         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36491         (ret_ERRVAL, r0, r1, MOVE): Define.
36492         (JUMPTARGET): Remove.
36493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36494         sysdeps/unix/sparc/sysdep.h
36495         (ENTRY, END): Remove.
36496         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36497
36498 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36499
36500         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36501         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36502         -DIS_IN_build.
36503
36504         * timezone/README: Update upstream location and email address for
36505         tzcode and tzdata.
36506         * timezone/zdump.c: Update from tzcode 2012b.
36507         * timezone/zic.c: Likewise.
36508
36509         * configure.in (libc_cv_as_needed): Remove test.
36510         * configure: Regenerated.
36511         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36512         conditional definition.
36513         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36514         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36515         * config.make.in (have-as-needed): Remove variable.
36516
36517 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36518             Paul Pluzhnikov  <ppluzhnikov@google.com>
36519
36520         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36521         strings correctly.
36522
36523 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36524
36525         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36526         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36527         * sysdeps/sh/strlen.S: Likewise.
36528
36529 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36530
36531         * sysdeps/unix/fork.S: Remove file.
36532         * sysdeps/unix/i386/fork.S: Likewise.
36533         * sysdeps/unix/sparc/fork.S: Likewise.
36534
36535         * sysdeps/unix/system.c: Remove file.
36536         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36537
36538         * sysdeps/unix/getegid.S: Remove file.
36539         * sysdeps/unix/geteuid.S: Likewise.
36540
36541 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36542
36543         * scripts/check-localplt.awk: New file.
36544         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36545         of diff.
36546         * scripts/data/localplt-generic.data: Add a comment.
36547
36548         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36549         NODE when __dir_mkfile failed.
36550         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36551         Reported by Ludovic Courtès <ludo@gnu.org>.
36552
36553 2012-04-24  Andreas Jaeger  <aj@suse.de>
36554
36555         * Makerules (common-clean): Also remove gen-as-const-headers
36556         files.
36557
36558 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36559
36560         * Makerules (native-compile): Do not change working directory for
36561         build.  Use $(OUTPUT_OPTION) in command.
36562         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36563
36564 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36565
36566         [BZ #13886]
36567         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36568         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36569         * math/libm-test.inc (floor_test): Add more tests.
36570         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36571
36572 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36573
36574         * sysdeps/unix/getdents.c: Remove file.
36575         * sysdeps/unix/sysv/getdents.c: Likewise.
36576         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36577
36578         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36579         sysdeps/unix/mman/syscalls.list.
36580         (mmap): Likewise.
36581         (mprotect): Likewise.
36582         (msync): Likewise.
36583         (munmap): Likewise.
36584         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36585         * sysdeps/unix/mman/syscalls.list: Remove.
36586         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36587
36588         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36589         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36590         * configure: Regenerated.
36591         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36592         $(libgcc_s_suffix).
36593         * config.make.in (libgcc_s_suffix): Remove variable.
36594
36595 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36596
36597         * sysdeps/unix/sysv/gethostname.c: Move to ...
36598         * sysdeps/posix/gethostname.c: ... here.
36599
36600         * sysdeps/unix/execve.S: Remove file.
36601
36602         * sysdeps/unix/_exit.S: Remove file.
36603
36604 2012-04-23  Andreas Jaeger  <aj@suse.de>
36605
36606         [BZ #13739]
36607         * manual/Makefile: Remove make dist support, there's no
36608         need for a stand-alone documentation tar ball.
36609         (TEXI2DVI): Define always, it's not in Makeconfig.
36610         (dist): Removed.
36611         (tar-it): Removed.
36612         (edition): Removed.
36613         (glibc-doc-$(edition).tar): Removed
36614         (%.Z): Removed.
36615         (%.gz): Removed.
36616         (%.uu): Removed.
36617         (ETAGS): Remove, it's in Makeconfig.
36618         (move-if-change): Remove, it's in Makeconfig.
36619
36620 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36621
36622         [BZ #13970]
36623         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36624         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36625         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36626         (strtod_l, strtof_l, strtold_l): Remove __wur.
36627         It is not necessarily an error to ignore strtol's return value.
36628         One can reliably look at the stored endptr to decide whether
36629         the number had valid syntax.
36630
36631 2012-04-21  Andreas Jaeger  <aj@suse.de>
36632
36633         [BZ #13739]
36634         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36635
36636 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36637
36638         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36639         * sysdeps/unix/sysv/Versions: Remove file.
36640
36641 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36642
36643         [BZ #13927]
36644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36645
36646 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36647
36648         [BZ #7064]
36649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36650         version from __vm86.
36651
36652 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36653
36654         * sysdeps/unix/common/lxstat.c: Remove file.
36655         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36656
36657         * sysdeps/unix/sysv/Makefile: Remove file.
36658
36659         * sysdeps/unix/sysv/direct.h: Remove file.
36660
36661         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36662         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36663         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36664         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36665         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36666         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36667         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36668
36669         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36670
36671         * sysdeps/unix/xmknod.c: Remove file.
36672         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36673
36674         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36675
36676         * sysdeps/unix/sysv/i386/time.S: Remove file.
36677
36678         * sysdeps/unix/fxstat.c: Remove file.
36679         * sysdeps/unix/xstat.c: Likewise.
36680         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36681
36682         * sysdeps/unix/sysv/sigaction.c: Remove file.
36683
36684         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36685         (sysdep_headers): Remove variable.
36686         [termio.h not in sysdep_headers] (generated): Likewise.
36687         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36688         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36689         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36690         * sysdeps/unix/sysv/tcflow.c: Likewise.
36691         * sysdeps/unix/sysv/tcflush.c: Likewise.
36692         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36693         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36694         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36695         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36696         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36697
36698         * sysdeps/unix/siglist.c: Remove file.
36699
36700         * sysdeps/unix/getppid.S: Remove file.
36701
36702         * sysdeps/unix/mkdir.c: Remove file.
36703         * sysdeps/unix/rmdir.c: Likewise.
36704
36705 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36706
36707         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36708         ERR_MAX value.
36709         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36710         errlist-compat value.
36711
36712 2012-04-18  David S. Miller  <davem@davemloft.net>
36713
36714         * sysdeps/generic/memcopy.h (reg_char): Delete.
36715         * debug/strcat_chk.c: Use char, not reg_char.
36716         * debug/strcpy_chk.c: Likewise.
36717         * debug/strncat_chk.c: Likewise.
36718         * debug/strncpy_chk.c: Likewise.
36719         * string/memchr.c: Likewise.
36720         * string/memrchr.c: Likewise.
36721         * string/rawmemchr.c: Likewise.
36722         * string/strcat.c: Likewise.
36723         * string/strchr.c: Likewise.
36724         * string/strchrnul.c: Likewise.
36725         * string/strcmp.c: Likewise.
36726         * string/strcpy.c: Likewise.
36727         * string/strncat.c: Likewise.
36728         * string/strncmp.c: Likewise.
36729         * string/strncpy.c: Likewise.
36730
36731 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36732
36733         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36734         __builtin_memcopy is called when src and dest ranges are known to not
36735         overlap.
36736
36737 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36738
36739         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36740         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36741         fwd_align_merge macro call.
36742         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36743         bwd_align_merge macro call.
36744         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36745
36746 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36747
36748         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36749         bwd_align_merge macros.
36750         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36751         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36753
36754 2012-04-18  David S. Miller  <davem@davemloft.net>
36755
36756         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36757
36758 2012-04-18  Andreas Jaeger  <aj@suse.de>
36759
36760         [BZ# 6794]
36761         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36762         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36763         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36764
36765         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36766         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36767         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36768
36769         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36770         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36771         Adjust for changed ldbl-128 files.
36772
36773         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36774         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36775         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36776
36777 2012-04-17  David S. Miller  <davem@davemloft.net>
36778
36779         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36780
36781 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36782
36783         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36784         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36785         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36786         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36787         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36788         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36789
36790 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36791
36792         [BZ #6794]
36793         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36794         * math/libm-test.inc: Add ilogb errno and exception tests.
36795         * math/w_ilogb.c: New file: ilogb wrapper.
36796         * math/w_ilogbf.c: New file: ilogbf wrapper.
36797         * math/w_ilogbl.c: New file: ilogbl wrapper.
36798         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36799         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36800         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36801         exception being thrown with 0.0 as argument.
36802         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36803         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36804         exception being thrown with 0.0 as argument.
36805         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36806         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36807         exception being thrown with 0.0 as argument.
36808         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36809         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36810         exception being thrown with 0.0 as argument.
36811         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36812         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36813         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36814         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36815         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36816         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36817         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36818         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36819         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36820
36821 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36822
36823         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36824         with altivec.
36825
36826 2012-04-16  Marek Polacek  <polacek@redhat.com>
36827
36828         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36829
36830 2012-04-16  Marek Polacek  <polacek@redhat.com>
36831
36832         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36833         operands of fdivp instruction.
36834
36835 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36836
36837         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36838         * elf/tst-auditmod3b.c: Likewise.
36839         * elf/tst-auditmod4b.c: Likewise.
36840         * elf/tst-auditmod5b.c: Likewise.
36841         * elf/tst-auditmod6b.c: Likewise.
36842         * elf/tst-auditmod6c.c: Likewise.
36843         * elf/tst-auditmod7b.c: Likewise.
36844         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36845         * sysdeps/x86_64/preconfigure.in: Likewise.
36846         * sysdeps/x86_64/preconfigure: Regenerated.
36847
36848 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36849
36850         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36851         __ILP32__.
36852
36853 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36854
36855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36856         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36857
36858 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36859
36860         [BZ #13973]
36861         * locale/iso-639.def: Fix gl language name. Spotted by
36862         Yaron Shahrabani.
36863
36864 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36865
36866         [BZ #2074]
36867         * libio/libio.h (__io_write_fn): Update comment.
36868
36869 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36870
36871         [BZ #2074]
36872         * stdio.texi (Hook Functions): The user provided writer function
36873         is not allowed to return -1.
36874
36875 2012-04-11  David S. Miller  <davem@davemloft.net>
36876
36877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36878
36879 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36880
36881         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36882         Add a leading slash to rtkaio.
36883
36884 2012-04-11  Jim Meyering  <meyering@redhat.com>
36885
36886         [BZ #11959]
36887         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36888         It is not necessarily an error to ignore fwrite's return
36889         value.  One can reliably use ferror to test for errors after
36890         the fact.
36891
36892 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36893
36894         * bits/types.h (__snseconds_t): New type.
36895         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36896
36897         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36899         (__SNSECONDS_T_TYPE): Likewise.
36900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36901         (__SNSECONDS_T_TYPE): Likewise.
36902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36903         (__SNSECONDS_T_TYPE): Likewise.
36904
36905 2012-04-10  Andreas Jaeger  <aj@suse.de>
36906
36907         [BZ #2636]
36908         * manual/time.texi (Processor Time): Return type of times is
36909         elapsed real time since an arbitrary point in the past.
36910         (CPU Time): Move CLK_TCK from here...
36911         (Processor Time): ...to here.  Correct description.
36912         * manual/conf.texi (Constants for Sysconf): Correct description of
36913         _SC_CLK_TCK.
36914
36915 2012-04-10  David S. Miller  <davem@davemloft.net>
36916
36917         [BZ #13967]
36918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36919         where the is a gap between DT_REL(A) and DT_JMPREL.
36920
36921 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36922
36923         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36924         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36925         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36926
36927 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36928
36929         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36930         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36931         (dl_main): Handle --inhibit-cache.
36932         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36933         _dl_inhibit_cache.
36934         * elf/dl-load.c (_dl_map_object): Use it.
36935         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36936
36937 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36938
36939         [BZ #13872]
36940         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36941         (__ieee754_powl): Saturate large exponents rather than testing for
36942         overflow of y*log2(x).
36943         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36944         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36945         exceptions.
36946
36947         [BZ #11521]
36948         * math/s_ctan.c: Include <float.h>.
36949         (__ctan): Avoid internal overflow or cancellation in calculating
36950         denominator.
36951         * math/s_ctanf.c: Likewise.
36952         * math/s_ctanl.c: Likewise.
36953         * math/s_ctanh.c: Likewise.
36954         * math/s_ctanhf.c: Likewise.
36955         * math/s_ctanhl.c: Likewise.
36956         * math/libm-test.inc (ctan_test): Add more tests.
36957         (ctanh_test): Likewise.
36958         * sysdeps/i386/fpu/libm-test-ulps: Update.
36959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36960
36961 2012-04-09  Andreas Jaeger  <aj@suse.de>
36962
36963         [BZ #6894]
36964         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36965         is an optional BSD extension.
36966
36967         [BZ #10254]
36968         * manual/stdio.texi (Opening Streams): Document additional fopen
36969         parameters.
36970
36971 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36972
36973         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36974         %eax without telling the compiler.
36975
36976 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36977
36978         [BZ # 13963]
36979         * manual/install.texi: Use sourceware.org.
36980
36981 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36982
36983         [BZ #13873]
36984         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36985         (__ieee754_pow): Generate overflow and underflow using huge*huge
36986         and tiny*tiny rather than just returning constant infinity or zero
36987         for large exponents.
36988         * math/libm-test.inc (pow_test): Require overflow exceptions for
36989         applicable cases of large exponents.
36990
36991         [BZ #706]
36992         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36993         (__ieee754_pow): Use iterative multiplication algorithm only for
36994         integer exponents with absolute value below 1024.  Check for odd
36995         integer exponents when using algorithm for real exponents.
36996         * math/libm-test.inc (pow_test): Add more tests.
36997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36998
36999 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37000
37001         [BZ #13705]
37002         * math/libm-test.inc (exp_test): Do not allow overflow exception
37003         on underflow test.
37004
37005 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37006
37007         [BZ #13705]
37008         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37009         instead of __kernel_standard_f.
37010
37011 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37012
37013         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37014         * sysdeps/x86_64/memset_chk.S: Likewise.
37015
37016 2012-04-08  Andreas Jaeger  <aj@suse.de>
37017
37018         [BZ #10153]
37019         * manual/startup.texi (Environment Access): Describe return value
37020         for putenv and setenv.
37021
37022         [BZ #6895]
37023         * manual/filesys.texi (Directory Entries): Add description for
37024         DT_LNK.
37025
37026         [BZ #6890]
37027         * manual/filesys.texi (Directory Entries): Clarify that it's file
37028         system not operating system in the description of DT_UNKNOWN.
37029
37030         [BZ #6578]
37031         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37032
37033 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37034
37035         [BZ #6649]
37036         * manual/llio.texi (Opening and Closing Files): Add cross
37037         reference to explain mode argument.
37038
37039 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37040
37041         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37042         * sysdeps/x86_64/memset_chk.S: Likewise.
37043
37044 2012-04-07  David S. Miller  <davem@davemloft.net>
37045
37046         * elf/elf.h (R_SPARC_WDISP10): Define.
37047         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37048         R_SPARC_SIZE32.
37049         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37050         R_SPARC_SIZE64 and R_SPARC_H34.
37051
37052 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37053
37054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37055         conditions and remove no longer applicable assertion.
37056
37057 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37058
37059         * bits/byteswap.h: Include <features.h>.
37060         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37061         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37062
37063 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37064
37065         * bits/byteswap.h (__bswap_16): Removed.
37066         Include <bits/byteswap-16.h> to get __bswap_16.
37067         * sysdeps/i386/bits/byteswap.h: Likewise.
37068         * sysdeps/s390/bits/byteswap.h: Likewise.
37069         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37070         * bits/byteswap-16.h: New file.
37071         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37072         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37073         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37074         * string/Makefile (headers): Add bits/byteswap-16.h.
37075
37076 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37077
37078         [BZ #13895]
37079         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37080         extra indirection.
37081         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37082         * nss/tst-nss-static.c: New.
37083
37084 2012-04-06  Robert Millan  <rmh@gnu.org>
37085
37086         [BZ #6486]
37087         * manual/llio.texi (File Position Primitive): lseek
37088         refers to WHENCE when it really means OFFSET.
37089
37090 2012-04-06  Andreas Jaeger  <aj@suse.de>
37091
37092         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37093         strncmp declarations.
37094
37095         * abilist/libc.abilist: Add __poll and __ppoll.
37096
37097 2012-04-05  David S. Miller  <davem@davemloft.net>
37098
37099         * scripts/check-local-headers.sh: Accept a host triplet in the
37100         path matched by the exclude regexp.
37101
37102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37103         definition.
37104         * sysdeps/powerpc/powerpc32/dl-machine.h
37105         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37106         * sysdeps/s390/s390-32/dl-machine.h
37107         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37108         * sysdeps/sparc/sparc32/dl-machine.h
37109         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37110         * sysdeps/sparc/sparc64/dl-machine.h
37111         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37112
37113         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37114         lazy binding.
37115         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37116         undefined symbol errors.
37117
37118         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37119         DT_NEEDED entries.
37120
37121 2012-04-05  Michael Matz  <matz@suse.de>
37122
37123         [BZ #13592]
37124         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37125
37126 2012-04-05  Andreas Jaeger  <aj@suse.de>
37127
37128         [BZ #13908]
37129         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37130         comment.
37131
37132 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37133
37134         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37135         which ROUND is no valid rounding mode.
37136
37137 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37138
37139         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37140         read again.
37141         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37142
37143 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37144
37145         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37146         an exception using FPU order intentionally.
37147
37148 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37149
37150         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37151         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37152         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37153         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37154
37155 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37156
37157         [BZ #12340]
37158         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37159         EINVAL when BUFLEN is too smal.
37160
37161 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37162
37163         [BZ #13553]
37164         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37165         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37166
37167 2012-04-03  Andreas Jaeger  <aj@suse.de>
37168
37169         [BZ #13938]
37170         * manual/setjmp.texi (System V contexts): Fix sentence.
37171
37172         [BZ #13926]
37173         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37174         New macro for this case.
37175         [!__GNUC__] (__bswap_64): New inline function for this case.
37176         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37177         * bits/byteswap.h: Likewise.
37178         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37179         ull, guard with __GLIBC_HAVE_LONG_LONG.
37180
37181         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37182         __GLIBC_HAVE_LONG_LONG.
37183
37184         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37185         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37186
37187 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37188
37189         [BZ #13691]
37190         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37191         inptr and inend, rather than using last_ch.
37192
37193 2012-04-02  David S. Miller  <davem@davemloft.net>
37194
37195         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37196         * stdio-common/printf-parse.h (read_int): Change return type to
37197         'int', return -1 on INT_MAX overflow.
37198         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37199         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37200         overflows INT_MAX.  Check for overflow of in-format-string precision
37201         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37202         SIZE_MAX not INT_MAX for integer overflow test.
37203         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37204         skip the construct in the format string but do not record anything.
37205         * stdio-common/bug22.c: Adjust to test both width/prevision
37206         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37207         explicitly for proper errno values.
37208
37209 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37210
37211         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37212         CHAR_MAX.
37213         * string/test-strcmp.c [! WIDE]: Likewise.
37214         * time/tst-mktime2.c: Likewise for INT_MAX.
37215         * string/test-string.h: #include <sys/param.h> for MIN.
37216
37217         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37218         * sysdeps/i386/init-first.c (init): Likewise.
37219         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37220         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37221         * sysdeps/sh/init-first.c (init): Likewise.
37222
37223 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37224
37225         * po/ru.po: Update from translation team.
37226         * po/vi.po: Likewise.
37227
37228 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37229
37230         * resolv/nss_dns/dns-host.c: Merge copyright years.
37231
37232 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37233
37234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37235         Optimize memcpy with prefetch if
37236         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37237         src, dst pointers have unequal 16 byte alignments.
37238
37239 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37240
37241         [BZ #13928]
37242         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37243         from a CNAME entry and return the minimum ttl for the query.
37244         (gaih_getanswer_slice): Likewise.
37245
37246 2012-03-30  Jeff Law  <law@redhat.com>
37247
37248         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37249         due to long keys.
37250         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37251         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37252
37253         * resolv/nss_dns/dns-host.c: Update copyright year.
37254
37255 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37256
37257         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37258         requests to save a system call.  Fix check that all bytes are sent.
37259
37260         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37261         comments for sendmmsg.
37262
37263 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37264
37265         [BZ #13691]
37266         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37267         with only 1 character between 0x0041 and 0x01b0.
37268         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37269         * wcsmbs/tst-mbsnrtowcs.c: New file.
37270
37271 2012-03-29  David S. Miller  <davem@davemloft.net>
37272
37273         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37274         small copies by hand.
37275
37276 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37277
37278         [BZ #13761]
37279         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37280         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37281         group memberships.
37282
37283 2012-03-28  David S. Miller  <davem@davemloft.net>
37284
37285         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37286         that branches into memcpy.
37287         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37290         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37292         bits.
37293         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37294         implementation too.
37295         * sysdeps/sparc/mempcpy.S: New file.
37296
37297         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37298         the IFUNC routine in the libc case.
37299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37300
37301         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37302         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37303         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37304         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37305         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37306         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37307         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37308         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37309
37310         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37311         loop to 256 bytes instead of 64 bytes and fix test signedness.
37312
37313         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37314         * sysdeps/sparc/sparc32/Makefile: rather than here...
37315         * sysdeps/sparc/sparc64/Makefile: and here.
37316
37317 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37318
37319         * malloc/mallocbug.c: Avoid warnings about unused variables.
37320
37321 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37322
37323         [BZ #13760]
37324         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37325         in the right place. Discard and retry query if response is
37326         larger than input buffer size.
37327
37328 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37329
37330         [BZ #369]
37331         [BZ #2678]
37332         [BZ #3866]
37333         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37334         x for large integer exponent.
37335         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37336         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37337         sign of result as needed afterwards.
37338         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37339         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37340         result for underflowing pow the same as for overflow.
37341         (__kernel_standard_l): Handle powl overflow and underflow here
37342         rather than calling __kernel_standard.
37343         * math/libm-test.inc (pow_test): Add more tests.
37344
37345         [BZ #3868]
37346         [BZ #13879]
37347         [BZ #13910]
37348         [BZ #13911]
37349         [BZ #13912]
37350         [BZ #13913]
37351         [BZ #13915]
37352         [BZ #13916]
37353         [BZ #13917]
37354         [BZ #13918]
37355         [BZ #13919]
37356         [BZ #13920]
37357         [BZ #13921]
37358         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37359         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37360         (__kernel_standard_l): New function.
37361         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37362         __kernel_standard.
37363         * math/w_acosl.c (__acosl): Likewise.
37364         * math/w_asinl.c (__asinl): Likewise.
37365         * math/w_atan2l.c (__atan2l): Likewise.
37366         * math/w_atanhl.c (__atanhl): Likewise.
37367         * math/w_coshl.c (__coshl): Likewise.
37368         * math/w_exp10l.c (__exp10l): Likewise.
37369         * math/w_exp2l.c (__exp2l): Likewise.
37370         * math/w_fmodl.c (__fmodl): Likewise.
37371         * math/w_hypotl.c (__hypotl): Likewise.
37372         * math/w_j0l.c (__j0l, __y0l): Likewise.
37373         * math/w_j1l.c (__j1l, __y1l): Likewise.
37374         * math/w_jnl.c (__jnl, __ynl): Likewise.
37375         * math/w_lgammal.c (__lgammal): Likewise.
37376         * math/w_log10l.c (__log10l): Likewise.
37377         * math/w_log2l.c (__log2l): Likewise.
37378         * math/w_logl.c (__logl): Likewise.
37379         * math/w_powl.c (__powl): Likewise.
37380         * math/w_remainderl.c (__remainderl): Likewise.
37381         * math/w_scalbl.c (sysv_scalbl): Likewise.
37382         * math/w_sinhl.c (__sinhl): Likewise.
37383         * math/w_sqrtl.c (__sqrtl): Likewise.
37384         * math/w_tgammal.c (__tgammal): Likewise.
37385         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37386         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37387         * math/libm-test.inc (acos_test): Add more tests.
37388         (acosh_test): Likewise.
37389         (asin_test): Likewise.
37390         (atanh_test): Likewise.
37391         (exp_test): Likewise.
37392         (exp10_test): Likewise.
37393         (exp2_test): Likewise.
37394         (expm1_test): Likewise.
37395         (lgamma_test): Likewise.
37396         (log_test): Likewise.
37397         (log10_test): Likewise.
37398         (log1p_test): Likewise.
37399         (log2_test): Likewise.
37400         (pow_test): Do not allow some spurious overflow exceptions.
37401         (sqrt_test): Add more tests.
37402         (tgamma_test): Likewise.
37403         (y0_test): Likewise.
37404         (y1_test): Likewise.
37405         (yn_test): Likewise.
37406
37407 2012-03-27  Anton Blanchard  <anton@samba.org>
37408
37409         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37410         MAP_HUGETLB.
37411         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37412         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37413         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37414
37415 2012-03-27  David S. Miller  <davem@davemloft.net>
37416
37417         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37418
37419         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37420         have-as-vis3 check.
37421
37422 2012-03-27  Andreas Jaeger  <aj@suse.de>
37423
37424         * sysdeps/x86_64/elf/configure.in: Moved to ...
37425         * sysdeps/x86_64/configure.in: ... here.
37426         * sysdeps/x86_64/elf/start.S: Moved to ...
37427         * sysdeps/x86_64/start.S: ... here.
37428         * sysdeps/x86_64/elf/configure: Delete.
37429
37430         * sysdeps/x86_64/configure.in: Merge contents from
37431         sysdeps/i386/configure.in (without i686 check).
37432
37433         * sysdeps/i386/elf/Versions: Merge into ...
37434         * sysdeps/i386/Versions: ... this.
37435         * sysdeps/i386/elf/Versions: Delete file.
37436         * sysdeps/i386/elf/start.S: Moved to ...
37437         * sysdeps/i386/start.S: ...here.
37438         * sysdeps/i386/elf/configure.in: Merge into...
37439         * sysdeps/i386/configure.in: ...here.
37440         * sysdeps/i386/elf/configure.in: Delete file.
37441         * sysdeps/i386/elf/configure: Delete file.
37442
37443         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37444         * debug/backtracesyms.c: ... here.
37445         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37446         * debug/backtracesymsfd.c: ... here.
37447         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37448         * sysdeps/generic/ifunc-sel.h: ... here.
37449
37450         * sysdeps/unix/i386/start.c: Delete file.
37451         * sysdeps/unix/sparc/start.c: Delete file.
37452         * sysdeps/unix/start.c: Delete file.
37453
37454         * sysdeps/sh/elf/configure.in: Moved to ...
37455         * sysdeps/sh/configure.in: ... here.
37456         * sysdeps/sh/elf/start.S: Moved to ...
37457         * sysdeps/sh/start.S: ... here.
37458         * sysdeps/sh/elf/configure: Delete file.
37459
37460         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37461         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37462         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37463         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37464         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37465         * sysdeps/powerpc/powerpc64/start.S: here.
37466         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37467         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37468         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37469         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37470         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37471
37472         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37473         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37474         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37475         * sysdeps/powerpc/powerpc32/start.S: ... here.
37476         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37477         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37478         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37479
37480         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37481         * sysdeps/powerpc/ifunc-sel.h: ... here.
37482         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37483         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37484
37485         * sysdeps/sparc/elf/configure.in: Moved to ...
37486         * sysdeps/sparc/configure.in: ... here.
37487         * sysdeps/sparc/elf/configure: Delete file.
37488         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37489         * sysdeps/sparc/sparc32/start.S: ... here.
37490         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37491         * sysdeps/sparc/sparc64/start.S: ... here.
37492         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37493         * sysdeps/sparc/sparc32/Makefile: ... this.
37494         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37495         * sysdeps/sparc/sparc64/Makefile: ... this.
37496
37497         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37498         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37499         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37500         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37501         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37502         * sysdeps/s390/s390-32/setjmp.S: ... here.
37503         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37504         * sysdeps/s390/s390-32/configure.in: ... here.
37505         * sysdeps/s390/s390-32/elf/configure: Delete file.
37506         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37507         * sysdeps/s390/s390-32/start.S: ... here.
37508
37509         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37510         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37511         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37512         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37513         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37514         * sysdeps/s390/s390-64/setjmp.S: ... here.
37515         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37516         * sysdeps/s390/s390-64/configure.in: ... here
37517         * sysdeps/s390/s390-64/elf/configure: Delete file.
37518         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37519         * sysdeps/s390/s390-64/start.S: ... here.
37520         * sysdeps/s390/s390-64/elf/configure: Delete.
37521
37522         * configure.in: Remove support for elf directories in sysdeps.
37523
37524         * configure: Regenerated.
37525         * sysdeps/i386/configure: Regenerated.
37526         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37527         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37528         * sysdeps/s390/s390-32/configure: Regenerated.
37529         * sysdeps/s390/s390-64/configure: Regenerated.
37530         * sysdeps/sh/configure: Regenerated.
37531         * sysdeps/sparc/configure: Regenerated.
37532         * sysdeps/x86_64/configure: Regenerated.
37533
37534 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37535
37536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37537
37538         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37539         denormal result into account.
37540
37541 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37542
37543         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37544         Reported by Allan McRae <allan@archlinux.org>.
37545
37546 2012-03-23  Jeff Law  <law@redhat.com>
37547
37548         * nss/getnssent.c (__nss_getent): Fix typo.
37549
37550 2012-03-23  David S. Miller  <davem@davemloft.net>
37551
37552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37553
37554 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37555
37556         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37557         to pad to uint64_t for each field.
37558         (dl_tls_index): Replace unsigned long with uint64_t.
37559
37560 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37561         Paul Pluzhnikov  <ppluzhnikov@google.com>
37562
37563         [BZ #6528]
37564         * grp/Makefile (otherlibs): Don't set it.
37565         * inet/Makefile (otherlibs): Likewise.
37566         * login/Makefile (otherlibs): Likewise.
37567         * nscd/Makefile (otherlibs): Likewise.
37568         * posix/Makefile (otherlibs): Likewise.
37569         * pwd/Makefile (otherlibs): Likewise.
37570         * rt/Makefile (otherlibs): Likewise.
37571         * sunrpc/Makefile (otherlibs): Likewise.
37572         * nss/Makefile (otherlibs): Likewise.
37573         Add libnss_files to routines and static-only-routines.
37574         ($(objpfx)getent): Remove rule.
37575         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37576         static-only-routines.
37577
37578 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37579
37580         [BZ #13892]
37581         * math/s_cexp.c: Include <float.h>.
37582         (__cexp): Handle exp result overflowing not necessarily
37583         overflowing both real and imaginary parts of result.
37584         * math/s_cexpf.c: Likewise.
37585         * math/s_cexpl.c: Likewise.
37586         * math/libm-test.inc (cexp_test): Add more tests.
37587         * sysdeps/i386/fpu/libm-test-ulps: Update.
37588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37589
37590 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37591
37592         * include/link.h (ELFW): New macro.
37593         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37594         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37595
37596 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37597
37598         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37599         with uint64_t.
37600
37601 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37602
37603         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37604         declaration.
37605         (struct La_x32_retval): Likewise.
37606
37607 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37608
37609         * sysdeps/x86_64/preconfigure.in: New file.
37610         * sysdeps/x86_64/preconfigure: New generated file.
37611
37612 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37613
37614         [BZ #13824]
37615         * math/e_exp2l.c: Include <float.h>.
37616         (__ieee754_exp2l): Handle overflow and underflow cases
37617         separately.  Only pass fractional part of argument to
37618         __ieee754_expl.
37619         * math/libm-test.inc (exp2_test): Add more tests.
37620
37621         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37622         negating x to take absolute value.
37623         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37624         Likewise.
37625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37627         Likewise.
37628         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37629         computing low part if x was negated.
37630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37631
37632 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37633
37634         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37635         la_x32_gnu_pltexit.
37636         (pltexit): Cast int_retval to ptrdiff_t.
37637         * elf/tst-auditmod3b.c: Likewise.
37638         * elf/tst-auditmod4b.c: Likewise.
37639         * elf/tst-auditmod5b.c: Likewise.
37640         * elf/tst-auditmod6b.c: Likewise.
37641         * elf/tst-auditmod6c.c: Likewise.
37642         * elf/tst-auditmod7b.c: Likewise.
37643
37644         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37645         and x32_gnu_pltexit.
37646
37647         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37648         __ELF_NATIVE_CLASS.
37649         (La_x32_regs): New macro.
37650         (La_x32_retval): Likewise.
37651         (la_x32_gnu_pltenter): New function prototype.
37652         (la_x32_gnu_pltexit): Likewise.
37653
37654 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37655
37656         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37657         exponent.
37658
37659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37660
37661         * configure.in (libc_cv_cc_nofma): Check for option to disable
37662         generation of FMA instructions.
37663         * configure: Regenerate.
37664         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37665         * sysdeps/ieee754/dbl-64/Makefile: New file.
37666         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37667         Remove brandred-fma4.
37668         (CFLAGS-brandred-fma4.c): Remove.
37669         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37670         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37671         define.
37672         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37673         define.
37674
37675 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37676
37677         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37678         LLONG_MAX != LONG_MAX.
37679         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37680         (_fitoa_word): Likewise.
37681         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37682         LLONG_MAX != LONG_MAX.
37683         * stdio-common/_itowa.h: Include <_itoa.h>.
37684         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37685         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37686         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37687         only if not defined.
37688         (_ITOA_WORD_TYPE): Likewise.
37689         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37690         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37691
37692 2012-03-21  David S. Miller  <davem@davemloft.net>
37693
37694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37695
37696 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37697
37698         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37699         of x86_64 when setting libc_cv_slibdir, libdir and
37700         libc_cv_localedir.
37701         * sysdeps/unix/sysv/linux/configure: Regenerated.
37702
37703 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37704
37705         * manual/lang.texi (Old Varargs): Remove section.
37706         (How Variadic): Update menu.
37707         (va_start): Do not mention varargs.h.
37708
37709 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37710             Joseph Myers  <joseph@codesourcery.com>
37711
37712         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37713         link test.
37714         * configure: Regenerated.
37715
37716 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37717
37718         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37719         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37720         conformtest.pl
37721
37722 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37723
37724         * NOTES: Remove.
37725         * Makefile (files-for-dist): Remove NOTES.
37726         (NOTES): Remove rule.
37727         * README: Don't refer to NOTES.
37728         * manual/creature.texi: Don't include macros.texi.
37729         * manual/intro.texi (creature.texi): Remove comment referring to
37730         NOTES.
37731
37732         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37733         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37734         * configure: Regenerated.
37735         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37736         LIBC_TRY_CC_OPTION.
37737         (libc_cv_as_i686): Likewise.
37738         (libc_cv_cc_avx): Likewise.
37739         (libc_cv_cc_sse2avx): Likewise.
37740         (libc_cv_cc_fma4): Likewise.
37741         (libc_cv_cc_novzeroupper): Likewise.
37742         * sysdeps/i386/configure: Regenerated.
37743
37744         [BZ #13883]
37745         * sysdeps/i386/fpu/s_cexp.S: Remove.
37746         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37747         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37748         * math/libm-test.inc (cexp_test): Add more tests.
37749         * sysdeps/i386/fpu/libm-test-ulps: Update.
37750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37751
37752 2012-03-21  Allan McRae  <allan@archlinux.org>
37753
37754         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37755
37756 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37757
37758         [BZ #13871]
37759         * math/w_exp2.c: Do not include <float.h>.
37760         (o_threshold, u_threshold): Remove.
37761         (__exp2): Calculate result before checking finiteness and calling
37762         __kernel_standard.
37763         * math/w_exp2f.c: Likewise.
37764         * math/w_exp2l.c: Likewise.
37765         * math/libm-test.inc (exp2_test): Require overflow exception for
37766         1e6 input.
37767
37768         [BZ #3866]
37769         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37770         range of signed 64-bit integers before using fistpll.  Remove
37771         checks for whether integers fit in mantissa bits.
37772         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37773         the range of signed 32-bit integers before using fistpl.  Remove
37774         checks for whether integers fit in mantissa bits.
37775         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37776         (__ieee754_powl): Test for y outside the range of signed 64-bit
37777         integers before using fistpll.  Reduce 64-bit values to 63-bit
37778         ones as needed.
37779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37780         divide-by-zero is raised for zero to large negative powers.
37781         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37782         (__ieee754_powl): Test for y outside the range of signed 64-bit
37783         integers before using fistpll.  Reduce 64-bit values to 63-bit
37784         ones as needed.
37785         * math/libm-test.inc (pow_test): Add more tests.
37786
37787 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37788
37789         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37790         <stdio-common/_itoa.h>.
37791         * debug/segfault.c: Likewise.
37792         * elf/dl-cache.c: Likewise.
37793         * elf/dl-minimal.c: Likewise.
37794         * elf/dl-misc.c: Likewise.
37795         * elf/dl-sysdep.c: Likewise.
37796         * elf/dl-version.c: Likewise.
37797         * elf/rtld.c: Likewise.
37798         * hurd/hurdsock.c: Likewise.
37799         * hurd/lookup-retry.c: Likewise.
37800         * malloc/malloc.c: Likewise.
37801         * malloc/mtrace.c: Likewise.
37802         * nscd/nscd_getgr_r.c: Likewise.
37803         * nscd/nscd_getpw_r.c: Likewise.
37804         * nscd/nscd_getserv_r.c: Likewise.
37805         * posix/getopt_init.c: Likewise.
37806         * posix/wordexp.c: Likewise.
37807         * stdio-common/_itoa.c: Likewise.
37808         * stdio-common/printf_fphex.c: Likewise.
37809         * stdio-common/vfprintf.c: Likewise.
37810         * string/_strerror.c: Likewise.
37811         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37812         * sysdeps/i386/i686/hp-timing.h: Likewise.
37813         * sysdeps/mach/_strerror.c: Likewise.
37814         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37815         * sysdeps/mach/hurd/sethostid.c: Likewise.
37816         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37817         * sysdeps/mach/xpg-strerror.c: Likewise.
37818         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37820         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37821         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37822         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37823         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37824         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37825         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37826         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37827         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37828         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37829         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37830         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37831         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37832         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37833         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37834         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37835         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37836         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37837         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37838         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37839
37840         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37841
37842         * stdio-common/_itoa.h: Moved to ...
37843         * sysdeps/generic/_itoa.h: Here.
37844
37845         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37846
37847         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37848         instead of "_itoa.h" and "_itowa.h".
37849         * stdio-common/vfprintf.: Likewise.
37850
37851 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37852
37853         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37854         <bits/wordsize.h>.
37855         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37856         (__signbit): Likwise.
37857         (llrintf): Likwise.
37858         (llrint): Likwise.
37859
37860 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37861
37862         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37863         __WORDSIZE != 64.
37864
37865 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37866
37867         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37868         OVERFLOW_EXCEPTION_OK.
37869         * math/libm-test.inc ("Philosophy"): Update comment about
37870         exception testing.
37871         (OVERFLOW_EXCEPTION): Define.
37872         (OVERFLOW_EXCEPTION_OK): Likewise.
37873         (INVALID_EXCEPTION_OK): Renumber.
37874         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37875         (IGNORE_ZERO_INF_SIGN): Likewise.
37876         (test_exceptions): Handle FE_OVERFLOW.
37877         (exp10_test): Expect overflow exceptions.
37878         (exp2_test): Likewise.
37879         (expm1_test): Likewise.
37880         (nextafter_test): Likewise.
37881         (pow_test): Likewise.
37882         (scalbn_test): Likewise.
37883         (scalbln_test): Likewise.
37884
37885 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37886
37887         * sysdeps/x86_64/bits/atomic.h
37888         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37889         64bit integer.
37890         (atomic_exchange_acq): Likewise.
37891         (__arch_exchange_and_add_body): Likewise.
37892         (__arch_add_body): Likewise.
37893         (atomic_add_negative): Likewise.
37894         (atomic_add_zero): Likewise.
37895
37896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37897
37898         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37899         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37900
37901 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37902
37903         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37904         Check __x86_64__ instead of __WORDSIZE.
37905
37906 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37907
37908         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37909
37910 2012-03-19  David S. Miller  <davem@davemloft.net>
37911
37912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37913
37914         * sysdeps/sparc/fpu/fenv_private.h: New file.
37915         * sysdeps/sparc/fpu/math_private.h: Use it.
37916         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37917         Remove.
37918         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37919         (libc_feholdexcept_setroundl): Remove.
37920         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37921         Remove.
37922         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37923         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37924
37925 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37926
37927         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37928         int64_t instead of long int.
37929         (INSERT_WORDS64): Likwise.
37930
37931 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37932
37933         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37934         _Unwind_GetCFA return to _Unwind_Ptr first.
37935
37936 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37937
37938         [BZ #13629]
37939         * math/s_clog.c: Include <float.h>.
37940         (__clog): Scale large or subnormal inputs.
37941         * math/s_clogf.c: Likewise.
37942         * math/s_clogl.c: Likewise.
37943         * math/s_clog10.c: Include <float.h>.
37944         (M_LOG10_2): Define.
37945         (__clog10): Scale large or subnormal inputs.
37946         * math/s_clog10f.c: Likewise.
37947         * math/s_clog10l.c: Likewise.
37948         * math/libm-test.inc (clog_test): Add more tests.
37949         (clog10_test): Likewise.
37950         * sysdeps/i386/fpu/libm-test-ulps: Update.
37951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37952
37953         [BZ #11451]
37954         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37955         x and y.
37956         * math/libm-test.inc (atan2_test): Add another test.
37957
37958         * Makerules (common-objdir-compile): Remove.
37959         * sysdeps/unix/Makefile (config-generated): Do not add
37960         $(unix-generated) to variable.
37961         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37962         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37963         Remove rule.
37964         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37965         Likewise.
37966         [generic bits/local_lim.h] (before-compile): Do not append to
37967         variable.
37968         [generic bits/local_lim.h] (common-generated): Likewise.
37969         [generic sys/param.h] (before-compile): Do not append to variable.
37970         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37971         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37972         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37973         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37974         include.
37975         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37976         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37977         [generic sys/param.h] ($(addprefix
37978         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37979         [generic sys/param.h] (common-generated): Do not append to
37980         variable.
37981         [generic sys/param.h] (sysdep_headers): Likewise.
37982         [generic bits/errno.h] (before-compile): Do not append to
37983         variable.
37984         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37985         rule.
37986         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37987         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37988         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37989         [generic bits/errno.h] (common-generated): Do not append to
37990         variable.
37991         [generic bits/ioctls.h] (before-compile): Do not append to
37992         variable.
37993         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37994         rule.
37995         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37996         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37997         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37998         rule.
37999         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38000         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38001         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38002         [generic bits/ioctls.h] (common-generated): Do not append to
38003         variable.
38004         [generic sys/syscall.h] (syscall.h): Remove variable.
38005         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38006         rule.
38007         [generic sys/syscall.h] (before-compile): Do not append to
38008         variable.
38009         [generic sys/syscall.h] (common-generated): Likewise.
38010         * sysdeps/unix/errnos-tmpl.c: Remove file.
38011         * sysdeps/unix/errnos.awk: Likewise.
38012         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38013         * sysdeps/unix/ioctls.awk: Likewise.
38014         * sysdeps/unix/mk-local_lim.c: Likewise.
38015         * sysdeps/unix/snarf-ioctls: Likewise.
38016
38017 2012-03-19  Richard Henderson  <rth@twiddle.net>
38018
38019         * sysdeps/i386/fpu/fenv_private.h: New file.
38020         * sysdeps/i386/fpu/math_private.h: Use it.
38021         (math_opt_barrier, math_force_eval): Remove.
38022         (libc_feholdexcept_setround_53bit): Remove.
38023         (libc_feupdateenv_53bit): Remove.
38024         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38025         (math_opt_barrier, math_force_eval): Remove.
38026         (libc_feholdexcept): Remove.
38027         (libc_feholdexcept_setround): Remove.
38028         (libc_fetestexcept, libc_fesetenv): Remove.
38029         (libc_feupdateenv_test): Remove.
38030         (libc_feupdateenv, libc_feholdsetround): Remove.
38031         (libc_feresetround): Remove.
38032
38033         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38034         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38035
38036         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38037         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38038         (libc_feupdateenv_testl): New.
38039         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38040         (libc_feupdateenv_testf): New.
38041         (libc_feupdateenv): Use libc_feupdateenv_test.
38042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38043         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38044
38045         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38046         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38047         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38048         (libc_feresetround_noex): New.
38049         (libc_feresetround_noexf): New.
38050         (libc_feresetround_noexl): New.
38051         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38052         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38053         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38054         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38055         SET_RESTORE_ROUND.
38056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38058         (__cos): Likewise.
38059         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38060         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38061         SET_RESTORE_ROUND_NOEX.
38062         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38063         SET_RESTORE_ROUND_NOEXF.
38064         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38065         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38066         (libc_feholdsetroundf): New.
38067         (libc_feresetround, libc_feresetroundf): New.
38068
38069         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38070         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38071         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38072
38073         * sysdeps/generic/math_private.h: Include <fenv.h>.
38074         (default_libc_feholdexcept): New.
38075         (default_libc_feholdexcept_setround): New.
38076         (default_libc_fesetenv, default_libc_feupdateenv): New.
38077         (libc_feholdexcept): Only define if undefined.
38078         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38079         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38080         (libc_feholdexcept_setroundl): Likewise.
38081         (libc_feholdexcept_setround_53bit): Likewise.
38082         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38083         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38084         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38085         (libc_feupdateenv_53bit): Likewise.
38086         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38087         (libc_feholdexcept): Convert from macro to inline function.
38088         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38089         (libc_fesetenv, libc_feupdateenv): Likewise.
38090
38091         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38092         not previously defined.
38093         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38094         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38095         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38096         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38097         * sysdeps/ieee754/flt-32/math_private.h: New file.
38098         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38099         math_private.h below SET_FLOAT_WORD.
38100         (__isnan, __isinf_ns, __finite): Remove.
38101         (__isnanf, __isinf_nsf, __finitef): Remove.
38102
38103 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38104
38105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38106
38107 2012-03-17  David S. Miller  <davem@davemloft.net>
38108
38109         [BZ #6471]
38110         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38111         for 2.16.
38112
38113 2012-03-16  David S. Miller  <davem@davemloft.net>
38114
38115         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38116         warnings.
38117
38118         [BZ #6471]
38119         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38120         properly.
38121         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38122         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38123         sysdep_routines when subdir is sysvipc.
38124         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38125         __getshmlba helper.
38126
38127         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38128
38129 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38130
38131         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38132         [__LP64__].
38133
38134 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38135
38136         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38137         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38138         (__lround): Renamed to ...
38139         (__llround): This.  Replace long int with long long int.
38140         Define lround functions as aliases of llround functions.
38141         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38142
38143 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38144
38145         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38146         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38147         adresses to uintptr_t.  Replace "long int" and "unsigned long
38148         int" with "greg_t" on va_arg.
38149
38150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38151
38152         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38153         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38154
38155         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38156         Move e_machine check before EI_CLASS check.  Handle x32
38157         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38158         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38159         SKIP_EM_IA_64 and include
38160         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38161
38162         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38163         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38164         (add_system_dir): New macro.
38165
38166         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38167         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38168
38169 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38170
38171         [BZ #2551]
38172         [BZ #2552]
38173         [BZ #2553]
38174         [BZ #2554]
38175         [BZ #2562]
38176         [BZ #2563]
38177         [BZ #2565]
38178         [BZ #2566]
38179         [BZ #2576]
38180         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38181         (y0): Likewise.
38182         * math/w_j0f.c (j0f): Likewise.
38183         (y0f): Likewise.
38184         * math/w_j0l.c (__j0l): Likewise.
38185         (__y0l): Likewise.
38186         * math/w_j1.c (j1): Likewise.
38187         (y1): Likewise.
38188         * math/w_j1f.c (j1f): Likewise.
38189         (y1f): Likewise.
38190         * math/w_j1l.c (__j1l): Likewise.
38191         (__y1l): Likewise.
38192         * math/w_jn.c (jn): Likewise.
38193         (yn): Likewise.
38194         * math/w_jnf.c (jnf): Likewise.
38195         (ynf): Likewise.
38196         * math/w_jnl.c (__jnl): Likewise.
38197         (__ynl): Likewise.
38198         * math/libm-test.inc (j0_test): Add more tests.
38199         (j1_test): Likewise.
38200         (jn_test): Likewise.  Add trailing semicolon to existing test.
38201         (y0_test): Likewise.
38202         (y1_test): Likewise.
38203         * sysdeps/i386/fpu/libm-test-ulps: Update.
38204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38205
38206         [BZ #13851]
38207         [BZ #13854]
38208         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38209         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38210         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38211         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38212         (__tanl): Set errno for infinite argument.
38213         * sysdeps/i386/fpu/mptan.c: Remove.
38214         * sysdeps/i386/fpu/s_tan.S: Likewise.
38215         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38216         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38217         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38218         * math/libm-test.inc (tan_test): Add more tests and enable more
38219         tests for double and long double.
38220         * sysdeps/i386/fpu/libm-test-ulps: Update.
38221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38222
38223 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38224
38225         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38226         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38227
38228 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38229
38230         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38231         * configure.in: Use it for both main tree and add-ons.
38232         * configure: Regenerated.
38233
38234 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38235
38236         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38237
38238 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38239
38240         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38241         in comment.
38242
38243         [BZ #13851]
38244         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38245         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38246         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38247         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38248         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38249         infinite argument.
38250         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38251         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38252         != 0 for prec == 2.
38253         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38254         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38255         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38256         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38257         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38258         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38259         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38260         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38261         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38262         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38263         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38264         * math/libm-test.inc (cos_test): Add more tests and enable more
38265         tests for long double.
38266         (sin_test): Likewise.
38267         (sincos_test): Likewise.
38268         * sysdeps/i386/fpu/libm-test-ulps: Update.
38269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38270
38271 2012-03-16  David S. Miller  <davem@davemloft.net>
38272
38273         * sysdeps/sparc/fpu/math_private.h: New file.
38274
38275 2012-03-15  David S. Miller  <davem@davemloft.net>
38276
38277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38278         file.
38279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38281         file.
38282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38288         sysdep routines.
38289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38290
38291         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38292         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38293
38294         * sysdeps/sparc/sparc-ifunc.h: New file.
38295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38296         sparc-ifunc.h
38297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38299         Likewise.
38300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38301         Likewise.
38302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38306         Likewise.
38307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38312         Likewise.
38313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38314         Likewise.
38315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38322         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38335         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38336         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38337         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38339
38340 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38341
38342         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38343         scaling.
38344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38345
38346 2012-03-15  Andreas Jaeger  <aj@suse.de>
38347
38348         [BZ #13852]
38349         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38350         ieee754/flt-32 implementation for sin, cos and sincos.
38351         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38352         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38353         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38354         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38355         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38356         ieee754/flt-32 implementation for tan.
38357
38358         * math/libm-test.inc (cos_test): Enable some large input tests for
38359         float as well
38360         (sin_test): Likewise.
38361         (sincos_test): Likewise.
38362         (tan_test): Add tests for large input.
38363
38364         * sysdeps/i386/fpu/libm-test-ulps: Update.
38365
38366 2012-03-15  Andreas Jaeger  <aj@suse.de>
38367
38368         [BZ #13658]
38369         * math/libm-test.inc (cos_test): Add more test cases.
38370         (sin_test): Likewise.
38371         (sincos_test): Likewise.
38372
38373 2012-03-15  Andreas Jaeger  <aj@suse.de>
38374
38375         [BZ #13837]
38376         * math/libm-test.inc (cos_test): Add a test case for large input
38377         value.
38378         (sin_test): Likewise.
38379         (sincos_test): Likewise.
38380
38381 2012-03-15  Andreas Jaeger  <aj@suse.de>
38382             Joseph Myers  <joseph@codesourcery.com>
38383
38384         [BZ #13658]
38385         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38386         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38387         * sysdeps/i386/fpu/branred.c: Likewise.
38388         * sysdeps/i386/fpu/dosincos.c: Likewise.
38389         * sysdeps/i386/fpu/mpa.c: Likewise.
38390         * sysdeps/i386/fpu/s_cos.S: Likewise.
38391         * sysdeps/i386/fpu/s_sin.S: Likewise.
38392         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38393         * sysdeps/i386/fpu/sincos32.c: Likewise.
38394
38395         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38396         Define.
38397         (libc_feupdateenv_53bit): Define.
38398         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38399         Define.
38400         (libc_feupdateenv_53bit): Define.
38401
38402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38403         53 bit (without extend i386 double precision).
38404
38405         * math/libm-test.inc (sincos_test): Add tests for large input.
38406         (sin): Likewise.
38407         (cos): Likewise.
38408
38409         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38410
38411 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38412
38413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38414
38415 2012-03-15  David S. Miller  <davem@davemloft.net>
38416
38417         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38418         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38419         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38420         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38433         file.
38434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38436         file.
38437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38439         file.
38440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38442         file.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38444         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38445         fmin/fmax sysdep routines.
38446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38447
38448 2012-03-14  David S. Miller  <davem@davemloft.net>
38449
38450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38454         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38478         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38479         routines.
38480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38481         file.
38482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38484         file.
38485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38487         file.
38488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38490         file.
38491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38493         file.
38494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38496         file.
38497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38498         file.
38499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38500         file.
38501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38502         file.
38503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38504         New file.
38505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38506         file.
38507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38508         file.
38509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38511         file.
38512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38514         file.
38515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38517         file.
38518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38520         VIS3 routines.
38521
38522         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38523         New file.
38524
38525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38526
38527         * sysdeps/sparc/configure.in: New file.
38528         * sysdeps/sparc/configure: Generate.
38529         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38530         * configure: Regenerate.
38531         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38532         * config.make.in (have-as-vis3): New.
38533         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38534         available use -Av9d instead of -Av9a.
38535         * sysdeps/sparc/sparc64/Makefile: Likewise.
38536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38538         New file.
38539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38540         file.
38541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38542         New file.
38543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38544         file.
38545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38547         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38548         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38550
38551         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38552         fzeros/fnegs to load 0x80000000 into a float register instead of
38553         using the stack.
38554         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38555
38556 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38557
38558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38559         bits/syscall.h.
38560         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38561         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38562         ($(inst_includedir)/bits/syscall.h): Remove rule.
38563         ($(objpfx)bits/syscall.d): Include instead of
38564         $(objpfx)syscall-list.d.
38565         (generated): Change syscall-list.h and syscall-list.d to
38566         bits/syscall.h and bits/syscall.d.
38567
38568 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38569
38570         [BZ #13846]
38571         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38572
38573 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38574
38575         [BZ #13841]
38576         * math/s_csqrt.c: Include <float.h>.
38577         (__csqrt): Scale large or subnormal inputs.
38578         * math/s_csqrtf.c: Likewise.
38579         * math/s_csqrtl.c: Likewise.
38580         * math/libm-test.inc (csqrt_test): Add more tests.
38581         * sysdeps/i386/fpu/libm-test-ulps: Update.
38582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38583
38584         [BZ #13840]
38585         * math/libm-test.inc (hypot_test): Add more tests.
38586
38587 2012-03-13  David S. Miller  <davem@davemloft.net>
38588
38589         [BZ #13840]
38590         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38591         double-precision for the calculation instead of scaling.
38592
38593 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38594
38595         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38596         manipulate bits before adding and subtracting TWO52[sx].
38597         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38598         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38599         Likewise.
38600         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38601
38602 2012-03-13  David S. Miller  <davem@davemloft.net>
38603
38604         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38605         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38607         rtld-global-offsets.h
38608         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38609
38610         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38611         large parameters.
38612
38613         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38614
38615         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38616         'err' in the ifdef scope in which it is actually used.
38617
38618         * nss/nss_db/db-init.c: Include string.h
38619
38620 2012-03-12  David S. Miller  <davem@davemloft.net>
38621
38622         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38623         masking out of the most significant byte of random value used.
38624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38625         Fix coding style in previous change.
38626
38627         * sysdeps/unix/sysv/linux/kernel-features.h
38628         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38629         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38630         expression.
38631         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38632         later.
38633
38634 2012-03-11  David S. Miller  <davem@davemloft.net>
38635
38636         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38637         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38638         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38639         for 'resultvar' otherwise things get truncated on 64-bit.
38640
38641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38642         Fix masking out of the most significant byte of random value used.
38643
38644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38645
38646 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38647
38648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38649
38650 2012-03-09  David S. Miller  <davem@davemloft.net>
38651
38652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38653         variables with appropriate CPP guards.
38654         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38655         from the frame pointer, not the stack pointer.  Correct layout
38656         comments.  Fix test on resulting framesize and the management of
38657         the outregs buffer for pltexit.  Preserve floating point return
38658         values across _dl_call_pltexit call.
38659         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38660         framesize and the management of the outregs buffer for pltexit.
38661         Preserve floating point return values across _dl_call_pltexit
38662         call.
38663         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38664         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38665         (la_sparc64_gnu_pltexit): New functions.
38666         (print_exit): Fix format string for return register value.
38667
38668 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38669
38670         * sunrpc/Makefile (others): Add rpcgen.
38671         ($(objpfx)rpcgen): Remove special build rule and dependency on
38672         libc.
38673         * sunrpc/rpcgen.c: New file.
38674
38675 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38676
38677         [BZ #13673]
38678         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38679         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38680         * sysdeps/i386/crti.S: Likewise.
38681         * sysdeps/i386/crtn.S: Likewise.
38682         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38683         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38684         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38685         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38686         * sysdeps/sh/crti.S: Likewise.
38687         * sysdeps/sh/crtn.S: Likewise.
38688         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38689
38690         [BZ #13673]
38691         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38692         with URL.
38693         * locale/programs/locfile-kw.gperf: Likewise.
38694         * locale/programs/charmap-kw.h: Regenerated.
38695         * locale/programs/locfile-kw.h: Likewise.
38696
38697         [BZ #13673]
38698         * intl/plural.y: Replace FSF snail mail address with URL.
38699         * intl/plural.c: Regenerated.
38700
38701 2012-03-09  Richard Henderson  <rth@twiddle.net>
38702
38703         * include/math_private.h: Remove file.
38704         * math/math_private.h: Move file ...
38705         * sysdeps/generic/math_private.h: ... here.
38706
38707         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38708         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38709         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38710
38711         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38712         and <math_private.h>.
38713         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38714         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38715         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38716         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38717         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38718         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38719         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38721         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38722         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38723         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38724         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38725         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38726         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38727         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38728         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38729         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38730         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38731         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38732         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38734         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38735         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38737         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38739         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38740         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38741         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38742         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38743         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38744         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38745         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38746         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38747         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38748         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38749         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38750         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38751         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38752         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38753         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38754         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38755         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38756         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38757         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38758         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38759         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38760         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38761         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38762         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38763         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38764         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38765         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38766         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38767         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38768         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38769         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38770         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38771         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38772         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38773         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38774         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38775         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38776         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38777         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38778         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38779         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38780         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38781         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38782         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38783         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38784         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38785         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38786         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38787         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38789         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38791         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38792         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38793         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38794         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38796         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38797         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38798         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38800         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38801         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38802         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38803         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38804         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38805         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38806         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38807         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38808         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38809         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38810         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38811         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38812         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38813         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38814         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38815         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38816         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38817         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38818         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38819         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38820         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38821         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38822         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38823         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38824         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38825         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38826         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38827         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38828         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38829         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38830         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38831         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38832         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38833         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38834         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38835         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38836         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38837         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38838         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38839         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38840         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38841         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38842         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38843         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38844         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38845         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38846         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38847         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38848         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38849         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38850         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38851         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38852         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38853         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38854         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38855         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38856         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38857         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38858         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38859         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38860         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38861         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38862         * sysdeps/ieee754/k_standard.c: Likewise.
38863         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38864         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38865         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38866         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38867         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38868         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38870         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38914         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38915         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38921         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38956         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38975         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38976         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38978         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38980         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38981         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38982         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38983         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38985         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38986         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38988         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38990         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38991         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38995         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38996         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38997         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38998         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38999         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39001         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39002         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39003         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39004         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39006         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39008         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39011         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39012         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39013         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39016         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39017         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39018         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39022         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39023         * sysdeps/ieee754/s_lib_version.c: Likewise.
39024         * sysdeps/ieee754/s_matherr.c: Likewise.
39025         * sysdeps/ieee754/s_signgam.c: Likewise.
39026         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39027         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39028         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39029         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39030         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39031         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39032         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39033         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39034         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39035         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39036         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39037         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39038         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39039         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39040         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39041         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39042         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39043         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39044         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39045         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39047
39048 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39049
39050         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39051         * sunrpc/rpc_main.c: Likewise.
39052         * sunrpc/rpc_svcout.c: Likewise.
39053
39054 2012-03-09  David S. Miller  <davem@davemloft.net>
39055
39056         * include/math_private.h: New file.
39057
39058 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39059
39060         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39061         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39062         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39063         from <bits/socket_type.h>.
39064         (enum __socket_type): Don't define here.
39065         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39067         bits/socket_type.h.
39068
39069         [BZ #13566]
39070         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39071         checking __USE_GNU.
39072
39073         * Makerules ($(inst_includedir)/%.h): New rule.
39074         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39075         (install-others): Remove variable setting.
39076         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39077
39078 2012-03-08  Richard Henderson  <rth@twiddle.net>
39079
39080         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39081         from macro to inline function; merge with the
39082         !__LIBC_INTERNAL_MATH_INLINES version.
39083         (__ieee754_sqrtf): Likewise.
39084
39085         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39086         to inline function.
39087         (__rintf, __floor, __floorf): Likewise.
39088
39089         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39090         macro to inline function.
39091         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39092
39093         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39094         not <math/math_private.h>.
39095
39096 2012-03-08  David S. Miller  <davem@davemloft.net>
39097
39098         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39099         copyright year.
39100         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39101
39102 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39103
39104         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39105         normalization.
39106         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39107         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39108
39109 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39110
39111         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39112         be defined individually, they must be defined as a block.  Define
39113         S for printing a string instead of hidint the different by using a
39114         macro for adding the 'l'.
39115         * stdio-common/tst-fphex-wide.c: Adjust.
39116
39117 2012-03-07  Marek Polacek  <polacek@redhat.com>
39118
39119         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39120
39121 2012-03-08  Marek Polacek  <polacek@redhat.com>
39122
39123         [BZ #13806]
39124         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39125         * stdio-common/tst-fphex.c: Define a few macros to make the
39126         test reusable.  Use them.
39127         * stdio-common/tst-fphex-wide.c: New file.
39128
39129 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39130
39131         [BZ #6911]
39132         * manual/macros.texi (gnusystems): New macro.
39133         (nongnusystems): Likewise.
39134         (gnulinuxhurdsystems): Likewise.
39135         (gnuhurdsystems): Likewise..
39136         (gnulinuxsystems): Likewise.
39137         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39138         variants of the GNU system, not "GNU system".
39139         * manual/conf.texi: Likewise.
39140         * manual/errno.texi: Likewise.  Update example of errno macro
39141         expansion.
39142         * manual/filesys.texi: Likewise.
39143         (getumask): Document as specific to GNU/Hurd.
39144         * manual/install.texi: Likewise.  Reword some references to
39145         GNU/Linux.
39146         * manual/intro.texi: Likewise.
39147         * manual/io.texi: Likewise.
39148         (File Name Portability): Detail which constraints are inapplicable
39149         to all GNU systems and which are only inapplicable to GNU/Hurd.
39150         * manual/job.texi: Likewise.
39151         * manual/llio.texi: Likewise.
39152         (O_NOCTTY): Document as present on GNU/Linux.
39153         * manual/maint.texi: Likewise.
39154         * manual/memory.texi: Likewise.
39155         * manual/pattern.texi: Likewise.
39156         * manual/pipe.texi: Likewise.
39157         * manual/process.texi: Likewise.
39158         * manual/resource.texi: Likewise.
39159         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39160         child on GNU/Hurd.
39161         * manual/setjmp.texi: Likewise.
39162         * manual/signal.texi: Likewise.
39163         * manual/startup.texi: Likewise.
39164         * manual/stdio.texi: Likewise.
39165         * manual/terminal.texi: Likewise.
39166         (ONLCR): Document as POSIX.
39167         (OXTABS): Document availability on GNU/Linux as XTABS.
39168         (ONOEOT): Document availability separately from other bits.
39169         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39170         * manual/time.texi: Likewise.
39171         * manual/users.texi: Likewise.
39172         * INSTALL: Regenerated.
39173         * sysdeps/gnu/errlist.c: Regenerated.
39174
39175         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39176         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39177         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39178         puts.
39179         * configure: Regenerated.
39180
39181 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39182
39183         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39184         default includes instead of AC_HEADER_CHECK.
39185         * sysdeps/i386/configure: Regenerated.
39186
39187         [BZ #10716]
39188         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39189         * math/s_cacoshf.c (__cacoshf): Likewise.
39190         * math/s_cacoshl.c (__cacoshl): Likewise.
39191         * math/s_casinh.c (__casinh): Set signs of result from argument.
39192         * math/s_casinhf.c (__casinhf): Likewise.
39193         * math/s_casinhl.c (__casinhl): Likewise.
39194         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39195         (casinh_test): Add more tests.
39196         * sysdeps/i386/fpu/libm-test-ulps: Update.
39197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39198
39199 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39200
39201         * po/zh_TW.po: Update from translation team.
39202
39203         * login/Makefile (distribute): Remove variable.
39204         * catgets/Makefile: Likewise.
39205         * mach/Makefile: Likewise.
39206         * malloc/Makefile: Likewise.
39207         * misc/Makefile: Likewise.
39208         * iconv/Makefile: Likewise.
39209         * nscd/Makefile: Likewise.
39210         * hurd/Makefile: Likewise.
39211         * manual/Makefile: Likewise.
39212         * locale/Makefile: Likewise.
39213         * intl/Makefile: Likewise.
39214         * conform/Makefile: Likewise.
39215         * nss/Makefile: Likewise.
39216         * time/Makefile: Likewise.
39217         * soft-fp/Makefile: Likewise.
39218         * dirent/Makefile: Likewise.
39219         * gmon/Makefile: Likewise.
39220         * po/Makefile: Likewise.
39221         * rt/Makefile: Likewise.
39222         * socket/Makefile: Likewise.
39223         * math/Makefile: Likewise.
39224         * signal/Makefile: Likewise.
39225         * debug/Makefile: Likewise.
39226         * elf/Makefile: Likewise.
39227         * timezone/Makefile: Likewise.
39228         * stdlib/Makefile: Likewise.
39229         * iconvdata/Makefile: Likewise.
39230         * sunrpc/Makefile: Likewise.
39231         * io/Makefile: Likewise.
39232         * argp/Makefile: Likewise.
39233         * inet/Makefile: Likewise.
39234         * hesiod/Makefile: Likewise.
39235         * grp/Makefile: Likewise.
39236         * csu/Makefile: Likewise.
39237         * wctype/Makefile: Likewise.
39238         * crypt/Makefile: Likewise.
39239         * libio/Makefile: Likewise.
39240         * string/Makefile: Likewise.
39241         * nis/Makefile: Likewise.
39242         * resolv/Makefile: Likewise.
39243         * stdio-common/Makefile: Likewise.
39244         * wcsmbs/Makefile: Likewise.
39245         * dlfcn/Makefile: Likewise.
39246         * posix/Makefile: Likewise.
39247
39248         [BZ #6959]
39249         * timezone/Makefile: Don't install timezone files, just the programs
39250         and scripts.
39251
39252 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39253
39254         * nss/databases.def: Add missing gshadow entry.
39255
39256         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39257
39258 2012-03-06  Marek Polacek  <polacek@redhat.com>
39259
39260         [BZ #13726]
39261         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39262         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39263         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39264         * stdio-common/tst-long-dbl-fphex.c: New file.
39265
39266 2012-03-06  David S. Miller  <davem@davemloft.net>
39267
39268         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39269         (set_obp_int): New function.
39270         (get_obp_int): New function.
39271         (__get_clockfreq_via_dev_openprom): Likewise.
39272         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39273         Avoid unused variable warnings on 'val' and use builtin_expect.
39274         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39275         __builtin_expect.
39276         (INLINE_CLONE_SYSCALL): Likewise.
39277
39278 2012-03-05  David S. Miller  <davem@davemloft.net>
39279
39280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39281
39282 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39283
39284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39285
39286         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39287         only for |x| >= 40.
39288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39289
39290 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39291
39292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39293         Replace gettimeofday with __vdso_gettimeofday.
39294
39295         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39296         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39297         __vdso_clock_gettime and __vdso_getcpu.
39298
39299         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39300         time with __vdso_time.
39301
39302 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39303
39304         * manual/lang.texi (size_t): Note types to which size_t may be
39305         equivalent with the GNU C Library, but do not describe when
39306         differences between them are significant.
39307
39308 2012-03-05  Andreas Jaeger  <aj@suse.de>
39309
39310         * sysdeps/i386/fpu/libm-test-ulps: Update.
39311
39312 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39313
39314         [BZ #3976]
39315         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39316         (__ieee754_pow): Save and restore rounding mode and use
39317         round-to-nearest for main computations.
39318         * math/libm-test.inc (pow_test_tonearest): New function.
39319         (pow_test_towardzero): Likewise.
39320         (pow_test_downward): Likewise.
39321         (pow_test_upward): Likewise.
39322         (main): Call the new functions.
39323         * sysdeps/i386/fpu/libm-test-ulps: Update.
39324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39325
39326         [BZ #3976]
39327         * math/libm-test.inc (cosh_test_tonearest): New function.
39328         (cosh_test_towardzero): Likewise.
39329         (cosh_test_downward): Likewise.
39330         (cosh_test_upward): Likewise.
39331         (sinh_test_tonearest): Likewise.
39332         (sinh_test_towardzero): Likewise.
39333         (sinh_test_downward): Likewise.
39334         (sinh_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 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39340
39341         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39342         default stack guard is set in last bytes.
39343         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39344
39345 2012-03-05  Kees Cook  <keescook@chromium.org>
39346
39347         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39348
39349         [BZ #13656]
39350         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39351         possibly allocate from heap instead of stack.
39352         * stdio-common/bug-vfprintf-nargs.c: New file.
39353         * stdio-common/Makefile (tests): Add nargs overflow test.
39354
39355 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39356
39357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39358
39359 2012-03-03  Marek Polacek  <polacek@redhat.com>
39360
39361         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39362         * math/math_private.h: Likewise.
39363         * stdlib/tst-strtod.c: Likewise.
39364         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39365         * sysdeps/x86_64/bits/atomic.h: Likewise.
39366
39367 2012-03-02  David S. Miller  <davem@davemloft.net>
39368
39369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39373         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39374         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39375         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39376         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39377
39378 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39379
39380         [BZ #13792]
39381         * manual/examples/README: New file, says the example source files
39382         can be used under GPL>=2.
39383         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39384         line containing just "*/".
39385         * manual/examples/add.c: Add copyright header (GPL>=2).
39386         * manual/examples/argp-ex1.c: Likewise.
39387         * manual/examples/argp-ex2.c: Likewise.
39388         * manual/examples/argp-ex3.c: Likewise.
39389         * manual/examples/argp-ex4.c: Likewise.
39390         * manual/examples/atexit.c: Likewise.
39391         * manual/examples/db.c: Likewise.
39392         * manual/examples/dir.c: Likewise.
39393         * manual/examples/dir2.c: Likewise.
39394         * manual/examples/execinfo.c: Likewise.
39395         * manual/examples/filecli.c: Likewise.
39396         * manual/examples/filesrv.c: Likewise.
39397         * manual/examples/fmtmsgexpl.c: Likewise.
39398         * manual/examples/genpass.c: Likewise.
39399         * manual/examples/inetcli.c: Likewise.
39400         * manual/examples/inetsrv.c: Likewise.
39401         * manual/examples/isockad.c: Likewise.
39402         * manual/examples/longopt.c: Likewise.
39403         * manual/examples/memopen.c: Likewise.
39404         * manual/examples/memstrm.c: Likewise.
39405         * manual/examples/mkfsock.c: Likewise.
39406         * manual/examples/mkisock.c: Likewise.
39407         * manual/examples/mygetpass.c: Likewise.
39408         * manual/examples/pipe.c: Likewise.
39409         * manual/examples/popen.c: Likewise.
39410         * manual/examples/rprintf.c: Likewise.
39411         * manual/examples/search.c: Likewise.
39412         * manual/examples/select.c: Likewise.
39413         * manual/examples/setjmp.c: Likewise.
39414         * manual/examples/sigh1.c: Likewise.
39415         * manual/examples/sigusr.c: Likewise.
39416         * manual/examples/stpcpy.c: Likewise.
39417         * manual/examples/strdupa.c: Likewise.
39418         * manual/examples/strftim.c: Likewise.
39419         * manual/examples/strncat.c: Likewise.
39420         * manual/examples/subopt.c: Likewise.
39421         * manual/examples/swapcontext.c: Likewise.
39422         * manual/examples/termios.c: Likewise.
39423         * manual/examples/testopt.c: Likewise.
39424         * manual/examples/testpass.c: Likewise.
39425         * manual/examples/timeval_subtract.c: Likewise.
39426
39427         [BZ #13792]
39428         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39429         function to ...
39430         * manual/timeval_subtract.c.texi: ... here, new file.
39431
39432 2012-03-02  David S. Miller  <davem@davemloft.net>
39433
39434         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39435
39436 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39437
39438         [BZ #3976]
39439         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39440         (__sin): Save and restore rounding mode and use round-to-nearest
39441         for all computations.
39442         (__cos): Save and restore rounding mode and use round-to-nearest
39443         for all computations.
39444         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39445         <fenv.h>.
39446         (tan): Save and restore rounding mode and use round-to-nearest for
39447         all computations.
39448         * math/libm-test.inc (cos_test_tonearest): New function.
39449         (cos_test_towardzero): Likewise.
39450         (cos_test_downward): Likewise.
39451         (cos_test_upward): Likewise.
39452         (sin_test_tonearest): Likewise.
39453         (sin_test_towardzero): Likewise.
39454         (sin_test_downward): Likewise.
39455         (sin_test_upward): Likewise.
39456         (tan_test_tonearest): Likewise.
39457         (tan_test_towardzero): Likewise.
39458         (tan_test_downward): Likewise.
39459         (tan_test_upward): Likewise.
39460         (main): Call the new functions.
39461         * sysdeps/i386/fpu/libm-test-ulps: Update.
39462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39463
39464         [BZ #10135]
39465         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39466         small n, then large n, before computing and testing k+n.
39467         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39468         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39469         Likewise.
39470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39471         Likewise.
39472         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39473         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39474         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39475         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39476         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39477         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39478         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39479         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39480         * math/libm-test.inc (scalbn_test): Add more tests.
39481         (scalbln_test): Likewise.
39482
39483         * manual/filesys.texi (mode_t): Describe constraints on size and
39484         signedness, not exact equivalence to a particular type.
39485         (ino_t): Likewise.
39486         (ino64_t): Likewise.
39487         (dev_t): Likewise.
39488         (nlink_t): Likewise.
39489         (blkcnt_t): Likewise.
39490         (blkcnt64_t): Likewise.
39491         * manual/llio.texi (off_t): Likewise.
39492
39493         [BZ #3976]
39494         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39495         (__ieee754_exp): Save and restore rounding mode and use
39496         round-to-nearest for all computations.
39497         * math/libm-test.inc (exp_test_tonearest): New function.
39498         (exp_test_towardzero): Likewise.
39499         (exp_test_downward): Likewise.
39500         (exp_test_upward): Likewise.
39501         (main): Call the new functions.
39502         * sysdeps/i386/fpu/libm-test-ulps: Update.
39503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39504
39505 2012-03-01  Chris Demetriou  <cgd@google.com>
39506
39507         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39508         have predictable order.
39509
39510 2012-03-01  David S. Miller  <davem@davemloft.net>
39511
39512         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39513
39514         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39515         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39516         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39517         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39518
39519         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39520         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39521         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39523         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39524         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39525         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39526         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39527         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39528
39529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39530
39531         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39532         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39533         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39534
39535         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39536         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39537         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39538         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39539         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39540         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39541         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39542         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39543         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39544         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39545         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39546         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39548         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39549         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39551         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39552         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39553         * sysdeps/sparc/elf/configure: Regenerated.
39554
39555 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39556
39557         * configure.in (AS, LD): Require binutils 2.20 or later.
39558         * configure: Regenerated.
39559         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39560         as required minimum version.
39561         * INSTALL: Regenerated.
39562
39563         [BZ #2541]
39564         [BZ #4108]
39565         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39566         before squaring exponent.
39567         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39568         bottom long double and 27 bits of top long double before squaring
39569         exponent.
39570         * math/libm-test.inc (erfc_test): Add more tests.
39571         * sysdeps/i386/fpu/libm-test-ulps: Update.
39572         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39574
39575 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39576
39577         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39578         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39579         containing bit-fields.
39580         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39581         * soft-fp/single.h (_FP_UNION_S): Likewise.
39582         * soft-fp/double.h (_FP_UNION_D): Likewise.
39583
39584 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39585
39586         [BZ #13786]
39587         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39588         not include ../strcmp.S.
39589         [USE_AS_STRNCASECMP_L]: Likewise.
39590         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39591         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39592         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39593         (__strncasecmp_l_ia32): Define as alias to
39594         __strncasecmp_l_nonascii.
39595
39596         [BZ #5794]
39597         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39598         * sysdeps/i386/fpu/libm-test-ulps: Update.
39599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39600
39601         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39603
39604 2012-02-29  Jeff Law  <law@redhat.com>
39605
39606         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39607         out of bounds read.
39608
39609 2012-02-29  Marek Polacek  <polacek@redhat.com>
39610
39611         [BZ #13706]
39612         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39613         * elf/Makefile: Add rules to run tst-unused-dep.out.
39614
39615 2012-02-28  David S. Miller  <davem@davemloft.net>
39616
39617         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39618         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39619         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39620         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39621         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39622         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39623
39624 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39625
39626         * math/libm-test.inc (llround_test): Move one test from
39627         lround_test.  Use TEST_f_L in moved test.
39628         (lround_test): Move misplaced test to llround_test.  Add testcase
39629         from bug 2561.
39630
39631 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39632
39633         * sysdeps/x86_64/fpu/e_expf.S: New file.
39634         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39635
39636 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39637
39638         [BZ #13637]
39639         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39640         of remain_len that may cause incomplete multi-byte character and
39641         false match.
39642         * posix/bug-regex33.c: New file.
39643         * posix/Makefile (tests): Add bug-regex33.
39644
39645 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39646
39647         * manual/macros.texi: New file.
39648         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39649         * manual/libc.texinfo: Include macros.texi.
39650         * manual/creatute.texi: Likewise.
39651         * manual/install.texi: Likewise.
39652         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39653         @glibcadj{} in references to the GNU C Library.
39654         * manual/charset.texi: Likewise.
39655         * manual/conf.texi: Likewise.
39656         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39657         when not using those macros.
39658         * manual/creature.texi: Likewise.
39659         * manual/crypt.texi: Likewise.
39660         * manual/errno.texi: Likewise.
39661         * manual/filesys.texi: Likewise.
39662         * manual/header.texi: Likewise.
39663         * manual/install.texi: Likewise.
39664         * manual/intro.texi: Likewise.
39665         * manual/io.texi: Likewise.
39666         * manual/job.texi: Likewise.
39667         * manual/lang.texi: Likewise.
39668         * manual/libc.texiinfo: Likewise.
39669         * manual/llio.texi: Likewise.
39670         * manual/locale.texi: Likewise.
39671         * manual/maint.texi: Likewise.
39672         * manual/math.texi: Likewise.
39673         * manual/memory.texi: Likewise.
39674         * manual/message.texi: Likewise.
39675         * manual/nss.texi: Likewise.
39676         * manual/pattern.texi: Likewise.
39677         * manual/process.texi: Likewise.
39678         * manual/resource.texi: Likewise.
39679         * manual/search.texi: Likewise.
39680         * manual/setjmp.texi: Likewise.
39681         * manual/signal.texi: Likewise.
39682         * manual/socket.texi: Likewise.
39683         * manual/startup.texi: Likewise.
39684         * manual/stdio.texi: Likewise.
39685         * manual/string.texi: Likewise.
39686         * manual/sysinfo.texi: Likewise.
39687         * manual/syslog.texi: Likewise.
39688         * manual/terminal.texi: Likewise.
39689         * manual/time.texi: Likewise.
39690         * manual/users.texi: Likewise.
39691         * INSTALL: Regenerated.
39692         * NOTES: Regenerated.
39693         * sysdeps/gnu/errlist.c: Regenerated.
39694
39695 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39696
39697         * include/dirent.h: Include <dirstream.h> before
39698         <dirent/dirent.h>.
39699
39700 2012-02-28  David S. Miller  <davem@davemloft.net>
39701
39702         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39703         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39704         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39705         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39706
39707 2012-02-27  David S. Miller  <davem@davemloft.net>
39708
39709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39711         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39712         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39713
39714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39715         frame pointer instead of stack pointer relative arg slot.
39716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39717         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39718         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39719
39720 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39721
39722         [BZ #3992]
39723         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39724
39725 2012-02-27  David S. Miller  <davem@davemloft.net>
39726
39727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39731         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39732         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39733         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39734         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39735
39736 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39737
39738         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39739         later.  Allow versions 5-9.
39740         * configure: Regenerated.
39741         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39742         required minimum version and 4.6 as recommended version.  Do not
39743         mention bugs in GCC 2.7 and 2.8.
39744         * INSTALL: Regenerated.
39745
39746 2012-02-27  David S. Miller  <davem@davemloft.net>
39747
39748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39752         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39753         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39754         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39755         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39756
39757         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39758         manipulate bits before adding and subtracting TWO112[sx].
39759         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39760
39761 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39762
39763         [BZ #13775]
39764         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39765         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39766         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39767         being in POSIX, because they are in 1003.1-2008.
39768
39769         * rt/tst-aio.c: Include <fcntl.h>.
39770         * rt/tst-aio7.c: Likewise.
39771         * rt/tst-aio64.c: Likewise.
39772
39773         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39774
39775 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39776
39777         * manual/install.texi (--with-headers): Describe headers as
39778         interface headers, not private headers.
39779         (Specific advice for GNU/Linux systems): Describe use of headers
39780         from "make headers_install", not private headers from older
39781         kernels.
39782         * INSTALL: Regenerated.
39783         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39784         Change to 2.6.19.
39785         * sysdeps/unix/sysv/linux/configure: Regenerated.
39786
39787         * manual/llio.texi (fclean): Remove documentation.
39788
39789         * manual/Makefile (libc-texi-generated): New variable.  Include
39790         version.texi.
39791         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39792         $(libc-texi-generated), not duplicated list of files.
39793         (version.texi, stamp-version): New rules.
39794         (realclean): Remove $(libc-texi-generated), not individual files
39795         from that list.  Do not remove dir-add.texinfo.
39796         * manual/libc.texinfo: Comment out uses of edition numbers and
39797         references to printed manual.  Remove last-updated dates.
39798         (EDITION): Comment out.
39799         (ISBN): Likewise.
39800         (VERSION, UPDATED): Remove.
39801         (version.texi): Include.
39802
39803 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39804
39805         * sysdeps/posix/spawni.c: Include <signal.h>.
39806         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39807         * sysdeps/pthread/aio_fsync.c: Likewise.
39808
39809 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39810
39811         * conform/Makefile (tests): Run only when not cross-compiling and
39812         when fast-check is not defined.
39813
39814         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39815         * conform/data/limits.h-data: Fixes for POSIX2008.
39816         * conform/run-conformtest.sh: Run all tests.
39817         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39818         headers.
39819         * include/bits/dlfcn.h: Likewise.
39820         * include/langinfo.h: Likewise.
39821         * include/monetary.h: Likewise.
39822         * include/sys/poll.h: Likewise.
39823
39824         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39825         for __USE_GNU.
39826         * posix/spawn.h: Define __need_sigset_t.
39827         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39828         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39829         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39830         to get sigevent_t only.
39831         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39832         only for __USE_GNU.
39833         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39834         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39835         process_vm_writev only for __USE_GNU.
39836         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39837
39838         * conform/Makefile: For now ignore errors from run-conformtest.
39839         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39840         POSIX to avoid namespace pollution.  Don't prepend headers.
39841         * conform/data/aio.h-data: Fixes for POSIX testing.
39842         * conform/data/fcntl.h-data: Likewise.
39843         * conform/data/glob.h-data: Likewise.
39844         * conform/data/grp.h-data: Likewise.
39845         * conform/data/pthread.h-data: Likewise.
39846         * conform/data/pwd.h-data: Likewise.
39847         * conform/data/signal.h-data: Likewise.
39848         * conform/data/spawn.h-data: Likewise.
39849         * conform/data/stdio.h-data: Likewise.
39850         * conform/data/stdlib.h-data: Likewise.
39851         * conform/data/stropts.h-data: Likewise.
39852         * conform/data/sys/mman.h-data: Likewise.
39853         * conform/data/sys/stat.h-data: Likewise.
39854         * conform/data/sys/types.h-data: Likewise.
39855         * conform/data/sys/wait.h-data: Likewise.
39856         * conform/data/time.h-data: Likewise.
39857         * conform/data/unistd.h-data: Likewise.
39858         * conform/data/utime.h-data: Likewise.
39859
39860         * io/sys/stat.h: fchmod was always in POSIX.
39861         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39862         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39863         * rt/aio.h: Define __need_timespec before including <time.h>.
39864         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39865         struct.  Add forward declaration of pthread_attr_t and use it in
39866         sigevent.
39867         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39868         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39869         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39870         always remove CLK_TCK definition.
39871
39872 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39873
39874         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39875
39876 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39877
39878         * conform/run-conformtest.sh: New file.
39879         * conform/Makefile: Run run-conformtest for tests.
39880         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39881         support.
39882
39883         * conform/data/uchar.h-data: New file.
39884         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39885         * conform/data/arpa/inet.h-data: Likewise.
39886         * conform/data/assert.h-data: Likewise.
39887         * conform/data/complex.h-data: Likewise.
39888         * conform/data/cpio.h-data: Likewise.
39889         * conform/data/ctype.h-data: Likewise.
39890         * conform/data/dirent.h-data: Likewise.
39891         * conform/data/dlfcn.h-data: Likewise.
39892         * conform/data/errno.h-data: Likewise.
39893         * conform/data/fcntl.h-data: Likewise.
39894         * conform/data/float.h-data: Likewise.
39895         * conform/data/fmtmsg.h-data: Likewise.
39896         * conform/data/fnmatch.h-data: Likewise.
39897         * conform/data/ftw.h-data: Likewise.
39898         * conform/data/glob.h-data: Likewise.
39899         * conform/data/grp.h-data: Likewise.
39900         * conform/data/iconv.h-data: Likewise.
39901         * conform/data/inttypes.h-data: Likewise.
39902         * conform/data/langinfo.h-data: Likewise.
39903         * conform/data/libgen.h-data: Likewise.
39904         * conform/data/limits.h-data: Likewise.
39905         * conform/data/locale.h-data: Likewise.
39906         * conform/data/math.h-data: Likewise.
39907         * conform/data/monetary.h-data: Likewise.
39908         * conform/data/mqueue.h-data: Likewise.
39909         * conform/data/ndbm.h-data: Likewise.
39910         * conform/data/net/if.h-data: Likewise.
39911         * conform/data/netdb.h-data: Likewise.
39912         * conform/data/netinet/in.h-data: Likewise.
39913         * conform/data/nl_types.h-data: Likewise.
39914         * conform/data/poll.h-data: Likewise.
39915         * conform/data/pthread.h-data: Likewise.
39916         * conform/data/pwd.h-data: Likewise.
39917         * conform/data/regex.h-data: Likewise.
39918         * conform/data/sched.h-data: Likewise.
39919         * conform/data/search.h-data: Likewise.
39920         * conform/data/semaphore.h-data: Likewise.
39921         * conform/data/setjmp.h-data: Likewise.
39922         * conform/data/signal.h-data: Likewise.
39923         * conform/data/spawn.h-data: Likewise.
39924         * conform/data/stdarg.h-data: Likewise.
39925         * conform/data/stdio.h-data: Likewise.
39926         * conform/data/stdlib.h-data: Likewise.
39927         * conform/data/string.h-data: Likewise.
39928         * conform/data/strings.h-data: Likewise.
39929         * conform/data/stropts.h-data: Likewise.
39930         * conform/data/sys/ipc.h-data: Likewise.
39931         * conform/data/sys/mman.h-data: Likewise.
39932         * conform/data/sys/msg.h-data: Likewise.
39933         * conform/data/sys/resource.h-data: Likewise.
39934         * conform/data/sys/select.h-data: Likewise.
39935         * conform/data/sys/sem.h-data: Likewise.
39936         * conform/data/sys/shm.h-data: Likewise.
39937         * conform/data/sys/socket.h-data: Likewise.
39938         * conform/data/sys/stat.h-data: Likewise.
39939         * conform/data/sys/statvfs.h-data: Likewise.
39940         * conform/data/sys/time.h-data: Likewise.
39941         * conform/data/sys/timeb.h-data: Likewise.
39942         * conform/data/sys/times.h-data: Likewise.
39943         * conform/data/sys/types.h-data: Likewise.
39944         * conform/data/sys/uio.h-data: Likewise.
39945         * conform/data/sys/un.h-data: Likewise.
39946         * conform/data/sys/utsname.h-data: Likewise.
39947         * conform/data/sys/wait.h-data: Likewise.
39948         * conform/data/syslog.h-data: Likewise.
39949         * conform/data/tar.h-data: Likewise.
39950         * conform/data/termios.h-data: Likewise.
39951         * conform/data/utime.h-data: Likewise.
39952         * conform/data/utmpx.h-data: Likewise.
39953         * conform/data/varargs.h-data: Likewise.
39954         * conform/data/wchar.h-data: Likewise.
39955         * conform/data/wctype.h-data: Likewise.
39956         * conform/data/wordexp.h-data: Likewise.
39957
39958         * include/stropts.h: New file.
39959         * include/uchar.h: New file.
39960         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39961         * include/assert.h: Likewise.
39962         * include/ctype.h: Likewise.
39963         * include/dirent.h: Likewise.
39964         * include/dlfcn.h: Likewise.
39965         * include/fcntl.h: Likewise.
39966         * include/fnmatch.h: Likewise.
39967         * include/glob.h: Likewise.
39968         * include/grp.h: Likewise.
39969         * include/libio.h: Likewise.
39970         * include/locale.h: Likewise.
39971         * include/math.h: Likewise.
39972         * include/net/if.h: Likewise.
39973         * include/netdb.h: Likewise.
39974         * include/netinet/in.h: Likewise.
39975         * include/pthread.h: Likewise.
39976         * include/pwd.h: Likewise.
39977         * include/regex.h: Likewise.
39978         * include/sched.h: Likewise.
39979         * include/search.h: Likewise.
39980         * include/setjmp.h: Likewise.
39981         * include/signal.h: Likewise.
39982         * include/stdio.h: Likewise.
39983         * include/stdlib.h: Likewise.
39984         * include/string.h: Likewise.
39985         * include/sys/cdefs.h: Likewise.
39986         * include/sys/mman.h: Likewise.
39987         * include/sys/msg.h: Likewise.
39988         * include/sys/resource.h: Likewise.
39989         * include/sys/select.h: Likewise.
39990         * include/sys/socket.h: Likewise.
39991         * include/sys/stat.h: Likewise.
39992         * include/sys/statvfs.h: Likewise.
39993         * include/sys/time.h: Likewise.
39994         * include/sys/times.h: Likewise.
39995         * include/sys/uio.h: Likewise.
39996         * include/sys/utsname.h: Likewise.
39997         * include/sys/wait.h: Likewise.
39998         * include/termios.h: Likewise.
39999         * include/time.h: Likewise.
40000         * include/ulimit.h: Likewise.
40001         * include/unistd.h: Likewise.
40002         * include/utime.h: Likewise.
40003         * include/wchar.h: Likewise.
40004         * include/wctype.h: Likewise.
40005         * include/wordexp.h: Likewise.
40006
40007         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40008
40009         * time/time.h: TIME_UTC must be a macro.
40010         Make timespec_get available for ISO C11 only as well.
40011
40012 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40013
40014         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40015         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40016
40017 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40018
40019         * configure.in: Use -o not -a in test for unsupported multi-arch.
40020
40021 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40022
40023         * manual/texinfo.tex: Update to version 2012-01-19.16.
40024
40025 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40026
40027         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40028
40029 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40030
40031         [BZ #13738]
40032         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40033         * manual/fdl-1.3.texi: New file.
40034         * manual/fdl-1.1.texi: File removed.
40035
40036         [BZ #13738]
40037         * manual/libc.texinfo (FDL_VERSION): New @set.
40038         Use it for mention of FDL in cover text.
40039         (Documentation License): Use it in @include file name.
40040
40041 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40042             Roland McGrath  <roland@hack.frob.com>
40043
40044         [BZ #5461]
40045         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40046         (not LONG_LONG_MAX and LONG_LONG_MIN.
40047         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40048         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40049         name.
40050         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40051
40052 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40053
40054         [BZ #2547]
40055         [BZ #11365]
40056         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40057         manipulate bits before adding and subtracting TWO23[sx].
40058         * math/libm-test.inc (nearbyint_test): Add more tests.
40059
40060 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40061
40062         [BZ #2548]
40063         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40064         bits before adding and subtracting TWO23[sx].
40065         * math/libm-test.inc (rint_test): Add more tests.
40066         (rint_test_tonearest): Likewise.
40067         (rint_test_towardzero): Likewise.
40068         (rint_test_downward): Likewise.
40069         (rint_test_upward: Likewise.
40070
40071 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40072
40073         [BZ #10110]
40074         * include/stdc-predef.h: New file.  Extracted from features.h.
40075         * include/features.h: Include stdc-predef.h.
40076         * Makefile (headers): Add stdc-predef.h.
40077         * CONFORMANCE (Compiler limitations): Update.
40078
40079 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40080
40081         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40082
40083 2012-02-21  David S. Miller  <davem@davemloft.net>
40084
40085         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40086         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40087
40088 2012-02-20  David S. Miller  <davem@davemloft.net>
40089
40090         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40091         using a normal save/restore sequence, rather than allocating a
40092         dummy stack frame just to store a frame pointer and restore.
40093         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40094
40095 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40096
40097         * manual/install.texi: Fix stray word in line-wrapped comment.
40098
40099 2012-02-20  David S. Miller  <davem@davemloft.net>
40100
40101         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40102         both binutils and gcc support GOTDATA.
40103
40104         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40105         "rd %pc" in the PIC register setup sequences.
40106
40107         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40108         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40109         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40110         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40111         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40113         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40114         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40116         (SYSCALL_ERROR_HANDLER): Likewise.
40117         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40118         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40119         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40120         (SYSCALL_ERROR_HANDLER): Likewise.
40121
40122         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40123         (HAVE_GCC_GOTDATA): New.
40124         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40125         relocation support in both binutils and gcc.
40126         * sysdeps/sparc/elf/configure: Regenerate.
40127
40128         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40129         * sysdeps/sparc/sparc32/elf/configure: Delete.
40130         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40131         * sysdeps/sparc/sparc64/elf/configure: Delete.
40132         * sysdeps/sparc/elf/configure.in: New file.
40133         * sysdeps/sparc/elf/configure: Generate.
40134
40135         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40136         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40137         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40138         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40139         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40140
40141 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40142
40143         * manual/install.texi: Do not mention specific glibc version
40144         numbers.
40145         * manual/libc.texinfo (VERSION, UPDATED): Update.
40146         (@copying): Use @copyright{} and range of years.
40147
40148 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40149
40150         [BZ #13695]
40151         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40152         [crti.S not in sysdirs] (generated): Do not append.
40153         [crti.S not in sysdirs] (omit-deps): Likewise.
40154         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40155         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40156         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40157         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40158         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40159         Likewise.
40160         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40161         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40162         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40163         * csu/defs.awk: Remove file.
40164         * sysdeps/generic/initfini.c: Likewise.
40165         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40166         variable.
40167         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40168         Likewise.
40169
40170 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40171
40172         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40173         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40174         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40175         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40176         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40177         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40178         <bits/epoll.h>.
40179         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40180         (__EPOLL_PACKED): Define to empty if not defined by
40181         <bits/epoll.h>.
40182         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40184         bits/epoll.h.
40185
40186 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40187
40188         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40189         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40190         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40191         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40192         <bits/timerfd.h>.
40193         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40195         bits/timerfd.h.
40196
40197 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40198
40199         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40200         in C locale.
40201         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40202         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40203         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40205
40206 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40207
40208         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40209         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40210
40211 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40212
40213         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40214         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40215         defined.
40216         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40217         Likewise.
40218         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40219         entry for 2.16.
40220
40221 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40222
40223         * math/w_acos.c: Use non-signaling floating-point comparisons.
40224         * math/w_acosf.c: Likewise.
40225         * math/w_acosh.c: Likewise.
40226         * math/w_acoshf.c: Likewise.
40227         * math/w_acoshl.c: Likewise.
40228         * math/w_acosl.c: Likewise.
40229         * math/w_asin.c: Likewise.
40230         * math/w_asinf.c: Likewise.
40231         * math/w_asinl.c: Likewise.
40232         * math/w_atanh.c: Likewise.
40233         * math/w_atanhf.c: Likewise.
40234         * math/w_atanhl.c: Likewise.
40235         * math/w_exp2.c: Likewise.
40236         * math/w_exp2f.c: Likewise.
40237         * math/w_exp2l.c: Likewise.
40238         * math/w_j0.c: Likewise.
40239         * math/w_j0f.c: Likewise.
40240         * math/w_j0l.c: Likewise.
40241         * math/w_j1.c: Likewise.
40242         * math/w_j1f.c: Likewise.
40243         * math/w_j1l.c: Likewise.
40244         * math/w_jn.c: Likewise.
40245         * math/w_jnf.c: Likewise.
40246         * math/w_log.c: Likewise.
40247         * math/w_log10.c: Likewise.
40248         * math/w_log10f.c: Likewise.
40249         * math/w_log10l.c: Likewise.
40250         * math/w_log2.c: Likewise.
40251         * math/w_log2f.c: Likewise.
40252         * math/w_log2l.c: Likewise.
40253         * math/w_logf.c: Likewise.
40254         * math/w_logl.c: Likewise.
40255         * math/w_sqrt.c: Likewise.
40256         * math/w_sqrtf.c: Likewise.
40257         * math/w_sqrtl.c: Likewise.
40258         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40259         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40260         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40261         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40262         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40263
40264 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40265
40266         [BZ #9739]
40267         * manual/string.texi (strnlen): Use correct parameter name in
40268         equivalent expression.
40269
40270 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40271
40272         [BZ #11174]
40273         * manual/users.texi (seteuid): Consistently use neweuid for
40274         argument name.
40275
40276 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40277
40278         [BZ #13704]
40279         * manual/nss.texi (Services in the NSS configuration): Correct
40280         list of services in example configuration file.
40281
40282 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40283
40284         [BZ #11322]
40285         * manual/arith.texi: Remove statements about negative zero
40286         behaving identically to zero.
40287
40288 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40289
40290         [BZ #5993]
40291         * manual/install.texi: Do not document upgrading from libc5.
40292
40293 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40294
40295         [BZ #4596]
40296         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40297
40298 2012-02-18  David S. Miller  <davem@davemloft.net>
40299
40300         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40301         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40302         %o7 across the call.
40303         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40304         instead.
40305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40306         SETUP_PIC_REG_LEAF.
40307         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40308         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40309         * sysdeps/sparc/crtn.S: Likewise.
40310
40311 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40312
40313         * aout/Makefile: Remove.
40314
40315 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40316
40317         [BZ #13058]
40318         * manual/examples/argp-ex1.c (main): Format definition in GNU
40319         style.
40320         * manual/examples/argp-ex2.c (main): Likewise.
40321         * manual/examples/argp-ex3.c (main): Likewise.
40322         * manual/examples/argp-ex4.c (main): Likewise.
40323         * manual/examples/longopt.c (main): Use new-style prototype
40324         definition.
40325         * manual/examples/strncat.c (main): Specify return type and use
40326         (void) for arguments.
40327         * manual/examples/subopt.c (main): Use char **argv argument.
40328
40329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40330
40331         [BZ #5077]
40332         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40333         rounding modes.
40334
40335 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40336
40337         [BZ #6907]
40338         * manual/string.texi (strchr): Change when strchrnul is
40339         recommended.
40340
40341 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40342
40343         [BZ #174]
40344         * manual/locale.texi (setlocale): Document LOCPATH.
40345
40346 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40347
40348         [BZ #10210]
40349         * manual/process.texi (execle): Move @dots{} before last argument.
40350
40351 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40352
40353         [BZ #12047]
40354         * manual/charset.texi (Generic Charset Conversion): Fix typo
40355         (LC_TYPE -> LC_CTYPE).
40356
40357 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40358
40359         [BZ #5805]
40360         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40361         (scalbnf): Likewise.
40362         (scalbnl): Likewise.
40363         (scalbln): Likewise.
40364         (scalblnf): Likewise.
40365         (scalblnl): Likewise.
40366         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40367         (vwarnx): Likewise.
40368         (verr): Likewise.
40369         (verrx): Likewise.
40370         * manual/filesys.texi (telldir): Use braces around return type.
40371         * manual/llio.texi (mmap): Add space after comma.
40372         (mmap64): Likewise.
40373         * manual/math.texi (jn): Use @var{} on parameter names.
40374         (jnf): Likewise.
40375         (jnl): Likewise.
40376         (yn): Likewise.
40377         (ynf): Likewise.
40378         (ynl): Likewise.
40379         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40380         line.
40381         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40382         "...".
40383         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40384         (sched_get_priority_max): Likewise.
40385         * manual/signal.texi (sigvec): Add space after comma.
40386         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40387         names.
40388         (if_indextoname): Likewise.
40389         (if_freenameindex): Likewise.
40390         (sendto): Use ',' instead of '.' in prototype.
40391         * manual/startup.texi (syscall): Use @dots{} instead of literal
40392         "...".
40393         * manual/stdio.texi (__fpending): Separate initial words of
40394         paragraph from @deftypefun line.
40395         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40396         "...".
40397         (vsyslog): Use @var{} on parameter names.
40398         * manual/terminal.texi (stty): Use @var{} on parameter names.
40399         * manual/users.texi (getutmp): Use @var{} on parameter names.
40400         (getutmpx): Likewise.
40401
40402 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40403
40404         [BZ #6884]
40405         * manual/stdio.texi (fopen): Fix typos in description of
40406         ",ccs=STRING".
40407
40408 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40409
40410         [BZ #4026]
40411         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40412         get clock_id definition.
40413
40414 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40415
40416         [BZ #4822]
40417         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40418         (madvise): Cast every argument to void on its own.
40419
40420 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40421
40422         [BZ #9902]
40423         * manual/startup.texi (Exit Status): Fix typo.
40424
40425 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40426
40427         [BZ #10140]
40428         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40429         * manual/examples/argp-ex2.c: Likewise.
40430         * manual/examples/argp-ex3.c: Likewise.
40431
40432 2012-02-16  Richard Henderson  <rth@redhat.com>
40433
40434         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40435         * sysdeps/s390/s390-32/initfini.c: Remove.
40436         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40437         * sysdeps/s390/s390-64/initfini.c: Remove.
40438
40439 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40440
40441         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40442         compiler output for sysdeps/generic/initfini.c.
40443         * sysdeps/sh/elf/initfini.c: Remove file.
40444
40445 2012-02-16  David S. Miller  <davem@davemloft.net>
40446
40447         [BZ #11494]
40448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40449
40450         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40451         * sysdeps/sparc/crti.S: New file.
40452         * sysdeps/sparc/crtn.S: New file.
40453         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40454         * sysdeps/sparc/sparc64/Makefile: Likewise.
40455
40456 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40457
40458         [BZ #3335]
40459         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40460
40461 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40462
40463         [BZ #4822]
40464         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40465
40466         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40467         (write, read, close): Likewise.
40468         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40469
40470 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40471
40472         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40473         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40474         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40475         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40476         <bits/signalfd.h>.
40477         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40479         bits/signalfd.h.
40480
40481 2012-02-14  Marek Polacek  <polacek@redhat.com>
40482
40483         * sysdeps/x86_64/crti.S: New file.
40484         * sysdeps/x86_64/crtn.S: New file.
40485         * sysdeps/x86_64/elf/initfini.c: Remove file.
40486
40487 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40488
40489         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40490         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40491         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40492         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40493         <bits/inotify.h>.
40494         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40495         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40496         bits/inotify.h.
40497
40498 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40499
40500         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40501         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40502         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40503         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40504         <bits/eventfd.h>.
40505         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40507         bits/eventfd.h.
40508
40509 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40510
40511         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40512         __feraiseexcept instead of feraiseexcept.
40513
40514         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40515         nanosleep invocations.
40516         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40517         strings, and add error checking for a nanosleep invocations.
40518
40519 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40520
40521         Replace FSF snail mail address with URLs, as per GNU coding standards.
40522         Most of the snail mail addresses were wrong anyway, and omitting
40523         them makes the source code easier to maintain.  Almost all of the
40524         changes are to license notices and to locale LC_IDENTIFICATION
40525         addresses, except for this one:
40526         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40527         not its snail mail address.
40528
40529 2012-02-09  Richard Henderson  <rth@twiddle.net>
40530
40531         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40532         of kernel-features.h.
40533
40534         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40535
40536 2012-02-08  Marek Polacek  <polacek@redhat.com>
40537
40538         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40539         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40540         * sysdeps/gnu/_G_config.h: Likewise.
40541         * sysdeps/generic/_G_config.h: Likewise.
40542
40543 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40544
40545         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40546         tests.
40547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40548
40549         * sysdeps/powerpc/powerpc32/crti.S: New file.
40550         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40551         * sysdeps/powerpc/powerpc64/crti.S: New file.
40552         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40553
40554         * Makeconfig (have-initfini): Don't set.
40555         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40556         * configure.in (nopic_initfini): Don't substitute.
40557         * config.h.in (HAVE_INITFINI): Don't #undef.
40558         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40559         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40560
40561 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40562
40563         Support crti.S and crtn.S provided directly by architectures.
40564         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40565         [crti.S in sysdirs] (omit-deps): Likewise.
40566         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40567         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40568         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40569         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40570         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40571         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40572         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40573         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40574         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40575         compiler output for sysdeps/generic/initfini.c.
40576         * sysdeps/i386/elf/Makefile: Remove file.
40577         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40578
40579 2012-02-07  Marek Polacek  <polacek@redhat.com>
40580
40581         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40582         * sysdeps/gnu/_G_config.h: Likewise.
40583         * sysdeps/mach/hurd/_G_config.h: Likewise.
40584
40585 2012-02-07  Marek Polacek  <polacek@redhat.com>
40586
40587         * math/Makefile (tests): Add tst-CMPLX2.
40588         * math/tst-CMPLX2.c: New file.
40589
40590 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40591
40592         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40593
40594         * math/libm-test.inc (jn_test): Add missing L suffix.
40595
40596 2012-02-06  Marek Polacek  <polacek@redhat.com>
40597
40598         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40599         * sysdeps/i386/fpu/e_powf.S: Likewise.
40600         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40601         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40602         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40603         * sysdeps/i386/fpu/e_pow.S: Likewise.
40604         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40605         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40606         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40607         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40608         * sysdeps/i386/fpu/e_log2.S: Likewise.
40609         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40610         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40611         * sysdeps/i386/fpu/e_powl.S: Likewise.
40612         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40613         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40614         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40615         * sysdeps/i386/fpu/e_logl.S: Likewise.
40616         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40617         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40618         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40619         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40620         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40621         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40622         * sysdeps/i386/fpu/e_log.S: Likewise.
40623         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40624         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40625         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40626         * sysdeps/i386/fpu/e_logf.S: Likewise.
40627         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40628         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40629         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40630         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40631         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40632         * sysdeps/i386/fpu/e_log10.S: Likewise.
40633         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40634         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40635         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40636         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40637         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40638         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40639         * sysdeps/i386/asm-syntax.h: Likewise.
40640         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40641         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40642         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40643         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40644         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40645         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40646         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40647         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40648         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40649         * sysdeps/powerpc/sysdep.h: Likewise.
40650         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40651         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40652
40653 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40654
40655         [BZ #411]
40656         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40657
40658 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40659
40660         * sysdeps/i386/sysdep.h: Include <features.h>.
40661         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40662         version.
40663
40664 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40665
40666         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40667         Define.
40668         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40669         LOAD_PIC_REG_STR.
40670
40671 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40672
40673         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40674         (SETUP_PIC_REG): Use GET_PC_THUNK.
40675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40676         macro.
40677
40678 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40679
40680         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40681         for non-PIC compilation.
40682         (SETUP_PIC_REG): Add .p2align directive.
40683         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40684         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40685         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40686         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40687         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40688         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40689         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40690         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40691         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40692         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40693         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40694         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40695         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40696         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40697         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40698         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40699         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40700         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40701         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40702         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40703         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40704         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40705         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40706         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40707         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40709         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40710         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40711         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40712         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40713         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40714         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40715         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40716         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40717         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40718         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40719         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40720         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40721         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40722         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40723         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40724
40725 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40726
40727         * math/tst-CMPLX.c: Include <stdio.h>.
40728
40729 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40730
40731         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40732         float.
40733         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40734         * sysdeps/sparc/bits/mathdef.h: Likewise.
40735
40736 2012-01-31  Marek Polacek  <polacek@redhat.com>
40737
40738         * libio/libio.h: Don't define _PARAMS.
40739         * locale/programs/config.h: Don't define PARAMS.
40740         * stdlib/strtol_l.c: Likewise.
40741         (__strtol_l): Remove PARAMS from the prototype.
40742
40743 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40744
40745         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40746         names.  Just use the correct names.  Remove unnecessary wrapper
40747         functions.
40748         * malloc/arena.c: Likewise.
40749         * malloc/hooks.c: Likewise.
40750
40751         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40752         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40753         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40754
40755 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40756
40757         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40758         into tail calls.
40759         (update_get_addr): New function.
40760         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40761         GET_ADDR_MODULE parameter.
40762
40763 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40764
40765         * crypt/cert.c: Remove __STDC__ conditionals.
40766         * crypt/crypt-entry.c: Likewise.
40767         * crypt/crypt_util.c: Likewise.
40768         * libio/filedoalloc.c: Likewise.
40769         * libio/fileops.c: Likewise.
40770         * libio/genops.c: Likewise.
40771         * libio/iofclose.c: Likewise.
40772         * libio/iofdopen.c: Likewise.
40773         * libio/iofopen.c: Likewise.
40774         * libio/iofopen64.c: Likewise.
40775         * libio/iogetdelim.c: Likewise.
40776         * libio/iopopen.c: Likewise.
40777         * libio/obprintf.c: Likewise.
40778         * libio/oldfileops.c: Likewise.
40779         * libio/oldiofclose.c: Likewise.
40780         * libio/oldiofdopen.c: Likewise.
40781         * libio/oldiofopen.c: Likewise.
40782         * libio/oldiopopen.c: Likewise.
40783         * libio/wfiledoalloc.c: Likewise.
40784         * libio/wgenops.c: Likewise.
40785         * locale/programs/xmalloc.c: Likewise.
40786         * misc/syslog.c: Likewise.
40787         * stdio-common/xbug.c: Likewise.
40788         * string/memchr.c: Likewise.
40789         * string/memcmp.c: Likewise.
40790         * string/memrchr.c: Likewise.
40791         * string/rawmemchr.c: Likewise.
40792         * sysdeps/posix/getcwd.c: Likewise.
40793         * time/strftime_l.c: Likewise.
40794
40795 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40796
40797         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40798         * config.make.in (config-cflags-sse2avx): Define.
40799         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40800         Fix typo.
40801
40802 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40803
40804         * scripts/config.guess: Update from upstream config git repository.
40805         * scripts/config.sub: Likewise.
40806
40807 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40808
40809         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40810         (EM_NUM): Update.
40811         (R_TILEPRO_*, R_TILEGX_*): New macros.
40812
40813         * scripts/firstversions.awk: Fix bug in version range handling.
40814
40815         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40816
40817         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40818
40819         * include/sys/epoll.h: New file.
40820         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40821         libc_hidden_def.
40822
40823 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40824
40825         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40826         Avoid unnecessary __WORDSIZE == 64 test.
40827         (fmaxf): Use VEX format if possible.
40828         (fmax): Likewise.
40829         (fminf): Likewise.
40830         (fmin): Likewise.
40831
40832         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40833         * math/math_private.h: Remove libc_fegetround* and
40834         libc_fesetround*.
40835         * sysdeps/i386/configure.in: Check for -msse2avx.
40836         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40837         also if SSE2AVX is defined.
40838         Remove libc_fegetround* and libc_fesetround*.
40839         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40840         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40841         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40842         of HAS_YMM_USABLE.
40843         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40844         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40845         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40846         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40847         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40848
40849         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40850
40851 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40852
40853         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40854         size is not set.
40855         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40856
40857 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40858
40859         [BZ #13618]
40860         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40861         relocation.
40862         * Makeconfig (libm): Define.
40863         * elf/Makefile: Add rules to build and run tst-relsort1.
40864         * elf/tst-relsort1.c: New file.
40865         * elf/tst-relsort1mod1.c: New file.
40866         * elf/tst-relsort1mod2.c: New file.
40867
40868 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40869
40870         * math/s_ldexp.c: Remove __STDC__ conditionals.
40871         * math/s_ldexpf.c: Likewise.
40872         * math/s_ldexpl.c: Likewise.
40873         * math/s_nextafter.c: Likewise.
40874         * math/s_nexttowardf.c: Likewise.
40875         * math/s_significand.c: Likewise.
40876         * math/s_significandf.c: Likewise.
40877         * math/s_significandl.c: Likewise.
40878         * math/w_jnl.c: Likewise.
40879         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40880         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40881         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40882         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40883         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40884         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40886         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40887         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40888         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40890         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40891         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40893         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40895         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40898         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40899         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40900         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40901         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40902         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40903         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40904         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40905         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40906         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40907         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40908         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40909         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40910         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40911         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40912         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40913         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40914         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40915         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40916         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40917         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40918         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40919         * sysdeps/ieee754/k_standard.c: Likewise.
40920         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40921         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40922         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40923         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40924         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40925         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40926         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40927         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40928         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40929         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40930         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40931         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40932         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40933         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40934         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40935         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40936         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40937         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40938         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40939         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40940         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40941         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40942         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40943         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40944         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40945         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40946         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40947         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40951         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40952         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40956         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40960         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40964         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40969         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40977         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40981         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40982         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40984         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40986         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40988         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40989         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40990         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40994         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40995         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40999         * sysdeps/ieee754/s_matherr.c: Likewise.
41000         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41001         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41003         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41004
41005 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41006
41007         * crypt/md5.h: Remove __STDC__ conditionals.
41008         * libio/libioP.h: Likewise.
41009         * locale/programs/config.h: Likewise.
41010         * sysdeps/generic/sysdep.h: Likewise.
41011         * sysdeps/i386/asm-syntax.h: Likewise.
41012         * sysdeps/s390/asm-syntax.h: Likewise.
41013         * sysdeps/unix/sysdep.h: Likewise.
41014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41016
41017 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41018
41019         * libio/libio.h: Remove __STDC__ conditionals.
41020         * malloc/obstack.h: Likewise.
41021         * math/complex.h: Likewise.
41022         * math/math.h: Likewise.
41023         * sysdeps/generic/_G_config.h: Likewise.
41024         * sysdeps/gnu/_G_config.h: Likewise.
41025         * sysdeps/mach/hurd/_G_config.h: Likewise.
41026         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41027         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41028         * sysdeps/sparc/bits/mathdef.h: Likewise.
41029
41030 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41031
41032         [BZ #13583]
41033         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41034         Clean up HAS_* macros.
41035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41036         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41037         possible.
41038         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41039         HAS_AVX.
41040         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41041         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41042         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41043         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41044         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41045
41046 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41047
41048         * elf/tst-unique3.cc (gets): Remove declaration.
41049         * elf/tst-unique3lib.cc (gets): Likewise.
41050         * elf/tst-unique3lib2.cc (gets): Likewise.
41051         * elf/tst-unique4.cc (gets): Likewise.
41052
41053 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41054
41055         * include/stdio.h: Add C++ protection.  Add gets declarations and
41056         definitions.
41057         * debug/tst-chk1.c: Don't declare gets here.
41058         * stdio-common/tst-gets.c: Likewise.
41059
41060 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41061
41062         * posix/glob: Remove directory.
41063
41064 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41065
41066         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41067
41068 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41069
41070         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41071         of the non-standard EPFNOSUPPORT.
41072
41073 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41074
41075         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41076         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41077         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41078
41079 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41080
41081         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41082
41083 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41084
41085         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41086         transient errors.
41087         * nscd/grpcache.c (cache_addgr): Likewise.
41088         * nscd/hstcache.c (cache_addhst): Likewise.
41089         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41090         * nscd/pwdcache.c (cache_addpw): Likewise.
41091         * nscd/servicescache.c (cache_addserv): Likewise.
41092
41093 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41094
41095         * malloc/malloc.c: Various cleanups.
41096         * malloc/hooks.c: Likewise.
41097
41098         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41099         * stdlib/bug-fmtmsg1.c: New file.
41100
41101         * stdlib/fmtmsg.c (init): Add missing unlock.
41102         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41103
41104 2012-01-12  Marek Polacek  <polacek@redhat.com>
41105
41106         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41107         and _GNU_SOURCE.
41108
41109 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41110
41111         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41112         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41113         macro to ensure uniqueness of label name.
41114         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41115         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41116
41117 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41118
41119         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41120
41121         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41122         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41123         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41124         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41125
41126 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41127
41128         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41129
41130         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41131         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41132         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41133
41134         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41135
41136         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41137         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41138         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41139         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41140
41141         * math/bits/math-finite.h: Add ldexp support.
41142
41143 2012-01-10  Marek Polacek  <polacek@redhat.com>
41144
41145         * locale/programs/localedef.h (show_archive_content): Add noreturn
41146         attribute.
41147
41148 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41149
41150         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41151
41152 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41153
41154         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41155
41156         * io/Makefile (headers): Add bits/poll2.h.
41157
41158 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41159
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41161         typo #include statement.
41162
41163 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41164
41165         * include/sys/cdefs.h: Define __attribute_alloc_size.
41166         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41167         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41168         * elf/pldd.c: Likewise.
41169         * iconv/iconv_charmap.c: Likewise.
41170         * iconv/iconvconfig.c: Likewise.
41171         * iconv/strtab.c: Likewise.
41172         * locale/programs/locale.c: Likewise.
41173         * locale/programs/localedef.h: Likewise.
41174         * locale/programs/simple-hash.c: Likewise.
41175         * nscd/nscd.h: Likewise.
41176         * nss/makedb.c: Likewise.
41177         * sysdeps/generic/ldconfig.h: Likewise.
41178         * locale/programs/localedef.c: Remove xmalloc prototype.
41179         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41180
41181 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41182
41183         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41184         appropriate.
41185
41186 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41187
41188         * math/Makefile (tests): Add tst-CMPLX.
41189         * math/tst-CMPLX.c: New file.
41190
41191         * math/complex.h (CMPLXL): Fix typo.
41192
41193         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41194         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41195         GLIBC_2.16.
41196         * debug/tst-chk1.c: Add poll and ppoll tests.
41197         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41198         * include/sys/poll.h: Add hidden proto for ppoll.
41199         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41200         * sysdeps/mach/hurd/ppoll.c: Likewise.
41201         * io/ppoll.c: Likewise.
41202         * debug/poll_chk.c: New file.
41203         * debug/ppoll_chk.c: New file.
41204         * include/bits/poll2.h: New file.
41205         * io/bits/poll2.h: New file.
41206
41207         [BZ #1350]
41208         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41209
41210         * configure.in: static is always set to yes.  Remove.
41211         * config.make.in: Don't set build-static.
41212         * Makeconfig: Remove use of build-static.
41213         * dlfcn/Makefile: Likewise.
41214         * elf/Makefile: Likewise.
41215         * math/Makefile: Likewise.
41216         * misc/Makefile: Likewise.
41217         * nptl/Makefile: Likewise.
41218         * sysdeps/mach/hurd/Makefile: Likewise.
41219
41220         * configure.in: PWD_P is not used anymore.
41221         * config.make.in: Remove PWD_P entry.
41222
41223         * configure.in: Remove last remnants of RANLIB.
41224         No need to check for signed size_t anymore.
41225         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41226         and IA-64.
41227         Remove __builtin_expect test because we require at least gcc 3.4.
41228         * aclocal.m4: Likewise.
41229
41230         * wcsmbs/mbrtoc16.c: Implement using towc function.
41231         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41232         * wcsmbs/wcsmbsload.c: Likewise.
41233         * iconv/gconv_simple.c: Likewise.
41234         * iconv/gconv_int.h: Likewise.
41235         * iconv/gconv_builtin.h: Likewise.
41236         * iconv/iconv_prog.c: Remove CHAR16 handling.
41237
41238         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41239
41240         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41241
41242         * configure.in: Remove --with-elf and --enable-bounded options.
41243         Dont set base_machine for ia64.  More non-ELF conditions removed.
41244         Remove testing and setting of leading underscore information.
41245         * config.make.in (build-bounded): Set to no.
41246         * config.h.in: Remove NO_UNDERSCORES entry.
41247         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41248         them.
41249         * csu/start.c: Remove !NO_UNDERSCORE code.
41250         * locale/localeinfo.h: Likewise.
41251         * sysdeps/generic/machine-gmon.h: Likewise.
41252         * sysdeps/generic/sysdep.h: Likewise.
41253         * sysdeps/i386/sysdep.h: Likewise.
41254         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41255         * sysdeps/mach/sysdep.h: Likewise.
41256         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41257         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41258         * sysdeps/sh/sysdep.h: Likewise.
41259         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41260         * sysdeps/unix/i386/sysdep.S: Likewise.
41261         * sysdeps/unix/sparc/start.c: Likewise.
41262         * sysdeps/unix/sparc/sysdep.S: Likewise.
41263         * sysdeps/unix/sparc/sysdep.h: Likewise.
41264         * sysdeps/unix/start.c: Likewise.
41265         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41266         * sysdeps/x86_64/sysdep.h: Likewise.
41267
41268 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41269
41270         [BZ #13553]
41271         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41272         for non-gcc.
41273         * argp/argp-fmtstream.h: Use const instead __const.
41274         * argp/argp.h: Likewise.
41275         * assert/assert.h: Likewise.
41276         * bits/fenv.h: Likewise.
41277         * bits/sched.h: Likewise.
41278         * bits/sigset.h: Likewise.
41279         * bits/sigthread.h: Likewise.
41280         * catgets/nl_types.h: Likewise.
41281         * conform/data/pthread.h-data: Likewise.
41282         * crypt/crypt-private.h: Likewise.
41283         * crypt/crypt.h: Likewise.
41284         * crypt/crypt_util.c: Likewise.
41285         * ctype/ctype.h: Likewise.
41286         * debug/execinfo.h: Likewise.
41287         * debug/mbsnrtowcs_chk.c: Likewise.
41288         * debug/mbsrtowcs_chk.c: Likewise.
41289         * debug/wcsnrtombs_chk.c: Likewise.
41290         * debug/wcsrtombs_chk.c: Likewise.
41291         * debug/wcstombs_chk.c: Likewise.
41292         * dirent/dirent.h: Likewise.
41293         * dlfcn/dlfcn.h: Likewise.
41294         * elf/neededtest4.c: Likewise.
41295         * grp/grp.h: Likewise.
41296         * gshadow/gshadow.h: Likewise.
41297         * iconv/gconv.h: Likewise.
41298         * iconv/gconv_int.h: Likewise.
41299         * iconv/gconv_simple.c: Likewise.
41300         * iconv/iconv.h: Likewise.
41301         * iconv/loop.c: Likewise.
41302         * iconv/skeleton.c: Likewise.
41303         * include/aio.h: Likewise.
41304         * include/aliases.h: Likewise.
41305         * include/argz.h: Likewise.
41306         * include/arpa/inet.h: Likewise.
41307         * include/assert.h: Likewise.
41308         * include/dirent.h: Likewise.
41309         * include/dlfcn.h: Likewise.
41310         * include/execinfo.h: Likewise.
41311         * include/fcntl.h: Likewise.
41312         * include/fenv.h: Likewise.
41313         * include/glob.h: Likewise.
41314         * include/grp.h: Likewise.
41315         * include/libintl.h: Likewise.
41316         * include/mntent.h: Likewise.
41317         * include/netdb.h: Likewise.
41318         * include/pwd.h: Likewise.
41319         * include/rpc/netdb.h: Likewise.
41320         * include/sched.h: Likewise.
41321         * include/search.h: Likewise.
41322         * include/shadow.h: Likewise.
41323         * include/signal.h: Likewise.
41324         * include/stdio.h: Likewise.
41325         * include/stdlib.h: Likewise.
41326         * include/string.h: Likewise.
41327         * include/sys/socket.h: Likewise.
41328         * include/sys/stat.h: Likewise.
41329         * include/sys/statfs.h: Likewise.
41330         * include/sys/statvfs.h: Likewise.
41331         * include/sys/syslog.h: Likewise.
41332         * include/sys/time.h: Likewise.
41333         * include/sys/uio.h: Likewise.
41334         * include/time.h: Likewise.
41335         * include/unistd.h: Likewise.
41336         * include/utmp.h: Likewise.
41337         * include/wchar.h: Likewise.
41338         * include/wctype.h: Likewise.
41339         * inet/aliases.h: Likewise.
41340         * inet/arpa/inet.h: Likewise.
41341         * inet/netinet/ether.h: Likewise.
41342         * inet/netinet/in.h: Likewise.
41343         * intl/libintl.h: Likewise.
41344         * io/bits/fcntl2.h: Likewise.
41345         * io/fcntl.h: Likewise.
41346         * io/ftw.h: Likewise.
41347         * io/sys/poll.h: Likewise.
41348         * io/sys/stat.h: Likewise.
41349         * io/sys/statfs.h: Likewise.
41350         * io/sys/statvfs.h: Likewise.
41351         * io/utime.h: Likewise.
41352         * libio/bits/stdio.h: Likewise.
41353         * libio/bits/stdio2.h: Likewise.
41354         * libio/libio.h: Likewise.
41355         * libio/libioP.h: Likewise.
41356         * libio/stdio.h: Likewise.
41357         * locale/lc-ctype.c: Likewise.
41358         * locale/locale.h: Likewise.
41359         * login/utmp.h: Likewise.
41360         * malloc/arena.c: Likewise.
41361         * malloc/malloc.c: Likewise.
41362         * malloc/malloc.h: Likewise.
41363         * malloc/mcheck.c: Likewise.
41364         * malloc/mtrace.c: Likewise.
41365         * math/bits/mathcalls.h: Likewise.
41366         * math/fenv.h: Likewise.
41367         * math/math_private.h: Likewise.
41368         * misc/bits/error.h: Likewise.
41369         * misc/bits/syslog.h: Likewise.
41370         * misc/err.h: Likewise.
41371         * misc/error.h: Likewise.
41372         * misc/fstab.h: Likewise.
41373         * misc/mntent.h: Likewise.
41374         * misc/regexp.h: Likewise.
41375         * misc/search.h: Likewise.
41376         * misc/sgtty.h: Likewise.
41377         * misc/sys/mman.h: Likewise.
41378         * misc/sys/syslog.h: Likewise.
41379         * misc/sys/uio.h: Likewise.
41380         * misc/sys/xattr.h: Likewise.
41381         * misc/ttyent.h: Likewise.
41382         * nis/rpcsvc/ypclnt.h: Likewise.
41383         * nss/nss.h: Likewise.
41384         * posix/bits/unistd.h: Likewise.
41385         * posix/fnmatch.h: Likewise.
41386         * posix/glob.h: Likewise.
41387         * posix/sched.h: Likewise.
41388         * posix/spawn.h: Likewise.
41389         * posix/sys/wait.h: Likewise.
41390         * posix/unistd.h: Likewise.
41391         * posix/wordexp.h: Likewise.
41392         * pwd/pwd.h: Likewise.
41393         * resolv/netdb.h: Likewise.
41394         * resource/sys/resource.h: Likewise.
41395         * rt/aio.h: Likewise.
41396         * rt/bits/mqueue2.h: Likewise.
41397         * rt/mqueue.h: Likewise.
41398         * shadow/shadow.h: Likewise.
41399         * signal/signal.h: Likewise.
41400         * socket/send.c: Likewise.
41401         * socket/sendto.c: Likewise.
41402         * socket/sys/socket.h: Likewise.
41403         * stdio-common/printf.h: Likewise.
41404         * stdlib/bits/stdlib.h: Likewise.
41405         * stdlib/fmtmsg.h: Likewise.
41406         * stdlib/monetary.h: Likewise.
41407         * stdlib/stdlib.h: Likewise.
41408         * stdlib/ucontext.h: Likewise.
41409         * streams/stropts.h: Likewise.
41410         * string/argz.h: Likewise.
41411         * string/bits/string2.h: Likewise.
41412         * string/string.h: Likewise.
41413         * string/strings.h: Likewise.
41414         * sunrpc/rpc/auth.h: Likewise.
41415         * sunrpc/rpc/auth_des.h: Likewise.
41416         * sunrpc/rpc/clnt.h: Likewise.
41417         * sunrpc/rpc/netdb.h: Likewise.
41418         * sunrpc/rpc/pmap_clnt.h: Likewise.
41419         * sunrpc/rpc/xdr.h: Likewise.
41420         * sysdeps/generic/inttypes.h: Likewise.
41421         * sysdeps/generic/net/if.h: Likewise.
41422         * sysdeps/generic/sys/swap.h: Likewise.
41423         * sysdeps/gnu/net/if.h: Likewise.
41424         * sysdeps/gnu/utmpx.h: Likewise.
41425         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41426         * sysdeps/i386/i486/bits/string.h: Likewise.
41427         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41428         * sysdeps/s390/bits/string.h: Likewise.
41429         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41430         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41431         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41432         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41433         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41434         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41435         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41436         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41437         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41438         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41439         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41440         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41441         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41442         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41443         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41444         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41445         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41446         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41447         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41448         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41449         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41450         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41451         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41452         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41453         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41454         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41455         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41456         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41457         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41458         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41459         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41460         * sysvipc/sys/ipc.h: Likewise.
41461         * sysvipc/sys/msg.h: Likewise.
41462         * sysvipc/sys/sem.h: Likewise.
41463         * sysvipc/sys/shm.h: Likewise.
41464         * termios/termios.h: Likewise.
41465         * time/sys/time.h: Likewise.
41466         * time/time.h: Likewise.
41467         * wcsmbs/bits/wchar2.h: Likewise.
41468         * wcsmbs/uchar.h: Likewise.
41469         * wcsmbs/wchar.h: Likewise.
41470         * wctype/wctype.h: Likewise.
41471
41472         [BZ #13551]
41473         * Makeconfig: Remove all but ELF support including AIX support.
41474         * Makerules: Likewise.
41475         * config.h.in: Likewise.
41476         * config.make.in: Likewise.
41477         * configure: Likewise.
41478         * configure.in: Likewise.
41479         * csu/Makefile: Likewise.
41480         * csu/version.c: Likewise.
41481         * debug/Makefile: Likewise.
41482         * dlfcn/Makefile: Likewise.
41483         * elf/Makefile: Likewise.
41484         * extra-lib.mk: Likewise.
41485         * iconv/Makefile: Likewise.
41486         * include/libc-symbols.h: Likewise.
41487         * include/shlib-compat.h: Likewise.
41488         * resolv/Makefile: Likewise.
41489         * resolv/res_libc.c: Likewise.
41490         * rt/Makefile: Likewise.
41491         * sysdeps/i386/asm-syntax.h: Likewise.
41492         * sysdeps/i386/sysdep.h: Likewise.
41493         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41494         * sysdeps/mach/sysdep.h: Likewise.
41495         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41496         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41497         * sysdeps/s390/asm-syntax.h: Likewise.
41498         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41499         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41500         * sysdeps/sh/sysdep.h: Likewise.
41501         * sysdeps/unix/sparc/sysdep.h: Likewise.
41502         * sysdeps/wordsize-32/divdi3.c: Likewise.
41503         * sysdeps/x86_64/sysdep.h: Likewise.
41504
41505         * argp/Versions: Remove _argp_unlock_xxx.
41506
41507         [BZ #13559]
41508         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41509         * abilist/libBrokenLocale.abilist: Likewise.
41510         * abilist/libanl.abilist: Likewise.
41511         * abilist/libc.abilist: Likewise.
41512         * abilist/libcrypt.abilist: Likewise.
41513         * abilist/libdl.abilist: Likewise.
41514         * abilist/libm.abilist: Likewise.
41515         * abilist/libnsl.abilist: Likewise.
41516         * abilist/libpthread.abilist: Likewise.
41517         * abilist/libresolv.abilist: Likewise.
41518         * abilist/librt.abilist: Likewise.
41519         * abilist/libthread_db.abilist: Likewise.
41520         * abilist/libutil.abilist: Likewise.
41521         * abilist/libnss_db.abilist: New file.
41522
41523         * scripts/abilist.awk: Add support for indirect functions.
41524
41525         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41526
41527         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41528
41529         * shlib-versions: Remove entries for ports architectures.
41530
41531         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41532         files in ports.
41533         * elf/stackguard-macros.h: Remove support for IA-64.
41534         * elf/tst-auditmod1.c: Likewise.
41535         * sysdeps/generic/ldsodefs.h: Likewise.
41536
41537         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41538         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41539         configure files.
41540
41541         [BZ #13552]
41542         * configure.in: Remove --enable-omitfp support.
41543         * FAQ.in: Adjust.
41544         * config.make.in: Likewise.
41545         * Makeconfig: Likewise.
41546         * manual/install.texi: Likewise.
41547
41548         In case anyone cares, the IA-64 architecture could move to ports.
41549         * sysdeps/ia64/*: Removed.
41550         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41551         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41552
41553         [BZ #13555]
41554         * configure.in: Remove entries for unsupported architectures.
41555
41556         [BZ #13533]
41557         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41558         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41559         routines.
41560         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41561         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41562         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41563         fall back to using wcrtomb.
41564         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41565         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41566         renaming.
41567         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41568         * wcsmbs/tst-c16c32-1.c: New file.
41569
41570         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41571         local variable.
41572
41573         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41574
41575         * elf/tst-unique3.cc: Add explicit declaration of gets.
41576         * elf/tst-unique3lib.cc: Likewise.
41577         * elf/tst-unique3lib2.cc: Likewise.
41578         * elf/tst-unique4.cc: Likewise.
41579
41580         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41581
41582 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41583
41584         [BZ #13566]
41585         * assert/assert.h (static_assert): Don't define for C++.
41586         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41587         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41588
41589 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41590
41591         * iconv/loop.c (single loop): Fix assertion in storing of
41592         remaining bytes.
41593
41594         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41595
41596 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41597
41598         * posix/getconf.c: Update copyright year.
41599         * nss/getent.c: Likewise.
41600         * nss/makedb.c: Likewise.
41601         * iconv/iconvconfig.c: Likewise.
41602         * iconv/iconv_prog.c: Likewise.
41603         * elf/ldconfig.c: Likewise.
41604         * elf/pldd.c: Likewise.
41605         * elf/sotruss.ksh: Likewise.
41606         * catgets/gencat.c: Likewise.
41607         * csu/version.c: Likewise.
41608         * elf/ldd.bash.in: Likewise.
41609         * elf/sprof.c (print_version): Likewise.
41610         * locale/programs/locale.c: Likewise.
41611         * locale/programs/localedef.c: Likewise.
41612         * login/programs/pt_chown.c: Likewise.
41613         * nscd/nscd.c (print_version): Likewise.
41614         * debug/xtrace.sh: Likewise.
41615         * malloc/memusage.sh: Likewise.
41616         * malloc/mtrace.pl: Likewise.
41617         * debug/catchsegv.sh: Likewise.
41618
41619 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41620
41621         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41622         pure attribute.
41623
41624 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41625
41626         [BZ #13533]
41627         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41628         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41629         transformations.
41630         * iconv/gconv_int.h: Likewise.
41631         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41632         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41633         from libc for GLIBC_2.16.
41634         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41635         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41636         * wcsmbs/uchar.h: Really define mbstate_t.
41637         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41638         * wcsmbs/c16rtomb.c: New file.
41639         * wcsmbs/mbrtoc16.c: New file.
41640         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41641         for C/POSIX locale.
41642         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41643         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41644
41645         * wcsmbs/wchar.h: Add missing __restrict.
41646
41647 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41648
41649         [BZ #13532]
41650         * time/Makefile (routines): Add timespec_get.
41651         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41652         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41653         timespec for ISO C11.
41654         * time/timespec_get.c: New file.
41655         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41656         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41657
41658         [BZ #13531]
41659         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41660         * stdlib/stdlib.h: Declare aligned_alloc.
41661         * Versions.def: Add GLIBC_2.16 for libc.
41662         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41663
41664         [BZ 13527]
41665         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41666         ISO C11.
41667
41668         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41669         code.
41670
41671         [BZ #13528]
41672         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41673
41674         [BZ #13529]
41675         * assert/assert.h (static_assert): Define.
41676
41677         * version.h: Update for 2.16 development version.
41678
41679         [BZ #13526]
41680         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41681         _ISOC11_SOURCE.
41682
41683         * version.h (RELEASE): Bump for 2.15 release.
41684         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41685
41686         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41687         Patch by Marek Polacek <mpolacek@redhat.com>.
41688
41689         * bits/byteswap.h: Protect long long constants with __extension__.
41690         * sysdeps/i386/bits/byteswap.h: Likewise.
41691         * sysdeps/ia64/bits/byteswap.h: Likewise.
41692         * sysdeps/s390/bits/byteswap.h: Likewise.
41693         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41694
41695 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41696
41697         [BZ #13540]
41698         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41699         destination buffer.
41700         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41701
41702 2011-12-23  Marek Polacek  <polacek@redhat.com>
41703
41704         * elf/dl-addr.c (determine_info): Add inline keyword.
41705         * elf/tst-auditmod4b.c (check_avx): Likewise.
41706         * elf/tst-auditmod6b.c (check_avx): Likewise.
41707         * elf/tst-auditmod6c.c (check_avx): Likewise.
41708         * elf/tst-auditmod7b.c (check_avx): Likewise.
41709
41710 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41711
41712         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41713         !__SSE_MATH__.
41714
41715 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41716
41717         [BZ #13540]
41718         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41719         processing for last bytes.
41720
41721 2011-08-06  Bruno Haible  <bruno@clisp.org>
41722
41723         [BZ #13061]
41724         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41725         U+0385, not to U+1FEE.
41726
41727         [BZ #13062]
41728         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41729         entry for U+00A5 U+0301.
41730
41731 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41732
41733         [BZ #13166]
41734         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41735         buffer for the output is too small.
41736
41737         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41738         optimization.
41739
41740         [BZ #13185]
41741         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41742         SSE flags if possible.
41743
41744 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41745
41746         [BZ #13540]
41747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41748         processing for last bytes.
41749
41750 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41751
41752         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41753         (syscall-list-default-options, syscall-list-default-condition)
41754         (syscall-list-includes): Define.
41755         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41756         list of ABIs and options and #if conditions for each ABI.  Do not
41757         handle common syscalls between ABIs specially.
41758         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41759         Remove.
41760         (syscall-list-variants, syscall-list-32bit-options)
41761         (syscall-list-32bit-condition, syscall-list-64bit-options)
41762         (syscall-list-64bit-condition): Define.
41763         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41764         (syscall-list-variants, syscall-list-32bit-options)
41765         (syscall-list-32bit-condition, syscall-list-64bit-options)
41766         (syscall-list-64bit-condition): Define.
41767         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41768         Remove.
41769         (syscall-list-variants, syscall-list-32bit-options)
41770         (syscall-list-32bit-condition, syscall-list-64bit-options)
41771         (syscall-list-64bit-condition): Define.
41772         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41773         Remove.
41774         (syscall-list-variants, syscall-list-32bit-options)
41775         (syscall-list-32bit-condition, syscall-list-64bit-options)
41776         (syscall-list-64bit-condition): Define.
41777
41778 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41779
41780         * locale/iso-639.def: Add brx entry.
41781
41782         [BZ #13328]
41783         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41784         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41785
41786         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41787         __feraiseexcept_renamed.
41788
41789 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41790
41791         [BZ #13538]
41792         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41793         EPOLLET with unsigned values.
41794         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41795         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41796
41797         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41798         to large cancellation.
41799         * math/s_cacoshf.c: Likewise.
41800         * math/s_cacoshl.c: Likewise.
41801
41802 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41803
41804         [BZ #13305]
41805         [BZ #12786]
41806         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41807         * math/s_cacoshf.c: Likewise.
41808         * math/s_cacoshl.c: Likewise.
41809
41810 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41811
41812         [BZ #13439]
41813         * iconv/gconv.h: Define __GCONV_SWAP.
41814         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41815         * iconvdata/utf-16.c: Likewise.
41816         * iconvdata/utf-32.c: Likewise.
41817
41818 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41819
41820         [BZ #13524]
41821         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41822         numerator after shifting it by one limb.
41823
41824 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41825
41826         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41827         under [__USE_EXTERN_INLINES].
41828
41829 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41830
41831         [BZ #13446]
41832         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41833
41834 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41835
41836         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41837         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41838         optimized code.
41839         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41840         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41841         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41842         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41843         for strncasecmp/strncasecmp_l compilation.
41844         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41845         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41846
41847 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41848
41849         [BZ #13484]
41850         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41851         of __asm__.
41852
41853 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41854
41855         [BZ #13506]
41856         * time/tzfile.c (__tzfile_read): Check values from file header.
41857
41858 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41859
41860         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41861         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41862         * powerpc/powerpc32/dl-start.S: Likewise.
41863         * powerpc/powerpc32/elf/start.S: Likewise.
41864         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41865         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41866         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41867         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41868         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41869         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41870         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41871         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41872         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41873         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41874         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41875         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41876         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41877         * powerpc/powerpc32/memset.S: Likewise.
41878         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41879         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41880         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41881         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41882         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41883         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41884         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41885         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41886         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41887         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41888         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41889         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41890         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41891
41892 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41893
41894         * math/libm-test.inc: Added more nearbyint tests.
41895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41896         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41899
41900 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41901
41902         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41903         FD_CLOEXEC.
41904
41905 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41906
41907         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41908         Add wcscpy-ssse3 wcscpy-c.
41909         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41910         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41911         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41912         * sysdeps/x86_64/wcschr.S: New file.
41913         * sysdeps/x86_64/wcsrchr.S: New file.
41914         * string/test-strcmp.c: Remove checking of wcscmp function for
41915         wrong alignments.
41916         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41917         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41918         wcsrchr-sse2 wcsrchr-c.
41919         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41920         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41921         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41922         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41923         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41924         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41925         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41926         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41927         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41928         * wcsmbc/wcschr.c (WCSCHR): New macro.
41929
41930 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41931
41932         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41933         * wcsmbs/test-wcsrchr.c: New file.
41934         * string/test-strrchr.c: Add wcsrchr support.
41935         (WIDE): New macro.
41936         * wcsmbs/test-wcscpy.c: New file.
41937         * string/test-strcpy.c: Add wcscpy support.
41938         (WIDE): New macro.
41939
41940 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41941
41942         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41943         the inner loop.
41944
41945 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41946
41947         [BZ #13472]
41948         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41949
41950 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41951
41952         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41953         Minor optimizations.
41954
41955         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41956         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41957         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41958
41959 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41960
41961         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41962         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41963         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41964         for gcc to avoid warnings.
41965         * inet/Makefile (tests): Add tst-checks.
41966         * inet/tst-checks.c: New file.
41967
41968         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41969         warning.
41970
41971         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41972         __wmemcmp_sse2.
41973
41974         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41975         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41976
41977         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41978
41979 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41980
41981         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41982         problem.
41983
41984         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41985
41986 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41987
41988         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41989         conditional on GCC version.
41990         (__arch_compare_and_exchange_val_8_acq)
41991         (__arch_compare_and_exchange_val_16_acq)
41992         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41993         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41994         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41995
41996 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41997
41998         * sysdeps/sh/backtrace.c: New file.
41999
42000 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42001
42002         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42003         parenthesis.
42004
42005 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42006
42007         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42008         falling back to utime.
42009
42010 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42011
42012         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42013         expectations for float.
42014
42015 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42016
42017         * locale/weight.h (findidx): Add parameter len.
42018         * locale/weightwc.h (findidx): Likewise.
42019         * posix/fnmatch_loop.c (FCT): Adjust caller.
42020         * posix/regcomp.c (build_equiv_class): Likewise.
42021         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42022         * posix/regexec.c (check_node_accept_bytes): Likewise.
42023         * string/strcoll_l.c (STRCOLL): Likewise.
42024         * string/strxfrm_l.c (STRXFRM): Likewise.
42025
42026 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42027
42028         * Makefile.in: Remove CVSOPT handling.
42029         * configure.in: Remove use of AC_REVISION.
42030         * iconvdata/Makefile (distribute): No need to filter out CVS.
42031         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42032         handling.
42033
42034 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42035
42036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42037         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42038         [USE_AS_STRNCASECMP_L]: Likewise.
42039         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42040         NO_TLS_DIRECT_SEG_REFS.
42041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42042         Fix argument offsets for non-PIC.
42043         [USE_AS_STRNCASECMP_L]: Likewise.
42044         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42045         NO_TLS_DIRECT_SEG_REFS.
42046
42047 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42048
42049         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42050         O_CLOEXEC.
42051         * locale/loadlocale.c (_nl_load_locale): Likewise.
42052
42053 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42054
42055         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42056         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42057         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42058         (SYSCALL_GETTIME): Set errno on error.
42059
42060         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42061         count references to noai6ai_cached.
42062
42063 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42064
42065         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42066
42067         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42068         FD_CLOEXEC for /proc/self/maps.
42069
42070         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42071         FD_CLOEXEC for /proc/meminfo.
42072
42073         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42074         gai.conf.
42075
42076         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42077         FD_CLOEXEC for given file.
42078
42079         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42080
42081         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42082         FD_CLOEXEC for /etc/hosts.
42083         (_gethtent): Likewise.
42084
42085         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42086
42087         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42088         cancellation and set FD_CLOEXEC for /etc/netgroup.
42089
42090         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42091         reading /etc/publickey.
42092
42093         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42094         allow cancellation when reading /etc/group.
42095
42096         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42097         cancellation.
42098         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42099
42100         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42101         when using data file.
42102
42103         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42104
42105         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42106         (write_nis_obj): Use "c" and "e" in fopen.
42107
42108         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42109
42110         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42111
42112         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42113
42114         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42115
42116         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42117         locale.alias.
42118
42119         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42120
42121         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42122
42123         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42124
42125         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42126         file parsing and set FD_CLOEXEC.
42127
42128 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42129
42130         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42131
42132 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42133
42134         * malloc/arena.c (arena_get2): Don't call reused_arena when
42135         _int_new_arena failed.
42136
42137 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42138
42139         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42140         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42141         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42142         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42143         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42144         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42145         to compile strcasecmp and strncasecmp.
42146         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42147         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42148
42149         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42150
42151 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42152
42153         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42154         locale-defines.sym to gen-as-const-headers.
42155         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42156         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42158         to compile strcasecmp and strncasecmp.
42159         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42160         strcasecmp_l and strncasecmp_l.
42161         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42162         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42163         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42164         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42165         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42166         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42167         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42168         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42169         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42170         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42171         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42172
42173 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42174
42175         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42176         result of SYSDEP_GETTIME_CPU to retval.
42177         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42178         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42179
42180         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42181         variable.
42182
42183         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42184         mantissa words.
42185         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42186
42187         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42188         from unused variable.
42189
42190         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42191         DWARF definitions.
42192         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42193         for assembling.
42194
42195         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42196         over namespaces.
42197
42198         * sunrpc/rpc_prot.c (rejected): Fix case value.
42199
42200         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42201         unsigned long long int to avoid warnings in shift.
42202
42203         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42204         of use of trans.
42205         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42206         variable tmp.
42207
42208         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42209         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42210         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42211
42212         * nis/nis_table.c (nis_list): Use variable of correct type for
42213         result of __follow_path call.
42214
42215 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42216
42217         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42218         of math functions ceil, trunc, floor, round, and sqrt, when
42219         avaliable on the platform.
42220         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42221         name clash.
42222         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42223         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42224         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42225
42226 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42227
42228         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42229         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42230
42231 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42232
42233         * include/unistd.h: Fix __readlink return type.
42234         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42235
42236 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42237
42238         * stdlib/ucontext.h: Undo last change for makecontext.
42239
42240 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42241
42242         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42243
42244         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42245         * setjmp/setjmp.h: Mark functions as non-leaf.
42246         * setjmp/bits/setjmp2.h: Likewise.
42247         * stdlib/ucontext.h: Likewise.
42248
42249 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42250
42251         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42252         (reused_arena): Don't check arena limit.
42253         (arena_get2): Atomically check arena limit.
42254
42255 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42256
42257         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42258         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42259
42260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42261         instructions.
42262
42263 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42264
42265         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42266         handler when locking.
42267
42268         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42269         Fix size of allocated buffer.
42270
42271 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42272
42273         [BZ #10103]
42274         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42275         declarations for long double functions.
42276         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42277
42278         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42279
42280 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42281
42282         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42283         installed.
42284
42285         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42286         is disabled.
42287
42288 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42289
42290         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42291
42292 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42293
42294         * include/alloca.h (stackinfo_alloca_round): Define.
42295         (extend_alloca): Use it.
42296         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42297         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42298         here.
42299
42300         * scripts/check-local-headers.sh: Ignore libaudit.h.
42301
42302         * nscd/Makefile (extra-objs): Make recursively expanded.
42303
42304 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42305
42306         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42307         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42308
42309         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42310         * posix/tst-rfc3484-2.c: Likewise.
42311         * posix/tst-rfc3484-3.c: Likewise.
42312
42313         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42314         process_vm_writev.
42315         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42316         process_vm_writev.
42317         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42318         process_vm_writev from libc using GLIBC_2.15 version.
42319
42320         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42321
42322 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42323
42324         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42325         stack usage.
42326
42327 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42328
42329         [BZ #13367]
42330         * nss/getent.c (initgroups_keys): Show error message in case no group
42331         names are given.
42332
42333         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42334         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42335         __bump_nl_timestamp.
42336         * nscd/connections (nscd_init): When host database is served open
42337         netlink socket and request notification about configuration changes.
42338         (main_loop_poll): Track netlink file descriptor and bump timestamp
42339         in case data becomes available.
42340         (main_loop_epoll): Likewise.
42341         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42342         (database_pers_head): Add extra_data fileds.
42343         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42344         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42345         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42346         Adjust caller.
42347         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42348         in6ai data, call __free_in6ai.
42349         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42350         Add -DHAVE_NETLINK.
42351         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42352         interface information.  Reuse previous data if netlink timestamp
42353         is not changed.
42354         (__bump_nl_timestamp): New function.
42355         (__free_in6ai): New function.
42356
42357 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42358
42359         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42360         close_not_cancel_no_status here.
42361         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42362
42363 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42364
42365         [BZ #13276]
42366         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42367         return value.
42368
42369         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42370         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42371         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42372
42373 2011-07-03  Andreas Jaeger  <aj@suse.de>
42374
42375         [BZ #10709]
42376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42377         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42378         * math/libm-test.inc (sin_test): Add test case.
42379
42380 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42381
42382         [BZ #13337]
42383         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42384         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42385
42386         * elf/chroot_canon.c (chroot_canon): Cleanups.
42387
42388         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42389
42390         [BZ #13335]
42391         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42392         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42393
42394         * string/test-strchr.c: Make usable for strchrnul testing.
42395         * string/test-strchrnul.c: New file.
42396         * string/Makefile (strop-tests): Add strchrnul.
42397
42398         * po/it.po: Update from translation team.
42399         * po/es.po: Likewise.
42400
42401 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42402
42403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42404         the three constants needed as parameters.  Drop the others.
42405         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42406         __m128i_strloadu_tolower.
42407         Create and initialize variable zero and use it in all the places
42408         where _mm_setzero_si128 was used.
42409
42410         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42411         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42412         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42413         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42414         anymore.
42415         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42416         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42417         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42418         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42419         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42420         __mpranred, __mptan.
42421         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42422         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42423         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42424         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42425         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42426         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42427         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42428         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42429         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42430
42431 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42432
42433         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42434         redefine if SHARED.
42435         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42436
42437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42438         wide char related routines to wcsmbs subdir.
42439
42440 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42441
42442         [BZ #13344]
42443         * misc/sys/cdefs.h (__THROWNL): Define.
42444         * posix/unistd.h: Use __THREADNL instead of __THREAD
42445         for memory synchronization functions.
42446
42447 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42448
42449         [BZ #13349]
42450         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42451         doesn't exist.
42452         * manual/stdio.texi (Obstack Streams): Node removed.
42453
42454 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42455
42456         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42457         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42458         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42459
42460         * math/math_private.h (math_force_eval): Allow non-addressable
42461         arguments.
42462         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42463
42464 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42465
42466         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42467         file is not needed.
42468
42469         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42470         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42471         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42472         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42473         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42474         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42475         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42476         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42477         Add AVX variants.
42478         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42479         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42480         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42481         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42482         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42483         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42484         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42485         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42486         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42487         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42488         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42489         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42490         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42491         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42492         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42493         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42494         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42495         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42496         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42497
42498         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42499         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42500
42501         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42502         place.  Use VEX encoding when compiling for AVX.
42503
42504 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42505
42506         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42507         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42508
42509         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42510
42511 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42512
42513         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42514         useless if() expression.
42515         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42516         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42517         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42518         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42519         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42520         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42521         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42522         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42523         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42524         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42525         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42526         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42527         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42528         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42529         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42530         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42531         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42532         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42533         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42534
42535         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42536
42537 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42538
42539         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42540         condition.
42541         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42542
42543 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42544
42545         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42546         .text section.  Avoid duplicate constants.
42547         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42548         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42549         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42554         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42555         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42556         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42557         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42559         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42562         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42564         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42565         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42570         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42571         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42572         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42573         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42574         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42575         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42576         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42577         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42578         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42579         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42580         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42581         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42582         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42583         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42584         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42585         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42586         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42587         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42588         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42589         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42590         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42591         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42592
42593 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42594
42595         * sysdeps/x86_64/dla.h: Move to ...
42596         * sysdeps/x86_64/fpu/dla.h: ...here.
42597         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42598         situations.  Use __builtin_fma only for gcc 4.6 and up.
42599
42600         * config.make.in: Add have-mfma4 entry.
42601         * configure.in: Substitute libc_cv_cc_fma4.
42602         * math/Makefile (dbl-only-routines): Add sincostab.
42603         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42604         Use __sincostab not sincos.
42605         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42606         name is a macro.
42607         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42609         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42611         using __copysign.
42612         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42613         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42614         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42615         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42616         and __inv.
42617         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42618         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42619         __copysign.
42620         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42621         define aliases when function name is a macro.
42622         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42623         sysdeps/ieee754/dbl-64/sincos.tbl.
42624         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42625         fma4-enabled routines.
42626         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42627         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42628         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42629         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42630         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42631         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42632         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42633         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42634         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42635         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42636         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42637         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42638         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42639         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42640         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42641         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42642         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42643         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42644         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42645         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42646         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42647         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42648         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42649         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42651         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42652         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42653         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42654         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42655         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42656
42657         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42658         rename.
42659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42662         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42664         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42665         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42666         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42667
42668 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42669
42670         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42671
42672 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42673
42674         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42675
42676         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42677         prediction.
42678         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42679
42680         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42681         Remove unused variable magic_bits.
42682         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42683
42684         * string/strnlen.c: Define and use STRNLEN macro.
42685         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42686         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42688         * wcsmbs/wcslen.c: Define and use WCSLEN.
42689         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42690         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42691         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42692         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42693         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42694         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42695         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42696
42697 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42698
42699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42700         strnlen-sse2-no-bsf.
42701         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42702         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42703         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42704         Add strnlen support.
42705         (USE_AS_STRNLEN): New macro.
42706         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42707         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42708         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42709         * sysdeps/x86_64/wcslen.S: New file.
42710
42711 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42712
42713         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42714         XMM-moves are used for copying on small sizes.
42715
42716 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42717
42718         * wcsmbs/Makefile (strop-tests): Add wcschr.
42719         * wcsmbs/test-wcschr.c: New file.
42720         * string/test-strchr.c: Update.
42721         Add wcschr support.
42722         (WIDE): New macro.
42723
42724 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42725
42726         * wcsmbs/Makefile (strop-tests): Add wcslen.
42727         * wcsmbs/test-wcslen.c: New file.
42728         * string/test-strlen.c: Update.
42729         Add wcslen support.
42730         (WIDE): New macro.
42731
42732 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42733
42734         * po/it.po: Update from translation team.
42735
42736 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42737
42738         * sysdeps/x86_64/wcscmp.S: Update.
42739         Fix wrong comparison semantics.
42740         wcscmp shall use signed comparison not unsigned.
42741         Don't use substraction to avoid overflow bug.
42742         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42743         * wcsmbc/wcscmp.c: Likewise.
42744         * string/test-strcmp.c: Likewise.
42745         Add new tests to check cases with negative values.
42746
42747 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42748
42749         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42750         * sysdeps/x86_64/dla.h: ...here.  New file.
42751         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42756         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42757         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42758         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42759         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42760
42761 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42762
42763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42764         __ynl_finite aliases.
42765
42766 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42767
42768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42769
42770         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42771         define DLA_FMA.
42772         [DLA_FMA] (EMULV): Use DLA_FMA.
42773         [DLA_FMA] (MUL12): Use EMULV.
42774         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42775         that are not needed.
42776         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42777         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42778         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42779         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42780         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42782         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42783
42784 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42785
42786         * math/s_nan.c: Undef __nan.
42787         * math/s_nanf.c: Undef __nanf.
42788         * math/s_nanl.c: Undef __nanl.
42789         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42790         "math_private.h".
42791
42792 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42793
42794         * math/s_catan.c: Add branch predictions.
42795         * math/s_catanf.c: Likewise.
42796         * math/s_catanh.c: Likewise.
42797         * math/s_catanhf.c: Likewise.
42798         * math/s_catanhl.c: Likewise.
42799         * math/s_catanl.c: Likewise.
42800         * math/s_cexp.c: Likewise.
42801         * math/s_cexpf.c: Likewise.
42802         * math/s_cexpl.c: Likewise.
42803         * math/s_clog.c: Likewise.
42804         * math/s_clog10.c: Likewise.
42805         * math/s_clog10f.c: Likewise.
42806         * math/s_clog10l.c: Likewise.
42807         * math/s_clogf.c: Likewise.
42808         * math/s_clogl.c: Likewise.
42809         * math/s_csqrt.c: Likewise.
42810         * math/s_csqrtf.c: Likewise.
42811         * math/s_csqrtl.c: Likewise.
42812         * math/s_ctanf.c: Likewise.
42813         * math/s_ctanh.c: Likewise.
42814         * math/s_ctanhf.c: Likewise.
42815         * math/s_ctanhl.c: Likewise.
42816         * math/s_ctanl.c: Likewise.
42817
42818         * math/math_private.h: Define __nan, __nanf, __nanl.
42819         * math/s_cacosh.c: Include <math_private.h>.
42820         * math/s_cacoshl.c: Likewise.
42821         * math/s_casinh.c: Likewise.
42822         * math/s_casinhf.c: Likewise.
42823         * math/s_casinhl.c: Likewise.
42824         * math/s_ccos.c: Rely entire on ccosh.
42825         * math/s_ccosf.c: Rely entire on ccoshf.
42826         * math/s_ccosl.c: Rely entirely on ccoshl.
42827         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42828         Remove tests for FE_INVALID.
42829         * math/s_ccoshf.c: Likewise.
42830         * math/s_ccoshl.c: Likewise.
42831         * math/s_csin.c: Likewise.
42832         * math/s_csinf.c: Likewise.
42833         * math/s_csinh.c Likewise.
42834         * math/s_csinhf.c: Likewise.
42835         * math/s_csinhl.c: Likewise.
42836         * math/s_csinl.c: Likewise.
42837         * math/s_ctan.c: Likewise.
42838         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42839         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42840         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42841
42842 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42843
42844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42845         compilation problems.
42846
42847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42848         __builtin_expect.
42849
42850 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42851
42852         * sysdeps/i386/configure.in: Test for -mfma4 option.
42853         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42854         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42855         COMMON_CPUID_INDEX_80000001.
42856         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42857         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42858         use it if FMA3 is not supported.
42859         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42860
42861         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42862         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42863
42864 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42865
42866         [BZ #12892]
42867         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42868         it would create a cycle with a link time dependency.
42869
42870 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42871
42872         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42873         instruction.
42874         * string/Makefile (strop-tests): Add rawmemchr.
42875         * string/test-rawmemchr.c: New file.
42876
42877         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42878         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42879         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42880         when compiling str{,n}casecmp and when AVX is available.  Hook up
42881         new optimized code in initializers.
42882
42883 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42884
42885         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42886         __feraiseexcept instead of feraiseexcept.
42887
42888 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42889
42890         * math/math_private.h: Define defaults for libc_fetestexcept and
42891         libc_feupdateenv.
42892         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42893         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42894         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42895         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42896         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42897         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42898         libc_fetestexcept and libc_feupdateenv.
42899
42900         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42901         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42902         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42903         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42904         libc_feholdexcept_setround.
42905
42906         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42907         Add s_nearbyint-c and s_nearbyintf-c.
42908         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42909         nearbyintf inlines.
42910         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42911         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42912         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42913         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42914
42915         * math/math_private.h: Define defaults for libc_fegetround,
42916         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42917         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42918         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42919         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42920         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42921         standard functions.
42922         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42923         Remove comments and hacks for old compiler versions.
42924         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42925         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42926         libc_feholdexceptl.
42927
42928 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42929
42930         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42931         (__feraiseexcept_renamed): Add __NTH.
42932         (feraiseexcept): Add __NTH.  Rename local variables to fix
42933         namespace violations.
42934
42935 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42936
42937         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42938
42939         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42940
42941         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42942         recently added interfaces.
42943         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42944
42945         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42946         about macro parameter expansion.
42947
42948         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42949         __NO_MATH_INLINES is defined.  Cleanups.
42950
42951         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42952         and __floorf is target has SSE4.1.
42953         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42954         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42955         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42956         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42957
42958         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42959         name.
42960         (floorf): Likewise.
42961
42962         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42963
42964 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42965
42966         * misc/sys/cdefs.h: Fix last change.
42967
42968         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42969         database lookup.
42970
42971 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42972
42973         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42974
42975         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42977         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42978         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42979         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42980         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42981         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42982         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42983         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42984         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42985         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42986         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42987         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42988         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42989         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42990         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42991         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42992         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42993         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42994         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42995         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42996         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42997
42998         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42999         ceil, ceilf, floor, floorf.
43000
43001         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43002         Perform IRELATIVE relocations last.
43003
43004         * elf/do-rel.h: Add another parameter nrelative, replacing the
43005         local variable with the same name.  Change name of the function
43006         to end in Rel or Rela (uppercase).
43007         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43008         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43009         elf_dynamic_do_##reloc function.
43010
43011 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43012
43013         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43014         is sufficient, at least on modern CPUs.
43015
43016         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43017
43018         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43019         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43020
43021         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43022         __expl_finite.
43023         * math/bits/math-finite.h: Add entries for exp.
43024         * math/e_expl.c: Add __*_finite alias.
43025         * sysdeps/i386/fpu/e_exp.S: Likewise.
43026         * sysdeps/i386/fpu/e_expf.S: Likewise.
43027         * sysdeps/i386/fpu/e_expl.c: Likewise.
43028         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43029         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43030         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43032         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43033         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43034         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43035
43036         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43037         is sufficient, at least on modern CPUs.
43038
43039         * ctype/ctype-info.c (__ctype_init): Define.
43040         * include/ctype.h (__ctype_init): Declare.
43041         (__ctype_b_loc): The variable is always initialized.
43042         (__ctype_toupper_loc): Likewise.
43043         (__ctype_tolower_loc): Likewise.
43044         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43045         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43046
43047 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43048
43049         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43050
43051         * configure.in: Also look in $cxxmachine/include for C++ system
43052         headers.
43053
43054 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43055
43056         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43057         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43058         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43059         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43061         (USE_AS_WMEMCMP): New macro.
43062         Fixing indents.
43063         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43064         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43065         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43066         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43067         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43068         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43069         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43070         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43071         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43072         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43073         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43074         (USE_AS_WMEMCMP): New macro.
43075         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43076         * sysdeps/string/test-memcmp.c: Update.
43077         Fix simple_wmemcmp.
43078         Add new tests.
43079         * wcsmbs/wmemcmp.c: Update.
43080         (WMEMCMP): New macro.
43081         Fix overflow bug.
43082
43083 2011-10-12  Andreas Jaeger  <aj@suse.de>
43084
43085         [BZ #13268]
43086         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43087
43088 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43089
43090         * libio/iofwide.c (do_length): Avoid warning.
43091
43092         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43093
43094 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43095
43096         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43097
43098         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43099         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43100         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43101         * sysdeps/i386/i686/fpu/e_log.S: New file.
43102         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43103         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43104
43105         * ctype/ctype.h: Add support for inlined isXXX functions when
43106         compiling C++ code.
43107
43108 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43109
43110         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43111
43112         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43113
43114 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43115
43116         [BZ #13291]
43117         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43118
43119 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43120
43121         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43122         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43123         feraiseexcept.
43124
43125         * sysdeps/x86_64/memrchr.S: Check for zero size.
43126
43127         * string/stratcliff.c: Add memrchr tests.
43128
43129 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43130
43131         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43132         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43133         rawmemchr-sse2 rawmemchr-sse2-bsf.
43134         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43135         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43136         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43137         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43138         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43139         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43140         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43141         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43142         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43143         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43144         * string/memrchr.c (MEMRCHR): New macro.
43145
43146 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43147
43148         Add integration with gcc's -ffinite-math-only and optimize wrapper
43149         functions in libm.
43150         * Versions.def: Define GLIBC_2.15 version for libm.
43151         * math/Makefile (headers): Add bits/math-finite.h.
43152         * math/bits/math-finite.h: New file.
43153         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43154         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43155         * math/e_acoshl.c: Add __*_finite alias.
43156         * math/e_acosl.c: Likewise.
43157         * math/e_asinl.c: Likewise.
43158         * math/e_atan2l.c: Likewise.
43159         * math/e_atanhl.c: Likewise.
43160         * math/e_coshl.c: Likewise.
43161         * math/e_exp10.c: Likewise.
43162         * math/e_exp10f.c: Likewise.
43163         * math/e_exp10l.c: Likewise.
43164         * math/e_exp2l.c: Likewise.
43165         * math/e_fmodl.c: Likewise.
43166         * math/e_gammal_r.c: Likewise.
43167         * math/e_hypotl.c: Likewise.
43168         * math/e_j0l.c: Likewise.
43169         * math/e_j1l.c: Likewise.
43170         * math/e_jnl.c: Likewise.
43171         * math/e_lgammal_r.c: Likewise.
43172         * math/e_log10l.c: Likewise.
43173         * math/e_log2l.c: Likewise.
43174         * math/e_logl.c: Likewise.
43175         * math/e_powl.c: Likewise.
43176         * math/e_sinhl.c: Likewise.
43177         * math/e_sqrtl.c: Likewise.
43178         * math/e_scalb.c: Completely rewritten and optimized.
43179         * math/e_scalbf.c: Likewise.
43180         * math/e_scalbl.c: Likewise.
43181         * math/w_acos.c: Likewise.
43182         * math/w_acosf.c: Likewise.
43183         * math/w_acosl.c: Likewise.
43184         * math/w_acosh.c: Likewise.
43185         * math/w_acoshf.c: Likewise.
43186         * math/w_acoshl.c: Likewise.
43187         * math/w_asin.c: Likewise.
43188         * math/w_asinf.c: Likewise.
43189         * math/w_asinl.c: Likewise.
43190         * math/w_atan2.c: Likewise.
43191         * math/w_atan2f.c: Likewise.
43192         * math/w_atan2l.c: Likewise.
43193         * math/w_atanh.c: Likewise.
43194         * math/w_atanhf.c: Likewise.
43195         * math/w_atanhl.c: Likewise.
43196         * math/w_exp10.c: Likewise.
43197         * math/w_exp10f.c: Likewise.
43198         * math/w_exp10l.c: Likewise.
43199         * math/w_fmod.c: Likewise.
43200         * math/w_fmodf.c: Likewise.
43201         * math/w_fmodl.c: Likewise.
43202         * math/w_j0.c: Likewise.
43203         * math/w_j0f.c: Likewise.
43204         * math/w_j0l.c: Likewise.
43205         * math/w_j1.c: Likewise.
43206         * math/w_j1f.c: Likewise.
43207         * math/w_j1l.c: Likewise.
43208         * math/w_jn.c: Likewise.
43209         * math/w_jnf.c: Likewise.
43210         * math/w_log.c: Likewise.
43211         * math/w_logf.c: Likewise.
43212         * math/w_logl.c: Likewise.
43213         * math/w_log10.c: Likewise.
43214         * math/w_log10f.c: Likewise.
43215         * math/w_log10l.c: Likewise.
43216         * math/w_log2.c: Likewise.
43217         * math/w_log2f.c: Likewise.
43218         * math/w_log2l.c: Likewise.
43219         * math/w_pow.c: Likewise.
43220         * math/w_powf.c: Likewise.
43221         * math/w_powl.c: Likewise.
43222         * math/w_remainder.c: Likewise.
43223         * math/w_remainderf.c: Likewise.
43224         * math/w_remainderl.c: Likewise.
43225         * math/w_scalb.c: Likewise.
43226         * math/w_scalbf.c: Likewise.
43227         * math/w_scalbl.c: Likewise.
43228         * math/w_sqrt.c: Likewise.
43229         * math/w_sqrtf.c: Likewise.
43230         * math/w_sqrtl.c: Likewise.
43231         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43232         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43233         used.
43234         * math/math_private.h: Declare __kernel_standard_f.
43235         * math/w_cosh.c: Remove cruft and optimize a bit.
43236         * math/w_coshf.c: Likewise.
43237         * math/w_coshl.c: Likewise.
43238         * math/w_exp2.c: Likewise.
43239         * math/w_exp2f.c: Likewise.
43240         * math/w_exp2l.c: Likewise.
43241         * math/w_hypot.c: Likewise.
43242         * math/w_hypotf.c: Likewise.
43243         * math/w_hypotl.c: Likewise.
43244         * math/w_lgamma.c: Likewise.
43245         * math/w_lgamma_r.c: Likewise.
43246         * math/w_lgammaf.c: Likewise.
43247         * math/w_lgammaf_r.c: Likewise.
43248         * math/w_lgammal.c: Likewise.
43249         * math/w_lgammal_r.c: Likewise.
43250         * math/w_sinh.c: Likewise.
43251         * math/w_sinhf.c: Likewise.
43252         * math/w_sinhl.c: Likewise.
43253         * math/w_tgamma.c: Likewise.
43254         * math/w_tgammaf.c: Likewise.
43255         * math/w_tgammal.c: Likewise.
43256         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43257         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43258         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43259         Minor optimizations.  Pretty printing.  Remove cruft.
43260         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43261         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43262         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43263         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43264         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43265         * sysdeps/i386/fpu/e_asin.S: Likewise.
43266         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43267         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43268         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43269         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43270         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43271         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43272         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43273         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43274         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43275         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43276         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43277         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43278         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43279         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43280         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43281         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43282         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43283         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43284         * sysdeps/i386/fpu/e_log.S: Likewise.
43285         * sysdeps/i386/fpu/e_log10.S: Likewise.
43286         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43287         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43288         * sysdeps/i386/fpu/e_log2.S: Likewise.
43289         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43290         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43291         * sysdeps/i386/fpu/e_logf.S: Likewise.
43292         * sysdeps/i386/fpu/e_logl.S: Likewise.
43293         * sysdeps/i386/fpu/e_pow.S: Likewise.
43294         * sysdeps/i386/fpu/e_powf.S: Likewise.
43295         * sysdeps/i386/fpu/e_powl.S: Likewise.
43296         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43297         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43298         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43299         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43300         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43301         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43302         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43303         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43304         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43305         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43306         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43307         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43308         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43309         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43310         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43311         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43312         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43313         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43314         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43315         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43316         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43318         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43319         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43320         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43322         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43325         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43326         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43327         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43328         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43329         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43330         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43331         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43332         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43333         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43334         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43335         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43336         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43337         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43338         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43339         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43340         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43341         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43342         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43343         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43344         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43345         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43346         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43347         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43348         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43349         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43350         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43351         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43352         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43353         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43354         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43355         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43356         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43357         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43358         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43359         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43360         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43361         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43362         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43363         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43364         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43365         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43366         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43367         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43369         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43370         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43371         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43372         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43373         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43374         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43375         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43376         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43377         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43378         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43379         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43380         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43381         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43382         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43383         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43384         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43385         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43386         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43387         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43388         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43389         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43390         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43391         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43392         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43393         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43394         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43395         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43396         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43397         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43398         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43399         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43400         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43401         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43402         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43403         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43404         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43405         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43406         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43407         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43408         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43409         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43410         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43411         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43412         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43413         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43414         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43415         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43416         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43417         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43418         (__isnanf): Likewise.
43419         (__isinf_ns): Likewise.
43420         (__isinf_nsf): Likewise.
43421         (__finite): Likewise.
43422         (__finitef): Likewise.
43423         (__ieee754_sqrt): Define as macro.
43424         (__ieee754_sqrtf): Define as macro.
43425         (__ieee754_sqrtl): Define as macro.
43426         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43427         inlined copy.
43428         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43429         __FINITE_MATH_ONLY__ consistent.
43430         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43431
43432 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43433
43434         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43435         of rawmemchr.
43436
43437         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43438
43439 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43440
43441         * po/ja.po: Update from translation team.
43442
43443 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43444
43445         * locale/programs/locarchive.c (prepare_address_space): New function.
43446         (create_archive, enlarge_archive, open_archive): Use it.
43447
43448         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43449         inside [SHARED], where it is used.
43450
43451         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43452
43453         * nss/getent.c (netgroup_keys): Remove unused variable.
43454         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43455
43456 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43457
43458         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43459         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43461         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43462         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43463         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43464         * math/Makefile (libm-calls): Add s_isinf_ns.
43465         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43466         * math/multc3.c: Likewise.
43467         * math/s_casin.c: Likewise.
43468         * math/s_casinf.c: Likewise.
43469         * math/s_casinl.c: Likewise.
43470         * math/s_ccos.c: Likewise.
43471         * math/s_ccosf.c: Likewise.
43472         * math/s_ccosl.c: Likewise.
43473         * math/s_ctan.c: Likewise.
43474         * math/s_ctanf.c: Likewise.
43475         * math/s_ctanh.c: Likewise.
43476         * math/s_ctanhf.c: Likewise.
43477         * math/s_ctanhl.c: Likewise.
43478         * math/s_ctanl.c: Likewise.
43479         * math/w_fmod.c: Likewise.
43480         * math/w_fmodf.c: Likewise.
43481         * math/w_fmodl.c: Likewise.
43482         * math/w_remainder.c: Likewise.
43483         * math/w_remainderf.c: Likewise.
43484         * math/w_remainderl.c: Likewise.
43485         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43486         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43487         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43488         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43489         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43490         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43491         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43492         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43493
43494         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43495         of the number.
43496         * stdio-common/printf_fphex.c: Likewise.
43497         * stdio-common/printf_size.c: Likewise.
43498
43499         * math/e_exp10.c: Include math_private.h using <...> not "...".
43500         * math/e_exp10f.c: Likewise.
43501         * math/e_exp10l.c: Likewise.
43502         * math/e_exp2l.c: Likewise.
43503         * math/e_j0l.c: Likewise.
43504         * math/e_j1l.c: Likewise.
43505         * math/e_jnl.c: Likewise.
43506         * math/e_lgammal_r.c: Likewise.
43507         * math/e_rem_pio2l.c: Likewise.
43508         * math/e_scalb.c: Likewise.
43509         * math/e_scalbf.c: Likewise.
43510         * math/e_scalbl.c: Likewise.
43511         * math/k_cosl.c: Likewise.
43512         * math/k_sinl.c: Likewise.
43513         * math/k_tanl.c: Likewise.
43514         * math/s_cacoshf.c: Likewise.
43515         * math/s_catan.c: Likewise.
43516         * math/s_catanf.c: Likewise.
43517         * math/s_catanh.c: Likewise.
43518         * math/s_catanhf.c: Likewise.
43519         * math/s_catanhl.c: Likewise.
43520         * math/s_catanl.c: Likewise.
43521         * math/s_ccosh.c: Likewise.
43522         * math/s_ccoshf.c: Likewise.
43523         * math/s_ccoshl.c: Likewise.
43524         * math/s_cexp.c: Likewise.
43525         * math/s_cexpf.c: Likewise.
43526         * math/s_cexpl.c: Likewise.
43527         * math/s_clog.c: Likewise.
43528         * math/s_clog10.c: Likewise.
43529         * math/s_clog10f.c: Likewise.
43530         * math/s_clog10l.c: Likewise.
43531         * math/s_clogf.c: Likewise.
43532         * math/s_clogl.c: Likewise.
43533         * math/s_csin.c: Likewise.
43534         * math/s_csinf.c: Likewise.
43535         * math/s_csinh.c: Likewise.
43536         * math/s_csinhf.c: Likewise.
43537         * math/s_csinhl.c: Likewise.
43538         * math/s_csinl.c: Likewise.
43539         * math/s_csqrt.c: Likewise.
43540         * math/s_csqrtf.c: Likewise.
43541         * math/s_csqrtl.c: Likewise.
43542         * math/s_ctan.c: Likewise.
43543         * math/s_ctanf.c: Likewise.
43544         * math/s_ctanh.c: Likewise.
43545         * math/s_ctanhf.c: Likewise.
43546         * math/s_ctanhl.c: Likewise.
43547         * math/s_ctanl.c: Likewise.
43548         * math/s_ldexp.c: Likewise.
43549         * math/s_ldexpf.c: Likewise.
43550         * math/s_ldexpl.c: Likewise.
43551         * math/s_significand.c: Likewise.
43552         * math/s_significandf.c: Likewise.
43553         * math/s_significandl.c: Likewise.
43554         * math/w_acos.c: Likewise.
43555         * math/w_acosf.c: Likewise.
43556         * math/w_acosh.c: Likewise.
43557         * math/w_acoshf.c: Likewise.
43558         * math/w_acoshl.c: Likewise.
43559         * math/w_acosl.c: Likewise.
43560         * math/w_asin.c: Likewise.
43561         * math/w_asinf.c: Likewise.
43562         * math/w_asinl.c: Likewise.
43563         * math/w_atan2.c: Likewise.
43564         * math/w_atan2f.c: Likewise.
43565         * math/w_atan2l.c: Likewise.
43566         * math/w_atanh.c: Likewise.
43567         * math/w_atanhf.c: Likewise.
43568         * math/w_atanhl.c: Likewise.
43569         * math/w_cosh.c: Likewise.
43570         * math/w_coshf.c: Likewise.
43571         * math/w_coshl.c: Likewise.
43572         * math/w_dremf.c: Likewise.
43573         * math/w_exp10.c: Likewise.
43574         * math/w_exp10f.c: Likewise.
43575         * math/w_exp10l.c: Likewise.
43576         * math/w_exp2.c: Likewise.
43577         * math/w_exp2f.c: Likewise.
43578         * math/w_fmod.c: Likewise.
43579         * math/w_fmodf.c: Likewise.
43580         * math/w_fmodl.c: Likewise.
43581         * math/w_hypot.c: Likewise.
43582         * math/w_hypotf.c: Likewise.
43583         * math/w_hypotl.c: Likewise.
43584         * math/w_j0.c: Likewise.
43585         * math/w_j0f.c: Likewise.
43586         * math/w_j0l.c: Likewise.
43587         * math/w_j1.c: Likewise.
43588         * math/w_j1f.c: Likewise.
43589         * math/w_j1l.c: Likewise.
43590         * math/w_jn.c: Likewise.
43591         * math/w_jnf.c: Likewise.
43592         * math/w_jnl.c: Likewise.
43593         * math/w_lgamma.c: Likewise.
43594         * math/w_lgamma_r.c: Likewise.
43595         * math/w_lgammaf.c: Likewise.
43596         * math/w_lgammaf_r.c: Likewise.
43597         * math/w_lgammal.c: Likewise.
43598         * math/w_lgammal_r.c: Likewise.
43599         * math/w_log.c: Likewise.
43600         * math/w_log10.c: Likewise.
43601         * math/w_log10f.c: Likewise.
43602         * math/w_log10l.c: Likewise.
43603         * math/w_log2.c: Likewise.
43604         * math/w_log2f.c: Likewise.
43605         * math/w_log2l.c: Likewise.
43606         * math/w_logf.c: Likewise.
43607         * math/w_logl.c: Likewise.
43608         * math/w_pow.c: Likewise.
43609         * math/w_powf.c: Likewise.
43610         * math/w_powl.c: Likewise.
43611         * math/w_remainder.c: Likewise.
43612         * math/w_remainderf.c: Likewise.
43613         * math/w_remainderl.c: Likewise.
43614         * math/w_scalb.c: Likewise.
43615         * math/w_scalbf.c: Likewise.
43616         * math/w_scalbl.c: Likewise.
43617         * math/w_sinh.c: Likewise.
43618         * math/w_sinhf.c: Likewise.
43619         * math/w_sinhl.c: Likewise.
43620         * math/w_sqrt.c: Likewise.
43621         * math/w_sqrtf.c: Likewise.
43622         * math/w_sqrtl.c: Likewise.
43623         * math/w_tgamma.c: Likewise.
43624         * math/w_tgammaf.c: Likewise.
43625         * math/w_tgammal.c: Likewise.
43626
43627         * po/ja.po: Update from translation team.
43628
43629 2011-09-29  Andreas Jaeger  <aj@suse.de>
43630
43631         [BZ #13179]
43632         * sunrpc/netname.c (netname2host): Fix logic.
43633
43634         [BZ #6779]
43635         [BZ #6783]
43636         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43637         correctly.
43638         * math/w_remainder.c (__remainder): Likewise.
43639         * math/w_remainderf.c (__remainderf): Likewise.
43640         * math/libm-test.inc (remainder_test): Add test cases.
43641
43642 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43643
43644         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43645         sdiv_qrnnd.
43646
43647 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43648
43649         * string/test-memcmp.c: Avoid unncessary #defines.
43650         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43651
43652 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43653
43654         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43655         Use new sse2 version for core i3 - i7 as it's faster
43656         than sse42 version.
43657         (bit_Prefer_PMINUB_for_stringop): New.
43658         * sysdeps/x86_64/rawmemchr.S: Update.
43659         Replace with faster SSE2 version.
43660         * sysdeps/x86_64/memrchr.S: New file.
43661         * sysdeps/x86_64/memchr.S: Update.
43662         Replace with faster SSE2 version.
43663
43664 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43665
43666         * elf/dl-load.c (lose): Add cast to avoid warning.
43667
43668 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43669
43670         * po/ca.po: Update from translation team.
43671
43672         * inet/getnetgrent_r.c: Hook up nscd.
43673         * nscd/Makefile (routines): Add nscd_netgroup.
43674         (nscd-modules): Add netgroupcache.
43675         (CFLAGS-netgroupcache.c): Define.
43676         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43677         (cache_search): Add const to second parameter.
43678         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43679         INNETGR.
43680         (dbs): Add netgrdb entry.
43681         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43682         (verify_persistent_db): Handle netgrdb.
43683         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43684         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43685         GETFDNETGR.
43686         (netgroup_response_header): Define.
43687         (innetgroup_response_header): Define.
43688         (datahead): Add netgroup_response_header and innetgroup_response_header
43689         elements.
43690         * nscd/nscd.conf: Add entries for netgroup cache.
43691         * nscd/nscd.h (dbtype): Add netgrdb.
43692         (_PATH_NSCD_NETGROUP_DB): Define.
43693         (netgroup_iov_disabled): Declare.
43694         (xmalloc, xcalloc, xrealloc): Move declarations here.
43695         (cache_search): Adjust prototype.
43696         Add netgroup-related prototypes.
43697         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43698         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43699         (__nscd_innetgr): Declare.
43700         * nscd/selinux.c (perms): Use access_vector_t as element type and
43701         add netgroup-related initializers.
43702         * nscd/netgroupcache.c: New file.
43703         * nscd/nscd_netgroup.c: New file.
43704         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43705         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43706         For four parameters use innetgr.
43707         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43708         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43709         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43710         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43711
43712         * nscd/connections.c (register_traced_file): Don't register file
43713         for disabled databases.
43714
43715 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43716
43717         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43718
43719         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43720         from tree and freeing node.
43721
43722 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43723
43724         * nss/nsswitch.c (__nss_database_lookup): Handle
43725         nss_parse_service_list out of memory case.
43726
43727 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43728
43729         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43730         out of memory case.
43731
43732 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43733
43734         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43735         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43736         pass it down.
43737         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43738         elf_machine_rela, elf_machine_lazy_rel.
43739         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43740         (ELF_DYNAMIC_DO_REL): Likewise.
43741         (ELF_DYNAMIC_DO_RELA): Likewise.
43742         (ELF_DYNAMIC_RELOCATE): Likewise.
43743         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43744         to ELF_DYNAMIC_DO_REL.
43745         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43746         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43747         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43748         elf_machine_rela.
43749         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43750         skip_ifunc, don't call ifunc function if non-zero.
43751         (elf_machine_rela): Likewise.
43752         (elf_machine_lazy_rel): Likewise.
43753         (elf_machine_lazy_rela): Likewise.
43754         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43755         (elf_machine_lazy_rel): Likewise.
43756         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43757         Likewise.
43758         (elf_machine_lazy_rel): Likewise.
43759         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43760         Likewise.
43761         (elf_machine_lazy_rel): Likewise.
43762         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43763         (elf_machine_lazy_rel): Likewise.
43764         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43765         (elf_machine_lazy_rel): Likewise.
43766         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43767         (elf_machine_lazy_rel): Likewise.
43768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43769         (elf_machine_lazy_rel): Likewise.
43770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43771         (elf_machine_lazy_rel): Likewise.
43772         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43773         (elf_machine_lazy_rel): Likewise.
43774
43775 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43776
43777         * nss/nss_files/files-init.c (_nss_files_init): Use static
43778         initialization for all the *_traced_file variables.
43779
43780 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43781
43782         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43783
43784 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43785
43786         [BZ #13226]
43787         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43788
43789 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43790
43791         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43792         Reread the line before reparsing it.
43793
43794 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43795
43796         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43797
43798 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43799             Maxim Kuvyrkov  <maxim@codesourcery.com>
43800             Joseph Myers  <joseph@codesourcery.com>
43801
43802         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43803         if needed for __stack_chk_guard.
43804
43805 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43806
43807         * sysdeps/posix/spawni.c (script_execute): Always define it.
43808         It will be optimized away if unused.
43809         (maybe_script_execute): New function.
43810         (__spawni): Call it.
43811
43812         * Makerules: Don't include tls.make.
43813         (config-tls): Always set to thread.
43814         * tls.make.c: File removed.
43815
43816 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43817
43818         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43819         * config.make.in (CPPFLAGS-config): New substituted variable.
43820
43821 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43822
43823         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43824
43825         [BZ #13192]
43826         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43827         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43828
43829 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43830
43831         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43832         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43833         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43834         (CALL_FAIL): Likewise.
43835         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43836         (CALL_FAIL): Macro removed.
43837         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43838
43839 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43840
43841         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43842         for __FINITE_MATH_ONLY__ == 1.
43843
43844 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43845
43846         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43847         __ieee754_sqrt instead of sqrt.
43848         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43849         __ieee754_sqrtf instead of sqrtf.
43850         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43851         __floorf instead of floorf.
43852         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43853         __floorf, __truncf instead of floorf, truncf.
43854
43855 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43856
43857         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43858
43859         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43860         __extern_always_inline.
43861         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43862         32-bit.
43863
43864 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43865
43866         * elf/rtld.c (dl_main): Also relocate in dependency order when
43867         doing symbol dependency testing.
43868
43869 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43870
43871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43872         Always define `refsym'.
43873
43874 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43875
43876         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43877         (__FD_ELT): Renamed from __FDELT.
43878         * misc/bits/select2.h (__FD_ELT): Likewise.
43879         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43880         __FD_MASK instead of __FDELT, __FDMASK.
43881         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43882         Likewise.
43883         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43884         Likewise.
43885
43886         * elf/Makefile (gen-ldd): Fix pattern.
43887
43888         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43889         (init_tls): Likewise.
43890
43891 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43892
43893         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43894
43895 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43896
43897         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43898         `struct cmsghdr *' instead of `void *'.
43899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43900         Likewise.
43901
43902 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43903
43904         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43905         if non-absolute.
43906         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43907         ldd_rewrite_script.
43908
43909 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43910
43911         * configure.in: Remove --with-tls option.
43912         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43913         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43914         out in case it is missing.
43915         * sysdeps/ia64/elf/configure.in: Likewise.
43916         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43917         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43918         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43919         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43920         * sysdeps/sh/elf/configure.in: Likewise.
43921         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43922         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43923         * sysdeps/x86_64/elf/configure.in: Likewise.
43924         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43925         * sysdeps/mach/hurd/tls.h: Likewise.
43926
43927         [BZ #13067]
43928         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43929
43930         [BZ #13090]
43931         * configure.in: Fix use of AC_INIT.
43932
43933         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43934
43935 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43936
43937         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43938         __set_errno.
43939         * malloc/hooks.c: Likewise.
43940
43941         [BZ #11929]
43942         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43943         variables statically.
43944         (narenas): Initialize.
43945         (list_lock): Initialize.
43946         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43947         initializtion of main_arena and list_lock.  Small cleanups.
43948         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43949         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43950         Add initializers to main_arena and mp_.
43951         (malloc_state): Remove pagesize member.  Change all users to use
43952         GLRO(dl_pagesize).
43953
43954         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43955         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43956         is always initialized.
43957
43958         * malloc/malloc.c: Removed unused configurations and dead code.
43959         * malloc/arena.c: Likewise.
43960         * malloc/hooks.c: Likewise.
43961         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43962
43963         * include/tls.h: Removed.  USE___THREAD must always be defined.
43964         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43965         * elf/dl-libc.c: Likewise.
43966         * elf/dl-tsd.c: Likewise.
43967         * include/errno.h: Likewise.
43968         * include/netdb.h: Likewise.
43969         * include/resolv.h: Likewise.
43970         * inet/herrno-loc.c: Likewise.
43971         * inet/herrno.c: Likewise.
43972         * malloc/arena.c: Likewise.
43973         * malloc/hooks.c: Likewise.
43974         * malloc/malloc.c: Likewise.
43975         * resolv/res-state.c: Likewise.
43976         * resolv/res_libc.c: Likewise.
43977         * sysdeps/i386/dl-machine.h: Likewise.
43978         * sysdeps/ia64/dl-machine.h: Likewise.
43979         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43980         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43981         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43982         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43983         * sysdeps/sh/dl-machine.h: Likewise.
43984         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43985         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43986         * sysdeps/unix/i386/sysdep.S: Likewise.
43987         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43988         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43989         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43993         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43994         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43997         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43998         * sysdeps/x86_64/dl-machine.h: Likewise.
43999         * tls.make.c: Likewise.
44000
44001         * configure.in: Remove --with-__thread option.  Make tests for
44002         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44003         tls_model attribute fail if no support is available.  Remove
44004         USE_IN_LIBIO.
44005         * Makeconfig: Adjust for dropped configure option.  All features are
44006         now mandatory.
44007         * Makerules: Likewise.
44008         * Versions.def: Likewise.
44009         * argp/argp-fmtstream.c: Likewise.
44010         * argp/argp-fmtstream.h: Likewise.
44011         * argp/argp-help.c: Likewise.
44012         * assert/assert.c: Likewise.
44013         * config.h.in: Likewise.
44014         * config.make.in: Likewise.
44015         * configure: Likewise.
44016         * configure.in: Likewise.
44017         * csu/Versions: Likewise.
44018         * csu/init.c: Likewise.
44019         * elf/tst-audit2.c: Likewise.
44020         * elf/tst-tls10.c: Likewise.
44021         * elf/tst-tls10.h: Likewise.
44022         * elf/tst-tls11.c: Likewise.
44023         * elf/tst-tls12.c: Likewise.
44024         * elf/tst-tls14.c: Likewise.
44025         * elf/tst-tlsmod11.c: Likewise.
44026         * elf/tst-tlsmod12.c: Likewise.
44027         * elf/tst-tlsmod13.c: Likewise.
44028         * elf/tst-tlsmod13a.c: Likewise.
44029         * elf/tst-tlsmod14a.c: Likewise.
44030         * elf/tst-tlsmod15b.c: Likewise.
44031         * elf/tst-tlsmod16a.c: Likewise.
44032         * elf/tst-tlsmod16b.c: Likewise.
44033         * elf/tst-tlsmod7.c: Likewise.
44034         * elf/tst-tlsmod8.c: Likewise.
44035         * elf/tst-tlsmod9.c: Likewise.
44036         * gmon/gmon.c: Likewise.
44037         * grp/fgetgrent_r.c: Likewise.
44038         * grp/putgrent.c: Likewise.
44039         * hurd/fopenport.c: Likewise.
44040         * include/libc-symbols.h: Likewise.
44041         * include/tls.h: Likewise.
44042         * intl/gettextP.h: Likewise.
44043         * intl/loadinfo.h: Likewise.
44044         * locale/global-locale.c: Likewise.
44045         * locale/localeinfo.h: Likewise.
44046         * mach/devstream.c: Likewise.
44047         * malloc/arena.c: Likewise.
44048         * malloc/set-freeres.c: Likewise.
44049         * misc/err.c: Likewise.
44050         * misc/getttyent.c: Likewise.
44051         * misc/mntent_r.c: Likewise.
44052         * posix/getopt.c: Likewise.
44053         * posix/wordexp.c: Likewise.
44054         * pwd/fgetpwent_r.c: Likewise.
44055         * resolv/Versions: Likewise.
44056         * resolv/res_hconf.c: Likewise.
44057         * shadow/fgetspent_r.c: Likewise.
44058         * shadow/putspent.c: Likewise.
44059         * stdio-common/printf_fphex.c: Likewise.
44060         * stdio-common/tmpfile.c: Likewise.
44061         * stdlib/abort.c: Likewise.
44062         * stdlib/fmtmsg.c: Likewise.
44063         * sunrpc/auth_unix.c: Likewise.
44064         * sunrpc/clnt_perr.c: Likewise.
44065         * sunrpc/clnt_tcp.c: Likewise.
44066         * sunrpc/clnt_udp.c: Likewise.
44067         * sunrpc/clnt_unix.c: Likewise.
44068         * sunrpc/openchild.c: Likewise.
44069         * sunrpc/svc_simple.c: Likewise.
44070         * sunrpc/svc_tcp.c: Likewise.
44071         * sunrpc/svc_udp.c: Likewise.
44072         * sunrpc/svc_unix.c: Likewise.
44073         * sunrpc/xdr.c: Likewise.
44074         * sunrpc/xdr_array.c: Likewise.
44075         * sunrpc/xdr_rec.c: Likewise.
44076         * sunrpc/xdr_ref.c: Likewise.
44077         * sunrpc/xdr_stdio.c: Likewise.
44078
44079 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44080
44081         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44082
44083 2011-07-03  Andreas Jaeger  <aj@suse.de>
44084
44085         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44086         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44087         regenerate with gen-libm-tests.pl.
44088
44089 2010-05-12  Petr Baudis  <pasky@suse.cz>
44090
44091         [BZ #11589]
44092         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44093         around j0() zero points by switching to j1().
44094         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44095         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44097         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44098
44099 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44100
44101         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44102         instead of 0.
44103         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44104         instead of 0.
44105         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44106         Patch in part by Pavel Roskin <proski@gnu.org>.
44107
44108         [BZ #13138]
44109         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44110         realloc.
44111         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44112         Free memory block if necessary.
44113
44114         [BZ #12847]
44115         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44116         be NULL.  Don't lock in this case.
44117
44118 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44119
44120         * elf/elf.h (ELFOSABI_GNU): New macro.
44121         (ELFOSABI_LINUX): Define to that.
44122
44123 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44124
44125         * string/strncat.c (strncat): Undef the symbol in case it has been
44126         defined in bits/string.h.
44127
44128 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44129
44130         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44131
44132         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44133         link map.
44134
44135 2011-08-17  Andreas Jaeger  <aj@suse.de>
44136
44137         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44138
44139 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44140             Ian Lance Taylor  <iant@google.com>
44141
44142         * math/libm-test.inc (lround_test): New testcase.
44143         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44144
44145 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44146
44147         * Makefile: Remove support for automatic cvs check-ins.
44148         * Makerules: Likewise.
44149         * config.make.in: Likewise.
44150         * configure.in: Likewise.
44151         * intl/Makefile: Likewise.
44152         * locale/Makefile: Likewise.
44153         * po/Makefile: Likewise.
44154         * posix/Makefile: Likewise.
44155         * sysdeps/gnu/Makefile: Likewise.
44156         * sysdeps/mach/hurd/Makefile: Likewise.
44157         * sysdeps/sparc/sparc32/Makefile: Likewise.
44158
44159         [BZ #13118]
44160         * posix/Makefile (bug-regex32-ENV): Define.
44161         Patch by John Stanley <jpsinthemix@verizon.net>.
44162
44163         * misc/Makefile (headers): Add bits/select2.h.
44164         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44165         * misc/bits/select2.h: New file.
44166         * include/bits/select2.h: New file.
44167         * debug/Makefile (routines): Add fdelt_chk.
44168         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44169         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44170         FD_ISSET.
44171         * debug/fdelt_chk.c: New file.
44172
44173         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44174         * wcsmbs/test-wmemcmp.c: Likewise.
44175         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44176         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44177
44178 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44179
44180         * string/Makefile (strop-tests): Add memcmp.
44181         * string/test-wmemcmp.c: New file.
44182         * string/test-memcmp.c: Add wmemcmp support.
44183
44184 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44185
44186         [BZ #13153]
44187         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44188         2011-07-19 change.
44189
44190         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44191         garbage value in a __mach_port_mod_refs call in the cases of the
44192         task-self and thread-self ports.
44193
44194 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44195
44196         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44197
44198 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44199
44200         * elf/dl-load.c (lose): Check for non-null L.
44201
44202 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44203
44204         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44205
44206         * elf/dl-libc.c (dlerror_run): Pass back error code from
44207         dl_catch_error.
44208
44209         [BZ #13123]
44210         * elf/dl-load.c (lose): Free l_origin if it is valid.
44211
44212         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44213         names.
44214         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44215         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44216         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44217         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44218         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44219         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44220
44221 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44222
44223         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44224         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44225         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44226         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44227         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44228         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44229         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44230         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44231         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44232         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44233
44234 2011-08-15  Alan Modra  <amodra@gmail.com>
44235
44236         [BZ #13092]
44237         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44238         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44239         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44240         ppc_mcount to static-only-routines.
44241         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44242         __mcount_internal.
44243         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44244         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44245
44246 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44247
44248         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44249         for finite and infinity parameters.
44250
44251 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44252
44253         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44254         and add nop instructions for throughput optimization.
44255         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44256
44257 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44258
44259         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44260         aligned copy for power7 with vector-scalar instructions.
44261         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44262
44263 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44264
44265         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44266         AVX check.
44267
44268 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44269
44270         [BZ #13144]
44271         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44272         last change.
44273
44274 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44275
44276         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44277         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44278         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44279         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44280         clock_gettime.
44281
44282 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44283
44284         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44285         Forgot to demangle the pointer.
44286
44287         * sysdeps/i386/sysdep.h: Define atom_text_section.
44288         * sysdeps/x86_64/sysdep.h: Likewise.
44289         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44290         section with atom_text_section.
44291         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44292         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44293         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44294         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44295         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44296
44297         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44298         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44299         already be defined.  Change to take two parameters and don't assign
44300         result to variable.  Adjust all users.
44301         Define INTERNAL_GETTIME if not already defined.
44302         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44303         call.
44304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44305         HAVE_CLOCK_GETTIME_VSYSCALL.
44306         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44307
44308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44309         gettimeofday vsyscall, just use time.
44310
44311 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44312
44313         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44314         <errno.h>.
44315
44316 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44317
44318         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44319         syscall on x86-64.
44320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44321         syscall.
44322         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44323         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44324         syscall if possible.
44325
44326 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44327
44328         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44329         e_ident.  Don't pass to find_mapsXX.
44330         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44331
44332 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44333
44334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44335         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44336         * sysdeps/x86_64/multiarch/strchr.S: Update.
44337         Check bit_slow_BSF bit.
44338         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44339         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44340         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44341
44342 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44343
44344         [BZ #13134]
44345         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44346         before glibc 2.15.
44347         (tryshell): Define.
44348         (__spawni): Change last parameter to be flag.  Test
44349         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44350         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44351         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44352         * posix/spawni.c: Likewise.
44353         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44354         * posix/spawnp.c: Likewise.  Change normal version to use
44355         SPAWN_XFLAGS_USE_PATH.
44356         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44357         SPAWN_XFLAGS_TRY_SHELL.
44358
44359         [BZ #13150]
44360         * posix/glob.h: Remove gcc 1.x support.
44361
44362         [BZ #13068]
44363         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44364
44365 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44366
44367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44368         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44369         strrchr-sse2-bsf
44370         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44371         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44372         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44373         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44374         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44375         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44376
44377 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44378
44379         * sysdeps/x86_64/wcscmp.S: New file.
44380
44381         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44382         wcscmp-c wcscmp-sse2
44383         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44384         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44385         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44386         * wcsmbs/wcscmp.c: Allow renaming.
44387
44388 2011-09-05  David S. Miller  <davem@davemloft.net>
44389
44390         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44391         stack slot, rather than the struct return pointer slot.
44392         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44393         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44395         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44396
44397 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44398
44399         * po/ja.po: Update from translation team.
44400
44401         [BZ #13144]
44402         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44403         kernel in 64-bit binaries.
44404
44405 2011-09-01  David S. Miller  <davem@davemloft.net>
44406
44407         * elf/elf.h (HWCAP_SPARC_*): Move to..
44408         * sysdeps/sparc/sysdep.h: this new file and add new values.
44409         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44410         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44411         _DL_HWCAP_COUNT to 24.
44412         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44413         entries.
44414         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44415         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44416         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44417         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44418         instead of magic constants.
44419         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44420
44421 2011-08-31  David S. Miller  <davem@davemloft.net>
44422
44423         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44425         Reimplement to do errno handling inline.
44426         (SYSCALL_ERROR_HANDLER): New macro.
44427         (__SYSCALL_STRING): Do not do errno handling in asm.
44428         (__CLONE_SYSCALL_STRING): Delete.
44429         (__INTERNAL_SYSCALL_STRING): Delete.
44430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44431         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44432         (PSEUDO): Reimplement to do errno handling inline.
44433         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44434         (SYSCALL_ERROR_HANDLER): New macro.
44435         (__SYSCALL_STRING): Do not do errno handling in asm.
44436         (__CLONE_SYSCALL_STRING): Delete.
44437         (__INTERNAL_SYSCALL_STRING): Delete.
44438         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44439         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44440         i386.
44441         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44442         (inline_syscall*): Add 'err' argument.
44443         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44444         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44445         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44446         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44447
44448         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44449         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44450
44451 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44452
44453         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44454
44455 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44456
44457         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44458         directive.
44459
44460 2011-08-24  David S. Miller  <davem@davemloft.net>
44461
44462         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44463
44464 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44465
44466         * elf/Makefile: Add rules to build and run unload8 test.
44467         * elf/unload8.c: New file.
44468         * elf/unload8mod1.c: New file.
44469         * elf/unload8mod1x.c: New file.
44470         * elf/unload8mod2.c: New file.
44471         * elf/unload8mod3.c: New file.
44472
44473         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44474         it wasn't used.
44475
44476 2011-08-23  David S. Miller  <davem@davemloft.net>
44477
44478         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44479         subtract stack bias.
44480         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44481         %sp not %fp in calculations.
44482         (_JMPBUF_UNWINDS_ADJ): Likewise.
44483
44484         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44485         (aio_suspend): Call it to force an exception region around the
44486         AIO_MISC_WAIT() invocation.
44487
44488 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44489
44490         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44491         backslash.
44492
44493 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44494
44495         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44496         protection macro.
44497         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44498         and <dl-machine.h>.
44499         (Elf64_FuncDesc): Remove.
44500
44501 2011-08-22  David S. Miller  <davem@davemloft.net>
44502
44503         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44504         sigaltstack check, add missing cfi directives.
44505         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44506         missing cfi directives, and sigaltstack handling.
44507
44508 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44509
44510         [BZ #11724]
44511         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44512         object is seen twice.
44513         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44514
44515         * elf/Makefile (distribute): Add tst-initorder2.c.
44516         (tests): Add tst-initorder2.
44517         (modules-names): Add tst-initorder2a tst-initorder2b
44518         tst-initorder2c tst-initorder2d.  Add rules to build them.
44519         ($(objpfx)tst-initorder2.out): New rule.
44520         * elf/tst-initorder2.c: New file.
44521         * elf/tst-initorder2.exp: New file.
44522
44523 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44524
44525         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44526
44527         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44528         dependencies back to end of function.
44529
44530         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44531         $(elfobjdir)/ld.so.
44532
44533 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44534
44535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44536         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44538         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44539         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44540         of __vdso_gettimeofday.
44541         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44542         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44543         attribute_hidden.
44544         (_libc_vdso_platform_setup): Remove initialization of
44545         __vdso_gettimeofday and __vdso_time.
44546
44547 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44548
44549         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44550         and fgetc_unlocked.
44551         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44552         getc_unlocked.
44553
44554         * elf/dl-open.c (add_to_global): Report additions to the global scope
44555         for LD_DEBUG=scopes.
44556         (dl_open_worker): Also print scope of newly loaded dependencies.
44557         (_dl_show_scope): Indicate if there is no scope.
44558
44559         [BZ #13114]
44560         * stdio-common/Makefile (tests): Add bug24.
44561         * stdio-common/bug24.c: New file.
44562
44563 2011-08-19  Andreas Jaeger  <aj@suse.de>
44564
44565         [BZ #13114]
44566         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44567         non-existant file when using close-on-exec mode.
44568
44569 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44570
44571         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44572         the very first instruction.
44573
44574         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44575         the CFI state in the end.
44576         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44577         inclusion of dl-trampoline.h.
44578         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44579
44580 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44581
44582         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44583         expectations for long double.
44584
44585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44586         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44587
44588 2011-08-14  David S. Miller  <davem@davemloft.net>
44589
44590         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44591         artificual limit depends upon the system page size.
44592
44593 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44594
44595         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44596         * resolv/Makefile: Define CFLAGS-libresolv.
44597
44598 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44599
44600         * nss/makedb.c (compute_tables): Make variables used in nested
44601         function static.
44602
44603 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44604
44605         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44606         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44607         if buffer was too small.
44608
44609         * elf/pldd.c (main): Attach to all threads in the process.
44610         Rewrite /proc handling to use *at functions.
44611
44612 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44613
44614         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44615         specifies first scope to show.
44616         (dl_open_worker): Update callers.  Move printing scope of new
44617         object to before the relocation.
44618         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44619         * sysdeps/generic/ldsodefs.h: Update declaration.
44620
44621         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44622         string for the scope number.
44623
44624 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44625
44626         * nscd/servicescache.c (cache_addserv): Make sure written is always
44627         initialized.
44628
44629 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44630
44631         * sysdeps/i386/i486/bits/atomic.h
44632         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44633         statement expression, so as to suppress "set but not used" warning.
44634         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44635
44636         * string/strncat.c (STRNCAT): Use prototype definition.
44637
44638         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44639         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44640         -Iprograms here.
44641         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44642         (localedef-modules): Add localedef.
44643         (locale-modules): Add locale.
44644
44645         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44646         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44647         to avoid a warning.
44648
44649 2011-08-14  David S. Miller  <davem@davemloft.net>
44650
44651         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44652         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44653
44654 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44655
44656         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44657         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44658         * elf/rtld.c (dl_main): Set l_name of vDSO.
44659         Call _dl_show_scope when DL_DEBUG_SCOPES.
44660         (process_dl_debug): Recognize scopes flag and also set it for all.
44661         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44662         Declare _dl_show_scope.
44663
44664         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44665         (do_dlopen): Pass caller_dlopen to dl_open.
44666         (__libc_dlopen_mode): Initialize caller_dlopen.
44667
44668         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44669         of libc.  Make tolower call locale-independent.  Optimize a bit by
44670         using isdigit instead of isalnum.
44671         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44672
44673 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44674
44675         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44676         was a dependency or dynamically loaded.
44677
44678 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44679
44680         * intl/l10nflist.c: Allow architecture-specific pop function.
44681         * sysdeps/x86_64/l10nflist.c: New file.
44682
44683         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44684         classification.
44685
44686 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44687
44688         * include/dirent.h: Add libc_hidden_proto for scandirat and
44689         scandirat64.  Don't declare __scandirat64.
44690         * dirent/scandirat.c: Add libc_hidden_def.
44691         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44692         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44693
44694 2011-08-10  David S. Miller  <davem@davemloft.net>
44695
44696         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44697         enum.
44698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44699         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44700         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44701
44702 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44703
44704         * Versions.def [libc]: Add GLIBC_2.15.
44705         * dirent/Makefile (routines): Add scandirat and scandirat64.
44706         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44707         GLIBC_2.15.
44708         * dirent/dirent.h: Declare scandirat and scandirat64.
44709         * dirent/scandirat.c: New file.
44710         * dirent/scandirat64.c: New file.
44711         * sysdeps/wordsize-64/scandirat.c: New file.
44712         * sysdeps/wordsize-64/scandirat64.c: New file.
44713         * dirent/opendir.c: Define opendirat.
44714         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44715         using scandirat.
44716         * dirent/scandir64.c: Adjust for scandir.c change.
44717         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44718         __scandirat64, and __scandir_cancel_handler.
44719         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44720         additional parameter and use openat instead of open (outside of ld.so).
44721         Add new __opendir as wrapper around __opendirat.
44722         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44723         here without requiring old scandirat implementation.
44724
44725 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44726
44727         * dirent/scandir.c (cancel_handler): Renamed to
44728         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44729         defined.  Adjust users.
44730         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44731         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44732
44733 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44734
44735         * string/test-string.h (IMPL): Use __STRING to expand name and then
44736         stringify it.
44737
44738         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44739         of cleanups.
44740
44741 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44742
44743         * string/Makefile: Update.
44744         (strop-tests): Append strncat.
44745         * string/test-wcscmp.c: New file.
44746         New comprehensive test for wcscmp.
44747         * string/test-strcmp.c: Update.
44748         (WIDE): New define.
44749
44750 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44751
44752         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44753         line.
44754
44755 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44756
44757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44758         encoding to ACE if AI_IDN.
44759
44760 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44761
44762         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44763         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44764
44765 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44766
44767         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44768         Fix overflow bug in strncat.
44769         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44770
44771         * string/test-strncat.c: Update.
44772         Add new tests for checking overflow bugs.
44773
44774 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44775
44776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44777         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44778         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44779         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44780         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44781         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44782         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44783         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44784         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44785
44786         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44787         (USE_AS_STRCAT): Define.
44788         Add strcat and strncat support.
44789         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44790
44791 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44792
44793         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44794         __n bigger than INT_MAX+1.
44795         (__strncmp_g): Likewise.
44796
44797 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44798
44799         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44800         * libio/stido.h: Likewise.
44801
44802         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44803         (AF_NFC): Define.
44804         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44805         (AF_NFC): Define.
44806
44807         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44808         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44809         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44810         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44811         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44812
44813         [BZ #13021]
44814         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44815         installed.
44816
44817         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44818         typo.
44819         (_dl_x86_64_save_sse): Likewise.
44820
44821 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44822
44823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44824         OSXSAVE.
44825         (_dl_x86_64_save_sse): Likewise.
44826
44827         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44828
44829         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44830
44831 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44832
44833         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44834         change.
44835         (_dl_x86_64_save_sse): Use correct AVX check.
44836
44837 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44838
44839         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44840         bug in strncpy/strncat.
44841         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44842
44843 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44844
44845         * string/tester.c (test_strcat): Add tests for different alignments
44846         of source and destination.
44847         (test_strncat): Likewise.
44848
44849 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44850
44851         [BZ #12852]
44852         * posix/glob.c (glob): Check passed in values before using them in
44853         expressions to avoid some overflows.
44854         (glob_in_dir): Likewise.
44855
44856         [BZ #13007]
44857         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44858         check for AVX enablement so that we don't crash with old kernels and
44859         new hardware.
44860         * elf/tst-audit4.c: Add same checks here.
44861         * elf/tst-audit6.c: Likewise.
44862
44863         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44864
44865 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44866
44867         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44868
44869 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44870
44871         * po/cs.po: Update from translation team.
44872         * po/bg.po: Likewise.
44873
44874 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44875
44876         * misc/sys/cdefs.h: Add support for const attribute.
44877         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44878         to gnu_dev_{major,minor,makedev} functions.
44879
44880 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44881
44882         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44883
44884 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44885
44886         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44887         strlen results.
44888
44889 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44890
44891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44892         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44893         register in order to avoid conflicts with the soft frame pointer
44894         being held in r11 when necessary.
44895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44896         (INTERNAL_VSYSCALL_NCS): Likewise.
44897
44898 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44899
44900         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44901         * elf/dl-fini.c (_dl_fini): Adjust caller.
44902         * elf/dl-close.c (_dl_close_worker): Likewise.
44903         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44904
44905 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44906
44907         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44908         "aux_cache->nlibs < 0".
44909
44910         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44911         in the reload-count case.
44912
44913 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44914
44915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44916         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44917         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44918         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44919         * sysdeps/x86_64/multiarch/strcat.S: New file.
44920         * sysdeps/x86_64/multiarch/strncat.S: New file.
44921         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44922         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44923         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44924         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44925         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44926         (USE_AS_STRCAT): Define.
44927         Add strcat and strncat support.
44928         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44929         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44930         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44931         * string/strncat.c: Update.
44932         (USE_AS_STRNCAT): Define.
44933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44934         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44935         and i7.
44936         * sysdeps/x86_64/multiarch/init-arch.h
44937         (bit_Prefer_PMINUB_for_stringop): New.
44938         (index_Prefer_PMINUB_for_stringop): Likewise.
44939         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44940         bit_Prefer_PMINUB_for_stringop.
44941
44942 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44943
44944         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44945         buffer64.
44946         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44947         of casting of buffer.
44948         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44949         buffer32 and buffer64.
44950         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44951         writes instead of casting of buffer.
44952         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44953         buffer32.
44954         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44955         casting of buffer.
44956
44957 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44958
44959         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44960
44961 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44962
44963         * nscd/nscd.c (termination_handler): Don't do anything for a database
44964         if it has not yet been initialized.
44965
44966 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44967
44968         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44969
44970 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44971
44972         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44973
44974 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44975
44976         * po/nl.po: Update from translation team.
44977         * po/sv.po: Likewise.
44978
44979 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44980
44981         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44982         now disallowed by GCC.
44983
44984         * configure.in (use-default-link): Default to yes if a test -shared
44985         link meets our qualifications.
44986         * configure: Regenerated.
44987
44988         * config.make.in (output-format): New variable.
44989         * configure.in: Check for ld --print-output-format support.
44990         * configure: Regenerated.
44991         * Makerules ($(common-objpfx)format.lds)
44992         [$(output-format) != unknown]: Just use $(output-format),
44993         instead of the linker-script munging.
44994
44995 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44996
44997         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44998         of $(common-objpfx)shlib.lds.
44999         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45000
45001         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45002         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45003
45004         * configure.in (-z relro check): Adjust test code to add a large
45005         writable data section after it.
45006         * configure: Regenerated.
45007
45008 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45009
45010         * configure.in (-z relro check): Fix test code to make the variable
45011         truly const.
45012         * configure: Regenerated.
45013
45014 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45015
45016         * nscd/nscd.h (struct traced_file): Define.
45017         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45018         elements.  Add traced_files.
45019         (inotify_fd): Declare.
45020         (register_traced_file): Declare.
45021         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45022         (inotify_fd): Export.
45023         (resolv_conf_descr): Remove.
45024         (nscd_init): Move inotify descriptor creation to main.
45025         Don't register files for notification here.
45026         (register_traced_file): New function.
45027         (invalidate_cache): Don't use reset_res to determine whether to call
45028         res_init, go through the list of registered files.
45029         (main_loop_poll): The inotify descriptors are now stored in the
45030         structures for the traced files.
45031         (main_loop_epoll): Likewise
45032         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45033         to __nss_disable_nscd.
45034         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45035         for a database anymore.  Check the records for all the registered
45036         files instead.
45037         * nss/Makefile (libnss_files-routines): Add files-init.
45038         (libnss_db-routines): Add db-init.
45039         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45040         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45041         * nss/nss_db/db-init.c: New file.
45042         * nss/nss_files/files-init.c: New file.
45043         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45044         __nss_lookup_function.
45045         (__nss_lookup_function): Call nss_load_library.
45046         (nss_load_all_libraries): New function.
45047         (__nss_disable_nscd): Take parameter with callback function for files
45048         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45049         used for the cached services.
45050         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45051         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45052         options for features to all the files in nscd.
45053
45054         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45055
45056 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45057
45058         * csu/elf-init.c (__libc_csu_init): Comment typo.
45059
45060 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45061
45062         * po/pl.po: Update from translation team.
45063         * po/ja.po: Likewise.
45064         * po/ru.po: Likewise.
45065         * po/ko.po: Likewise.
45066         * po/fr.po: Likewise.
45067
45068 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45069
45070         * configure.in (.ctors/.dtors header and trailer check):
45071         Use an empirical test on a built program.
45072         * configure: Regenerated.
45073
45074         * configure.in (-z relro check): Use an empirical test on a built DSO.
45075         Detect, but do not require, on ia64.
45076         * configure: Regenerated.
45077
45078         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45079         Update tests that use readelf to use $READELF instead.
45080         * configure: Regenerated.
45081
45082 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45083
45084         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45085         if the result is not used.
45086
45087 2011-07-05  Andreas Jaeger  <aj@suse.de>
45088
45089         [BZ#9696]
45090         * stdlib/tst-strtod.c: Add testcase.
45091
45092 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45093
45094         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45095         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45096         The latter has a higher limit.  Take additional parameter to pass to
45097         the new function.
45098         (__pathconf): Pass file to __statfs_link_max.
45099         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45100         __statfs_link_max.
45101         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45102         __statfs_link_max.
45103
45104         [BZ #12868]
45105         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45106         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45107         Handle Lustre.
45108         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45109         (__statfs_filesize_max): Likewise.
45110         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45111
45112 2011-07-05  Andreas Jaeger  <aj@suse.de>
45113
45114         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45115
45116 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45117
45118         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45119         `status' variable.
45120         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45121         Likewise.
45122
45123 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45124
45125         * Makefile (strop-tests): Add strncat.
45126         * string/test-strncat.c: New file.
45127
45128 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45129
45130         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45131
45132 2011-06-21  Andreas Jaeger  <aj@suse.de>
45133
45134         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45135         Copy rule from iconvdata/Makefile.
45136
45137 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45138
45139         [BZ #12922]
45140         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45141         but no long options are defined, just return 'W'.
45142
45143 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45144
45145         [BZ #9696]
45146         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45147
45148 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45149
45150         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45151         netgroups to read.
45152         (innetgr): Likewise.
45153
45154 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45155
45156         * config.make.in (install_root): Default to $(DESTDIR).
45157
45158 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45159
45160         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45161
45162 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45163
45164         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45165
45166         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45167         containing directory rather than embedding absolute directory names.
45168
45169         * scripts/check-local-headers.sh: Rewritten using awk.
45170         Match by word, not by line.  Print error messages for matches.
45171         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45172
45173         * Makerules [shlib-lds-flags empty]:
45174         ($(common-objpfx)libc_pic.opts): New target.
45175         ($(common-objpfx)libc_pic.os.clean): New target.
45176         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45177
45178         * config.make.in (OBJCOPY): New variable.
45179         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45180         * configure: Regenerated.
45181
45182         * config.make.in (use-default-link): New variable.
45183         * configure.in (use_default_link): Grok --with-default-link to set it.
45184         * configure: Regenerated.
45185         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45186         (shlib-lds, shlib-lds-flags): Define to empty.
45187
45188         * Makerules (shlib-lds): New variable.
45189         (shlib-lds-flags): New variable.
45190         (build-shlib, build-moduile, build-module-asneeded): Use it.
45191         ($(common-objpfx)libc.so): Use $(shlib-lds).
45192         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45193         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45194
45195         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45196         DT_FLAGS/DT_FLAGS_1 with zero flags.
45197
45198         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45199         linker script munging.
45200
45201 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45202
45203         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45204         as 128-bit value.
45205         * crypt/sha512.c (sha512_process_block): Perform total addition using
45206         128-bit if possible.
45207         (__sha512_finish_ctx): Likewise.
45208         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45209         as 64-bit value.
45210         * crypt/sha256.c (SWAP64): Define.
45211         (sha256_process_block): Perform total addition using 64-bit if
45212         possible.
45213         (__sha256_finish_ctx): Likewise.
45214
45215 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45216
45217         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45218         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45219         * nscd/hstcache.c (cache_addhst): Likewise.
45220         * nscd/grpcache.c (cache_addgr): Likewise.
45221         * nscd/aicache.c (addhstaiX): Likewise
45222         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45223
45224 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45225
45226         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45227         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45228         * nscd/hstcache.c (cache_addhst): Likewise.
45229         * nscd/grpcache.c (cache_addgr): Likewise.
45230         * nscd/aicache.c (addhstaiX): Likewise
45231
45232 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45233
45234         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45235         domain only when needed.
45236
45237 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45238
45239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45240         is always restored.
45241
45242 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45243
45244         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45245         are re-adding the entry.
45246         * nscd/servicescache.c (cache_addserv): Likewise.
45247
45248 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45249
45250         * sysdeps/generic/dl-irel.h: fix protection against multiple
45251         inclusions.
45252         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45253
45254 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45255
45256         [BZ #12935]
45257         * malloc/memusage.sh: Fix quoting in message.
45258         * debug/xtrace.sh: Likewise.
45259
45260         * configure.in: Remove support for --experimental-malloc option, make
45261         it the default.
45262         * config.make.in: Likewise.
45263         * malloc/Makefile: Likewise.
45264
45265 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45266
45267         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45268         two-byte characters.
45269
45270 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45271
45272         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45273         AC_CACHE_CHECK invocation.
45274         * configure: Regenerated.
45275
45276         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45277
45278 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45279
45280         [BZ #12350]
45281         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45282         bit from old_res_options.
45283
45284         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45285
45286         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45287         value type for setfct.
45288
45289 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45290
45291         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45292         __gettimeofday instead of gettimeofday.
45293
45294 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45295
45296         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45297
45298 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45299
45300         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45301
45302         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45303         info.
45304
45305 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45306
45307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45308         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45309         strcpy-sse2-unaligned strncpy-sse2-unaligned
45310         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45311         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45312         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45313         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45314         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45315         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45316         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45317         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45318         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45319         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45320         (STRCPY): Support SSE2 and SSSE3 versions.
45321
45322 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45323
45324         [BZ #12874]
45325         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45326         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45327         kernels which artificially limit size of requests.
45328
45329 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45330
45331         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45332         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45333         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45334         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45335         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45336         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45337         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45338         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45339         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45340         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45341         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45342         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45343         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45344         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45345         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45347         Enable unaligned load optimization for Intel Core i3, i5 and i7
45348         processors.
45349         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45350         Define.
45351         (index_Fast_Unaligned_Load): Define.
45352         (HAS_FAST_UNALIGNED_LOAD): Define.
45353
45354 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45355
45356         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45357
45358 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45359
45360         [BZ #12907]
45361         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45362         until it is clear that the information is realy needed.
45363         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45364
45365 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45366
45367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45368
45369 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45370
45371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45372         /sys/devices/system/cpu/online if it is usable.
45373
45374         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45375         reading the information from the /proc filesystem to once a second.
45376
45377 2011-06-21  Andreas Jaeger  <aj@suse.de>
45378
45379         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45380         NULL after inclusion of kernel headers.
45381
45382 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45383
45384         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45385         calls to internal_setent.
45386
45387         [BZ #12885]
45388         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45389         addresses using gethostbyname4_r ignore IPv4 addresses.
45390
45391         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45392         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45393
45394         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45395
45396 2011-06-20  David S. Miller  <davem@davemloft.net>
45397
45398         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45399         inclusions.
45400         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45401
45402         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45403         (elf_irel): Use it.
45404         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45405         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45406         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45407         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45408         * sysdeps/x86_64/dl-irel.h: Likewise.
45409
45410         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45411         * elf/dl-sym.c: Likewise.
45412
45413 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45414
45415         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45416         need to dereference resplen2.
45417
45418 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45419
45420         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45421
45422 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45423
45424         * Makeconfig: Define vardbdir and inst_vardbdir.
45425         * nss/Makefile: Add rules to install db-Makefile.
45426
45427         * nss/nss_db/db-XXX.c: Cleanup.
45428
45429         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45430         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45431         GLIBC_PRIVATE.
45432         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45433         * nss/makedb.c: Implement -g option to specify that value strings
45434         are generated and should not be added to table iterated over for
45435         get*ent calls.
45436         * nss/nss_db/db-initgroups.c: New file.
45437
45438         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45439         interface.
45440
45441         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45442         (internal_getgrouplist): Adjust to name change.
45443         Update use_initgroups_entry if this is not the first call.
45444         * nss/databases.def: Add initgroups entry.
45445
45446         * nss/makedb.c (compute_tables): Check result of multiple hash table
45447         sizes to minimize maximum chain length.
45448
45449 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45450
45451         * Versions.def: Add entry for libnss_db.
45452         * shlib-versions: Likewise.
45453         * nss/Makefile: Add rules to build libnss_db.
45454         * nss/Versions: Add libnss_db information.  Organize libnss_files
45455         entries better.
45456         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45457         makedb progra.  Some minor improvements to generate smaller files.
45458         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45459         here from...
45460         * nss/makedb.c: ...here.
45461         Improve database format to be smaller and require less memory at
45462         runtime.
45463         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45464         db anymore.
45465         * nss/nss_db/db-netgrp.c: Likewise.
45466         * nss/nss_db/db-open.c: Likewise.
45467         * nss/nss_files/flies-XXX.x: Adjust comments.
45468         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45469         * nss/nss_files/files-grp.c: Likewise.
45470         * nss/nss_files/files-hosts.c: Likewise.
45471         * nss/nss_files/files-network.c: Likewise.
45472         * nss/nss_files/files-proto.c: Likewise.
45473         * nss/nss_files/files-pwd.c: Likewise.
45474         * nss/nss_files/files-rpc.c: Likewise.
45475         * nss/nss_files/files-service.c: Likewise.
45476         * nss/nss_files/files-sgrp.c: Likewise.
45477         * nss/nss_files/files-spwd.c: Likewise.
45478         * nss/nss_db/db-alias.c: Removed.
45479         * nss/nss_db/dummy-db.h: Removed.
45480
45481 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45482
45483         * nss/makedb.c: Rewritten to not use database library.
45484         * nss/Makefile: Update to build new makedb program.
45485
45486 2011-06-14  Andreas Jaeger  <aj@suse.de>
45487
45488         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45489         memset declaration.
45490
45491 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45492
45493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45494         tmpbuf.
45495
45496 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45497
45498         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45499         * elf/Makefile ($(objpfx)ld.so): Likewise.
45500
45501         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45502         Don't list ld.so twice in dependencies.
45503
45504         * posix/bug-regex31.c: Include <stdlib.h>.
45505
45506         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45507
45508         * nis/nss_compat/compat-spwd.c
45509         (getspent_next_nss_netgr): Remove unused variable.
45510         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45511
45512         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45513         nonmembers" output to use the right array.
45514
45515         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45516
45517         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45518
45519         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45520         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45521         * catgets/gencat.c (read_input_file): Likewise.
45522         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45523
45524         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45525         variable definition inside #if's controlling its use.
45526
45527         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45528
45529         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45530
45531         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45532
45533         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45534         unreachable code.
45535
45536         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45537
45538         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45539         * configure: Regenerated.
45540
45541         * Makerules: Revert last change.
45542         * elf/Makefile: Likewise.
45543
45544 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45545
45546         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45547         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45548         (reloc-link): Likewise.
45549
45550 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45551
45552         * elf/Makefile: Add rules to build pldd.
45553         * elf/pldd.c: New file.
45554         * elf/pldd-xx.c: New file.
45555
45556 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45557
45558         * version.h: Update for 2.15 development version.
45559
45560 2011-06-07  David S. Miller  <davem@davemloft.net>
45561
45562         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45563         ifuncs.
45564         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45565         elf_machine_lazy_rel): Likewise.
45566         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45567         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45568         elf_machine_lazy_rel): Likewise.
45569         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45570         dl_hwcap via passed in argument.
45571         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45572         Likewise.
45573
45574 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45575
45576         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45577
45578 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45579
45580         [BZ #12849]
45581         * manual/fdl-1.1.texi: New file, verbatim from:
45582         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45583         * manual/lgpl-2.1.texi: New file, verbatim from:
45584         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45585         * manual/Makefile (licenses): New variable, list those new file names.
45586         (texis): Use it.
45587         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45588
45589         * manual/fdl.texi: File removed.
45590         * manual/lesser.texi: File removed.
45591         * manual/libc.texinfo (Copying, Documentation License):
45592         Use new @include file names, put @appendix directive before @include.
45593
45594 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45595
45596         [BZ #12841]
45597         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45598         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45599         (mq_open): Add __NTH.
45600
45601 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45602
45603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45604         Assume Intel Core i3/i5/i7 processor if AVX is available.
45605
45606 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45607
45608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45609         typo.
45610
45611 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45612
45613         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45614         memory.  Use alloca_account.  Fix memory leak when retrying.
45615
45616 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45617
45618         * version.h (RELEASE): Bump for 2.14 release.
45619         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45620
45621         * config.make.in (RANLIB): Remove entry.
45622
45623 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45624
45625         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45626         (libc.pot): Work around missing support for .ksh extension in xgettext.
45627
45628         [BZ #12684]
45629         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45630         if both request failed.
45631         (send_dg): In case of server errors clear resplen or *resplen2.
45632
45633         [BZ #12454]
45634         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45635         when there are multiple maps.
45636         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45637         (_dl_fini): Remove test here.
45638
45639         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45640
45641 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45642
45643         [BZ #12350]
45644         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45645         bit from old_res_options.
45646         (gaih_inet): Likewise.
45647
45648         [BZ #11099]
45649         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45650         as signed.
45651
45652         * resolv/res_init.c (res_setoptions): Make the code more compact.
45653
45654         [BZ #11558]
45655         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45656         set RES_USEVC.
45657
45658         [BZ #11634]
45659         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45660
45661         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45662
45663         [BZ #11781]
45664         * malloc/malloc.h: Declare malloc hook variables as volatile.
45665
45666         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45667         in last patch.
45668
45669         [BZ #11799]
45670         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45671         raise in the comment.
45672         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45673         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45674         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45675
45676 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45677
45678         [BZ #12811]
45679         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45680         grow the buffers more if it already has to be sufficient.
45681         (build_wcs_upper_buffer): Likewise.
45682         * posix/regexec.c (check_matching): Likewise.
45683         (clean_state_log_if_needed): Likewise.
45684         (extend_buffers): Don't enlarge buffers beyond size of the input
45685         buffer.
45686         Patches mostly by Emil Wojak <emil@wojak.eu>.
45687         * posix/bug-regex32.c: New file.
45688         * posix/Makefile (tests): Add bug-regex32.
45689
45690         * locale/findlocale.c (_nl_find_locale): Return right away if
45691         _nl_explode_name failed.
45692         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45693
45694         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45695
45696         * debug/xtrace.sh: Unify messages.
45697         * malloc/memusage.sh: Likewise.
45698
45699         [BZ #12813]
45700         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45701         time symbol from vDSO.  Substitute with vsyscall if not available.
45702         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45703         __vdso_time.
45704
45705         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45706         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45707         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45708         Add sendmmsg and internal_sendmmsg.
45709         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45710         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45711         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45712
45713         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45714         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45715         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45716
45717 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45718
45719         [BZ #12813]
45720         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45721         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45722         available.
45723         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45724         __vdso_getcpu.
45725
45726         [BZ #12814]
45727         * iconvdata/Makefile (tests): Add bug-iconv9.
45728         * iconvdata/bug-iconv9.c: New file.
45729
45730 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45731
45732         [BZ #12814]
45733         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45734
45735 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45736
45737         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45738         (struct user_regs_struct): Change intcs field back to cs.
45739
45740 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45741
45742         * po/ja.po: Update from translation team.
45743
45744 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45745
45746         [BZ #12795]
45747         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45748         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45749
45750 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45751
45752         * stdlib/longlong.h: Update from GCC.
45753
45754 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45755
45756         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45757         parameter name.
45758         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45759         Add parameter name.
45760         (__sysconf): Pass it down.
45761
45762 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45763
45764         [BZ #12671]
45765         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45766         some situations.
45767         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45768         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45769         add in in __libc_use_alloca calls.  Adjust callers.
45770         (glob): Use malloc in some situations.
45771
45772         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45773         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45774         pltexit.
45775
45776 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45777
45778         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45779         and CLOCK_BOOTTIME_ALARM.
45780
45781         [BZ #12782]
45782         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45783         is returned.
45784
45785         * string/_strerror.c (__strerror_r): Print negative errors as signed
45786         numbers.
45787
45788         [BZ #12777]
45789         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45790         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45791         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45792
45793         * configure.in: Fix typo in redirection and correct removal of test
45794         files in two cases.
45795
45796         [BZ #12788]
45797         * locale/setlocale.c (new_composite_name): Fix test to check for
45798         identical name of all categories.
45799
45800         [BZ #12792]
45801         * libio/filedoalloc.c (local_isatty): New function.
45802         (_IO_file_doallocate): Use local_isatty.
45803         * stdio-common/perror.c (perror): In case a new stream is used
45804         forward the stream error.
45805         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45806         error flag.
45807
45808 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45809
45810         [BZ #11869]
45811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45812         alloca.
45813         * include/alloca.h (extend_alloca_account): Define.
45814
45815         [BZ #11857]
45816         * posix/regex.h: Fix comments with documentation of user-accessible
45817         fields after compilation and describe correct free'ing of pattern
45818         after re_compile_pattern.
45819         Patch by Reuben Thomas <rrt@sc3d.org>.
45820
45821 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45822
45823         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45824         and -mno-altivec to prevent the compiler from using Altivec and/or
45825         VSX instructions when the corresponding registers are not available.
45826
45827 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45828
45829         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45830
45831 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45832
45833         * libio/freopen.c (freopen): Use __dup2, not dup2.
45834         * libio/freopen64.c (freopen64): Likewise.
45835
45836 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45837
45838         [BZ #12775]
45839         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45840         * math/Makefile (tests): Add test-powl.
45841         (CFLAGS-test-powl.c): Define.
45842         * math/test-powl.c: New file.
45843
45844 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45845
45846         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45847
45848 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45849
45850         [BZ #11837]
45851         * iconvdata/gb18030.c: Update to GB18020-2005.
45852
45853 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45854
45855         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45856         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45857         Patch by Aharon Robbins <arnold@skeeve.com>.
45858
45859         [BZ #11892]
45860         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45861         on the stack.
45862
45863         [BZ #11895]
45864         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45865         through underflows.
45866
45867         [BZ #12766]
45868         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45869         point to strings before performing equality test for error_one_per_line
45870         mode.
45871
45872         [BZ #11697]
45873         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45874
45875         [BZ #11820]
45876         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45877         (struct user_fpregs_struct): Avoid __uint*_t types.
45878
45879         [BZ #6420]
45880         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45881         symbol info.  Use it instead of calling _dl_addr locally.
45882         (lock_and_info): New function.
45883         (tr_freehook): Call lock_and_info and pass symbol info as additional
45884         parameter to tr_where.
45885         (tr_mallochook): Likewise.
45886         (tr_reallochook): Likewise.
45887         (tr_memalignhook): Likewise.
45888
45889         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45890         used and couldn't be at all thread-safe.
45891
45892 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45893
45894         * libio/freopen.c (freopen): Don't close old file descriptor
45895         before the new one is opened.  Instead dup the new file descriptor
45896         to the old one after the new stream is created.
45897         * libio/freopen64.c (freopen64): Likewise.
45898         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45899         * libio/fileops.c (_IO_new_file_close_it): Handle new
45900         _IO_FLAGS2_NOCLOSE flag.
45901         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45902         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45903         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45904         _IO_FLAGS2_NOCLOSE flag.
45905         * include/unistd.h: Add hidden_proto for dup3.
45906         Define __have_dup3.
45907         * io/dup3.c: Define hidden symbol.
45908         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45909
45910         [BZ #7101]
45911         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45912         when an incomplete long option is used.
45913         * posix/tst-getopt_long1.c: New file.
45914         * posix/Makefile (tests): Add tst-getopt_long1.
45915
45916         [BZ #10138]
45917         * scripts/config.guess: Update from autoconf-2.68.
45918         * scripts/config.sub: Likewise.
45919
45920         [BZ #10157]
45921         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45922         tests into ...
45923         (has_cpuclock): ...this.  New function.
45924         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45925         macro here based on has_cpuclock code.
45926
45927         [BZ #10149]
45928         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45929         First byte (not low byte) is now always NUL.
45930         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45931
45932         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45933         Use non-cancelable interfaces.
45934
45935         [BZ #9809]
45936         * locale/iso-639.def: Add entry for Sorani.
45937
45938         [BZ #11901]
45939         * include/stdlib.h: Move include protection to the right place.
45940         Define abort_msg_s.  Declare __abort_msg with it.
45941         * stdlib/abort.c (__abort_msg): Adjust type.
45942         * assert/assert.c (__assert_fail_base): New function.  Majority
45943         of code from __assert_fail.  Allocate memory for __abort_msg with
45944         mmap.
45945         (__assert_fail): Now call __assert_fail_base.
45946         * assert/assert-perr.c: Remove bulk of implementation.  Use
45947         __assert_fail_base.
45948         * include/assert.hL Declare __assert_fail_base.
45949         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45950         mmap.
45951         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45952
45953 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45954
45955         [BZ #11952]
45956         [BZ #12453]
45957         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45958         until all modules are registered in the DTV.
45959         * elf/Makefile: Add rules to build and run tst-tls19.
45960         * elf/tst-tls19.c: New file.
45961         * elf/tst-tls19mod1.c: New file.
45962         * elf/tst-tls19mod2.c: New file.
45963         * elf/tst-tls19mod3.c: New file.
45964         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45965
45966         [BZ #12083]
45967         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45968         correctly.
45969
45970         [BZ #12601]
45971         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45972         two-byte sequence errors.
45973         * iconvdata/Makefile (tests): Add bug-iconv8.
45974         * iconvdata/bug-iconv8.c: New file.
45975
45976         [BZ #12626]
45977         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45978         buf2 definition.
45979
45980         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45981
45982         [BZ #12432]
45983         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45984         (dummy_getcfa): New function.
45985         (init): Get _Unwind_GetCFA address, use dummy if not found.
45986         (backtrace_helper): In recursion check, also check whether CFA changes.
45987         (__backtrace): Completely initialize arg.
45988
45989         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45990         storing incomplete byte sequence in state object.  Avoid testing for
45991         guaranteed too small input if we know there is enough data available.
45992
45993 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45994
45995         * Makeconfig (+link-pie): Indent.
45996         * Rules (binaries-pie): Define if $(have-fpie) and
45997         $(build-shared).
45998         (binaries-shared): Also filter out $(binaries-pie).
45999         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46000         * nscd/Makefile (others-pie): Add nscd.
46001         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46002         ($(objpfx)nscd): Remove command override.
46003         * login/Makefile (others-pie): Add pt_chown.
46004         ($(objpfx)pt_chown): Remove command override.
46005         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46006         remove command overrides.
46007
46008 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46009
46010         * libio/tst_putwc.c: Fix error messages.
46011
46012         [BZ #12724]
46013         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46014         currently writing and seek to current position when not.
46015         * libio/Makefile (tests): Add bug-fclose1.
46016         * libio/bug-fclose1.c: New file.
46017
46018 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46019
46020         [BZ #12511]
46021         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46022         don't set DF_1_NODELETE here.
46023         (do_lookup_x): When entering new entry test for copy relocation
46024         and if necessary set DF_1_NODELETE flag.
46025         * elf/tst-unique4.cc: New file.
46026         * elf/tst-unique4.h: New file.
46027         * elf/tst-unique4lib.cc: New file.
46028         * elf/Makefile: Add rules to build and run tst-unique4.
46029         Patch by Piotr Bury <pbury@goahead.com>.
46030
46031 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46032
46033         [BZ #12052]
46034         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46035
46036         [BZ #12625]
46037         * misc/mntent_r.c (addmntent): Flush the stream after the output
46038
46039         [BZ #12393]
46040         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46041         (is_trusted_path_normalize): Skip initial colon.  Append slash
46042         to empty buffer.  Duplicate is_trusted_path code but allow
46043         constructed patch to be prefix.
46044         (is_dst): Allow $ORIGIN followed by /.
46045         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46046         Correct testing of result of is_trusted_path_normalize
46047         (decompose_rpath): Fix warning.
46048
46049 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46050
46051         [BZ #11257]
46052         * grp/initgroups.c (internal_getgrouplist): When we found the service
46053         list through the initgroups entry in nsswitch.conf do not always
46054         continue on a successful lookup.  Don't always use the
46055         __nss_group_database value if it is set.
46056         * nss/nsswitch.conf (initgroups): Change action for successful db
46057         lookup to continue for compatibility.
46058
46059 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46060
46061         [BZ #11532]
46062         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46063         and CP774 modules.
46064         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46065         and CP774 modules.
46066         * iconvdata/tst-tables.sh: Likewise.
46067         * iconvdata/cp770.c: New file.
46068         * iconvdata/cp771.c: New file.
46069         * iconvdata/cp772.c: New file.
46070         * iconvdata/cp773.c: New file.
46071         * iconvdata/cp774.c: New file.
46072         * iconvdata/testdata/CP770: New file.
46073         * iconvdata/testdata/CP770..UTF8: New file.
46074         * iconvdata/testdata/CP771: New file.
46075         * iconvdata/testdata/CP771..UTF8: New file.
46076         * iconvdata/testdata/CP772: New file.
46077         * iconvdata/testdata/CP772..UTF8: New file.
46078         * iconvdata/testdata/CP773: New file.
46079         * iconvdata/testdata/CP773..UTF8: New file.
46080         * iconvdata/testdata/CP774: New file.
46081         * iconvdata/testdata/CP774..UTF8: New file.
46082
46083         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46084         END CHARMAP line.
46085         * iconvdata/gen-8bit-gap.sh: Likewise.
46086         * iconvdata/gen-8bit.sh: Likewise.
46087
46088         * locale/iso-639.def: Add ary entry.
46089
46090         [BZ #11258]
46091         * locale/C-translit.h.in: Add U20A1 transliteration.
46092
46093         [BZ #12178]
46094         * locale/iso-639.def: Add wae entry.
46095         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46096
46097         [BZ #12545]
46098         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46099         for n.
46100
46101         [BZ #12711]
46102         * locale/C-translit.h.in: Add entry for U20B9.
46103         Patch by pravin.d.s@gmail.com.
46104
46105 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46106
46107         [BZ #12713]
46108         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46109         ENAMETOOLONG use generic getcwd.
46110         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46111         in rtld.  Use *stat64.
46112         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46113         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46114         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46115         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46116         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46117         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46118         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46119         __fstatat64 macros.
46120         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46121         * dirent/rewinddir.c: Add libc_hidden_def.
46122         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46123         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46124
46125         * include/dirent.h (__alloc_dir): Add flags parameter.
46126         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46127         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46128         __alloc_dir.
46129         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46130         from fdopendir if O_CLOEXEC is already set.
46131
46132 2011-03-15  Alan Modra  <amodra@gmail.com>
46133
46134         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46135         l_tls_firstbyte_offset non-zero.  Save padding offset in
46136         l_tls_firstbyte_offset for later use.
46137         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46138         freeing static tls block.
46139
46140 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46141
46142         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46143         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46144         being defined by the kernel headers.
46145
46146 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46147
46148         [BZ #12734]
46149         * resolv/resolv.h: Define RES_NOTLDQUERY.
46150         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46151         no-tld-query and set RES_NOTLDQUERY.
46152         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46153         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46154         modern BIND to search name as TLD unless forbidden.
46155
46156 2011-05-07  Petr Baudis  <pasky@suse.cz>
46157             Ulrich Drepper  <drepper@gmail.com>
46158
46159         [BZ #12393]
46160         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46161         (is_trusted_path): ...to here.
46162         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46163         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46164         using is_trusted_path_normalize() in setuid scripts.
46165
46166 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46167
46168         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46169         __BEGIN/__END_DECLS.
46170
46171 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46172
46173         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46174         NSS_STATUS_NOTFOUND if no record was found.
46175
46176 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46177
46178         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46179         (headers-not-in-tirpc): Remove rpc/netdb.h
46180         * resolv/netdb.h: Revert last change.
46181
46182 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46183
46184         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46185         circular dependency between libgcc.a and libc.a.
46186
46187 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46188
46189         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46190         * nis/Makefile: Don't install rpcsvc/*.
46191         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46192         instead of <rpc/types.h>.
46193         (MAXHOSTNAMELEN): Define.
46194
46195 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46196
46197         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46198
46199 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46200
46201         [BZ #12714]
46202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46203         gethostbyname4_r when IPv6 results are possible.
46204
46205 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46206
46207         [BZ #12723]
46208         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46209         _PC_PIPE_BUF handling.
46210
46211 2011-04-30  Bruno Haible  <bruno@clisp.org>
46212
46213         [BZ #12717]
46214         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46215         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46216         to 'int'.
46217         * inet/getnameinfo.c (getnameinfo): Likewise.
46218
46219 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46220
46221         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46222         to groups setting in database lookup.
46223         * nss/nsswitch.conf: Add initgroups entry.
46224
46225 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46226
46227         [BZ #12685]
46228         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46229         mode string.
46230         Patch by Eric Blake <eblake@redhat.com>.
46231
46232 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46233
46234         * sunrpc/Makefile (need-export-routines): Add svc_run.
46235         (routines): Remove svc_run.
46236         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46237         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46238         * sunrpc/svc_run.c (svc_run): Likewise.
46239         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46240
46241 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46242
46243         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46244         problem in reallocation in last patch.
46245
46246 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46247
46248         * sunrpc/Makefile: Move inclusion of Rules.
46249
46250 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46251
46252         * nss/nss_files/files-initgroups.c: New file.
46253         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46254         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46255         _nss_files_initgroups_dyn.
46256
46257 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46258
46259         * elf/elf.h (R_ARM_IRELATIVE): Define.
46260
46261 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46262
46263         * po/ru.po: Update from translation team.
46264
46265 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46266
46267         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46268         dependencies.
46269
46270 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46271
46272         [BZ #12653]
46273         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46274         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46275         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46276         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46277         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46278
46279 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46280
46281         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46282         differing bytes.
46283         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46284         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46286
46287 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46288
46289         [BZ #12420]
46290         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46291         storing it.
46292         * stdlib/bug-getcontext.c: New file.
46293         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46294
46295 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46296
46297         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46298         instructions into .machine "z9-109".
46299         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46300         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46301
46302 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46303
46304         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46305         between environment variables and auxiliary vector.
46306
46307 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46308
46309         * Makefile: Add rules to build linkobj/libc.so.
46310         * include/libc-symbols.h: Define libc_hidden_nolink.
46311         * include/rpc/auth.h: Mark functions which are to be hidden.
46312         * include/rpc/auth_des.h: Likewise.
46313         * include/rpc/auth_unix.h: Likewise.
46314         * include/rpc/clnt.h: Likewise.
46315         * include/rpc/des_crypt.h: Likewise.
46316         * include/rpc/key_prot.h: Likewise.
46317         * include/rpc/pmap_clnt.h: Likewise.
46318         * include/rpc/pmap_prot.h: Likewise.
46319         * include/rpc/pmap_rmt.h: Likewise.
46320         * include/rpc/rpc_msg.h: Likewise.
46321         * include/rpc/svc.h: Likewise.
46322         * include/rpc/svc_auth.h: Likewise.
46323         * include/rpc/xdr.h: Likewise.
46324         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46325         * nss/Makefile: Likewise.
46326         * sunrpc/Makefile: Don't install headers.  Build library with normal
46327         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46328         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46329         for the compat linking library.  Remove use of INTDEF/INTUSE.
46330         * sunrpc/auth_none.c: Likewise.
46331         * sunrpc/auth_unix.c: Likewise.
46332         * sunrpc/authdes_prot.c: Likewise.
46333         * sunrpc/authuxprot.c: Likewise.
46334         * sunrpc/clnt_gen.c: Likewise.
46335         * sunrpc/clnt_perr.c: Likewise.
46336         * sunrpc/clnt_raw.c: Likewise.
46337         * sunrpc/clnt_simp.c: Likewise.
46338         * sunrpc/clnt_tcp.c: Likewise.
46339         * sunrpc/clnt_udp.c: Likewise.
46340         * sunrpc/clnt_unix.c: Likewise.
46341         * sunrpc/des_crypt.c: Likewise.
46342         * sunrpc/des_soft.c: Likewise.
46343         * sunrpc/get_myaddr.c: Likewise.
46344         * sunrpc/key_call.c: Likewise.
46345         * sunrpc/key_prot.c: Likewise.
46346         * sunrpc/netname.c: Likewise.
46347         * sunrpc/pm_getmaps.c: Likewise.
46348         * sunrpc/pm_getport.c: Likewise.
46349         * sunrpc/pmap_clnt.c: Likewise.
46350         * sunrpc/pmap_prot.c: Likewise.
46351         * sunrpc/pmap_prot2.c: Likewise.
46352         * sunrpc/pmap_rmt.c: Likewise.
46353         * sunrpc/publickey.c: Likewise.
46354         * sunrpc/rpc_cmsg.c: Likewise.
46355         * sunrpc/rpc_common.c: Likewise.
46356         * sunrpc/rpc_dtable.c: Likewise.
46357         * sunrpc/rpc_prot.c: Likewise.
46358         * sunrpc/rpc_thread.c: Likewise.
46359         * sunrpc/rtime.c: Likewise.
46360         * sunrpc/svc.c: Likewise.
46361         * sunrpc/svc_auth.c: Likewise.
46362         * sunrpc/svc_authux.c: Likewise.
46363         * sunrpc/svc_raw.c: Likewise.
46364         * sunrpc/svc_run.c: Likewise.
46365         * sunrpc/svc_simple.c: Likewise.
46366         * sunrpc/svc_tcp.c: Likewise.
46367         * sunrpc/svc_udp.c: Likewise.
46368         * sunrpc/svc_unix.c: Likewise.
46369         * sunrpc/svcauth_des.c: Likewise.
46370         * sunrpc/xcrypt.c: Likewise.
46371         * sunrpc/xdr.c: Likewise.
46372         * sunrpc/xdr_array.c: Likewise.
46373         * sunrpc/xdr_float.c: Likewise.
46374         * sunrpc/xdr_intXX_t.c: Likewise.
46375         * sunrpc/xdr_mem.c: Likewise.
46376         * sunrpc/xdr_rec.c: Likewise.
46377         * sunrpc/xdr_ref.c: Likewise.
46378         * sunrpc/xdr_sizeof.c: Likewise.
46379         * sunrpc/xdr_stdio.c: Likewise.
46380
46381 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46382
46383         [BZ #12650]
46384         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46385         * sysdeps/ia64/dl-tls.h: Likewise.
46386         * sysdeps/powerpc/dl-tls.h: Likewise.
46387         * sysdeps/s390/dl-tls.h: Likewise.
46388         * sysdeps/sh/dl-tls.h: Likewise.
46389         * sysdeps/sparc/dl-tls.h: Likewise.
46390         * sysdeps/x86_64/dl-tls.h: Likewise.
46391         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46392
46393 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46394
46395         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46396         rpath element also skip the following colon.
46397         (expand_dynamic_string_token): Add is_path parameter and pass
46398         down to DL_DST_REQUIRED and _dl_dst_substitute.
46399         (decompose_rpath): Call expand_dynamic_string_token with
46400         non-zero is_path.  Ignore empty rpaths.
46401         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46402         with zero is_path.
46403
46404 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46405
46406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46407         Make cancelable.
46408
46409 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46410
46411         [BZ #12655]
46412         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46413         Patch by Filipe David Manana <fdmanana@apache.org>.
46414
46415 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46416
46417         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46418         Maintain aligned stack.
46419         (CHECK_RSP): Remove unused macro.
46420
46421 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46422
46423         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46424         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46425
46426 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46427
46428         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46429
46430         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46431
46432 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46433
46434         [BZ #12518]
46435         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46436         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46437         * sysdeps/x86_64/memmove.c: New file.
46438         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46439         (memcpy): Renamed to ...
46440         (__new_memcpy): This.
46441         (memcpy): Provide GLIBC_2_14 memcpy.
46442         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46443         (memcpy): Provide GLIBC_2_2_5 memcpy.
46444
46445 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46446
46447         [BZ #12631]
46448         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46449
46450 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46451
46452         * misc/syncfs.c: New file.
46453         * misc/Makefile (routines): Add syncfs.
46454         * posix/unistd.h: Declare syncfs.
46455         * sysdeps/unix/syscalls.list: Add syncfs.
46456
46457 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46458
46459         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46460         open_by_handle_at.
46461         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46464         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46466         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46468
46469 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46470
46471         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46472         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46473         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46475         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46477         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46478
46479         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46480         sync_file_range.c with -fexceptions.
46481         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46482         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46483         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46484         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46485         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46486         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46487         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46488         sync_file_range as cancellation point
46489         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46490         now a wrapper around __call_sync_file_range with cancellation handling.
46491         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46492         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46493         function name to __call_sync_file_range.
46494         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46495         Add call_sync_file_range.
46496
46497 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46498
46499         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46500         bits/timex.h.
46501
46502 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46503
46504         * iconv/iconv.h: Fix typo in comment.
46505         * io/fcntl.h: Likewise.
46506         * libio/stdio.h: Likewise.
46507         * posix/spawn.h: Likewise.
46508         * posix/unistd.h: Likewise.
46509         * stdlib/stdlib.h: Likewise.
46510         * time/time.h: Likewise.
46511         * wcsmbs/wchar.h: Likewise.
46512
46513         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46514         open_by_handle): Add.
46515         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46516         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46517         Augment a few comments.
46518         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46519         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46520         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46521         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46522         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46523         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46524         open_by_handle.
46525
46526         * io/fcntl.h (AT_EMPTY_PATH): Define.
46527
46528 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46529
46530         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46531         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46532         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46533         to...
46534         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46535         * Versions.def: Add GLIBC_2.14.
46536         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46537         Export.
46538
46539 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46540
46541         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46542         round counter.
46543         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46544
46545 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46546
46547         [BZ #12597]
46548         * string/test-strncmp.c (do_page_test): New function.
46549         (check2): Likewise.
46550         (test_main): Call check2.
46551         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46552
46553 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46554
46555         [BZ #12587]
46556         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46557         Handle cache information in CPU leaf 4.
46558         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46559
46560 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46561
46562         [BZ #12583]
46563         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46564         character representation.
46565         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46566
46567 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46568
46569         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46570         END(__isnan) to END(__isnanf) to match function entry point/label
46571         EALIGN(__isnanf,...).
46572
46573 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46574
46575         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46576
46577 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46578
46579         [BZ #12510]
46580         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46581         copy from the symbol referenced in the relocation to initialize the
46582         used variable.
46583         Patch by Piotr Bury <pbury@goahead.com>.
46584         * elf/Makefile: Add rules to build and tst-unique3.
46585         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46586         * elf/tst-unique3.cc: New file.
46587         * elf/tst-unique3.h: New file.
46588         * elf/tst-unique3lib.cc: New file.
46589         * elf/tst-unique3lib2.cc: New file.
46590
46591         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46592
46593 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46594
46595         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46596         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46597         to _start.
46598
46599 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46600
46601         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46602         to-be-loaded object along a path to loader is ld.so.
46603
46604 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46605             Ulrich Drepper  <drepper@gmail.com>
46606
46607         * sysdeps/x86_64/memset.S: After aligning destination, code
46608         branches to different locations depending on the value of
46609         misalignment, when multiarch is enabled. Fix this.
46610
46611 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46612
46613         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46614         Set _x86_64_preferred_memory_instruction for AMD processsors.
46615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46616         Set bit_Prefer_SSE_for_memop for AMD processors.
46617
46618 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46619
46620         * libio/fmemopen.c (fmemopen): Optimize a bit.
46621
46622 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46623
46624         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46625
46626 2011-03-03  Roland McGrath  <roland@redhat.com>
46627
46628         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46629
46630 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46631
46632         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46633         __bzero_ultra1 instead of __memset_ultra1.
46634
46635 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46636             Ulrich Drepper  <drepper@gmail.com>
46637
46638         [BZ #12509]
46639         * include/link.h (struct link_map): Add l_orig_initfini.
46640         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46641         returning unsuccessfully.
46642         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46643         close of a file loaded at startup, restore the original l_initfini
46644         list.
46645         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46646         list, store the pointer.
46647         * elf/Makefile ($(objpfx)noload-mem): New rule.
46648         (noload-ENV): Define.
46649         (tests): Add $(objpfx)noload-mem.
46650         * elf/noload.c: Include <memcheck.h>.
46651         (main): Call mtrace.  Close all opened handles.
46652
46653 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46654
46655         [BZ #12454]
46656         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46657         dependencies are missing.
46658
46659 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46660
46661         Fix __if_freereq crash: Unlike the generic version which uses free,
46662         Hurd needs munmap.
46663         * sysdeps/mach/hurd/ifreq.h: New file.
46664
46665 2011-01-27  Petr Baudis  <pasky@suse.cz>
46666             Ulrich Drepper  <drepper@gmail.com>
46667
46668         [BZ 12445]#
46669         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46670         to extend_alloca().
46671         * stdio-common/bug23.c: New file.
46672         * stdio-common/Makefile (tests): Add bug23.
46673
46674 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46675             Ulrich Drepper  <drepper@gmail.com>
46676
46677         [BZ #12489]
46678         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46679         before performing relro protection.  At old place add assertion
46680         to make sure nothing changed.
46681
46682 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46683             Glauber de Oliveira Costa  <glommer@gmail.com>
46684
46685         * elf/elf.h: Add new ARM TLS relocs.
46686
46687 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46688
46689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46690         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46691         cast from r3.
46692         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46693         'tests' variable.
46694         * sysdeps/wordsize-64/tst-writev.c: New file.
46695
46696 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46697
46698         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46699         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46700         insns in _dl_start to prevent a TOC reference before relocs are
46701         resolved.
46702
46703 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46704
46705         [BZ #12469]
46706         * Makeconfig: Remove RANLIB definition.
46707         * Makerules: Don't use RANLIB.
46708         * aclocal.m4: Remove ranlib test.
46709         * configure.in: No need to check for ranlib.
46710         * elf/rtld-Rules: Don't use RANLIB.
46711
46712 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46713
46714         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46715         protection macro.
46716         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46717         inclusion protection macro.
46718
46719         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46720         SIGRTMIN and SIGRTMAX and print information in that case only when
46721         SIGRTMIN is defined.
46722
46723 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46724
46725         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46726         arginfo fn returning -1.
46727
46728         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46729         and thousands string is zero terminated.
46730
46731 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46732
46733         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46734         sysdeps/unix/sysv/linux/bits/socket.h.
46735
46736 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46737
46738         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46739         (__CPU_COUNT): Remove old macros.
46740         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46741         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46742         (__CPU_ALLOC, __CPU_FREE): Add macros.
46743         (__sched_cpualloc, __sched_cpufree): Add declarations.
46744
46745 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46746
46747         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46748         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46749         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46750         (readdhstai): Return value of addhstaiX call.
46751         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46752         (addgrbyX): Return value returned by cache_addgr.
46753         (readdgrbyname): Return value returned by addgrbyX.
46754         (readdgrbygid): Likewise.
46755         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46756         (addpwbyX): Return value returned by cache_addpw.
46757         (readdpwbyname): Return value returned by addhstbyX.
46758         (readdpwbyuid): Likewise.
46759         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46760         (addservbyX): Return value returned by cache_addserv.
46761         (readdservbyname): Return value returned by addservbyX:
46762         (readdservbyport): Likewise.
46763         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46764         (addhstbyX): Return value returned by cache_addhst.
46765         (readdhstbyname): Return value returned by addhstbyX.
46766         (readdhstbyaddr): Likewise.
46767         (readdhstbynamev6): Likewise.
46768         (readdhstbyaddrv6): Likewise.
46769         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46770         (readdinitgroups): Return value returned by addinitgroupsX.
46771         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46772         (prune_cache): Keep track of timeout value of re-added entries.
46773         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46774         * nscd/nscd.h: Adjust prototypes of readd* functions.
46775
46776 2011-02-04  Roland McGrath  <roland@redhat.com>
46777
46778         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46779         (nis_stats): Likewise.
46780         * nis/nis_modify.c (nis_modify): Likewise.
46781         * nis/nis_remove.c (nis_remove): Likewise.
46782         * nis/nis_add.c (nis_add): Likewise.
46783
46784         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46785
46786         * posix/fnmatch_loop.c: Add some consts.
46787
46788         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46789
46790 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46791
46792         [BZ #12460]
46793         * config.make.in (config-cflags-novzeroupper): Define.
46794         * configure.in: Substitute libc_cv_cc_novzeroupper.
46795         * elf/Makefile (AVX-CFLAGS): Define.
46796         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46797         (CFLAGS-tst-auditmod4a.c): Likewise.
46798         (CFLAGS-tst-auditmod4b.c): Likewise.
46799         (CFLAGS-tst-auditmod6b.c): Likewise.
46800         (CFLAGS-tst-auditmod6c.c): Likewise.
46801         (CFLAGS-tst-auditmod7b.c): Likewise.
46802         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46803
46804 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46805
46806         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46807         function to the callback.
46808         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46809
46810 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46811
46812         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46813         of errno.
46814
46815 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46816
46817         [BZ #11724]
46818         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46819         of constructors.
46820         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46821         of destructors.
46822         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46823
46824         [BZ #11724]
46825         * elf/Makefile: Add rules to build and run new test.
46826         * elf/tst-initorder.c: New file.
46827         * elf/tst-initorder.exp: New file.
46828         * elf/tst-initordera1.c: New file.
46829         * elf/tst-initordera2.c: New file.
46830         * elf/tst-initordera3.c: New file.
46831         * elf/tst-initordera4.c: New file.
46832         * elf/tst-initorderb1.c: New file.
46833         * elf/tst-initorderb2.c: New file.
46834         * elf/tst-order-a1.c: New file.
46835         * elf/tst-order-a2.c: New file.
46836         * elf/tst-order-a3.c: New file.
46837         * elf/tst-order-a4.c: New file.
46838         * elf/tst-order-b1.c: New file.
46839         * elf/tst-order-b2.c: New file.
46840         * elf/tst-order-main.c: New file.
46841         New test case by George Gensure <werkt0@gmail.com>.
46842
46843 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46844
46845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46846         decoding ACE if AI_CANONIDN.
46847
46848 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46849
46850         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46851
46852 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46853
46854         * version.h (RELEASE): Bump for 2.13 release.
46855         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46856
46857         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46858
46859         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46860         MADV_NOHUGEPAGE.
46861         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46862         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46863         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46864         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46866         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46867
46868         * posix/getconf.c: Update copyright year.
46869         * catgets/gencat.c: Likewise.
46870         * csu/version.c: Likewise.
46871         * debug/catchsegv.sh: Likewise.
46872         * debug/xtrace.sh: Likewise.
46873         * elf/ldconfig.c: Likewise.
46874         * elf/ldd.bash.in: Likewise.
46875         * elf/sprof.c (print_version): Likewise.
46876         * iconv/iconv_prog.c: Likewise.
46877         * iconv/iconvconfig.c: Likewise.
46878         * locale/programs/locale.c: Likewise.
46879         * locale/programs/localedef.c: Likewise.
46880         * malloc/memusage.sh: Likewise.
46881         * malloc/mtrace.pl: Likewise.
46882         * nscd/nscd.c (print_version): Likewise.
46883         * nss/getent.c: Likewise.
46884
46885         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46886         PF_CAIF, and PF_ALG.
46887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46888
46889 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46890
46891         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46892         (modules-names): Use them.
46893         (ifunc-test-modules, ifunc-pie-tests): Define.
46894         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46895         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46896         (test-extras): Likewise.
46897         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46898         $(compile-command.c).
46899         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46900         (all-built-dso): Define.
46901         (check-textrel.out, check-execstack.out): Depend on it.
46902
46903         * configure.in: Don't override --enable-multi-arch.
46904
46905 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46906
46907         [BZ #6812]
46908         * nscd/hstcache.c (tryagain): Define.
46909         (cache_addhst): Return tryagain not notfound for temporary errors.
46910         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46911         failed.
46912
46913 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46914
46915         [BZ #10563]
46916         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46917         to make the syscall.
46918         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46919
46920         [BZ #12378]
46921         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46922         and fall back to matching as normal character if the string ends before
46923         the matching ']' is found.  This is what POSIX requires.
46924         * posix/testfnm.c: Adjust test result.
46925         * posix/globtest.sh: Adjust test result.  Add new test.
46926         * posix/tst-fnmatch.input: Likewise.
46927         * posix/tst-fnmatch2.c: Add new test.
46928
46929 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46930
46931         * elf/Makefile (check-execstack): Revert last change.  Depend on
46932         check-execstack.h.
46933         (check-execstack.h): New target.
46934         (generated): Add check-execstack.h.
46935         * elf/check-execstack.c: Include "check-execstack.h".
46936         (main): Revert last change.
46937         (handle_file): Return zero if GNU_STACK is absent and
46938         DEFAULT_STACK_PERMS doesn't include PF_X.
46939
46940 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46941
46942         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46943         in child fails because the descriptor is already closed.
46944         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46945         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46946         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46947
46948         [BZ #12397]
46949         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46950         syscall.
46951
46952         [BZ #10484]
46953         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46954         temporary buffer used to handle multi lookups locally.
46955         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46956
46957 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46958
46959         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46960         loader is ld.so.
46961
46962 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46963
46964         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46965         alignment for SSE2.
46966
46967 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46968
46969         [BZ #12394]
46970         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46971         characters.  When rounding increased number of integer digits recompute
46972         number of groups.
46973         * stdio-common/tst-grouping.c: New file.
46974         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46975
46976 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46977
46978         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46979         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46980
46981         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46982         void.
46983         * bits/select.h: Likewise.
46984
46985 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46986
46987         * po/ja.po: Update from translation team.
46988
46989 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46990
46991         [BZ #11155]
46992         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46993         implementation just like for lxstat, fxstatat, et al.
46994
46995 2010-12-27  Jim Meyering  <meyering@redhat.com>
46996
46997         [BZ #12348]
46998         * posix/regexec.c (build_trtable): Return failure indication upon
46999         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47000
47001 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47002
47003         [BZ #12201]
47004         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47005         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47006         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47007         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47008
47009         [BZ #12207]
47010         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47011
47012         [BZ #12204]
47013         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47014         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47015
47016 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47017
47018         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47019         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47020         script has SORT_BY_INIT_PRIORITY.
47021         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47022         NO_CTORS_DTORS_SECTIONS is defined.
47023         * elf/soinit.c: Likewise.
47024         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47025         NO_CTORS_DTORS_SECTIONS is defined.
47026         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47027         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47028         * sysdeps/sh/init-first.c: Likewise.
47029         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47030
47031 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47032
47033         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47034         always use the slow path.
47035
47036 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47037
47038         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47039         similar rule which adds the sysdep directories to the header search in
47040         order to pick up the correct platform stackinfo.h.
47041         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47042         perform test if it is, otherwise return successfully without testing.
47043         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47044         DEFAULT_STACK_PERMS define in stackinfo.h.
47045         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47046         defined in stackinfo.h.
47047         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47048         DEFAULT_STACK_PERMS defined in stackinfo.h.
47049         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47050         * sysdeps/ia64/stackinfo.h: Likewise.
47051         * sysdeps/s390/stackinfo.h: Likewise.
47052         * sysdeps/sh/stackinfo.h: Likewise.
47053         * sysdeps/sparc/stackinfo.h: Likewise.
47054         * sysdeps/x86_64/stackinfo.h: Likewise.
47055         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47056         PF_X for powerpc64.  Retain PF_X for powerpc32.
47057
47058 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47059
47060         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47061         accurately.
47062         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47063         GETDENTS_64BIT_ALIGNED.
47064
47065 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47066
47067         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47068
47069 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47070
47071         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47072         _GNU_SOURCE.
47073
47074         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47075         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47076         Remove __restrict.
47077         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47078         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47079
47080 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47081
47082         [BZ #11655]
47083         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47084         are initialized.
47085
47086 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47087
47088         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47089
47090 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47091
47092         * po/it.po: Update from translation team.
47093
47094 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47095
47096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47097         unused codes.
47098
47099 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47100
47101         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47102
47103 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47104
47105         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47106         specially.
47107         (gaih_getanswer_slice): Likewise.
47108
47109 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47110
47111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47112
47113 2010-05-31  Petr Baudis  <pasky@suse.cz>
47114
47115         [BZ #11149]
47116         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47117         silently even in the chroot mode.
47118
47119 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47120
47121         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47122         last patch a bit.  Pretty printing
47123
47124 2010-05-31  Petr Baudis <pasky@suse.cz>
47125
47126         [BZ #10085]
47127         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47128         initialization of skip_initgroups_dyn.
47129
47130 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47131
47132         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47133         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47134
47135 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47136
47137         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47138
47139 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47140
47141         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47142         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47143         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47144         ($(objpfx)tst-fnmatch-mem): New rule.
47145         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47146         * posix/tst-fnmatch.c (main): Call mtrace.
47147
47148 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47149
47150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47151         Support Intel processor model 6 and model 0x2c.
47152
47153 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47154
47155         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47156           signed comparison.
47157
47158 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47159
47160         [BZ #12205]
47161         * string/test-strncasecmp.c (check_result): New function.
47162         (do_one_test): Use it.
47163         (check1): New function.
47164         (test_main): Use it.
47165         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47166         Support strcasecmp and strncasecmp.
47167
47168 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47169
47170         [BZ #12194]
47171         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47172         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47173
47174 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47175
47176         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47177         IFUNC support.
47178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47179         memset-x86-64.
47180         * sysdeps/x86_64/multiarch/bzero.S: New file.
47181         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47182         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47183         * sysdeps/x86_64/multiarch/memset.S: New file.
47184         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47186         Set bit_Prefer_SSE_for_memop for Intel processors.
47187         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47188         Define.
47189         (index_Prefer_SSE_for_memop): Define.
47190         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47191
47192 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47193
47194         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47195         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47196
47197 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47198
47199         [BZ #12191]
47200         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47201         (__x86_64_raw_data_cache_size_half): Likewise.
47202         (__x86_64_raw_shared_cache_size): Likewise.
47203         (__x86_64_raw_shared_cache_size_half): Likewise.
47204
47205         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47206         (__x86_64_raw_data_cache_size_half): Likewise.
47207         (__x86_64_raw_shared_cache_size): Likewise.
47208         (__x86_64_raw_shared_cache_size_half): Likewise.
47209         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47210         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47211         and __x86_64_raw_shared_cache_size_half.  Round
47212         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47213         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47214         to multiple of 256 bytes.
47215
47216 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47217
47218         [BZ #12167]
47219         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47220         of inacessible symlinks.  Verify result of symlink before returning it.
47221         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47222         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47223
47224 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47225
47226         * math/math.h (isinf): Fix typo in comment.
47227
47228 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47229
47230         * po/da.po: Update from translation team.
47231
47232 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47233
47234         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47235         is added to the list.
47236
47237 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47238             Ulrich Drepper  <drepper@gmail.com>
47239
47240         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47241         the global list here.  Move code to...
47242         (_dl_add_to_namespace_list): ...here.  New function.
47243         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47244         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47245         * elf/dl-load.c (lose): Don't remove the element from the list.
47246         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47247         (_dl_map_object): Likewise.
47248
47249 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47250
47251         [BZ #12159]
47252         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47253         into all bytes of SSE register.
47254         Patch by Richard Li <richardpku@gmail.com>.
47255
47256 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47257
47258         [BZ #12140]
47259         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47260         perturbing.
47261
47262 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47263
47264         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47265         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47266         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47267         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47269         submachine.
47270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47271
47272 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47273
47274         * include/dlfcn.h (__RTLD_SECURE): Define.
47275         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47276         mode & __RTLD_SECURE instead.
47277         (open_path): Rename preloaded parameter to secure.
47278         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47279         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47280         * elf/dl-deps.c (openaux): Likewise.
47281         * elf/rtld.c (struct map_args): Remove is_preloaded.
47282         (map_doit): Don't use it.
47283         (dl_main): Likewise.
47284         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47285         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47286
47287 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47288
47289         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47290         (sysd-rules-targets): Remove duplicates.
47291         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47292         rtld-%.$o dependency.
47293
47294 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47295
47296         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47297         _dl_map_object do it.
47298
47299 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47300
47301         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47302         fast fma builtins, define the macros in the C99 standard.
47303         (FP_FAST_FMAF): Likewise.
47304         (FP_FAST_FMAL): Likewise.
47305         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47306
47307         * bits/mathdef.h: Update copyright year.
47308         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47309
47310 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47311
47312         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47313         builtins, define the macros in the C99 standard.
47314         (FP_FAST_FMAF): Likewise.
47315         (FP_FAST_FMAL): Likewise.
47316         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47317         multiply/add.
47318         (FP_FAST_FMAF): Likewise.
47319
47320 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47321
47322         [BZ #3268]
47323         * math/libm-test.inc (fma_test): Some new testcases.
47324         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47325         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47326         y and infinite z.  Do multiplication by C already in long double.
47327         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47329         y and infinite z.  Do bitwise or of inexact bit into u.d.
47330         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47331         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47332         * sysdeps/i386/fpu/s_fma.S: Removed.
47333         * sysdeps/i386/fpu/s_fmal.S: Removed.
47334
47335 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47336
47337         [BZ #3268]
47338         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47340         computation is not scheduled after fetestexcept.  Fix value
47341         of minimum denormal long double.
47342
47343 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47344
47345         [BZ #3268]
47346         * math/libm-test.inc (fma_test): Add some more tests.
47347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47348         correctly.
47349
47350 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47351
47352         * scripts/data/localplt-s390-linux-gnu.data: New file.
47353         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47354
47355 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47356
47357         [BZ #3268]
47358         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47359         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47360         instead of dbl-64.
47361         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47362         inlines.
47363         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47365         if one of x and y is very large and the other is subnormal.
47366         * sysdeps/s390/fpu/s_fmaf.c: New file.
47367         * sysdeps/s390/fpu/s_fma.c: New file.
47368         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47369         * sysdeps/powerpc/fpu/s_fma.S: New file.
47370         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47371         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47372         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47373
47374 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47375
47376         [BZ #3268]
47377         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47378         fma tests.
47379         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47380         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47381         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47382         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47383         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47384         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47385         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47386
47387 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47388
47389         [BZ #12078]
47390         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47391         * posix/bug-regex31.input: Add test case.
47392
47393 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47394
47395         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47396         * posix/bug-regex31.input: New file.
47397
47398         [BZ #12078]
47399         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47400         (parse_sub_exp): Fix last change, use postorder.
47401
47402         * posix/bug-regex31.c: New file.
47403         * posix/Makefile: Add rules to build and run bug-regex31.
47404
47405         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47406
47407         [BZ #12078]
47408         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47409
47410         [BZ #12108]
47411         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47412         to have entries in sys_siglist.
47413
47414         [BZ #12093]
47415         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47416         be NULL.
47417
47418 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47419
47420         [BZ #3268]
47421         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47422         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47423         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47424         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47425         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47426         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47427         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47428         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47429         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47430         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47431         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47432         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47433         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47434         * math/ftestexcept.c (fetestexcept): Likewise.
47435         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47436         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47437         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47438         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47439         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47440         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47441         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47442
47443 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47444
47445         [BZ #12107]
47446         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47447         newline.
47448
47449 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47450
47451         * string/bug-strstr1.c: New file.
47452         * string/Makefile: Add rules to build and run bug-strstr1.
47453
47454 2010-10-05  Eric Blake  <eblake@redhat.com>
47455
47456         [BZ #12092]
47457         * string/str-two-way.h (two_way_long_needle): Always clear memory
47458         when skipping input due to the shift table.
47459
47460 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47461
47462         [BZ #12005]
47463         * malloc/mcheck.c: Handle large requests.
47464
47465         [BZ #12077]
47466         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47467         for strncmp and strncasecmp.
47468         * string/stratcliff.c: Add tests for strcmp and strncmp.
47469         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47470
47471 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47472
47473         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47474         __set_fpscr.
47475
47476 2010-09-30  Andreas Jaeger  <aj@suse.de>
47477
47478         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47479         (CGROUP_SUPER_MAGIC): Define.
47480         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47481         Handle btrfs and cgroup file systems.
47482         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47483         Likewise.
47484
47485 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47486
47487         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47488         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47489
47490 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47491
47492         [BZ #12067]
47493         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47494         trying to locate the ELF header.
47495
47496 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47497
47498         [BZ #11611]
47499         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47500         Mask out sign-bit copies when constructing f_fsid.
47501
47502 2010-09-24  Petr Baudis <pasky@suse.cz>
47503
47504         * debug/stack_chk_fail_local.c: Add missing licence exception.
47505         * debug/warning-nop.c: Likewise.
47506
47507 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47508
47509         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47510         implementing getdents64 using getdents syscall, set d_type if
47511         __ASSUME_GETDENTS32_D_TYPE.
47512
47513 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47514
47515         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47516         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47517
47518 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47519
47520         [BZ #12037]
47521         * posix/unistd.h: Undo change of feature selection for ftruncate from
47522         2010-01-11.
47523
47524 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47525
47526         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47527         detection.
47528
47529 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47530
47531         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47532         fanotify_mark.
47533         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47534
47535 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47536
47537         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47538         variables after CHECK_SP call.
47539         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47540
47541 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47542             Ulrich Drepper  <drepper@redhat.com>
47543
47544         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47545         re-relocationg ld.so.
47546         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47547         _dl_init_paths call.
47548         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47549         here anymore.
47550
47551 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47552
47553         * resolv/res_init.c (__res_vinit): Count the default server we added.
47554
47555 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47556             Ulrich Drepper  <drepper@redhat.com>
47557
47558         [BZ #11968]
47559         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47560         (____longjmp_chk): Use %ebx for saving value across system call.
47561         Add unwind info.
47562
47563 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47564
47565         * manual/Makefile: Don't mix pattern rules with normal rules.
47566
47567 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47568
47569         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47570         operation.
47571         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47572         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47573         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47574         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47576         Likewise.
47577
47578 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47579
47580         [BZ #11979]
47581         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47582         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47583
47584 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47585
47586         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47587         * sysdeps/x86_64/addmul_1.S: Likewise.
47588         * sysdeps/x86_64/lshift.S: Likewise.
47589         * sysdeps/x86_64/mul_1.S: Likewise.
47590         * sysdeps/x86_64/rshift.S: Likewise.
47591         * sysdeps/x86_64/sub_n.S: Likewise.
47592         * sysdeps/x86_64/submul_1.S: Likewise.
47593
47594 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47595
47596         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47597         Define __sched_param instead of SCHED_* and sched_param when
47598         <bits/sched.h> is included with __need_schedparam defined.
47599         * bits/sched.h [__need_schedparam]
47600         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47601         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47602         (__defined_schedparam): Define to 1.
47603         (__sched_param): New structure, identical to sched_param.
47604         (__need_schedparam): Undefine.
47605
47606 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47607
47608         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47609         (epoll_create1): Declare.
47610
47611         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47612
47613 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47614
47615         [BZ #7066]
47616         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47617         shifting retval into place.
47618
47619 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47620
47621         * nis/rpcsvc/nis.h: Update copyright notice.
47622         * nis/rpcsvc/nis.x: Likewise.
47623         * nis/rpcsvc/nis_callback.h: Likewise.
47624         * nis/rpcsvc/nis_callback.x: Likewise.
47625         * nis/rpcsvc/nis_object.x: Likewise.
47626         * nis/rpcsvc/nis_tags.h: Likewise.
47627         * nis/rpcsvc/yp.h: Likewise.
47628         * nis/rpcsvc/yp.x: Likewise.
47629         * nis/rpcsvc/ypupd.h: Likewise.
47630         * nis/yp_xdr.c: Likewise.
47631         * nis/ypupdate_xdr.c: Likewise.
47632
47633         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47634         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47635         (pmap_getport): Use __libc_rpc_getport.
47636         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47637         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47638         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47639
47640 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47641
47642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47643         fanotify_mark.
47644
47645 2010-08-27  Roland McGrath  <roland@redhat.com>
47646
47647         * sysdeps/i386/i686/multiarch/Makefile
47648         (CFLAGS-varshift.c): New variable.
47649
47650 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47651
47652         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47653         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47654
47655         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47656
47657         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47658
47659 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47660
47661         * sysdeps/x86_64/strlen.S: Unroll the loop.
47662         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47663         strlen-sse2 strlen-sse2-bsf.
47664         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47665         __strlen_no_bsf if bit_Slow_BSF is set.
47666         (__strlen_sse42): Removed.
47667         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47668         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47669
47670 2010-08-25  Roland McGrath  <roland@redhat.com>
47671
47672         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47673         * sysdeps/x86_64/multiarch/varshift.c: New file.
47674         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47675         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47676         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47677         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47678
47679 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47680
47681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47682         strlen-sse2 strlen-sse2-bsf.
47683         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47684         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47685         (__strlen_sse2): Removed.
47686         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47689         bit_Slow_BSF for Atom.
47690         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47691         (index_Slow_BSF): Define.
47692         (HAS_SLOW_BSF): Define.
47693
47694 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47695
47696         [BZ #10851]
47697         * resolv/res_init.c (__res_vinit): When no server address at all
47698         is given default to loopback.
47699
47700 2010-08-24  Roland McGrath  <roland@redhat.com>
47701
47702         * configure.in: Remove config-name.h generation.
47703         * configure: Regenerated.
47704         * config-name.in: File removed.
47705         * scripts/config-uname.sh: New file.
47706         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47707         ($(objdir)config-name.h): New target.
47708
47709         * sunrpc/rpc_parse.h: Avoid nested comment.
47710
47711 2010-08-24  Richard Henderson  <rth@redhat.com>
47712             Ulrich Drepper  <drepper@redhat.com>
47713             H.J. Lu  <hongjiu.lu@intel.com>
47714
47715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47717         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47718         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47719         _mm_alignr_epi8 with _mm_loadu_si128.
47720         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47721         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47722         (__m128i_shift_right): Removed.
47723         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47724         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47725         * sysdeps/x86_64/multiarch/varshift.h: New file.
47726         * sysdeps/x86_64/multiarch/varshift.S: New file.
47727
47728 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47729
47730         * configure.in: Move assembler checks to before sysdep dir checking.
47731
47732 2010-08-20  Petr Baudis  <pasky@suse.cz>
47733
47734         * LICENSES: Sync the sunrpc license.
47735
47736 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47737
47738         * sunrpc/auth_des.c: Update copyright notice once again.
47739         * sunrpc/auth_none.c: Likewise.
47740         * sunrpc/auth_unix.c: Likewise.
47741         * sunrpc/authdes_prot.c: Likewise.
47742         * sunrpc/authuxprot.c: Likewise.
47743         * sunrpc/bindrsvprt.c: Likewise.
47744         * sunrpc/clnt_gen.c: Likewise.
47745         * sunrpc/clnt_perr.c: Likewise.
47746         * sunrpc/clnt_raw.c: Likewise.
47747         * sunrpc/clnt_simp.c: Likewise.
47748         * sunrpc/clnt_tcp.c: Likewise.
47749         * sunrpc/clnt_udp.c: Likewise.
47750         * sunrpc/clnt_unix.c: Likewise.
47751         * sunrpc/des_crypt.c: Likewise.
47752         * sunrpc/des_soft.c: Likewise.
47753         * sunrpc/get_myaddr.c: Likewise.
47754         * sunrpc/getrpcport.c: Likewise.
47755         * sunrpc/key_call.c: Likewise.
47756         * sunrpc/key_prot.c: Likewise.
47757         * sunrpc/openchild.c: Likewise.
47758         * sunrpc/pm_getmaps.c: Likewise.
47759         * sunrpc/pm_getport.c: Likewise.
47760         * sunrpc/pmap_clnt.c: Likewise.
47761         * sunrpc/pmap_prot.c: Likewise.
47762         * sunrpc/pmap_prot2.c: Likewise.
47763         * sunrpc/pmap_rmt.c: Likewise.
47764         * sunrpc/rpc/auth.h: Likewise.
47765         * sunrpc/rpc/auth_unix.h: Likewise.
47766         * sunrpc/rpc/clnt.h: Likewise.
47767         * sunrpc/rpc/des_crypt.h: Likewise.
47768         * sunrpc/rpc/key_prot.h: Likewise.
47769         * sunrpc/rpc/netdb.h: Likewise.
47770         * sunrpc/rpc/pmap_clnt.h: Likewise.
47771         * sunrpc/rpc/pmap_prot.h: Likewise.
47772         * sunrpc/rpc/pmap_rmt.h: Likewise.
47773         * sunrpc/rpc/rpc.h: Likewise.
47774         * sunrpc/rpc/rpc_des.h: Likewise.
47775         * sunrpc/rpc/rpc_msg.h: Likewise.
47776         * sunrpc/rpc/svc.h: Likewise.
47777         * sunrpc/rpc/svc_auth.h: Likewise.
47778         * sunrpc/rpc/types.h: Likewise.
47779         * sunrpc/rpc/xdr.h: Likewise.
47780         * sunrpc/rpc_clntout.c: Likewise.
47781         * sunrpc/rpc_cmsg.c: Likewise.
47782         * sunrpc/rpc_common.c: Likewise.
47783         * sunrpc/rpc_cout.c: Likewise.
47784         * sunrpc/rpc_dtable.c: Likewise.
47785         * sunrpc/rpc_hout.c: Likewise.
47786         * sunrpc/rpc_main.c: Likewise.
47787         * sunrpc/rpc_parse.c: Likewise.
47788         * sunrpc/rpc_parse.h: Likewise.
47789         * sunrpc/rpc_prot.c: Likewise.
47790         * sunrpc/rpc_sample.c: Likewise.
47791         * sunrpc/rpc_scan.c: Likewise.
47792         * sunrpc/rpc_scan.h: Likewise.
47793         * sunrpc/rpc_svcout.c: Likewise.
47794         * sunrpc/rpc_tblout.c: Likewise.
47795         * sunrpc/rpc_util.c: Likewise.
47796         * sunrpc/rpc_util.h: Likewise.
47797         * sunrpc/rpcinfo.c: Likewise.
47798         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47799         * sunrpc/rpcsvc/key_prot.x: Likewise.
47800         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47801         * sunrpc/rpcsvc/mount.x: Likewise.
47802         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47803         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47804         * sunrpc/rpcsvc/rex.x: Likewise.
47805         * sunrpc/rpcsvc/rstat.x: Likewise.
47806         * sunrpc/rpcsvc/rusers.x: Likewise.
47807         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47808         * sunrpc/rpcsvc/spray.x: Likewise.
47809         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47810         * sunrpc/rtime.c: Likewise.
47811         * sunrpc/svc.c: Likewise.
47812         * sunrpc/svc_auth.c: Likewise.
47813         * sunrpc/svc_authux.c: Likewise.
47814         * sunrpc/svc_raw.c: Likewise.
47815         * sunrpc/svc_run.c: Likewise.
47816         * sunrpc/svc_simple.c: Likewise.
47817         * sunrpc/svc_tcp.c: Likewise.
47818         * sunrpc/svc_udp.c: Likewise.
47819         * sunrpc/svc_unix.c: Likewise.
47820         * sunrpc/svcauth_des.c: Likewise.
47821         * sunrpc/xcrypt.c: Likewise.
47822         * sunrpc/xdr.c: Likewise.
47823         * sunrpc/xdr_array.c: Likewise.
47824         * sunrpc/xdr_float.c: Likewise.
47825         * sunrpc/xdr_mem.c: Likewise.
47826         * sunrpc/xdr_rec.c: Likewise.
47827         * sunrpc/xdr_ref.c: Likewise.
47828         * sunrpc/xdr_sizeof.c: Likewise.
47829         * sunrpc/xdr_stdio.c: Likewise.
47830
47831         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47832         handling.
47833
47834 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47835
47836         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47837
47838 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47839
47840         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47841         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47842         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47843         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47844         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47845         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47846         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47847         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47848         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47849         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47850         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47851         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47852         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47853         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47854
47855 2010-07-26  Anton Blanchard  <anton@samba.org>
47856
47857         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47858         * malloc/arena.c (heap_trim): Likewise.
47859
47860 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47861
47862         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47863         here.  Not...
47864         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47865         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47866
47867 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47868
47869         * sysdeps/i386/elf/Makefile: New file.
47870
47871 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47872
47873         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47874         from fanotify_init.
47875         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47876         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47877
47878 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47879
47880         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47881         of strncasecmp_l.
47882         * sysdeps/multiarch/strcmp.S: Likewise.
47883
47884 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47885
47886         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47887         strncase_l-nonascii.
47888         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47889         Add strncase_l-ssse3.
47890         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47891         * sysdeps/x86_64/strcmp.S: Likewise.
47892         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47893         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47894         * sysdeps/x86_64/strncase.S: New file.
47895         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47896         * sysdeps/x86_64/strncase_l.S: New file.
47897         * string/Makefile (strop-tests): Add strncasecmp.
47898         * string/test-strncasecmp.c: New file.
47899
47900         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47901         warning.
47902
47903         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47904         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47905
47906 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47907
47908         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47909
47910 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47911
47912         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47913         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47914         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47915
47916 2010-05-01  Alan Modra  <amodra@gmail.com>
47917
47918         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47919         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47920         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47921         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47922         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47923         tidying.  Don't tail-call __sigjmp_save for static lib.
47924         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47925         save location.
47926         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47927         (CALL_MCOUNT): Add eh info, and nop after bl.
47928         (TAIL_CALL_SYSCALL_ERROR): New macro.
47929         (PSEUDO_RET): Use it.
47930         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47931         Correct save location of integer regs and cr.
47932         (_dl_profile_resolve): Correct cr save location.  Delete nops
47933         after bl when SHARED.  Reduce cfi size a little by better
47934         placement of cfi directives.
47935         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47936         make a stack frame.  Instead use parm save area as a temp.
47937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47938         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47940         Don't make a stack frame for parent, use parm save area.
47941         Increase child stack frame to 112 bytes.  Don't save unused reg,
47942         and adjust reg usage.  Set up cfi on error recovery and
47943         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47945         (__makecontext): Add dummy nop after jump to exit.
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47947         Use correct parm save area and cr save, reduce stack frame.
47948         Correct cfi for possible PSEUDO_RET frame setup.
47949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47950         Branch to local label emitted by PSEUDO_RET rather than
47951         __syscall_error.
47952
47953 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47954
47955         [BZ #11904]
47956         * locale/programs/locale.c (print_assignment): New function.
47957         (show_locale_vars): Use it.
47958
47959 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47960
47961         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47962         field.
47963         (struct statfs64): Likewise.
47964         (_STATFS_F_FLAGS): Define.
47965         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47966         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47967         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47968         (ST_VALID): Define locally.
47969         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47970         __statvfs_getflags, use the provided value.
47971         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47972         __ASSUME_STATFS_F_FLAGS.
47973
47974         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47975
47976         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47977         Add sys/fanotify.h.
47978         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47979         fanotify_mask for GLIBC_2.13.
47980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47981         fanotify_init and fanotify_mark.
47982         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47983         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47984
47985         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47986         Add prlimit.
47987         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47988         prlimit64 for GLIBC_2.13.
47989         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47990         prlimit64.
47991         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47992         syscall.
47993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47995         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47996         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47997         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47998         add prlimit alias.
47999         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48000
48001         [BZ #11903]
48002         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48003         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48004
48005         * nss/Makefile: Add rules to build and run tst-nss-test1.
48006         * shlib-versions: Add entry for libnss_test1.
48007         * nss/nss_test1.c: New file.
48008         * nss/tst-nss-test1.c: New file.
48009
48010         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48011         (__nss_configure_lookup): Set appropriate entry in
48012         __nss_configure_lookup to true.
48013         * nss/nsswitch.h: Define enum with indeces of databases in
48014         databases and __nss_database_custom arrays.  Declare
48015         __nss_database_custom.
48016         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48017         to avoid using nscd when custom rules are installed.
48018         * nss/getXXbyYY_r.c: Likewise.
48019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48020
48021         * nss/nss_files/files-parse.c: Whitespace fixes.
48022
48023 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48024
48025         [BZ #11883]
48026         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48027         * posix/fnmatch_loop.c: Likewise.
48028
48029 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48030
48031         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48032         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48033         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48034         * Versions.def [GLIBC_2.13]: Add.
48035
48036 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48037
48038         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48039         Also fail if tpwd after pwuid call is NULL.
48040
48041 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48042
48043         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48044         when converting to ms.
48045
48046 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48047
48048         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48049         EOPNOTSUPP errors with ENOTTY.
48050         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48051         EOPNOTSUPP errors with ENOTTY.
48052
48053 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48054
48055         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48056         Add strcasecmp_l-ssse3.
48057         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48058         strcasecmp.
48059         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48060         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48061         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48062
48063 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48064
48065         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48066
48067         * string/Makefile (strop-tests): Add strcasecmp.
48068         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48069         strcasecmp_l-nonascii.
48070         (gen-as-const-headers): Add locale-defines.sym.
48071         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48072         * sysdeps/x86_64/strcasecmp.S: New file.
48073         * sysdeps/x86_64/strcasecmp_l.S: New file.
48074         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48075         * sysdeps/x86_64/locale-defines.sym: New file.
48076         * string/test-strcasecmp.c: New file.
48077
48078         * string/test-strcasestr.c: Test both ends of the range of characters.
48079         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48080
48081 2010-07-29  Roland McGrath  <roland@redhat.com>
48082
48083         [BZ #11856]
48084         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48085
48086 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48087
48088         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48089         for ld.so.
48090
48091 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48092
48093         * manual/memory.texi (Malloc Tunable Parameters): Document
48094         M_PERTURB.
48095
48096 2010-07-26  Roland McGrath  <roland@redhat.com>
48097
48098         [BZ #11840]
48099         * configure.in (-fgnu89-inline check): Set and substitute
48100         gnu89_inline, not libc_cv_gnu89_inline.
48101         * configure: Regenerated.
48102         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48103
48104 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48105
48106         * string/test-strnlen.c: New file.
48107         * string/Makefile (strop-tests): Add strnlen.
48108         * string/tester.c (test_strnlen): Add a few more test cases.
48109         * string/tst-strlen.c: Better error reporting.
48110
48111         * sysdeps/x86_64/strnlen.S: New file.
48112
48113 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48114
48115         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48116         lower-latency instructions.
48117
48118 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48119
48120         * string/test-strcasestr.c: New file.
48121         * string/test-strstr.c: New file.
48122         * string/Makefile (strop-tests): Add strstr and strcasestr.
48123         * string/str-two-way.h: Don't undefine MAX.
48124         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48125
48126 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48127
48128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48129         strcasestr-nonascii.
48130         (CFLAGS-strcasestr-nonascii.c): Define.
48131         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48132         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48133         Remove unused attribute.
48134
48135 2010-07-20  Roland McGrath  <roland@redhat.com>
48136
48137         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48138         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48139         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48140         like LD_HWCAP_MASK can disable hwcaps.
48141
48142 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48143
48144         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48145
48146 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48147
48148         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48149         call in strcasestr.
48150         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48151         __strcasestr_sse42_nonascii.
48152         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48153         strcasestr-nonascii.c.
48154         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48155
48156 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48157
48158         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48159         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48160         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48161         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48162
48163 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48164
48165         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48166         fcntl.
48167
48168 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48169
48170         [BZ #11577]
48171         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48172         dl_signal_cerror.
48173
48174 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48175
48176         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48177         _PC_PIPE_BUF using F_GETPIPE_SZ.
48178
48179 2010-07-05  Roland McGrath  <roland@redhat.com>
48180
48181         * manual/arith.texi (Rounding Functions): Fix rint description
48182         implicit in round description.
48183
48184 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48185
48186         * elf/Makefile: Fix linking for a few tests to make recent linker
48187         happy.
48188
48189 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48190
48191         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48192         $(common-objpfx)libc_nonshared.a.
48193
48194 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48195
48196         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48197         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48198         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48199         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48200         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48201         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48202         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48203         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48218         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48219         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48220         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48221         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48222         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48223         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48224         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48225         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48226         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48227         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48228         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48229         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48244
48245 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48246
48247         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48248         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48249         * string/memmove.c (memmove): Renamed to ...
48250         (MEMMOVE): ...this.  Default to memmove.
48251         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48252         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48253         (END_CHK): Define.
48254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48255         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48256         mempcpy-ssse3-back memmove-ssse3-back.
48257         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48258         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48259         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48260         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48261         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48262         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48263         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48264         * sysdeps/x86_64/multiarch/memmove.c: New file.
48265         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48266         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48267         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48268         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48269         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48270         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48271         Define.
48272         (index_Fast_Copy_Backward): Define.
48273         (HAS_ARCH_FEATURE): Define.
48274         (HAS_FAST_REP_STRING): Define.
48275         (HAS_FAST_COPY_BACKWARD): Define.
48276
48277 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48278
48279         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48280         Restore proper fallback handling.
48281
48282 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48283
48284         [BZ #11701]
48285         * posix/group_member.c (__group_member): Correct checking loop.
48286
48287         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48288         OOM in getpwuid_r correctly.  Return error number when the caller
48289         should return, otherwise -1.
48290         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48291         call returning > 0 value.
48292         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48293
48294 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48295
48296         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48297         libc_nonshared.a from targets in modules-names.
48298
48299 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48300
48301         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48302         requires it.
48303
48304 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48305
48306         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48307         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48308         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48309         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48310
48311 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48312
48313         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48314
48315 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48316
48317         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48318         and F_GETPIPE_SZ.
48319         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48321         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48323         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48324         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48325
48326 2010-06-14  Roland McGrath  <roland@redhat.com>
48327
48328         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48329
48330 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48331
48332         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48333         __REDIRECT followed by __THROW.
48334         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48335         * posix/getopt.h (getopt): Likewise.
48336
48337 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48338
48339         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48340         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48341         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48342         in AT_FLAGS.
48343         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48344         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48345
48346 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48347
48348         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48349
48350 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48351
48352         [BZ #11640]
48353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48354         Properly check family and model.
48355
48356 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48357
48358         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48359
48360 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48361
48362         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48363
48364 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48365
48366         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48367         symbol reference.
48368
48369 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48370
48371         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48372         symbol reference.
48373
48374 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48375
48376         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48377         and internal_recvmmsg.
48378         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48379         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48380         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48381         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48382
48383         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48384         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48385         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48386
48387 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48388
48389         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48390
48391 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48392
48393         POWER7 optimizations.
48394         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48395         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48396
48397 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48398
48399         * version.h: Update for 2.13 development version.
48400
48401 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48402
48403         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48404         exceptions.  Return 0.
48405
48406 2010-05-07  Roland McGrath  <roland@redhat.com>
48407
48408         * elf/ldconfig.c (main): Add a const.
48409
48410 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48411
48412         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48413         (args_options): Add no-idn option.
48414         (ahosts_keys_int): Add idn_flags to ai_flags.
48415         (parse_option): Handle 'i' option to clear idn_flags.
48416
48417         * malloc/malloc.c (_int_free): Possible race in the most recently
48418         added check.  Only act on the data if no current modification
48419         happened.
48420
48421 See ChangeLog.17 for earlier changes.